Merge "bug 741 - Make sure to stop threads on bundle stop on TopologyServiceShim"
[controller.git] / opendaylight / md-sal / samples / toaster-consumer / 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.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>sample-toaster-consumer</artifactId>
10   <packaging>bundle</packaging>
11
12   <properties>
13     <sal-binding-api.version>1.1-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.osgi</groupId>
36       <artifactId>org.osgi.core</artifactId>
37     </dependency>
38   </dependencies>
39
40   <build>
41     <plugins>
42       <plugin>
43         <groupId>org.apache.felix</groupId>
44         <artifactId>maven-bundle-plugin</artifactId>
45         <configuration>
46           <instructions>
47             <Export-Package>org.opendaylight.controller.sample.toaster.provider.api,
48                             org.opendaylight.controller.config.yang.toaster-consumer,</Export-Package>
49             <Import-Package>*</Import-Package>
50           </instructions>
51         </configuration>
52       </plugin>
53       <plugin>
54         <groupId>org.opendaylight.yangtools</groupId>
55         <artifactId>yang-maven-plugin</artifactId>
56         <dependencies>
57           <dependency>
58             <groupId>org.opendaylight.controller</groupId>
59             <artifactId>yang-jmx-generator-plugin</artifactId>
60             <version>${config.version}</version>
61           </dependency>
62           <dependency>
63             <groupId>org.opendaylight.yangtools</groupId>
64             <artifactId>maven-sal-api-gen-plugin</artifactId>
65             <version>${yangtools.version}</version>
66           </dependency>
67         </dependencies>
68         <executions>
69           <execution>
70             <id>config</id>
71             <goals>
72               <goal>generate-sources</goal>
73             </goals>
74             <configuration>
75               <codeGenerators>
76                 <generator>
77                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
78                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
79                   <additionalConfiguration>
80                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
81                   </additionalConfiguration>
82                 </generator>
83                 <generator>
84                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
85                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
86                 </generator>
87               </codeGenerators>
88               <inspectDependencies>true</inspectDependencies>
89             </configuration>
90           </execution>
91         </executions>
92       </plugin>
93
94     </plugins>
95   </build>
96   <scm>
97     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
98     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
99     <tag>HEAD</tag>
100     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
101   </scm>
102 </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.