08f0988b5c92cd6db60bd963ae91f743f0e0cceb
[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.2.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sample-toaster-provider</artifactId>
10   <packaging>bundle</packaging>
11
12   <properties>
13     <sal-binding-api.version>1.2.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>config-api</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>sal-binding-api</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>sal-binding-config</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller</groupId>
36       <artifactId>sal-common-util</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.osgi</groupId>
40       <artifactId>org.osgi.core</artifactId>
41     </dependency>
42
43     <!-- dependencies to use AbstractDataBrokerTest -->
44     <dependency>
45       <groupId>org.opendaylight.controller</groupId>
46       <artifactId>sal-binding-broker-impl</artifactId>
47       <scope>test</scope>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.controller</groupId>
51       <artifactId>sal-binding-broker-impl</artifactId>
52       <type>test-jar</type>
53       <scope>test</scope>
54     </dependency>
55     <dependency>
56         <artifactId>junit</artifactId>
57         <groupId>junit</groupId>
58         <scope>test</scope>
59     </dependency>
60     <!-- used to mock up classes -->
61      <dependency>
62       <groupId>org.mockito</groupId>
63       <artifactId>mockito-all</artifactId>
64       <scope>test</scope>
65     </dependency>
66
67   </dependencies>
68
69   <build>
70     <plugins>
71       <plugin>
72         <groupId>org.apache.felix</groupId>
73         <artifactId>maven-bundle-plugin</artifactId>
74         <configuration>
75           <instructions>
76             <Export-Package>org.opendaylight.controller.config.yang.toaster_provider,</Export-Package>
77             <Import-Package>*</Import-Package>
78           </instructions>
79         </configuration>
80       </plugin>
81       <plugin>
82         <groupId>org.opendaylight.yangtools</groupId>
83         <artifactId>yang-maven-plugin</artifactId>
84         <executions>
85           <execution>
86             <id>config</id>
87             <goals>
88               <goal>generate-sources</goal>
89             </goals>
90             <configuration>
91               <codeGenerators>
92                 <generator>
93                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
94                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
95                   <additionalConfiguration>
96                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
97                   </additionalConfiguration>
98                 </generator>
99                 <generator>
100                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
101                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
102                 </generator>
103               </codeGenerators>
104               <inspectDependencies>true</inspectDependencies>
105             </configuration>
106           </execution>
107         </executions>
108       </plugin>
109     </plugins>
110   </build>
111   <scm>
112     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
113     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
114     <tag>HEAD</tag>
115     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
116   </scm>
117 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.