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