Merge "BUG-459 Remove deprecated NetconfClient class."
[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                                         ${salGeneratorPath}
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         </plugins>
53         <pluginManagement>
54             <plugins>
55                 <!--This plugin's configuration is used to store Eclipse 
56                     m2e settings only. It has no influence on the Maven build itself. -->
57                 <plugin>
58                     <groupId>org.eclipse.m2e</groupId>
59                     <artifactId>lifecycle-mapping</artifactId>
60                     <version>1.0.0</version>
61                     <configuration>
62                         <lifecycleMappingMetadata>
63                             <pluginExecutions>
64                                 <pluginExecution>
65                                     <pluginExecutionFilter>
66                                         <groupId>
67                                             org.opendaylight.yangtools
68                                         </groupId>
69                                         <artifactId>
70                                             yang-maven-plugin
71                                         </artifactId>
72                                         <versionRange>
73                                             [0.5,)
74                                         </versionRange>
75                                         <goals>
76                                             <goal>
77                                                 generate-sources
78                                             </goal>
79                                         </goals>
80                                     </pluginExecutionFilter>
81                                     <action>
82                                         <ignore />
83                                     </action>
84                                 </pluginExecution>
85                             </pluginExecutions>
86                         </lifecycleMappingMetadata>
87                     </configuration>
88                 </plugin>
89             </plugins>
90         </pluginManagement>
91     </build>
92     <dependencies>
93         <dependency>
94             <groupId>org.opendaylight.yangtools</groupId>
95             <artifactId>yang-binding</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.yangtools</groupId>
99             <artifactId>yang-common</artifactId>
100         </dependency>
101     </dependencies>
102 </project>