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