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