Merge changes I67420353,I6851f9b9
[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.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>sample-toaster-provider</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.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   </dependencies>
43
44   <build>
45     <plugins>
46       <plugin>
47         <groupId>org.apache.felix</groupId>
48         <artifactId>maven-bundle-plugin</artifactId>
49         <configuration>
50           <instructions>
51             <Export-Package>org.opendaylight.controller.config.yang.toaster_provider,</Export-Package>
52             <Import-Package>*</Import-Package>
53           </instructions>
54         </configuration>
55       </plugin>
56       <plugin>
57         <groupId>org.opendaylight.yangtools</groupId>
58         <artifactId>yang-maven-plugin</artifactId>
59         <executions>
60           <execution>
61             <id>config</id>
62             <goals>
63               <goal>generate-sources</goal>
64             </goals>
65             <configuration>
66               <codeGenerators>
67                 <generator>
68                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
69                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
70                   <additionalConfiguration>
71                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
72                   </additionalConfiguration>
73                 </generator>
74                 <generator>
75                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
76                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
77                 </generator>
78               </codeGenerators>
79               <inspectDependencies>true</inspectDependencies>
80             </configuration>
81           </execution>
82         </executions>
83       </plugin>
84     </plugins>
85   </build>
86   <scm>
87     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
88     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
89     <tag>HEAD</tag>
90     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
91   </scm>
92 </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.