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