32dffb2e63de1d2ebd10b0eabeb220753c0056c3
[controller.git] / opendaylight / sal / yang-prototype / code-generator / samples / modeling-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>modeling-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 
70                                         only. It has no influence on the Maven build itself. -->
71                                 <plugin>
72                                         <groupId>org.eclipse.m2e</groupId>
73                                         <artifactId>lifecycle-mapping</artifactId>
74                                         <version>1.0.0</version>
75                                         <configuration>
76                                                 <lifecycleMappingMetadata>
77                                                         <pluginExecutions>
78                                                                 <pluginExecution>
79                                                                         <pluginExecutionFilter>
80                                                                                 <groupId>
81                                                                                         org.opendaylight.controller
82                                                                                 </groupId>
83                                                                                 <artifactId>
84                                                                                         yang-maven-plugin
85                                                                                 </artifactId>
86                                                                                 <versionRange>
87                                                                                         [0.5,)
88                                                                                 </versionRange>
89                                                                                 <goals>
90                                                                                         <goal>
91                                                                                                 generate-sources
92                                                                                         </goal>
93                                                                                 </goals>
94                                                                         </pluginExecutionFilter>
95                                                                         <action>
96                                                                                 <ignore></ignore>
97                                                                         </action>
98                                                                 </pluginExecution>
99                                                         </pluginExecutions>
100                                                 </lifecycleMappingMetadata>
101                                         </configuration>
102                                 </plugin>
103                         </plugins>
104                 </pluginManagement>
105         </build>
106         <dependencies>
107                 <dependency>
108                         <groupId>org.opendaylight.controller</groupId>
109                         <artifactId>yang-binding</artifactId>
110                 </dependency>
111                 <dependency>
112                         <groupId>org.opendaylight.controller</groupId>
113                         <artifactId>yang-common</artifactId>
114                 </dependency>
115         </dependencies>
116 </project>