Merge "MD-SAL transaction chaining API"
[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                 <version>${yangtools.version}</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>true</inspectDependencies>
41                         </configuration>
42                     </execution>
43                 </executions>
44                 <dependencies>
45                     <dependency>
46                         <groupId>org.opendaylight.yangtools</groupId>
47                         <artifactId>maven-sal-api-gen-plugin</artifactId>
48                         <version>${yangtools.version}</version>
49                         <type>jar</type>
50                     </dependency>
51                 </dependencies>
52             </plugin>
53             <plugin>
54                 <groupId>org.codehaus.mojo</groupId>
55                 <artifactId>build-helper-maven-plugin</artifactId>
56                 <version>1.7</version>
57                 <executions>
58                     <execution>
59                         <phase>generate-sources</phase>
60                         <goals>
61                             <goal>add-source</goal>
62                         </goals>
63                         <configuration>
64                             <sources>
65                                 <source>target/generated-sources/sal</source>
66                             </sources>
67                         </configuration>
68                     </execution>
69                 </executions>
70             </plugin>
71         </plugins>
72         <pluginManagement>
73             <plugins>
74                 <!--This plugin's configuration is used to store Eclipse 
75                     m2e settings only. It has no influence on the Maven build itself. -->
76                 <plugin>
77                     <groupId>org.eclipse.m2e</groupId>
78                     <artifactId>lifecycle-mapping</artifactId>
79                     <version>1.0.0</version>
80                     <configuration>
81                         <lifecycleMappingMetadata>
82                             <pluginExecutions>
83                                 <pluginExecution>
84                                     <pluginExecutionFilter>
85                                         <groupId>
86                                             org.opendaylight.yangtools
87                                         </groupId>
88                                         <artifactId>
89                                             yang-maven-plugin
90                                         </artifactId>
91                                         <versionRange>
92                                             [0.5,)
93                                         </versionRange>
94                                         <goals>
95                                             <goal>
96                                                 generate-sources
97                                             </goal>
98                                         </goals>
99                                     </pluginExecutionFilter>
100                                     <action>
101                                         <ignore />
102                                     </action>
103                                 </pluginExecution>
104                             </pluginExecutions>
105                         </lifecycleMappingMetadata>
106                     </configuration>
107                 </plugin>
108             </plugins>
109         </pluginManagement>
110     </build>
111     <dependencies>
112         <dependency>
113             <groupId>org.opendaylight.yangtools</groupId>
114             <artifactId>yang-binding</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>org.opendaylight.yangtools</groupId>
118             <artifactId>yang-common</artifactId>
119         </dependency>
120     </dependencies>
121 </project>