0fde7cb028ee071f16ecab3307b243d42f72f1d7
[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.3.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sample-toaster-consumer</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-common-util</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>sal-binding-api</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller</groupId>
36       <artifactId>sal-binding-config</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       </plugin>
50       <plugin>
51         <groupId>org.opendaylight.yangtools</groupId>
52         <artifactId>yang-maven-plugin</artifactId>
53         <executions>
54           <execution>
55             <id>config</id>
56             <goals>
57               <goal>generate-sources</goal>
58             </goals>
59             <configuration>
60               <codeGenerators>
61                 <generator>
62                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
63                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
64                   <additionalConfiguration>
65                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
66                   </additionalConfiguration>
67                 </generator>
68                 <generator>
69                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
70                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
71                 </generator>
72               </codeGenerators>
73               <inspectDependencies>true</inspectDependencies>
74             </configuration>
75           </execution>
76         </executions>
77       </plugin>
78
79     </plugins>
80   </build>
81   <scm>
82     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
83     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
84     <tag>HEAD</tag>
85     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
86   </scm>
87 </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.