11ee47b8c74df91c3c622db28358b8bb864cb0ed
[controller.git] / opendaylight / md-sal / samples / toaster-provider / pom.xml
1 <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">
2     <modelVersion>4.0.0</modelVersion>
3     <parent>
4         <artifactId>sal-samples</artifactId>
5         <groupId>org.opendaylight.controller.samples</groupId>
6         <version>1.1-SNAPSHOT</version>
7     </parent>
8     <artifactId>sample-toaster-provider</artifactId>
9     <packaging>bundle</packaging>
10     <scm>
11         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
12         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
13         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
14       <tag>HEAD</tag>
15   </scm>
16
17
18     <properties>
19         <sal-binding-api.version>1.1-SNAPSHOT</sal-binding-api.version>
20     </properties>
21
22     <build>
23         <plugins>
24             <plugin>
25                 <groupId>org.apache.felix</groupId>
26                 <artifactId>maven-bundle-plugin</artifactId>
27                 <configuration>
28                     <instructions>
29                         <Export-Package>
30                             org.opendaylight.controller.config.yang.toaster_provider,
31                         </Export-Package>
32                         <Import-Package>*</Import-Package>
33                     </instructions>
34                 </configuration>
35             </plugin>
36             <plugin>
37                 <groupId>org.opendaylight.yangtools</groupId>
38                 <artifactId>yang-maven-plugin</artifactId>
39                 <executions>
40                     <execution>
41                         <id>config</id>
42                         <goals>
43                             <goal>generate-sources</goal>
44                         </goals>
45                         <configuration>
46                             <codeGenerators>
47                                 <generator>
48                                     <codeGeneratorClass>
49                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
50                                     </codeGeneratorClass>
51                                     <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
52                                     <additionalConfiguration>
53                                         <namespaceToPackage1>
54                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
55                                         </namespaceToPackage1>
56                                     </additionalConfiguration>
57                                 </generator>
58                                 <generator>
59                                     <codeGeneratorClass>
60                                         org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
61                                     </codeGeneratorClass>
62                                     <outputBaseDir>
63                                         ${salGeneratorPath}
64                                     </outputBaseDir>
65                                 </generator>
66                             </codeGenerators>
67                             <inspectDependencies>true</inspectDependencies>
68                         </configuration>
69                     </execution>
70                 </executions>
71                 <dependencies>
72                     <dependency>
73                         <groupId>org.opendaylight.controller</groupId>
74                         <artifactId>yang-jmx-generator-plugin</artifactId>
75                         <version>${config.version}</version>
76                     </dependency>
77                     <dependency>
78                         <groupId>org.opendaylight.yangtools</groupId>
79                         <artifactId>maven-sal-api-gen-plugin</artifactId>
80                         <version>${yangtools.version}</version>
81                     </dependency>
82                 </dependencies>
83             </plugin>
84         </plugins>
85     </build>
86
87     <dependencies>
88         <dependency>
89             <groupId>${project.groupId}</groupId>
90             <artifactId>sample-toaster</artifactId>
91             <version>${project.version}</version>
92         </dependency>
93         <dependency>
94             <groupId>org.opendaylight.controller</groupId>
95             <artifactId>sal-binding-api</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.controller</groupId>
99             <artifactId>sal-common-util</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.opendaylight.controller</groupId>
103             <artifactId>sal-binding-config</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.controller</groupId>
107             <artifactId>config-api</artifactId>
108         </dependency>
109     </dependencies>
110 </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.