95ae60fab1759fbf088a152633b3123707db0b5f
[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.3.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sample-toaster-provider</artifactId>
10   <packaging>bundle</packaging>
11
12   <properties>
13     <sal-binding-api.version>1.3.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     <dependency>
68       <groupId>com.google.guava</groupId>
69       <artifactId>guava</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.yangtools</groupId>
73       <artifactId>yang-binding</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.opendaylight.yangtools.model</groupId>
77       <artifactId>yang-ext</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.yangtools.model</groupId>
81       <artifactId>ietf-yang-types</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.yangtools.model</groupId>
85       <artifactId>opendaylight-l2-types</artifactId>
86     </dependency>
87
88   </dependencies>
89
90   <build>
91     <plugins>
92       <plugin>
93         <groupId>org.apache.felix</groupId>
94         <artifactId>maven-bundle-plugin</artifactId>
95         <configuration>
96           <instructions>
97             <Export-Package>org.opendaylight.controller.config.yang.toaster_provider,</Export-Package>
98             <Import-Package>*</Import-Package>
99           </instructions>
100         </configuration>
101       </plugin>
102       <plugin>
103         <groupId>org.opendaylight.yangtools</groupId>
104         <artifactId>yang-maven-plugin</artifactId>
105         <executions>
106           <execution>
107             <id>config</id>
108             <goals>
109               <goal>generate-sources</goal>
110             </goals>
111             <configuration>
112               <codeGenerators>
113                 <generator>
114                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
115                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
116                   <additionalConfiguration>
117                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
118                   </additionalConfiguration>
119                 </generator>
120                 <generator>
121                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
122                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
123                 </generator>
124               </codeGenerators>
125               <inspectDependencies>true</inspectDependencies>
126             </configuration>
127           </execution>
128         </executions>
129       </plugin>
130     </plugins>
131   </build>
132   <scm>
133     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
134     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
135     <tag>HEAD</tag>
136     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
137   </scm>
138 </project>