de81d9f789644a96814fa576cbe35571f9235338
[controller.git] / opendaylight / md-sal / samples / toaster-provider / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller.samples</groupId>
6     <artifactId>sal-samples</artifactId>
7     <version>1.5.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sample-toaster-provider</artifactId>
10   <packaging>bundle</packaging>
11
12   <properties>
13     <sal-binding-api.version>1.5.0-SNAPSHOT</sal-binding-api.version>
14   </properties>
15
16   <dependencies>
17     <dependency>
18       <groupId>${project.groupId}</groupId>
19       <artifactId>sample-toaster</artifactId>
20       <version>${project.version}</version>
21     </dependency>
22     <dependency>
23       <groupId>org.opendaylight.controller</groupId>
24       <artifactId>sal-binding-api</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>sal-binding-config</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>sal-common-util</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.osgi</groupId>
36       <artifactId>org.osgi.core</artifactId>
37     </dependency>
38
39     <!-- dependencies to use AbstractDataBrokerTest -->
40     <dependency>
41       <groupId>org.opendaylight.controller</groupId>
42       <artifactId>sal-binding-broker-impl</artifactId>
43       <scope>test</scope>
44     </dependency>
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>sal-binding-broker-impl</artifactId>
48       <type>test-jar</type>
49       <scope>test</scope>
50     </dependency>
51     <dependency>
52         <artifactId>junit</artifactId>
53         <groupId>junit</groupId>
54         <scope>test</scope>
55     </dependency>
56     <!-- used to mock up classes -->
57      <dependency>
58       <groupId>org.mockito</groupId>
59       <artifactId>mockito-all</artifactId>
60       <scope>test</scope>
61     </dependency>
62
63     <dependency>
64       <groupId>com.google.guava</groupId>
65       <artifactId>guava</artifactId>
66     </dependency>
67   </dependencies>
68
69   <build>
70     <plugins>
71       <plugin>
72         <groupId>org.apache.felix</groupId>
73         <artifactId>maven-bundle-plugin</artifactId>
74       </plugin>
75       <plugin>
76         <groupId>org.opendaylight.yangtools</groupId>
77         <artifactId>yang-maven-plugin</artifactId>
78         <executions>
79           <execution>
80             <id>config</id>
81             <goals>
82               <goal>generate-sources</goal>
83             </goals>
84             <configuration>
85               <codeGenerators>
86                 <generator>
87                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
88                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
89                 </generator>
90               </codeGenerators>
91               <inspectDependencies>true</inspectDependencies>
92             </configuration>
93           </execution>
94         </executions>
95       </plugin>
96     </plugins>
97   </build>
98   <scm>
99     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
100     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
101     <tag>HEAD</tag>
102     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
103   </scm>
104 </project>