Merge "Unitests: remove conditions that are always true/false."
[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     <dependency>
65       <groupId>org.opendaylight.yangtools</groupId>
66       <artifactId>yang-common</artifactId>
67     </dependency>
68
69     <!-- Third Party -->
70     <dependency>
71       <groupId>org.osgi</groupId>
72       <artifactId>org.osgi.core</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.zeromq</groupId>
76       <artifactId>jeromq</artifactId>
77       <version>${zeromq.version}</version>
78     </dependency>
79     <dependency>
80       <groupId>com.google.guava</groupId>
81       <artifactId>guava</artifactId>
82     </dependency>
83     <dependency>
84       <groupId> org.slf4j</groupId>
85       <artifactId>slf4j-api</artifactId>
86     </dependency>
87
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     <dependency>
122       <groupId>org.powermock</groupId>
123       <artifactId>powermock-module-junit4</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.powermock</groupId>
127       <artifactId>powermock-api-mockito</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.powermock</groupId>
131       <artifactId>powermock-core</artifactId>
132     </dependency>
133
134   </dependencies>
135
136
137     <build>
138         <plugins>
139             <plugin>
140                 <groupId>org.apache.felix</groupId>
141                 <artifactId>maven-bundle-plugin</artifactId>
142                 <version>${bundle.plugin.version}</version>
143                 <extensions>true</extensions>
144                 <configuration>
145                     <instructions>
146                         <Import-Package>
147                             *,
148                             !org.codehaus.enunciate.jaxrs
149                         </Import-Package>
150                         <Export-Package>
151                             org.opendaylight.controller.config.yang.md.sal.remote.rpc,
152                             org.opendaylight.controller.sal.connector.remoterpc,
153                             org.opendaylight.controller.sal.connector.remoterpc.*
154                         </Export-Package>
155                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
156                     </instructions>
157                 </configuration>
158             </plugin>
159            
160
161             <plugin>
162                 <groupId>org.opendaylight.yangtools</groupId>
163                 <artifactId>yang-maven-plugin</artifactId>
164                 <version>0.5.9-SNAPSHOT</version>
165                 <executions>
166                     <execution>
167                         <goals>
168                             <goal>generate-sources</goal>
169                         </goals>
170                         <configuration>
171                             <codeGenerators>
172                                 <generator>
173                                     <codeGeneratorClass>
174                                         org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
175                                     </codeGeneratorClass>
176                                     <outputBaseDir>${project.build.directory}/generated-sources/config</outputBaseDir>
177                                     <additionalConfiguration>
178                                         <namespaceToPackage1>
179                                             urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang
180                                         </namespaceToPackage1>
181                                     </additionalConfiguration>
182                                 </generator>
183                                 <generator>
184                                     <codeGeneratorClass>org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl</codeGeneratorClass>
185                                     <outputBaseDir>target/site/models</outputBaseDir>
186                                 </generator>
187                             </codeGenerators>
188                             <inspectDependencies>true</inspectDependencies>
189                         </configuration>
190                     </execution>
191                 </executions>
192                 <dependencies>
193                     <dependency>
194                         <groupId>org.opendaylight.controller</groupId>
195                         <artifactId>yang-jmx-generator-plugin</artifactId>
196                         <version>0.2.3-SNAPSHOT</version>
197                     </dependency>
198                     <dependency>
199                         <groupId>org.opendaylight.yangtools</groupId>
200                         <artifactId>maven-sal-api-gen-plugin</artifactId>
201                         <version>0.6.0-SNAPSHOT</version>
202                         <type>jar</type>
203                     </dependency>
204                 </dependencies>
205             </plugin>
206         </plugins>
207     </build>
208 </project>