d5648a0625d87fd698aafbd132e45400aaf7186d
[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.0-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     <jackson.version>2.3.0</jackson.version>
18     <stax.version>1.0.1</stax.version>
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       <!-- TODO: fix the version. Why is it not MD Sal project version?-->
42       <version>0.4.1-SNAPSHOT</version>
43     </dependency>
44
45     <!-- AD Sal -->
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>sal</artifactId>
49     </dependency>
50
51     <!-- Yang tools -->
52     <dependency>
53       <groupId>org.opendaylight.yangtools</groupId>
54       <artifactId>yang-common</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>org.opendaylight.yangtools</groupId>
58       <artifactId>yang-data-api</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.yangtools</groupId>
62       <artifactId>yang-data-impl</artifactId>
63     </dependency>
64
65     <!-- Third Party -->
66     <dependency>
67       <groupId>org.osgi</groupId>
68       <artifactId>org.osgi.core</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>org.zeromq</groupId>
72       <artifactId>jeromq</artifactId>
73       <version>${zeromq.version}</version>
74     </dependency>
75     <dependency>
76       <groupId>com.google.guava</groupId>
77       <artifactId>guava</artifactId>
78     </dependency>
79     <dependency>
80       <groupId> org.slf4j</groupId>
81       <artifactId>slf4j-api</artifactId>
82     </dependency>
83
84     <dependency>
85       <groupId>com.fasterxml.jackson.core</groupId>
86       <artifactId>jackson-annotations</artifactId>
87       <version>${jackson.version}</version>
88     </dependency>
89
90     <dependency>
91       <groupId>com.fasterxml.jackson.core</groupId>
92       <artifactId>jackson-core</artifactId>
93       <version>${jackson.version}</version>
94     </dependency>
95
96     <dependency>
97       <groupId>com.fasterxml.jackson.core</groupId>
98       <artifactId>jackson-databind</artifactId>
99       <version>${jackson.version}</version>
100     </dependency>
101
102     <dependency>
103       <groupId>stax</groupId>
104       <artifactId>stax-api</artifactId>
105       <version>${stax.version}</version>
106     </dependency>
107
108     <!-- Tests -->
109     <dependency>
110       <groupId>junit</groupId>
111       <artifactId>junit</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.mockito</groupId>
115       <artifactId>mockito-all</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.powermock</groupId>
119       <artifactId>powermock-module-junit4</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.powermock</groupId>
123       <artifactId>powermock-api-mockito</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.powermock</groupId>
127       <artifactId>powermock-core</artifactId>
128     </dependency>
129
130   </dependencies>
131
132
133     <build>
134         <plugins>
135             <plugin>
136                 <groupId>org.apache.felix</groupId>
137                 <artifactId>maven-bundle-plugin</artifactId>
138                 <version>${bundle.plugin.version}</version>
139                 <extensions>true</extensions>
140                 <configuration>
141                     <instructions>
142                         <Import-Package>
143                             *,
144                             !org.codehaus.enunciate.jaxrs
145                         </Import-Package>
146                         <Export-Package>
147                             org.opendaylight.controller.config.yang.md.sal.remote.rpc,
148                             org.opendaylight.controller.sal.connector.remoterpc,
149                             org.opendaylight.controller.sal.connector.remoterpc.*
150                         </Export-Package>
151                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
152                     </instructions>
153                 </configuration>
154             </plugin>
155            
156
157             <plugin>
158                 <groupId>org.opendaylight.yangtools</groupId>
159                 <artifactId>yang-maven-plugin</artifactId>
160                 <version>0.5.9-SNAPSHOT</version>
161                 <executions>
162                     <execution>
163                         <goals>
164                             <goal>generate-sources</goal>
165                         </goals>
166                         <configuration>
167                             <codeGenerators>
168                                 <generator>
169                                     <codeGeneratorClass>
170                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
171                                     </codeGeneratorClass>
172                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
173                                     <additionalConfiguration>
174                                         <namespaceToPackage1>
175                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
176                                         </namespaceToPackage1>
177                                     </additionalConfiguration>
178                                 </generator>
179                                 <generator>
180                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
181                                     <outputBaseDir>target/site/models</outputBaseDir>
182                                 </generator>
183                             </codeGenerators>
184                             <inspectDependencies>true</inspectDependencies>
185                         </configuration>
186                     </execution>
187                 </executions>
188                 <dependencies>
189                     <dependency>
190                         <groupId>org.opendaylight.controller</groupId>
191                         <artifactId>yang-jmx-generator-plugin</artifactId>
192                         <version>0.2.3-SNAPSHOT</version>
193                     </dependency>
194                     <dependency>
195                         <groupId>org.opendaylight.yangtools</groupId>
196                         <artifactId>maven-sal-api-gen-plugin</artifactId>
197                         <version>0.6.0-SNAPSHOT</version>
198                         <type>jar</type>
199                     </dependency>
200                 </dependencies>
201             </plugin>
202         </plugins>
203     </build>
204 </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.