Merge "BUG702: RPC Router fails to acquire IP address of the host"
[controller.git] / opendaylight / md-sal / samples / toaster-consumer / 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-consumer</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     <properties>
18         <sal-binding-api.version>1.1-SNAPSHOT</sal-binding-api.version>
19     </properties>
20
21         <build>
22                 <plugins>
23                         <plugin>
24                                 <groupId>org.apache.felix</groupId>
25                                 <artifactId>maven-bundle-plugin</artifactId>
26                                 <configuration>
27                                         <instructions>
28                                                 <Export-Package>
29                             org.opendaylight.controller.sample.toaster.provider.api,
30                             org.opendaylight.controller.config.yang.toaster-consumer,
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
85                 </plugins>
86         </build>
87
88         <dependencies>
89                 <dependency>
90                         <groupId>${project.groupId}</groupId>
91                         <artifactId>sample-toaster</artifactId>
92                         <version>${project.version}</version>
93                 </dependency>
94                 <dependency>
95                         <groupId>org.opendaylight.controller</groupId>
96                         <artifactId>sal-binding-api</artifactId>
97                 </dependency>
98         <dependency>
99             <groupId>org.opendaylight.controller</groupId>
100             <artifactId>config-api</artifactId>
101         </dependency>
102         <dependency>
103             <groupId>org.opendaylight.controller</groupId>
104             <artifactId>sal-binding-config</artifactId>
105         </dependency>
106         </dependencies>
107 </project>