Merge "BUG-979: reworked data schema nodes ordering"
[yangtools.git] / model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>yangtools-parent</artifactId>
15         <version>0.6.2-SNAPSHOT</version>
16         <relativePath>../common/parent</relativePath>
17     </parent>
18     <groupId>org.opendaylight.yangtools.model</groupId>
19     <!--<version>0.6.2-SNAPSHOT</version>-->
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>model-parent</artifactId>
22     <packaging>pom</packaging>
23     <name>${project.artifactId}</name>
24     <description>${project.artifactId}</description>
25
26     <modules>
27         <module>yang-ext</module>
28         <module>iana</module>
29         <module>ietf</module>
30         <module>l2-types</module>
31     </modules>
32
33     <build>
34         <plugins>
35             <plugin>
36                 <groupId>org.opendaylight.yangtools</groupId>
37                 <artifactId>yang-maven-plugin</artifactId>
38                 <executions>
39                     <execution>
40                         <goals>
41                             <goal>generate-sources</goal>
42                         </goals>
43                         <configuration>
44                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>
45                             <codeGenerators>
46                                 <generator>
47                                     <codeGeneratorClass>
48                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
49                                     </codeGeneratorClass>
50                                     <outputBaseDir>
51                                         target/generated-sources/sal
52                                     </outputBaseDir>
53                                 </generator>
54                                 <generator>
55                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
56                                     <outputBaseDir>target/site/restconf</outputBaseDir>
57                                 </generator>
58                                 <generator>
59                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.wadl.generator.maven.WadlGenerator</codeGeneratorClass>
60                                     <outputBaseDir>target/site/restconf</outputBaseDir>
61                                 </generator>
62                             </codeGenerators>
63                             <inspectDependencies>true</inspectDependencies>
64                         </configuration>
65                     </execution>
66                 </executions>
67                 <dependencies>
68                     <dependency>
69                         <groupId>org.opendaylight.yangtools</groupId>
70                         <artifactId>maven-sal-api-gen-plugin</artifactId>
71                         <version>0.6.2-SNAPSHOT</version>
72                         <type>jar</type>
73                     </dependency>
74                 </dependencies>
75             </plugin>
76         </plugins>
77     </build>
78
79     <dependencies>
80         <dependency>
81             <groupId>org.opendaylight.yangtools</groupId>
82             <artifactId>yang-binding</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.yangtools</groupId>
86             <artifactId>yang-common</artifactId>
87         </dependency>
88     </dependencies>
89 </project>