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