Added model generation from ietf-topology models
[yangtools.git] / yang / yang-ext / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">\r
3 \r
4     <parent>\r
5         <groupId>org.opendaylight.yangtools</groupId>\r
6         <artifactId>yang</artifactId>\r
7         <version>0.5.7-SNAPSHOT</version>\r
8     </parent>\r
9 \r
10     <modelVersion>4.0.0</modelVersion>\r
11     <artifactId>yang-ext</artifactId>\r
12     <version>2013.09.07-SNAPSHOT</version>\r
13     <name>${project.artifactId}</name>\r
14     <description>${project.artifactId}</description>\r
15 \r
16     <build>\r
17         <plugins>\r
18             <plugin>\r
19                 <groupId>org.opendaylight.yangtools</groupId>\r
20                 <artifactId>yang-maven-plugin</artifactId>\r
21                 <version>${parent.version}</version>\r
22                 <executions>\r
23                     <execution>\r
24                         <goals>\r
25                             <goal>generate-sources</goal>\r
26                         </goals>\r
27                         <configuration>\r
28                             <yangFilesRootDir>src/main/yang</yangFilesRootDir>\r
29                             <codeGenerators>\r
30                             </codeGenerators>\r
31                             <inspectDependencies>false</inspectDependencies>\r
32                         </configuration>\r
33                     </execution>\r
34                 </executions>\r
35             </plugin>\r
36         </plugins>\r
37 \r
38         <pluginManagement>\r
39             <plugins>\r
40 \r
41                 <plugin>\r
42                     <groupId>org.codehaus.mojo</groupId>\r
43                     <artifactId>build-helper-maven-plugin</artifactId>\r
44                     <version>1.7</version>\r
45                     <executions>\r
46                         <execution>\r
47                             <phase>generate-sources</phase>\r
48                             <goals>\r
49                                 <goal>add-source</goal>\r
50                             </goals>\r
51                             <configuration>\r
52                                 <sources>\r
53                                     <source>target/generated-sources/sal</source>\r
54                                 </sources>\r
55                             </configuration>\r
56                         </execution>\r
57                     </executions>\r
58                 </plugin>\r
59                 <!--This plugin's configuration is used to store Eclipse \r
60                     m2e settings only. It has no influence on the Maven build itself. -->\r
61                 <plugin>\r
62                     <groupId>org.eclipse.m2e</groupId>\r
63                     <artifactId>lifecycle-mapping</artifactId>\r
64                     <version>1.0.0</version>\r
65                     <configuration>\r
66                         <lifecycleMappingMetadata>\r
67                             <pluginExecutions>\r
68                                 <pluginExecution>\r
69                                     <pluginExecutionFilter>\r
70                                         <groupId>\r
71                                             org.opendaylight.yangtools\r
72                                         </groupId>\r
73                                         <artifactId>\r
74                                             yang-maven-plugin\r
75                                         </artifactId>\r
76                                         <versionRange>\r
77                                             [0.5,)\r
78                                         </versionRange>\r
79                                         <goals>\r
80                                             <goal>\r
81                                                 generate-sources\r
82                                             </goal>\r
83                                         </goals>\r
84                                     </pluginExecutionFilter>\r
85                                     <action>\r
86                                         <ignore></ignore>\r
87                                     </action>\r
88                                 </pluginExecution>\r
89                             </pluginExecutions>\r
90                         </lifecycleMappingMetadata>\r
91                     </configuration>\r
92                 </plugin>\r
93             </plugins>\r
94         </pluginManagement>\r
95     </build>\r
96 \r
97 </project>\r