Fix FindBugs warnings in sal-cluster-admin and enable enforcement
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>sal-parent</artifactId>
7     <version>1.5.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-remoterpc-connector</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17
18     <dependency>
19       <groupId>com.typesafe.akka</groupId>
20       <artifactId>akka-actor_${scala.version}</artifactId>
21     </dependency>
22
23     <dependency>
24       <groupId>com.typesafe.akka</groupId>
25       <artifactId>akka-cluster_${scala.version}</artifactId>
26     </dependency>
27
28     <dependency>
29       <groupId>com.typesafe.akka</groupId>
30       <artifactId>akka-remote_${scala.version}</artifactId>
31     </dependency>
32
33     <dependency>
34       <groupId>com.typesafe.akka</groupId>
35       <artifactId>akka-testkit_${scala.version}</artifactId>
36       <scope>test</scope>
37     </dependency>
38     <dependency>
39       <groupId>com.typesafe.akka</groupId>
40       <artifactId>akka-osgi_${scala.version}</artifactId>
41     </dependency>
42
43     <dependency>
44       <groupId>com.typesafe.akka</groupId>
45       <artifactId>akka-slf4j_${scala.version}</artifactId>
46     </dependency>
47
48     <dependency>
49       <groupId>com.typesafe.akka</groupId>
50       <artifactId>akka-persistence_${scala.version}</artifactId>
51     </dependency>
52     <!-- SAL Dependencies -->
53
54     <dependency>
55       <groupId>org.opendaylight.controller</groupId>
56       <artifactId>sal-connector-api</artifactId>
57     </dependency>
58
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>sal-common-util</artifactId>
62     </dependency>
63
64     <dependency>
65       <groupId>org.opendaylight.controller</groupId>
66       <artifactId>sal-core-api</artifactId>
67     </dependency>
68       <dependency>
69         <groupId>org.opendaylight.controller</groupId>
70         <artifactId>sal-core-spi</artifactId>
71       </dependency>
72       <dependency>
73         <groupId>org.opendaylight.controller</groupId>
74         <artifactId>sal-dom-config</artifactId>
75       </dependency>
76
77       <dependency>
78         <groupId>org.opendaylight.controller</groupId>
79         <artifactId>sal-common-impl</artifactId>
80       </dependency>
81       <dependency>
82         <groupId>org.opendaylight.controller</groupId>
83         <artifactId>sal-clustering-commons</artifactId>
84       </dependency>
85
86     <!-- Yang tools-->
87
88     <dependency>
89       <groupId>org.opendaylight.yangtools</groupId>
90       <artifactId>yang-data-api</artifactId>
91     </dependency>
92       <dependency>
93           <groupId>org.opendaylight.yangtools</groupId>
94           <artifactId>yang-model-api</artifactId>
95       </dependency>
96     <dependency>
97       <groupId>org.opendaylight.yangtools</groupId>
98       <artifactId>yang-data-impl</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.yangtools</groupId>
102       <artifactId>yang-common</artifactId>
103     </dependency>
104     <dependency>
105       <groupId>org.osgi</groupId>
106       <artifactId>org.osgi.core</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.slf4j</groupId>
110       <artifactId>slf4j-api</artifactId>
111     </dependency>
112     <dependency>
113       <groupId>org.scala-lang</groupId>
114       <artifactId>scala-library</artifactId>
115     </dependency>
116
117     <dependency>
118       <groupId>io.dropwizard.metrics</groupId>
119       <artifactId>metrics-core</artifactId>
120     </dependency>
121
122     <dependency>
123       <groupId>io.dropwizard.metrics</groupId>
124       <artifactId>metrics-graphite</artifactId>
125     </dependency>
126     <!-- Test Dependencies -->
127     <dependency>
128       <groupId>junit</groupId>
129       <artifactId>junit</artifactId>
130       <scope>test</scope>
131     </dependency>
132     <dependency>
133       <groupId>org.mockito</groupId>
134       <artifactId>mockito-all</artifactId>
135       <scope>test</scope>
136     </dependency>
137
138       <dependency>
139       <groupId>org.slf4j</groupId>
140       <artifactId>slf4j-simple</artifactId>
141       <scope>test</scope>
142     </dependency>
143       <dependency>
144           <groupId>org.opendaylight.yangtools</groupId>
145           <artifactId>yang-parser-impl</artifactId>
146           <scope>test</scope>
147       </dependency>
148       <dependency>
149           <groupId>com.google.collections</groupId>
150           <artifactId>google-collections</artifactId>
151           <version>1.0</version>
152           <scope>test</scope>
153       </dependency>
154
155   </dependencies>
156
157   <build>
158     <plugins>
159         <plugin>
160             <groupId>org.jacoco</groupId>
161             <artifactId>jacoco-maven-plugin</artifactId>
162             <configuration>
163                 <includes>
164                     <include>org.opendaylight.controller.*</include>
165                 </includes>
166                 <excludes>
167                     <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
168                 </excludes>
169                 <check>false</check>
170             </configuration>
171             <executions>
172                 <execution>
173                     <id>pre-test</id>
174                     <goals>
175                         <goal>prepare-agent</goal>
176                     </goals>
177                 </execution>
178                 <execution>
179                     <id>post-test</id>
180                     <goals>
181                         <goal>report</goal>
182                     </goals>
183                     <phase>test</phase>
184                 </execution>
185             </executions>
186         </plugin>
187
188       <plugin>
189         <groupId>org.apache.felix</groupId>
190         <artifactId>maven-bundle-plugin</artifactId>
191         <extensions>true</extensions>
192         <configuration>
193           <instructions>
194             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
195             <Export-package></Export-package>
196             <Private-Package></Private-Package>
197             <Import-Package>
198               !org.iq80.*;
199               !*snappy;
200               !org.jboss.*;
201               !com.jcraft.*;
202               !org.fusesource.*;
203               !*jetty*;
204               !sun.security.*;
205               org.opendaylight.controller.cluster;
206               *
207             </Import-Package>
208             <!--
209             <Embed-Dependency>
210                 sal-clustering-commons;
211                 sal-akka-raft;
212                 *metrics*;
213                 !sal*;
214                 !*config-api*;
215                 !*testkit*;
216                 *protobuf*;
217                 akka*;
218                 *scala*;
219                 *config*;
220                 *netty*;
221                 *uncommons*;
222             </Embed-Dependency>
223             <Embed-Transitive>true</Embed-Transitive>
224           -->
225           </instructions>
226         </configuration>
227       </plugin>
228       <plugin>
229         <groupId>org.opendaylight.yangtools</groupId>
230         <artifactId>yang-maven-plugin</artifactId>
231         <executions>
232           <execution>
233             <id>config</id>
234             <goals>
235               <goal>generate-sources</goal>
236             </goals>
237             <configuration>
238               <codeGenerators>
239                 <generator>
240                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
241                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
242                   <additionalConfiguration>
243                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
244                   </additionalConfiguration>
245                 </generator>
246                 <generator>
247                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
248                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
249                 </generator>
250               </codeGenerators>
251               <inspectDependencies>true</inspectDependencies>
252             </configuration>
253           </execution>
254         </executions>
255       </plugin>
256
257
258
259     </plugins>
260   </build>
261   <scm>
262     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
263     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
264     <tag>HEAD</tag>
265     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
266   </scm>
267 </project>