Merge "Enabling Remote RPC Router module in ODL distribution."
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / implementation / 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"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.controller</groupId>
7         <artifactId>sal-parent</artifactId>
8         <relativePath>../..</relativePath>
9         <version>1.1-SNAPSHOT</version>
10     </parent>
11
12     <artifactId>sal-remoterpc-connector</artifactId>
13     <packaging>bundle</packaging>
14
15   <properties>
16     <zeromq.version>0.3.1</zeromq.version>
17     <stax.version>1.0.1</stax.version>
18     <yang.jmx.plugin>0.2.4-SNAPSHOT</yang.jmx.plugin>
19   </properties>
20
21   <dependencies>
22     <!-- MD Sal interdependencies -->
23     <dependency>
24       <groupId>${project.groupId}</groupId>
25       <artifactId>sal-core-api</artifactId>
26       <version>${project.version}</version>
27     </dependency>
28     <dependency>
29       <groupId>${project.groupId}</groupId>
30       <artifactId>sal-connector-api</artifactId>
31       <version>${project.version}</version>
32     </dependency>
33     <dependency>
34       <groupId>${project.groupId}</groupId>
35       <artifactId>sal-common-util</artifactId>
36       <version>${project.version}</version>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>remoterpc-routingtable.implementation</artifactId>
41       <version>${project.version}</version>
42     </dependency>
43
44     <!-- AD Sal -->
45     <dependency>
46       <groupId>org.opendaylight.controller</groupId>
47       <artifactId>sal</artifactId>
48     </dependency>
49
50     <!-- Yang tools -->
51     <dependency>
52       <groupId>org.opendaylight.yangtools</groupId>
53       <artifactId>yang-common</artifactId>
54     </dependency>
55     <dependency>
56       <groupId>org.opendaylight.yangtools</groupId>
57       <artifactId>yang-data-api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.yangtools</groupId>
61       <artifactId>yang-data-impl</artifactId>
62     </dependency>
63
64     <!-- Third Party -->
65     <dependency>
66       <groupId>org.osgi</groupId>
67       <artifactId>org.osgi.core</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>org.zeromq</groupId>
71       <artifactId>jeromq</artifactId>
72       <version>${zeromq.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>com.google.guava</groupId>
76       <artifactId>guava</artifactId>
77     </dependency>
78     <dependency>
79       <groupId> org.slf4j</groupId>
80       <artifactId>slf4j-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId> ch.qos.logback</groupId>
84       <artifactId>logback-classic</artifactId>
85       <version>1.0.9</version>
86       <scope>test</scope>
87     </dependency>
88     <dependency>
89       <groupId>com.fasterxml.jackson.core</groupId>
90       <artifactId>jackson-annotations</artifactId>
91       <version>${jackson.version}</version>
92     </dependency>
93
94     <dependency>
95       <groupId>com.fasterxml.jackson.core</groupId>
96       <artifactId>jackson-core</artifactId>
97       <version>${jackson.version}</version>
98     </dependency>
99
100     <dependency>
101       <groupId>com.fasterxml.jackson.core</groupId>
102       <artifactId>jackson-databind</artifactId>
103       <version>${jackson.version}</version>
104     </dependency>
105
106     <dependency>
107       <groupId>stax</groupId>
108       <artifactId>stax-api</artifactId>
109       <version>${stax.version}</version>
110     </dependency>
111
112     <!-- Tests -->
113     <dependency>
114       <groupId>junit</groupId>
115       <artifactId>junit</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.mockito</groupId>
119       <artifactId>mockito-all</artifactId>
120     </dependency>
121   </dependencies>
122
123
124     <build>
125         <plugins>
126             <plugin>
127                 <groupId>org.apache.felix</groupId>
128                 <artifactId>maven-bundle-plugin</artifactId>
129                 <version>${bundle.plugin.version}</version>
130                 <extensions>true</extensions>
131                 <configuration>
132                     <instructions>
133                         <Import-Package>
134                             *,
135                             com.google.common.collect,
136                             !org.codehaus.enunciate.jaxrs
137                         </Import-Package>
138                         <Export-Package>
139                             org.opendaylight.controller.config.yang.md.sal.remote.rpc,
140                             org.opendaylight.controller.sal.connector.remoterpc.util,
141                             org.opendaylight.controller.sal.connector.remoterpc.dto,
142                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcClient,
143                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcServer,
144                             org.opendaylight.controller.sal.connector.remoterpc.RemoteRpcProvider
145                         </Export-Package>
146                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
147                     </instructions>
148                 </configuration>
149             </plugin>
150            
151
152             <plugin>
153                 <groupId>org.opendaylight.yangtools</groupId>
154                 <artifactId>yang-maven-plugin</artifactId>
155                 <version>${yangtools.version}</version>
156                 <executions>
157                     <execution>
158                         <goals>
159                             <goal>generate-sources</goal>
160                         </goals>
161                         <configuration>
162                             <codeGenerators>
163                                 <generator>
164                                     <codeGeneratorClass>
165                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
166                                     </codeGeneratorClass>
167                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
168                                     <additionalConfiguration>
169                                         <namespaceToPackage1>
170                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
171                                         </namespaceToPackage1>
172                                     </additionalConfiguration>
173                                 </generator>
174                                 <generator>
175                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
176                                     <outputBaseDir>target/site/models</outputBaseDir>
177                                 </generator>
178                             </codeGenerators>
179                             <inspectDependencies>true</inspectDependencies>
180                         </configuration>
181                     </execution>
182                 </executions>
183                 <dependencies>
184                     <dependency>
185                         <groupId>org.opendaylight.controller</groupId>
186                         <artifactId>yang-jmx-generator-plugin</artifactId>
187                         <version>${yang.jmx.plugin}</version>
188                     </dependency>
189                     <dependency>
190                         <groupId>org.opendaylight.yangtools</groupId>
191                         <artifactId>maven-sal-api-gen-plugin</artifactId>
192                                     <version>${yangtools.version}</version>
193                         <type>jar</type>
194                     </dependency>
195                 </dependencies>
196             </plugin>
197         </plugins>
198     </build>
199 </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.