Add SpotBugs dependencies
[odlparent.git] / odlparent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.odlparent</groupId>
15     <artifactId>odlparent-lite</artifactId>
16     <version>3.0.0-SNAPSHOT</version>
17     <relativePath>../odlparent-lite</relativePath>
18   </parent>
19
20   <artifactId>odlparent</artifactId>
21   <packaging>pom</packaging>
22   <name>ODL :: odlparent :: ${project.artifactId}</name>
23
24   <scm>
25     <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
27     <tag>HEAD</tag>
28     <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
29   </scm>
30
31   <!-- Variables should only be used where genuinely useful (to avoid
32        repetition); in general versions should be specified in the
33        corresponding dependencyManagement or pluginManagement element, not as
34        a variable. Duplication within odlparent doesn't count if it can be
35        managed using maven-versions-plugin. -->
36   <properties>
37     <nexus.repository.release>opendaylight.release</nexus.repository.release>
38     <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
39
40     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42
43     <!-- Java Versions -->
44     <!-- FIXME: confirm these two are picked by maven-compiler-plugin -->
45     <maven.compiler.source>1.8</maven.compiler.source>
46     <maven.compiler.target>1.8</maven.compiler.target>
47     <java.version.source>${maven.compiler.source}</java.version.source>
48     <java.version.target>${maven.compiler.target}</java.version.target>
49
50     <!-- Maven plugin versions, in the 'canonical' format -->
51     <!-- Used in controller, didm, neutron, openflowplugin, persistence; see also affinity -->
52     <maven.bundle.version>3.3.0</maven.bundle.version>
53     <!-- Used in sxp -->
54     <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
55     <!-- Used in controller, didm, l2switch, lacp, persistence; see also toolkit, tsdr, ttp -->
56     <maven.compile.plugin.version>3.7.0</maven.compile.plugin.version>
57     <!-- Used in controller, coretutorials, mdsal, snbi, yangtools -->
58     <maven.javadoc.version>2.10.4</maven.javadoc.version>
59     <!-- Used in snmp -->
60     <maven.plugin.version>3.5</maven.plugin.version>
61     <!-- Used in neutron, of-config, tsdr, yangtools -->
62     <!-- Later versions break tests in downstream projects -->
63     <maven.surefire.version>2.18.1</maven.surefire.version>
64
65     <!-- Maven plugin versions, in random formats -->
66     <!-- Used in aaa, alto, controller, didm, tsdr; see also affinity, snmp4sdn, toolkit, ttp -->
67     <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
68     <!-- TODO rename checkstyle.version to checkstyle.(maven.)plugin.version,
69          or just remove it, incl. all usages of it in a number of pom.xml; because normally,
70          as maven-checkstyle-plugin is in pluginManagement, this should not have to be repeated. -->
71     <!-- Used in alto, controller, lacp, netide, openflowjava, packetcable, snmp4sdn, ttp; see also affinity, opendove,
72          toolkit -->
73     <checkstyle.version>2.17</checkstyle.version>
74     <!-- Used in controller, packetcable -->
75     <odl.checkstyle.version>3.0.0-SNAPSHOT</odl.checkstyle.version>
76     <!-- Used in snmp4sdn; see also toolkit -->
77     <compiler.version>${maven.compile.plugin.version}</compiler.version>
78     <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
79     <enforcer.version>1.4.1</enforcer.version>
80     <!-- Used in affinity, controller, nemo, opendove, snmp4sdn -->
81     <enunciate.version>1.31</enunciate.version>
82     <!-- Used in affinity, coretutorials, netide -->
83     <exam.version>4.11.0</exam.version>
84     <!-- Used in affinity, controller, neutron, of-config; see also snmp4sdn -->
85     <!-- Later versions break tests in downstream projects -->
86     <failsafe.version>2.18.1</failsafe.version>
87     <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
88     <jacoco.version>0.7.7.201606060606</jacoco.version>
89     <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
90          nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
91     <karaf.version>4.0.10</karaf.version>
92     <karaf.plugin.version>4.0.10</karaf.plugin.version>
93     <!-- Used in lispflowmapping, snmp4sdn, vtn -->
94     <projectinfo>2.8.1</projectinfo>
95     <!-- Used in of-config; see also snmp4sdn -->
96     <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
97     <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
98     <releaseplugin.version>2.5.3</releaseplugin.version>
99
100     <!-- Supporting Libraries -->
101     <!-- Used by controller -->
102     <bouncycastle.version>1.58</bouncycastle.version>
103
104     <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
105     <osgi.core.version>5.0.0</osgi.core.version>
106
107     <akka.version>2.5.4</akka.version>
108     <leveldb.version>0.7</leveldb.version>
109
110     <!-- Default Sonar configuration -->
111     <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
112     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
113     <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
114     <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
115     <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
116     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
117
118     <pmd.cpd.fail>false</pmd.cpd.fail>
119   </properties>
120
121   <dependencyManagement>
122     <dependencies>
123
124       <dependency>
125         <groupId>org.opendaylight.odlparent</groupId>
126         <artifactId>odlparent-artifacts</artifactId>
127         <version>3.0.0-SNAPSHOT</version>
128         <scope>import</scope>
129         <type>pom</type>
130       </dependency>
131
132       <!-- Build tool dependencies (normally not here in <dependencies>,
133            but in a <dependency> in <pluginManagement> but for Checkstyle this
134            is required so that we can share the same version of Checkstyle
135            for both the Maven plugin below as well as  for custom Checkstyle
136            check rule projects, such as yangtools' checkstyle-logging) -->
137       <dependency>
138         <groupId>com.puppycrawl.tools</groupId>
139         <artifactId>checkstyle</artifactId>
140         <!-- This should match the plugin management on maven-checkstyle-plugin below -->
141         <version>8.2</version>
142       </dependency>
143
144       <!-- Testing Dependencies -->
145       <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
146       <!-- Need to stick to JUnit 4.11 until
147            https://github.com/jayway/powermock/issues/560 is fixed (either in
148            PowerMock or with a new JUnit release) -->
149       <dependency>
150         <groupId>junit</groupId>
151         <artifactId>junit</artifactId>
152         <version>4.11</version>
153         <scope>test</scope>
154       </dependency>
155       <dependency>
156         <groupId>junit</groupId>
157         <artifactId>junit-dep</artifactId>
158         <version>4.11</version>
159         <scope>test</scope>
160       </dependency>
161       <dependency>
162          <groupId>org.skyscreamer</groupId>
163          <artifactId>jsonassert</artifactId>
164          <version>1.3.0</version>
165          <scope>test</scope>
166       </dependency>
167       <dependency>
168         <groupId>org.mockito</groupId>
169         <artifactId>mockito-core</artifactId>
170         <version>1.10.19</version>
171         <scope>test</scope>
172       </dependency>
173       <dependency>
174         <groupId>org.hamcrest</groupId>
175         <artifactId>hamcrest-core</artifactId>
176         <version>1.3</version>
177         <scope>test</scope>
178       </dependency>
179       <dependency>
180         <groupId>org.hamcrest</groupId>
181         <artifactId>hamcrest-library</artifactId>
182         <version>1.3</version>
183         <scope>test</scope>
184       </dependency>
185       <dependency>
186         <groupId>com.google.truth</groupId>
187         <artifactId>truth</artifactId>
188         <version>0.28</version>
189         <scope>test</scope>
190       </dependency>
191       <dependency>
192         <groupId>org.awaitility</groupId>
193         <artifactId>awaitility</artifactId>
194         <version>2.0.0</version>
195         <scope>test</scope>
196       </dependency>
197       <dependency>
198         <groupId>org.powermock</groupId>
199         <artifactId>powermock-api-mockito</artifactId>
200         <version>1.6.4</version>
201         <scope>test</scope>
202       </dependency>
203       <dependency>
204         <groupId>org.powermock</groupId>
205         <artifactId>powermock-api-support</artifactId>
206         <version>1.6.4</version>
207         <scope>test</scope>
208       </dependency>
209       <dependency>
210         <groupId>org.powermock</groupId>
211         <artifactId>powermock-core</artifactId>
212         <version>1.6.4</version>
213         <scope>test</scope>
214       </dependency>
215       <dependency>
216         <groupId>org.powermock</groupId>
217         <artifactId>powermock-module-junit4</artifactId>
218         <version>1.6.4</version>
219         <scope>test</scope>
220       </dependency>
221       <dependency>
222         <groupId>org.powermock</groupId>
223         <artifactId>powermock-reflect</artifactId>
224         <version>1.6.4</version>
225         <scope>test</scope>
226       </dependency>
227
228       <!--
229            Annotation Processors
230        -->
231       <dependency>
232         <!-- Generates immutable implementations, builders, the works -->
233         <groupId>org.immutables</groupId>
234         <artifactId>value</artifactId>
235         <version>2.5.6</version>
236         <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
237         <scope>provided</scope>
238       </dependency>
239       <dependency>
240         <!-- Generates META-INF/services entries for ServiceLoader -->
241         <groupId>org.kohsuke.metainf-services</groupId>
242         <artifactId>metainf-services</artifactId>
243         <version>1.7</version>
244         <optional>true</optional>
245       </dependency>
246
247       <!--
248            Supporting Libraries
249        -->
250       <dependency>
251         <groupId>org.slf4j</groupId>
252         <artifactId>jcl-over-slf4j</artifactId>
253         <version>1.7.21</version>
254       </dependency>
255       <dependency>
256         <groupId>org.slf4j</groupId>
257         <artifactId>slf4j-api</artifactId>
258         <version>1.7.21</version>
259       </dependency>
260       <dependency>
261         <groupId>org.slf4j</groupId>
262         <artifactId>slf4j-log4j12</artifactId>
263         <version>1.7.21</version>
264       </dependency>
265       <dependency>
266         <groupId>org.slf4j</groupId>
267         <artifactId>log4j-over-slf4j</artifactId>
268         <version>1.7.21</version>
269       </dependency>
270       <dependency>
271         <groupId>org.slf4j</groupId>
272         <artifactId>slf4j-simple</artifactId>
273         <version>1.7.21</version>
274         <scope>test</scope>
275       </dependency>
276       <dependency>
277         <groupId>xml-apis</groupId>
278         <artifactId>xml-apis</artifactId>
279         <version>1.4.01</version>
280       </dependency>
281       <dependency>
282         <groupId>xerces</groupId>
283         <artifactId>xercesImpl</artifactId>
284         <version>2.11.0</version>
285       </dependency>
286       <dependency>
287         <groupId>ch.qos.logback</groupId>
288         <artifactId>logback-core</artifactId>
289         <version>1.2.2</version>
290       </dependency>
291       <dependency>
292         <groupId>ch.qos.logback</groupId>
293         <artifactId>logback-classic</artifactId>
294         <version>1.2.2</version>
295       </dependency>
296       <dependency>
297         <groupId>com.google.guava</groupId>
298         <artifactId>guava</artifactId>
299         <version>23.2-jre</version>
300         <exclusions>
301           <exclusion>
302             <groupId>com.google.code.findbugs</groupId>
303             <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
304             <artifactId>jsr305</artifactId>
305           </exclusion>
306         </exclusions>
307       </dependency>
308       <dependency>
309         <groupId>com.google.guava</groupId>
310         <artifactId>guava-testlib</artifactId>
311         <version>23.2-jre</version>
312         <scope>test</scope>
313         <exclusions>
314           <exclusion>
315             <groupId>com.google.code.findbugs</groupId>
316             <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
317             <artifactId>jsr305</artifactId>
318           </exclusion>
319         </exclusions>
320       </dependency>
321       <dependency>
322         <groupId>com.mycila.guice.extensions</groupId>
323         <artifactId>mycila-guice-jsr250</artifactId>
324         <!-- Make sure this version is in sync with the guice one below -->
325         <version>4.0.rc1</version>
326         <scope>test</scope>
327       </dependency>
328       <dependency>
329         <groupId>com.google.inject</groupId>
330         <artifactId>guice</artifactId>
331         <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
332              by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
333         <version>4.1.0</version>
334       </dependency>
335       <dependency>
336         <groupId>org.apache.commons</groupId>
337         <artifactId>commons-lang3</artifactId>
338         <version>3.6</version>
339       </dependency>
340       <dependency>
341         <groupId>org.apache.commons</groupId>
342         <artifactId>commons-text</artifactId>
343         <version>1.1</version>
344       </dependency>
345       <dependency>
346         <groupId>commons-lang</groupId>
347         <artifactId>commons-lang</artifactId>
348         <version>2.6</version>
349       </dependency>
350       <dependency>
351         <groupId>commons-codec</groupId>
352         <artifactId>commons-codec</artifactId>
353         <version>1.10</version>
354       </dependency>
355       <!-- Jersey for JAXRS -->
356       <dependency>
357         <groupId>javax.ws.rs</groupId>
358         <artifactId>javax.ws.rs-api</artifactId>
359         <version>2.0.1</version>
360       </dependency>
361       <dependency>
362         <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
363         <artifactId>jersey-guava</artifactId>
364         <version>2.22.2</version>
365       </dependency>
366       <dependency>
367         <groupId>org.glassfish</groupId>
368         <artifactId>javax.json</artifactId>
369         <version>1.0.4</version>
370       </dependency>
371       <dependency>
372         <groupId>com.eclipsesource.jaxrs</groupId>
373         <artifactId>jersey-all</artifactId>
374         <version>2.22.2</version>
375       </dependency>
376
377       <!-- servlet 3.x support -->
378       <dependency>
379         <groupId>org.glassfish.jersey.containers</groupId>
380         <artifactId>jersey-container-servlet</artifactId>
381         <version>2.8</version>
382       </dependency>
383       <dependency>
384         <groupId>org.apache.geronimo.bundles</groupId>
385         <artifactId>json</artifactId>
386         <version>20090211_1</version>
387       </dependency>
388       <!-- FIXME : remove all dependencies for jersey 1.17 -->
389       <dependency>
390         <groupId>com.sun.jersey</groupId>
391         <artifactId>jersey-core</artifactId>
392         <version>1.17</version>
393       </dependency>
394       <dependency>
395         <groupId>com.sun.jersey</groupId>
396         <artifactId>jersey-json</artifactId>
397         <version>1.17</version>
398       </dependency>
399       <dependency>
400         <groupId>com.sun.jersey</groupId>
401         <artifactId>jersey-server</artifactId>
402         <version>1.17</version>
403       </dependency>
404       <dependency>
405         <groupId>com.sun.jersey</groupId>
406         <artifactId>jersey-servlet</artifactId>
407         <version>1.17</version>
408       </dependency>
409       <dependency>
410         <groupId>com.sun.jersey.jersey-test-framework</groupId>
411         <artifactId>jersey-test-framework-grizzly2</artifactId>
412         <version>1.17</version>
413         <scope>test</scope>
414       </dependency>
415       <dependency>
416         <groupId>com.sun.jersey.jersey-test-framework</groupId>
417         <artifactId>jersey-test-framework-inmemory</artifactId>
418         <version>1.17</version>
419         <scope>test</scope>
420       </dependency>
421       <dependency>
422         <groupId>com.sun.jersey</groupId>
423         <artifactId>jersey-client</artifactId>
424         <version>1.17</version>
425       </dependency>
426       <dependency>
427         <groupId>org.opendaylight.controller.thirdparty</groupId>
428         <artifactId>com.sun.jersey.jersey-servlet</artifactId>
429         <version>1.17</version>
430       </dependency>
431       <dependency>
432         <groupId>org.apache.shiro</groupId>
433         <artifactId>shiro-core</artifactId>
434         <version>1.3.2</version>
435       </dependency>
436       <dependency>
437         <groupId>org.apache.shiro</groupId>
438         <artifactId>shiro-web</artifactId>
439         <version>1.3.2</version>
440       </dependency>
441
442       <!-- Plugin integration -->
443       <dependency>
444         <groupId>net.java.dev.stax-utils</groupId>
445         <artifactId>stax-utils</artifactId>
446         <version>20070216</version>
447       </dependency>
448       <dependency>
449         <groupId>org.sonatype.plexus</groupId>
450         <artifactId>plexus-build-api</artifactId>
451         <version>0.0.7</version>
452       </dependency>
453       <dependency>
454         <groupId>org.codehaus.plexus</groupId>
455         <artifactId>plexus-slf4j-logging</artifactId>
456         <version>1.1</version>
457       </dependency>
458
459       <dependency>
460         <groupId>org.codehaus.woodstox</groupId>
461         <artifactId>stax2-api</artifactId>
462         <!-- Needs to match jackson's idea of import -->
463         <version>3.1.4</version>
464       </dependency>
465       <dependency>
466         <groupId>com.fasterxml.jackson.core</groupId>
467         <artifactId>jackson-annotations</artifactId>
468         <version>2.8.9</version>
469       </dependency>
470       <dependency>
471         <groupId>com.fasterxml.jackson.core</groupId>
472         <artifactId>jackson-core</artifactId>
473         <version>2.8.9</version>
474       </dependency>
475       <dependency>
476         <groupId>com.fasterxml.jackson.core</groupId>
477         <artifactId>jackson-databind</artifactId>
478         <version>2.8.9</version>
479       </dependency>
480       <dependency>
481         <groupId>com.fasterxml.jackson.dataformat</groupId>
482         <artifactId>jackson-dataformat-xml</artifactId>
483         <version>2.8.9</version>
484       </dependency>
485       <dependency>
486         <groupId>com.fasterxml.jackson.datatype</groupId>
487         <artifactId>jackson-datatype-json-org</artifactId>
488         <version>2.8.9</version>
489       </dependency>
490       <dependency>
491         <groupId>com.fasterxml.jackson.jaxrs</groupId>
492         <artifactId>jackson-jaxrs-base</artifactId>
493         <version>2.8.9</version>
494       </dependency>
495       <dependency>
496         <groupId>com.fasterxml.jackson.jaxrs</groupId>
497         <artifactId>jackson-jaxrs-json-provider</artifactId>
498         <version>2.8.9</version>
499       </dependency>
500       <dependency>
501         <groupId>com.fasterxml.jackson.module</groupId>
502         <artifactId>jackson-module-jaxb-annotations</artifactId>
503         <version>2.8.9</version>
504       </dependency>
505
506       <!-- TODO do we really need resteasy ? -->
507       <dependency>
508         <groupId>org.jboss.resteasy</groupId>
509         <artifactId>jaxrs-api</artifactId>
510         <version>3.0.12.Final</version>
511       </dependency>
512
513       <dependency>
514         <groupId>com.sun.xml.txw2</groupId>
515         <artifactId>txw2</artifactId>
516         <version>20110809</version>
517       </dependency>
518       <dependency>
519         <groupId>com.google.code.findbugs</groupId>
520         <artifactId>annotations</artifactId>
521         <version>3.0.0</version>
522         <exclusions>
523           <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
524                the types of this artifact are already shaded inside the :annotations artifact.
525                This state is a temporary solution to allow all projects to gradually switch over
526                switch their <dependency><groupId>com.google.code.findbugs from
527                <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
528                The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
529             -->
530           <exclusion>
531             <groupId>net.jcip</groupId>
532             <!-- The types of this artifact are already shaded inside the :annotations artifact -->
533             <artifactId>jcip-annotations</artifactId>
534           </exclusion>
535         </exclusions>
536       </dependency>
537       <dependency>
538         <groupId>org.eclipse.jdt</groupId>
539         <artifactId>org.eclipse.jdt.annotation</artifactId>
540         <version>2.1.0</version>
541         <scope>provided</scope>
542       </dependency>
543       <dependency>
544         <groupId>com.google.code.gson</groupId>
545         <artifactId>gson</artifactId>
546         <version>2.7</version>
547       </dependency>
548       <dependency>
549         <groupId>commons-fileupload</groupId>
550         <artifactId>commons-fileupload</artifactId>
551         <version>1.3.2</version>
552       </dependency>
553       <dependency>
554         <groupId>commons-io</groupId>
555         <artifactId>commons-io</artifactId>
556         <version>2.5</version>
557       </dependency>
558       <dependency>
559         <groupId>commons-net</groupId>
560         <artifactId>commons-net</artifactId>
561         <version>3.6</version>
562       </dependency>
563       <dependency>
564         <groupId>eclipselink</groupId>
565         <artifactId>javax.persistence</artifactId>
566         <version>2.0.4.v201112161009</version>
567       </dependency>
568       <dependency>
569         <groupId>eclipselink</groupId>
570         <artifactId>javax.resource</artifactId>
571         <version>1.5.0.v200906010428</version>
572       </dependency>
573
574       <dependency>
575         <groupId>org.eclipse.tycho</groupId>
576         <artifactId>org.eclipse.osgi</artifactId>
577         <version>3.9.1.v20130814-1242</version>
578       </dependency>
579
580       <!-- Gemini Web -->
581       <dependency>
582         <groupId>geminiweb</groupId>
583         <artifactId>org.eclipse.gemini.web.core</artifactId>
584         <version>2.2.0.RELEASE</version>
585       </dependency>
586       <dependency>
587         <groupId>geminiweb</groupId>
588         <artifactId>org.eclipse.gemini.web.extender</artifactId>
589         <version>2.2.0.RELEASE</version>
590       </dependency>
591       <dependency>
592         <groupId>geminiweb</groupId>
593         <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
594         <version>2.2.0.RELEASE</version>
595       </dependency>
596       <dependency>
597         <groupId>geminiweb</groupId>
598         <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
599         <version>3.6.0.RELEASE</version>
600       </dependency>
601       <dependency>
602         <groupId>geminiweb</groupId>
603         <artifactId>org.eclipse.virgo.util.common</artifactId>
604         <version>3.6.0.RELEASE</version>
605       </dependency>
606       <dependency>
607         <groupId>geminiweb</groupId>
608         <artifactId>org.eclipse.virgo.util.io</artifactId>
609         <version>3.6.0.RELEASE</version>
610       </dependency>
611       <dependency>
612         <groupId>geminiweb</groupId>
613         <artifactId>org.eclipse.virgo.util.math</artifactId>
614         <version>3.6.0.RELEASE</version>
615       </dependency>
616       <dependency>
617         <groupId>geminiweb</groupId>
618         <artifactId>org.eclipse.virgo.util.osgi</artifactId>
619         <version>3.6.0.RELEASE</version>
620       </dependency>
621       <dependency>
622         <groupId>geminiweb</groupId>
623         <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
624         <version>3.6.0.RELEASE</version>
625       </dependency>
626       <dependency>
627         <groupId>geminiweb</groupId>
628         <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
629         <version>3.6.0.RELEASE</version>
630       </dependency>
631       <!-- Netty -->
632       <dependency>
633         <groupId>io.netty</groupId>
634         <artifactId>netty-all</artifactId>
635         <!-- If these are updated, the version in features.xml needs to be changed too -->
636         <version>4.1.16.Final</version>
637       </dependency>
638       <dependency>
639         <groupId>io.netty</groupId>
640         <artifactId>netty-buffer</artifactId>
641         <version>4.1.16.Final</version>
642       </dependency>
643       <dependency>
644         <groupId>io.netty</groupId>
645         <artifactId>netty-codec</artifactId>
646         <version>4.1.16.Final</version>
647       </dependency>
648       <dependency>
649         <groupId>io.netty</groupId>
650         <artifactId>netty-codec-http</artifactId>
651         <version>4.1.16.Final</version>
652       </dependency>
653       <dependency>
654         <groupId>io.netty</groupId>
655         <artifactId>netty-common</artifactId>
656         <version>4.1.16.Final</version>
657       </dependency>
658       <dependency>
659         <groupId>io.netty</groupId>
660         <artifactId>netty-handler</artifactId>
661         <version>4.1.16.Final</version>
662       </dependency>
663       <dependency>
664         <groupId>io.netty</groupId>
665         <artifactId>netty-transport</artifactId>
666         <version>4.1.16.Final</version>
667       </dependency>
668       <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
669       platform and we can't require the build platform to have an implementation (e.g. OS X) -->
670       <dependency>
671         <groupId>io.netty</groupId>
672         <artifactId>netty-transport-native-epoll</artifactId>
673         <classifier>linux-x86_64</classifier>
674         <version>4.1.16.Final</version>
675       </dependency>
676       <dependency>
677         <groupId>javax.ws.rs</groupId>
678         <artifactId>jsr311-api</artifactId>
679         <version>1.1.1</version>
680       </dependency>
681       <dependency>
682         <groupId>orbit</groupId>
683         <artifactId>javax.activation</artifactId>
684         <version>1.1.0.v201211130549</version>
685       </dependency>
686       <dependency>
687         <groupId>orbit</groupId>
688         <artifactId>javax.annotation</artifactId>
689         <version>1.1.0.v201209060031</version>
690       </dependency>
691       <dependency>
692         <groupId>orbit</groupId>
693         <artifactId>javax.ejb</artifactId>
694         <version>3.1.1.v201204261316</version>
695       </dependency>
696       <dependency>
697         <groupId>orbit</groupId>
698         <artifactId>javax.el</artifactId>
699         <version>2.2.0.v201108011116</version>
700       </dependency>
701       <dependency>
702         <groupId>orbit</groupId>
703         <artifactId>javax.mail.glassfish</artifactId>
704         <version>1.4.1.v201108011116</version>
705       </dependency>
706       <dependency>
707         <groupId>javax.servlet</groupId>
708         <artifactId>javax.servlet-api</artifactId>
709         <version>3.1.0</version>
710       </dependency>
711       <dependency>
712         <groupId>orbit</groupId>
713         <artifactId>javax.servlet.jsp.jstl</artifactId>
714         <version>1.2.0.v201105211821</version>
715       </dependency>
716       <dependency>
717         <groupId>orbit</groupId>
718         <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
719         <version>1.2.0.v201210211230</version>
720       </dependency>
721       <dependency>
722         <groupId>orbit</groupId>
723         <artifactId>javax.xml.rpc</artifactId>
724         <version>1.1.0.v201005080400</version>
725       </dependency>
726       <dependency>
727         <groupId>orbit</groupId>
728         <artifactId>org.apache.catalina</artifactId>
729         <version>7.0.53.v201406061610</version>
730       </dependency>
731       <dependency>
732         <groupId>orbit</groupId>
733         <artifactId>org.apache.catalina.ha</artifactId>
734         <version>7.0.53.v201406070630</version>
735       </dependency>
736       <dependency>
737         <groupId>orbit</groupId>
738         <artifactId>org.apache.catalina.tribes</artifactId>
739         <version>7.0.53.v201406070630</version>
740       </dependency>
741       <dependency>
742         <groupId>orbit</groupId>
743         <artifactId>org.apache.coyote</artifactId>
744         <version>7.0.53.v201406070630</version>
745       </dependency>
746       <dependency>
747         <groupId>orbit</groupId>
748         <artifactId>org.apache.el</artifactId>
749         <version>7.0.53.v201406060720</version>
750       </dependency>
751       <dependency>
752         <groupId>orbit</groupId>
753         <artifactId>org.apache.jasper</artifactId>
754         <version>7.0.53.v201406070630</version>
755       </dependency>
756       <dependency>
757         <groupId>orbit</groupId>
758         <artifactId>org.apache.juli.extras</artifactId>
759         <version>7.0.53.v201406060720</version>
760       </dependency>
761       <dependency>
762         <groupId>orbit</groupId>
763         <artifactId>org.apache.tomcat.api</artifactId>
764         <version>7.0.53.v201406060720</version>
765       </dependency>
766       <dependency>
767         <groupId>orbit</groupId>
768         <artifactId>org.apache.tomcat.util</artifactId>
769         <version>7.0.53.v201406070630</version>
770       </dependency>
771       <dependency>
772         <groupId>org.aopalliance</groupId>
773         <artifactId>com.springsource.org.aopalliance</artifactId>
774         <version>1.0.0</version>
775       </dependency>
776       <dependency>
777         <groupId>org.apache.felix</groupId>
778         <artifactId>org.apache.felix.dependencymanager</artifactId>
779         <version>4.3.0</version>
780       </dependency>
781       <dependency>
782         <groupId>org.apache.felix</groupId>
783         <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
784         <version>4.0.4</version>
785       </dependency>
786       <dependency>
787         <groupId>org.apache.felix</groupId>
788         <artifactId>org.apache.felix.fileinstall</artifactId>
789         <version>3.5.4</version>
790       </dependency>
791       <dependency>
792         <groupId>org.apache.felix</groupId>
793         <artifactId>org.apache.felix.metatype</artifactId>
794         <version>1.1.2</version>
795       </dependency>
796       <!-- felix webconsole -->
797       <dependency>
798         <groupId>org.apache.felix</groupId>
799         <artifactId>org.apache.felix.webconsole</artifactId>
800         <version>4.2.14</version>
801         <!-- the all bundle includes all the necessary plugins -->
802         <classifier>all</classifier>
803       </dependency>
804       <dependency>
805         <groupId>org.bouncycastle</groupId>
806         <artifactId>bcpkix-jdk15on</artifactId>
807         <version>${bouncycastle.version}</version>
808       </dependency>
809       <dependency>
810         <groupId>org.bouncycastle</groupId>
811         <artifactId>bcprov-jdk15on</artifactId>
812         <version>${bouncycastle.version}</version>
813       </dependency>
814       <dependency>
815         <groupId>org.bouncycastle</groupId>
816         <artifactId>bcprov-ext-jdk15on</artifactId>
817         <version>${bouncycastle.version}</version>
818       </dependency>
819       <dependency>
820         <groupId>org.codehaus.enunciate</groupId>
821         <artifactId>enunciate-core-annotations</artifactId>
822         <version>${enunciate.version}</version>
823       </dependency>
824       <dependency>
825         <groupId>com.webcohesion.enunciate</groupId>
826         <artifactId>enunciate-core-annotations</artifactId>
827         <version>2.6.0</version>
828       </dependency>
829       <dependency>
830         <groupId>org.codehaus.jettison</groupId>
831         <artifactId>jettison</artifactId>
832         <version>1.3.8</version>
833       </dependency>
834       <!-- equinox http service bridge -->
835       <dependency>
836         <groupId>org.eclipse.equinox.http</groupId>
837         <artifactId>servlet</artifactId>
838         <version>1.0.0-v20070606</version>
839       </dependency>
840       <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
841          pull in javax.validation first:
842          http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
843       <dependency>
844         <groupId>org.eclipse.persistence</groupId>
845         <artifactId>org.eclipse.persistence.antlr</artifactId>
846         <version>2.6.2</version>
847       </dependency>
848       <dependency>
849         <groupId>org.eclipse.persistence</groupId>
850         <artifactId>org.eclipse.persistence.core</artifactId>
851         <version>2.6.2</version>
852       </dependency>
853       <dependency>
854         <groupId>org.eclipse.persistence</groupId>
855         <artifactId>org.eclipse.persistence.moxy</artifactId>
856         <version>2.6.2</version>
857       </dependency>
858       <dependency>
859         <groupId>javax.validation</groupId>
860         <artifactId>validation-api</artifactId>
861         <version>1.1.0.Final</version>
862       </dependency>
863       <dependency>
864         <groupId>org.javassist</groupId>
865         <artifactId>javassist</artifactId>
866         <version>3.21.0-GA</version>
867       </dependency>
868       <dependency>
869         <groupId>org.jboss.spec.javax.transaction</groupId>
870         <artifactId>jboss-transaction-api_1.1_spec</artifactId>
871         <version>1.0.1.Final</version>
872       </dependency>
873       <dependency>
874         <groupId>org.jolokia</groupId>
875         <artifactId>jolokia-osgi</artifactId>
876         <version>1.3.7</version>
877       </dependency>
878       <dependency>
879         <groupId>org.json</groupId>
880         <artifactId>json</artifactId>
881         <version>20131018</version>
882       </dependency>
883       <dependency>
884         <groupId>org.osgi</groupId>
885         <artifactId>org.osgi.compendium</artifactId>
886         <version>${osgi.core.version}</version>
887         <scope>provided</scope>
888       </dependency>
889       <dependency>
890         <groupId>org.osgi</groupId>
891         <artifactId>org.osgi.core</artifactId>
892         <version>${osgi.core.version}</version>
893         <scope>provided</scope>
894       </dependency>
895       <dependency>
896         <groupId>org.osgi</groupId>
897         <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
898         <artifactId>org.osgi.service.event</artifactId>
899         <version>1.3.1</version>
900       </dependency>
901       <dependency>
902         <groupId>org.apache.aries.quiesce</groupId>
903         <artifactId>org.apache.aries.quiesce.api</artifactId>
904         <version>1.0.0</version>
905       </dependency>
906       <dependency>
907         <groupId>org.ow2.asm</groupId>
908         <artifactId>asm-all</artifactId>
909         <version>5.1</version>
910       </dependency>
911       <!-- Visual VM hook -->
912       <dependency>
913         <groupId>org.ow2.chameleon.management</groupId>
914         <artifactId>chameleon-mbeans</artifactId>
915         <version>1.0.0</version>
916       </dependency>
917       <dependency>
918         <groupId>org.springframework</groupId>
919         <artifactId>spring-aop</artifactId>
920         <version>3.2.17.RELEASE</version>
921       </dependency>
922       <dependency>
923         <groupId>org.springframework</groupId>
924         <artifactId>spring-beans</artifactId>
925         <version>3.2.17.RELEASE</version>
926       </dependency>
927       <dependency>
928         <groupId>org.springframework</groupId>
929         <artifactId>spring-context</artifactId>
930         <version>3.2.17.RELEASE</version>
931       </dependency>
932       <dependency>
933         <groupId>org.springframework</groupId>
934         <artifactId>spring-core</artifactId>
935         <version>3.2.17.RELEASE</version>
936       </dependency>
937       <dependency>
938         <groupId>org.springframework</groupId>
939         <artifactId>spring-expression</artifactId>
940         <version>3.2.17.RELEASE</version>
941       </dependency>
942       <dependency>
943         <groupId>org.springframework</groupId>
944         <artifactId>spring-tx</artifactId>
945         <version>3.2.17.RELEASE</version>
946       </dependency>
947       <dependency>
948         <groupId>org.springframework</groupId>
949         <artifactId>spring-web</artifactId>
950         <version>3.2.17.RELEASE</version>
951       </dependency>
952       <dependency>
953         <groupId>org.springframework</groupId>
954         <artifactId>spring-webmvc</artifactId>
955         <version>3.2.17.RELEASE</version>
956       </dependency>
957       <!-- Spring security -->
958       <dependency>
959         <groupId>org.springframework.security</groupId>
960         <artifactId>spring-security-config</artifactId>
961         <version>3.2.9.RELEASE</version>
962       </dependency>
963       <dependency>
964         <groupId>org.springframework.security</groupId>
965         <artifactId>spring-security-core</artifactId>
966         <version>3.2.9.RELEASE</version>
967       </dependency>
968       <dependency>
969         <groupId>org.springframework.security</groupId>
970         <artifactId>spring-security-taglibs</artifactId>
971         <version>3.2.9.RELEASE</version>
972       </dependency>
973       <dependency>
974         <groupId>org.springframework.security</groupId>
975         <artifactId>spring-security-web</artifactId>
976         <version>3.2.9.RELEASE</version>
977       </dependency>
978       <dependency>
979         <groupId>virgomirror</groupId>
980         <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
981         <version>3.8.0.I20120518-2145</version>
982       </dependency>
983
984       <!-- Configuration library -->
985       <!-- This needs to be kept in sync with the version used by akka -->
986       <dependency>
987         <groupId>com.typesafe</groupId>
988         <artifactId>config</artifactId>
989         <version>1.3.0</version>
990       </dependency>
991
992       <!-- Reactive Streams, used by Akka -->
993       <dependency>
994         <groupId>org.reactivestreams</groupId>
995         <artifactId>reactive-streams</artifactId>
996         <version>1.0.1</version>
997       </dependency>
998
999       <!-- Akka -->
1000       <dependency>
1001         <groupId>com.typesafe</groupId>
1002         <artifactId>ssl-config-akka_2.12</artifactId>
1003         <version>0.2.1</version>
1004       </dependency>
1005       <dependency>
1006         <groupId>com.typesafe</groupId>
1007         <artifactId>ssl-config-core_2.12</artifactId>
1008         <version>0.2.1</version>
1009       </dependency>
1010       <dependency>
1011         <groupId>com.typesafe.akka</groupId>
1012         <artifactId>akka-actor_2.12</artifactId>
1013         <version>${akka.version}</version>
1014       </dependency>
1015       <dependency>
1016         <groupId>com.typesafe.akka</groupId>
1017         <artifactId>akka-cluster_2.12</artifactId>
1018         <version>${akka.version}</version>
1019       </dependency>
1020       <dependency>
1021         <groupId>com.typesafe.akka</groupId>
1022         <artifactId>akka-osgi_2.12</artifactId>
1023         <version>${akka.version}</version>
1024       </dependency>
1025       <dependency>
1026         <groupId>com.typesafe.akka</groupId>
1027         <artifactId>akka-persistence_2.12</artifactId>
1028         <version>${akka.version}</version>
1029       </dependency>
1030       <dependency>
1031         <groupId>com.typesafe.akka</groupId>
1032         <artifactId>akka-persistence-tck_2.12</artifactId>
1033         <version>${akka.version}</version>
1034         <scope>test</scope>
1035       </dependency>
1036       <dependency>
1037         <groupId>com.typesafe.akka</groupId>
1038         <artifactId>akka-protobuf_2.12</artifactId>
1039         <version>${akka.version}</version>
1040       </dependency>
1041       <dependency>
1042         <groupId>com.typesafe.akka</groupId>
1043         <artifactId>akka-remote_2.12</artifactId>
1044         <version>${akka.version}</version>
1045       </dependency>
1046       <dependency>
1047         <groupId>com.typesafe.akka</groupId>
1048         <artifactId>akka-slf4j_2.12</artifactId>
1049         <version>${akka.version}</version>
1050       </dependency>
1051       <dependency>
1052         <groupId>com.typesafe.akka</groupId>
1053         <artifactId>akka-stream_2.12</artifactId>
1054         <version>${akka.version}</version>
1055       </dependency>
1056       <dependency>
1057         <groupId>com.typesafe.akka</groupId>
1058         <artifactId>akka-testkit_2.12</artifactId>
1059         <version>${akka.version}</version>
1060         <scope>test</scope>
1061       </dependency>
1062       <dependency>
1063         <groupId>org.scala-lang.modules</groupId>
1064         <artifactId>scala-java8-compat_2.12</artifactId>
1065         <version>0.8.0</version>
1066       </dependency>
1067       <dependency>
1068         <groupId>org.scala-lang.modules</groupId>
1069         <artifactId>scala-parser-combinators_2.12</artifactId>
1070         <version>1.0.6</version>
1071       </dependency>
1072       <dependency>
1073         <groupId>org.iq80.leveldb</groupId>
1074         <artifactId>leveldb</artifactId>
1075         <version>${leveldb.version}</version>
1076       </dependency>
1077       <dependency>
1078         <groupId>org.fusesource.leveldbjni</groupId>
1079         <artifactId>leveldbjni-all</artifactId>
1080         <version>1.8-odl</version>
1081       </dependency>
1082       <dependency>
1083         <groupId>org.uncommons.maths</groupId>
1084         <artifactId>uncommons-maths</artifactId>
1085         <version>1.2.2a</version>
1086       </dependency>
1087       <dependency>
1088         <groupId>com.google.protobuf</groupId>
1089         <artifactId>protobuf-java</artifactId>
1090         <version>2.5.0</version>
1091       </dependency>
1092
1093       <!-- Aeron, required by Akka -->
1094       <dependency>
1095         <groupId>org.agrona</groupId>
1096         <artifactId>agrona</artifactId>
1097         <version>0.9.5</version>
1098       </dependency>
1099       <dependency>
1100         <groupId>io.aeron</groupId>
1101         <artifactId>aeron-client</artifactId>
1102         <version>1.2.5</version>
1103       </dependency>
1104       <dependency>
1105         <groupId>io.aeron</groupId>
1106         <artifactId>aeron-driver</artifactId>
1107         <version>1.2.5</version>
1108       </dependency>
1109
1110       <!-- Scala -->
1111       <dependency>
1112         <groupId>org.scala-lang</groupId>
1113         <artifactId>scala-library</artifactId>
1114         <version>2.12.3</version>
1115       </dependency>
1116       <dependency>
1117         <groupId>org.scala-lang</groupId>
1118         <artifactId>scala-reflect</artifactId>
1119         <version>2.12.3</version>
1120       </dependency>
1121
1122       <!-- LMAX Disruptor -->
1123       <dependency>
1124         <groupId>com.lmax</groupId>
1125         <artifactId>disruptor</artifactId>
1126         <!-- If this is updated, the version in features.xml needs to be changed too -->
1127         <version>3.3.6</version>
1128       </dependency>
1129
1130       <!-- Add Pax Exam -->
1131       <dependency>
1132         <groupId>org.ops4j.pax.exam</groupId>
1133         <artifactId>pax-exam</artifactId>
1134         <version>${exam.version}</version>
1135         <scope>test</scope>
1136       </dependency>
1137       <dependency>
1138         <groupId>org.ops4j.pax.exam</groupId>
1139         <artifactId>pax-exam-container-forked</artifactId>
1140         <version>${exam.version}</version>
1141         <scope>test</scope>
1142       </dependency>
1143       <dependency>
1144         <groupId>org.ops4j.pax.exam</groupId>
1145         <artifactId>pax-exam-container-karaf</artifactId>
1146         <version>${exam.version}</version>
1147         <scope>test</scope>
1148       </dependency>
1149       <dependency>
1150         <groupId>org.ops4j.pax.exam</groupId>
1151         <artifactId>pax-exam-container-native</artifactId>
1152         <version>${exam.version}</version>
1153         <scope>test</scope>
1154       </dependency>
1155       <dependency>
1156         <groupId>org.ops4j.pax.exam</groupId>
1157         <artifactId>pax-exam-extender-service</artifactId>
1158         <version>${exam.version}</version>
1159         <scope>test</scope>
1160       </dependency>
1161       <dependency>
1162         <groupId>org.ops4j.pax.exam</groupId>
1163         <artifactId>pax-exam-inject</artifactId>
1164         <version>${exam.version}</version>
1165         <scope>test</scope>
1166       </dependency>
1167       <dependency>
1168         <groupId>org.ops4j.pax.exam</groupId>
1169         <artifactId>pax-exam-invoker-junit</artifactId>
1170         <version>${exam.version}</version>
1171         <scope>test</scope>
1172       </dependency>
1173       <dependency>
1174         <groupId>org.ops4j.pax.exam</groupId>
1175         <artifactId>pax-exam-features</artifactId>
1176         <version>${exam.version}</version>
1177         <type>xml</type>
1178         <scope>test</scope>
1179       </dependency>
1180       <dependency>
1181         <groupId>org.ops4j.pax.exam</groupId>
1182         <artifactId>pax-exam-junit4</artifactId>
1183         <version>${exam.version}</version>
1184         <scope>test</scope>
1185       </dependency>
1186       <dependency>
1187         <groupId>org.ops4j.pax.exam</groupId>
1188         <artifactId>pax-exam-link-mvn</artifactId>
1189         <version>${exam.version}</version>
1190         <scope>test</scope>
1191       </dependency>
1192       <dependency>
1193         <groupId>org.ops4j.pax.exam</groupId>
1194         <artifactId>pax-exam-link-assembly</artifactId>
1195         <version>${exam.version}</version>
1196         <scope>test</scope>
1197       </dependency>
1198
1199       <dependency>
1200         <groupId>org.ops4j.pax.url</groupId>
1201         <artifactId>pax-url-link</artifactId>
1202         <version>2.5.3</version>
1203         <scope>test</scope>
1204       </dependency>
1205       <dependency>
1206         <groupId>org.ops4j.pax.url</groupId>
1207         <artifactId>pax-url-aether</artifactId>
1208         <version>2.5.3</version>
1209         <scope>test</scope>
1210       </dependency>
1211       <dependency>
1212         <groupId>org.ops4j.pax.url</groupId>
1213         <artifactId>pax-url-wrap</artifactId>
1214         <version>2.5.3</version>
1215       </dependency>
1216
1217       <dependency>
1218         <groupId>org.springframework.osgi</groupId>
1219         <artifactId>spring-osgi-mock</artifactId>
1220         <version>1.2.1</version>
1221         <scope>test</scope>
1222       </dependency>
1223       <dependency>
1224         <groupId>xmlunit</groupId>
1225         <artifactId>xmlunit</artifactId>
1226         <version>1.6</version>
1227         <scope>test</scope>
1228       </dependency>
1229
1230       <dependency>
1231         <groupId>org.eclipse.jetty</groupId>
1232         <artifactId>jetty-client</artifactId>
1233         <version>9.2.19.v20160908</version>
1234       </dependency>
1235       <dependency>
1236         <groupId>org.eclipse.jetty</groupId>
1237         <artifactId>jetty-server</artifactId>
1238         <version>9.2.19.v20160908</version>
1239       </dependency>
1240       <dependency>
1241         <groupId>org.eclipse.jetty</groupId>
1242         <artifactId>jetty-servlet-tester</artifactId>
1243         <version>9.2.19.v20160908</version>
1244         <scope>test</scope>
1245       </dependency>
1246       <dependency>
1247         <groupId>org.eclipse.jetty</groupId>
1248         <artifactId>jetty-servlets</artifactId>
1249         <version>9.2.19.v20160908</version>
1250       </dependency>
1251       <dependency>
1252         <groupId>org.eclipse.jetty</groupId>
1253         <artifactId>jetty-webapp</artifactId>
1254         <version>9.2.19.v20160908</version>
1255       </dependency>
1256
1257       <dependency>
1258         <groupId>com.h2database</groupId>
1259         <artifactId>h2</artifactId>
1260         <version>1.4.193</version>
1261       </dependency>
1262
1263       <!-- Xtend http://xtend-lang.org
1264            NOTE: When you increase the version here,
1265            then remember to also increase it for the
1266            xtend-maven-plugin below! (We don't want to
1267            use a Maven property, in order not to "leak" that.)
1268        -->
1269       <dependency>
1270           <groupId>org.eclipse.xtend</groupId>
1271           <artifactId>org.eclipse.xtend.lib</artifactId>
1272           <version>2.12.0</version>
1273       </dependency>
1274       <dependency>
1275           <groupId>org.eclipse.xtend</groupId>
1276           <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1277           <version>2.12.0</version>
1278       </dependency>
1279       <dependency>
1280           <groupId>org.eclipse.xtext</groupId>
1281           <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1282           <version>2.12.0</version>
1283       </dependency>
1284
1285       <!-- Annotations -->
1286       <dependency>
1287         <groupId>javax.inject</groupId>
1288         <artifactId>javax.inject</artifactId>
1289         <version>1</version>
1290         <optional>true</optional>
1291       </dependency>
1292       <dependency>
1293         <groupId>org.ops4j.pax.cdi</groupId>
1294         <artifactId>pax-cdi-api</artifactId>
1295         <version>1.0.0.RC2</version>
1296         <optional>true</optional>
1297       </dependency>
1298
1299       <!-- Cassandra -->
1300       <dependency>
1301         <groupId>com.datastax.cassandra</groupId>
1302         <artifactId>cassandra-driver-core</artifactId>
1303         <version>2.1.9</version>
1304       </dependency>
1305
1306       <!-- Metrics -->
1307       <dependency>
1308         <groupId>io.dropwizard.metrics</groupId>
1309         <artifactId>metrics-core</artifactId>
1310         <version>3.1.2</version>
1311       </dependency>
1312       <dependency>
1313         <groupId>io.dropwizard.metrics</groupId>
1314         <artifactId>metrics-graphite</artifactId>
1315         <version>3.1.2</version>
1316       </dependency>
1317
1318       <!-- jung, a graph library -->
1319       <dependency>
1320         <groupId>net.sf.jung</groupId>
1321         <artifactId>jung-api</artifactId>
1322         <version>2.1.1</version>
1323       </dependency>
1324       <dependency>
1325         <groupId>net.sf.jung</groupId>
1326         <artifactId>jung-algorithms</artifactId>
1327         <version>2.1.1</version>
1328       </dependency>
1329       <dependency>
1330         <groupId>net.sf.jung</groupId>
1331         <artifactId>jung-graph-impl</artifactId>
1332         <version>2.1.1</version>
1333       </dependency>
1334
1335       <!-- Karaf console support -->
1336       <dependency>
1337         <groupId>org.apache.karaf.shell</groupId>
1338         <artifactId>org.apache.karaf.shell.core</artifactId>
1339         <version>${karaf.version}</version>
1340       </dependency>
1341       <dependency>
1342         <groupId>org.apache.karaf.shell</groupId>
1343         <artifactId>org.apache.karaf.shell.console</artifactId>
1344         <version>${karaf.version}</version>
1345       </dependency>
1346
1347       <!-- When updating this version, consider antl4-maven-plugin below -->
1348       <dependency>
1349         <groupId>org.antlr</groupId>
1350         <artifactId>antlr4-runtime</artifactId>
1351         <version>4.7</version>
1352       </dependency>
1353       <!-- Aries' Blueprint version should be kept in sync to the version actually
1354            used by our ${karaf[4].version} ... please bump this when increasing that.
1355            TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1356       <dependency>
1357         <groupId>org.apache.aries.blueprint</groupId>
1358         <artifactId>org.apache.aries.blueprint.core</artifactId>
1359         <version>1.7.1</version>
1360       </dependency>
1361
1362     </dependencies>
1363   </dependencyManagement>
1364
1365   <dependencies>
1366     <!-- Karaf provides SL4FJ encapsulation -->
1367     <dependency>
1368       <groupId>org.slf4j</groupId>
1369       <artifactId>slf4j-api</artifactId>
1370       <scope>provided</scope>
1371     </dependency>
1372
1373     <dependency>
1374       <groupId>org.slf4j</groupId>
1375       <artifactId>slf4j-simple</artifactId>
1376       <scope>test</scope>
1377     </dependency>
1378
1379     <!-- Enable useful code quality annotations everywhere -->
1380     <dependency>
1381       <groupId>com.google.code.findbugs</groupId>
1382       <artifactId>annotations</artifactId>
1383       <scope>provided</scope>
1384     </dependency>
1385     <dependency>
1386       <groupId>org.eclipse.jdt</groupId>
1387       <artifactId>org.eclipse.jdt.annotation</artifactId>
1388       <scope>provided</scope>
1389     </dependency>
1390   </dependencies>
1391
1392   <build>
1393     <pluginManagement>
1394       <plugins>
1395         <!-- Official maven plugins, alpha-sorted by artifactId.
1396              We do not need to specify the groupId. -->
1397         <plugin>
1398           <artifactId>maven-antrun-plugin</artifactId>
1399           <version>1.8</version>
1400         </plugin>
1401         <plugin>
1402           <artifactId>maven-checkstyle-plugin</artifactId>
1403           <version>${checkstyle.version}</version>
1404           <dependencies>
1405             <dependency>
1406               <groupId>com.puppycrawl.tools</groupId>
1407               <artifactId>checkstyle</artifactId>
1408               <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1409               <version>8.2</version>
1410             </dependency>
1411             <dependency>
1412               <groupId>org.opendaylight.odlparent</groupId>
1413               <artifactId>checkstyle</artifactId>
1414               <version>3.0.0-SNAPSHOT</version>
1415             </dependency>
1416             <dependency>
1417               <groupId>org.opendaylight.odlparent</groupId>
1418               <artifactId>odl-license</artifactId>
1419               <version>3.0.0-SNAPSHOT</version>
1420             </dependency>
1421             <dependency>
1422               <groupId>com.github.sevntu-checkstyle</groupId>
1423               <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1424               <version>1.24.2</version>
1425             </dependency>
1426           </dependencies>
1427           <configuration>
1428             <configLocation>odl_checks.xml</configLocation>
1429             <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1430             <!-- <sourceDirectory> is needed so that checkstyle ignores the
1431                  generated sources directory -->
1432             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1433             <includeResources>true</includeResources>
1434             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1435             <includeTestResources>true</includeTestResources>
1436             <includes>**\/*.java, **\/*.xtend</includes>
1437             <excludes>
1438               org/opendaylight/yang/gen/**,
1439               **/protobuff/messages/**,
1440               **/thrift/gen/*.java
1441             </excludes>
1442             <failsOnError>false</failsOnError>
1443             <consoleOutput>true</consoleOutput>
1444           </configuration>
1445           <executions>
1446             <execution>
1447               <id>check-license</id>
1448               <goals>
1449                 <goal>check</goal>
1450               </goals>
1451               <phase>process-sources</phase>
1452               <configuration>
1453                 <configLocation>check-license.xml</configLocation>
1454                 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1455                 <includeResources>false</includeResources>
1456                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1457                 <includeTestResources>false</includeTestResources>
1458                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1459                 <excludes>
1460                   org/opendaylight/yang/gen/**,
1461                   **/protobuff/messages/**,
1462                   **/thrift/gen/*.java
1463                 </excludes>
1464                 <failsOnError>false</failsOnError>
1465                 <consoleOutput>true</consoleOutput>
1466               </configuration>
1467             </execution>
1468             <execution>
1469               <goals>
1470                 <goal>check</goal>
1471               </goals>
1472               <phase>process-sources</phase>
1473             </execution>
1474           </executions>
1475         </plugin>
1476         <plugin>
1477           <groupId>org.apache.maven.plugins</groupId>
1478           <artifactId>maven-pmd-plugin</artifactId>
1479           <version>3.8</version>
1480           <executions>
1481             <execution>
1482               <id>cpd</id>
1483               <phase>process-sources</phase>
1484               <goals>
1485                 <goal>cpd-check</goal>
1486               </goals>
1487               <configuration>
1488                 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1489                 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1490                 <minimumTokens>101</minimumTokens>
1491                 <printFailingErrors>true</printFailingErrors>
1492                 <excludeRoots>
1493                   <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1494                               not understand path prefixes nor wildcards. Details are available
1495                               at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1496                               Hence people introducing new generated sources have to include
1497                               PMD config too.
1498                    -->
1499                   <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1500                   <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1501                 </excludeRoots>
1502                 <linkXRef>false</linkXRef>
1503               </configuration>
1504             </execution>
1505           </executions>
1506         </plugin>
1507         <plugin>
1508           <artifactId>maven-compiler-plugin</artifactId>
1509           <version>${maven.compile.plugin.version}</version>
1510           <configuration>
1511             <source>1.8</source>
1512             <target>1.8</target>
1513             <compilerArgs>
1514               <arg>-parameters</arg>
1515             </compilerArgs>
1516           </configuration>
1517         </plugin>
1518         <plugin>
1519           <artifactId>maven-enforcer-plugin</artifactId>
1520           <version>${enforcer.version}</version>
1521         </plugin>
1522         <plugin>
1523           <artifactId>maven-failsafe-plugin</artifactId>
1524           <version>${failsafe.version}</version>
1525         </plugin>
1526         <plugin>
1527           <artifactId>maven-invoker-plugin</artifactId>
1528           <version>2.0.0</version>
1529         </plugin>
1530         <plugin>
1531           <artifactId>maven-jar-plugin</artifactId>
1532           <version>3.0.2</version>
1533         </plugin>
1534         <plugin>
1535           <artifactId>maven-dependency-plugin</artifactId>
1536           <executions>
1537             <execution>
1538               <id>unpack-license</id>
1539               <phase>generate-resources</phase>
1540               <goals><goal>unpack</goal></goals>
1541               <configuration>
1542                 <artifactItems>
1543                   <artifactItem>
1544                     <groupId>org.opendaylight.odlparent</groupId>
1545                     <artifactId>odl-license</artifactId>
1546                     <version>3.0.0-SNAPSHOT</version>
1547                   </artifactItem>
1548                 </artifactItems>
1549                 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1550                 <excludes>META-INF/**</excludes>
1551               </configuration>
1552             </execution>
1553           </executions>
1554         </plugin>
1555
1556         <plugin>
1557           <artifactId>maven-plugin-plugin</artifactId>
1558           <version>${maven.plugin.version}</version>
1559         </plugin>
1560
1561         <plugin>
1562           <artifactId>maven-remote-resources-plugin</artifactId>
1563           <version>1.5</version>
1564         </plugin>
1565         <plugin>
1566           <artifactId>maven-resources-plugin</artifactId>
1567           <version>3.0.1</version>
1568         </plugin>
1569         <plugin>
1570           <artifactId>maven-shade-plugin</artifactId>
1571           <version>2.4.3</version>
1572         </plugin>
1573         <plugin>
1574           <artifactId>maven-source-plugin</artifactId>
1575           <version>3.0.1</version>
1576           <executions>
1577             <execution>
1578               <id>attach-sources</id>
1579               <phase>verify</phase>
1580               <goals>
1581                 <goal>jar-no-fork</goal>
1582               </goals>
1583             </execution>
1584           </executions>
1585         </plugin>
1586         <plugin>
1587           <artifactId>maven-surefire-plugin</artifactId>
1588           <version>${maven.surefire.version}</version>
1589           <configuration>
1590             <redirectTestOutputToFile>true</redirectTestOutputToFile>
1591             <trimStackTrace>false</trimStackTrace>
1592           </configuration>
1593         </plugin>
1594
1595         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1596         <plugin>
1597           <!-- Support Blueprint XML construction using annotations -->
1598           <groupId>org.apache.aries.blueprint</groupId>
1599           <artifactId>blueprint-maven-plugin</artifactId>
1600           <version>1.4.0</version>
1601           <configuration>
1602             <scanPaths>
1603               <scanPath>org.opendaylight</scanPath>
1604             </scanPaths>
1605           </configuration>
1606           <dependencies>
1607             <dependency>
1608               <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1609               <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1610               <groupId>org.apache.xbean</groupId>
1611               <artifactId>xbean-finder-shaded</artifactId>
1612               <version>4.5</version>
1613             </dependency>
1614           </dependencies>
1615           <executions>
1616             <execution>
1617               <goals>
1618                 <goal>blueprint-generate</goal>
1619               </goals>
1620             </execution>
1621           </executions>
1622         </plugin>
1623
1624         <plugin>
1625           <groupId>org.apache.felix</groupId>
1626           <artifactId>maven-bundle-plugin</artifactId>
1627           <version>${maven.bundle.version}</version>
1628           <extensions>true</extensions>
1629           <configuration>
1630             <instructions>
1631               <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1632                    so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1633                    and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present.  -->
1634               <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1635             </instructions>
1636           </configuration>
1637         </plugin>
1638
1639         <plugin>
1640           <groupId>org.apache.karaf.tooling</groupId>
1641           <artifactId>karaf-maven-plugin</artifactId>
1642           <version>${karaf.version}</version>
1643         </plugin>
1644
1645         <plugin>
1646           <groupId>org.apache.servicemix.tooling</groupId>
1647           <artifactId>depends-maven-plugin</artifactId>
1648           <version>1.4.0</version>
1649           <executions>
1650             <execution>
1651               <id>generate-depends-file</id>
1652               <goals>
1653                 <goal>generate-depends-file</goal>
1654               </goals>
1655             </execution>
1656           </executions>
1657         </plugin>
1658
1659         <plugin>
1660           <groupId>org.codehaus.enunciate</groupId>
1661           <artifactId>maven-enunciate-plugin</artifactId>
1662           <version>${enunciate.version}</version>
1663         </plugin>
1664         <plugin>
1665           <groupId>org.codehaus.groovy.maven</groupId>
1666           <artifactId>gmaven-plugin</artifactId>
1667           <version>1.0</version>
1668         </plugin>
1669         <plugin>
1670           <groupId>org.codehaus.mojo</groupId>
1671           <artifactId>build-helper-maven-plugin</artifactId>
1672           <version>1.12</version>
1673         </plugin>
1674         <plugin>
1675           <groupId>org.codehaus.mojo</groupId>
1676           <artifactId>findbugs-maven-plugin</artifactId>
1677           <version>3.0.4</version>
1678           <dependencies>
1679             <dependency>
1680               <groupId>org.opendaylight.odlparent</groupId>
1681               <artifactId>findbugs</artifactId>
1682               <version>3.0.0-SNAPSHOT</version>
1683             </dependency>
1684           </dependencies>
1685           <configuration>
1686             <!--
1687               Enables analysis which takes more memory but finds more bugs.
1688               If you run out of memory, changes the value of the effort element
1689               to 'Low'.
1690             -->
1691             <effort>Max</effort>
1692             <!-- Reports all bugs (other values are medium and max) -->
1693             <threshold>Low</threshold>
1694             <!-- Build doesn't fail if problems are found -->
1695             <failOnError>false</failOnError>
1696             <!-- References the excluded rules -->
1697             <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1698             <!-- Produces XML report -->
1699             <xmlOutput>true</xmlOutput>
1700             <!-- Configures the directory in which the XML report is created -->
1701             <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1702             </configuration>
1703             <executions>
1704               <!--
1705                 Ensures that FindBugs inspects source code when project is compiled.
1706               -->
1707               <execution>
1708                 <id>analyze-compile</id>
1709                 <phase>compile</phase>
1710                 <goals>
1711                   <goal>check</goal>
1712                 </goals>
1713               </execution>
1714             </executions>
1715         </plugin>
1716         <plugin>
1717           <groupId>com.github.spotbugs</groupId>
1718           <artifactId>spotbugs-maven-plugin</artifactId>
1719           <version>3.1.0-RC6</version>
1720           <dependencies>
1721             <dependency>
1722               <groupId>com.github.spotbugs</groupId>
1723               <artifactId>spotbugs</artifactId>
1724               <version>3.1.0</version>
1725             </dependency>
1726             <dependency>
1727               <groupId>org.opendaylight.odlparent</groupId>
1728               <artifactId>findbugs</artifactId>
1729               <version>3.0.0-SNAPSHOT</version>
1730             </dependency>
1731           </dependencies>
1732           <configuration>
1733             <!--
1734               Enables analysis which takes more memory but finds more bugs.
1735               If you run out of memory, changes the value of the effort element
1736               to 'Low'.
1737             -->
1738             <effort>Max</effort>
1739             <!-- Reports all bugs (other values are medium and max) -->
1740             <threshold>Low</threshold>
1741             <!-- Build doesn't fail if problems are found -->
1742             <failOnError>false</failOnError>
1743             <!-- References the excluded rules -->
1744             <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1745             <!-- Produces XML report -->
1746             <xmlOutput>true</xmlOutput>
1747             <!-- Configures the directory in which the XML report is created -->
1748             <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1749           </configuration>
1750           <executions>
1751             <!--
1752               Ensures that SpotBugs inspects source code when project is compiled.
1753             -->
1754             <execution>
1755               <id>analyze-compile</id>
1756               <phase>compile</phase>
1757               <goals>
1758                 <goal>check</goal>
1759               </goals>
1760             </execution>
1761           </executions>
1762         </plugin>
1763         <plugin>
1764           <groupId>org.codehaus.mojo</groupId>
1765           <artifactId>properties-maven-plugin</artifactId>
1766           <version>${propertymavenplugin.version}</version>
1767         </plugin>
1768         <plugin>
1769           <groupId>org.eclipse.xtend</groupId>
1770           <artifactId>xtend-maven-plugin</artifactId>
1771           <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1772           <version>2.12.0</version>
1773           <executions>
1774             <execution>
1775               <goals>
1776                 <goal>compile</goal>
1777                 <goal>testCompile</goal>
1778               </goals>
1779               <configuration>
1780                 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1781                 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1782               </configuration>
1783             </execution>
1784           </executions>
1785         </plugin>
1786         <plugin>
1787           <groupId>org.eclipse.m2e</groupId>
1788           <artifactId>lifecycle-mapping</artifactId>
1789           <version>1.0.0</version>
1790           <configuration>
1791             <lifecycleMappingMetadata>
1792               <pluginExecutions>
1793                 <pluginExecution>
1794                   <pluginExecutionFilter>
1795                     <groupId>org.apache.felix</groupId>
1796                     <artifactId>maven-bundle-plugin</artifactId>
1797                     <versionRange>[1.0,)</versionRange>
1798                     <goals>
1799                       <goal>manifest</goal>
1800                     </goals>
1801                   </pluginExecutionFilter>
1802                   <action>
1803                     <execute/>
1804                   </action>
1805                 </pluginExecution>
1806                 <pluginExecution>
1807                   <pluginExecutionFilter>
1808                     <groupId>org.apache.maven.plugins</groupId>
1809                     <artifactId>maven-enforcer-plugin</artifactId>
1810                     <versionRange>[1.0.0,)</versionRange>
1811                     <goals>
1812                       <goal>enforce</goal>
1813                     </goals>
1814                   </pluginExecutionFilter>
1815                   <action>
1816                     <ignore/>
1817                   </action>
1818                 </pluginExecution>
1819                 <pluginExecution>
1820                   <pluginExecutionFilter>
1821                     <groupId>org.apache.maven.plugins</groupId>
1822                     <artifactId>maven-dependency-plugin</artifactId>
1823                     <versionRange>[2.10,)</versionRange>
1824                     <goals>
1825                       <goal>unpack</goal>
1826                     </goals>
1827                   </pluginExecutionFilter>
1828                   <action>
1829                     <ignore/>
1830                   </action>
1831                 </pluginExecution>
1832                 <pluginExecution>
1833                   <pluginExecutionFilter>
1834                     <groupId>org.apache.maven.plugins</groupId>
1835                     <artifactId>maven-pmd-plugin</artifactId>
1836                     <versionRange>[3.6,)</versionRange>
1837                     <goals>
1838                       <goal>cpd-check</goal>
1839                     </goals>
1840                   </pluginExecutionFilter>
1841                   <action>
1842                     <ignore/>
1843                   </action>
1844                 </pluginExecution>
1845                 <!-- The plugin will eventually be removed, remove this too at that point -->
1846                 <pluginExecution>
1847                   <pluginExecutionFilter>
1848                     <groupId>org.apache.maven.plugins</groupId>
1849                     <artifactId>maven-antrun-plugin</artifactId>
1850                     <versionRange>[1.8,)</versionRange>
1851                     <goals>
1852                       <goal>run</goal>
1853                     </goals>
1854                   </pluginExecutionFilter>
1855                   <action>
1856                     <ignore/>
1857                   </action>
1858                 </pluginExecution>
1859                 <pluginExecution>
1860                   <pluginExecutionFilter>
1861                     <groupId>org.apache.servicemix.tooling</groupId>
1862                     <artifactId>depends-maven-plugin</artifactId>
1863                     <versionRange>[1.2,)</versionRange>
1864                     <goals>
1865                       <goal>generate-depends-file</goal>
1866                     </goals>
1867                   </pluginExecutionFilter>
1868                   <action>
1869                     <execute/>
1870                   </action>
1871                 </pluginExecution>
1872                 <pluginExecution>
1873                   <pluginExecutionFilter>
1874                     <groupId>org.jacoco</groupId>
1875                     <artifactId>jacoco-maven-plugin</artifactId>
1876                     <versionRange>[0.7.0,)</versionRange>
1877                     <goals>
1878                       <goal>prepare-agent</goal>
1879                       <goal>report</goal>
1880                     </goals>
1881                   </pluginExecutionFilter>
1882                   <action>
1883                     <ignore/>
1884                   </action>
1885                 </pluginExecution>
1886
1887                 <pluginExecution>
1888                   <pluginExecutionFilter>
1889                     <groupId>org.ops4j.pax.exam</groupId>
1890                     <artifactId>maven-paxexam-plugin</artifactId>
1891                     <versionRange>[1.2.4,)</versionRange>
1892                     <goals>
1893                       <goal>generate-depends-file</goal>
1894                     </goals>
1895                   </pluginExecutionFilter>
1896                   <action>
1897                     <ignore/>
1898                   </action>
1899                 </pluginExecution>
1900
1901               </pluginExecutions>
1902             </lifecycleMappingMetadata>
1903           </configuration>
1904         </plugin>
1905
1906         <plugin>
1907           <groupId>org.jacoco</groupId>
1908           <artifactId>jacoco-maven-plugin</artifactId>
1909           <version>${jacoco.version}</version>
1910           <configuration>
1911             <!-- Note: This exclusion list should match <sonar.exclusions>
1912                        property above -->
1913             <excludes>
1914               <exclude>**/gen/**</exclude>
1915               <exclude>**/generated-sources/**</exclude>
1916               <exclude>**/generated-test-sources/**</exclude>
1917               <exclude>**/yang-gen/**</exclude>
1918               <exclude>**/yang-gen-config/**</exclude>
1919               <exclude>**/yang-gen-sal/**</exclude>
1920               <exclude>**/yang-gen-code/**</exclude>
1921               <exclude>**/pax/**</exclude>
1922             </excludes>
1923           </configuration>
1924         </plugin>
1925
1926         <plugin>
1927           <groupId>org.ops4j.pax.exam</groupId>
1928           <artifactId>maven-paxexam-plugin</artifactId>
1929           <version>1.2.4</version>
1930         </plugin>
1931
1932         <plugin>
1933           <groupId>org.codehaus.mojo</groupId>
1934           <artifactId>jdepend-maven-plugin</artifactId>
1935           <version>2.0</version>
1936           <executions>
1937             <execution>
1938               <phase>site</phase>
1939               <goals>
1940                 <goal>generate-no-fork</goal>
1941               </goals>
1942             </execution>
1943           </executions>
1944         </plugin>
1945
1946         <!-- When updating this version, consider antl4-runtime above -->
1947         <plugin>
1948           <groupId>org.antlr</groupId>
1949           <artifactId>antlr4-maven-plugin</artifactId>
1950           <version>4.7</version>
1951         </plugin>
1952       </plugins>
1953     </pluginManagement>
1954
1955     <plugins>
1956       <plugin>
1957         <artifactId>maven-enforcer-plugin</artifactId>
1958         <executions>
1959           <execution>
1960             <id>enforce-banned-dependencies</id>
1961             <goals>
1962               <goal>enforce</goal>
1963             </goals>
1964             <configuration>
1965               <rules>
1966                 <bannedDependencies>
1967                   <message>Please always use mockito-core instead of mockito-all, and findbugs:annotations instead of findbugs:jsr305 (see https://bugs.opendaylight.org/show_bug.cgi?id=7662 &amp; https://bugs.opendaylight.org/show_bug.cgi?id=7663)</message>
1968                   <excludes>
1969                     <exclude>org.mockito:mockito-all</exclude>
1970                     <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1971                     <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1972                     <!-- as a dependency then clashes with the dependency checker (because it   -->
1973                     <!-- is not very good at handling annotations). Use the annotations jar     -->
1974                     <!-- instead which has all jsr305 annotations and the additional findbugs   -->
1975                     <!-- stuff. -->
1976                     <exclude>com.google.code.findbugs:jsr305</exclude>
1977                     <exclude>net.jcip:jcip-annotations</exclude>
1978                   </excludes>
1979                 </bannedDependencies>
1980               </rules>
1981               <fail>true</fail>
1982             </configuration>
1983           </execution>
1984         </executions>
1985       </plugin>
1986       <plugin>
1987         <artifactId>maven-dependency-plugin</artifactId>
1988       </plugin>
1989       <plugin>
1990         <artifactId>maven-checkstyle-plugin</artifactId>
1991       </plugin>
1992       <plugin>
1993           <artifactId>maven-pmd-plugin</artifactId>
1994       </plugin>
1995       <plugin>
1996         <artifactId>maven-source-plugin</artifactId>
1997       </plugin>
1998       <plugin>
1999         <artifactId>maven-javadoc-plugin</artifactId>
2000       </plugin>
2001
2002       <!-- Jacoco / Sonar -->
2003       <plugin>
2004         <groupId>org.jacoco</groupId>
2005         <artifactId>jacoco-maven-plugin</artifactId>
2006         <executions>
2007           <execution>
2008             <id>pre-unit-test</id>
2009             <goals>
2010               <goal>prepare-agent</goal>
2011             </goals>
2012             <configuration>
2013               <destFile>${sonar.jacoco.reportPath}</destFile>
2014             </configuration>
2015           </execution>
2016           <execution>
2017             <id>post-unit-test</id>
2018             <goals>
2019               <goal>report</goal>
2020             </goals>
2021             <configuration>
2022               <dataFile>${sonar.jacoco.reportPath}</dataFile>
2023             </configuration>
2024           </execution>
2025         </executions>
2026       </plugin>
2027
2028       <plugin>
2029         <groupId>com.alexecollins.maven.plugin</groupId>
2030         <artifactId>script-maven-plugin</artifactId>
2031         <version>1.0.0</version>
2032         <executions>
2033            <execution>
2034              <phase>prepare-package</phase>
2035              <goals>
2036                <goal>execute</goal>
2037              </goals>
2038              <configuration>
2039                <script>
2040                  // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
2041                  // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
2042                  //  odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
2043                  //  static class methods only - it will be MUCH easier to write!)
2044                  void copy(File root, String glob, File target) {
2045                      java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
2046                      Iterator dirStreamIterator = dirStream.iterator();
2047                      while (dirStreamIterator.hasNext()) {
2048                          java.nio.file.Path path = dirStreamIterator.next();
2049                          java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
2050                              new java.nio.file.CopyOption[] {
2051                                  java.nio.file.StandardCopyOption.REPLACE_EXISTING,
2052                                  java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
2053                              }
2054                          );
2055                      }
2056                      dirStream.close();
2057                  }
2058
2059                  File gitRepoRootDir = project.basedir;
2060                  while (!new File(gitRepoRootDir, ".git").exists() &amp;&amp; gitRepoRootDir.getParentFile() != null) {
2061                      gitRepoRootDir = gitRepoRootDir.getParentFile();
2062                  }
2063
2064                  File target = new File(project.build.outputDirectory);
2065                  target.mkdirs();
2066                  copy(gitRepoRootDir, "README*", target);
2067                  copy(gitRepoRootDir, "CONTRIBUTING*", target);
2068                  copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
2069                </script>
2070              </configuration>
2071            </execution>
2072          </executions>
2073          <dependencies>
2074            <dependency>
2075              <groupId>org.apache-extras.beanshell</groupId>
2076              <artifactId>bsh</artifactId>
2077              <version>2.0b6</version>
2078            </dependency>
2079          </dependencies>
2080       </plugin>
2081
2082       <!-- Blueprint dependency injection -->
2083       <!-- Remove when upgrading to plugin 1.5.0, and use
2084            <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
2085            See https://issues.apache.org/jira/browse/ARIES-1597
2086            BUT beware that the directory is now conditional... -->
2087       <plugin>
2088         <artifactId>maven-antrun-plugin</artifactId>
2089         <executions>
2090           <!-- This should only run once, in the process-classes phase; but we need it to run after
2091                process-classes in child projects. Attaching to process-test-classes and prepare-package
2092                ensures that the file will be moved whether tests are skipped or not. -->
2093           <execution>
2094             <id>move-autowire-test</id>
2095             <phase>process-test-classes</phase>
2096             <goals>
2097               <goal>run</goal>
2098             </goals>
2099             <configuration>
2100               <target>
2101                 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2102                 <if>
2103                   <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2104                   <then>
2105                     <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2106                     <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2107                           todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2108                           failonerror="false" quiet="true" />
2109                   </then>
2110                   <else>
2111                     <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2112                   </else>
2113                 </if>
2114               </target>
2115             </configuration>
2116           </execution>
2117           <execution>
2118             <id>move-autowire-package</id>
2119             <phase>prepare-package</phase>
2120             <goals>
2121               <goal>run</goal>
2122             </goals>
2123             <configuration>
2124               <target>
2125                 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2126                 <if>
2127                   <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2128                   <then>
2129                     <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2130                     <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2131                           todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2132                           failonerror="false" quiet="true" />
2133                   </then>
2134                   <else>
2135                     <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2136                   </else>
2137                 </if>
2138               </target>
2139             </configuration>
2140           </execution>
2141         </executions>
2142         <dependencies>
2143           <dependency>
2144             <groupId>ant-contrib</groupId>
2145             <artifactId>ant-contrib</artifactId>
2146             <version>1.0b3</version>
2147             <exclusions>
2148               <exclusion>
2149                 <groupId>ant</groupId>
2150                 <artifactId>ant</artifactId>
2151               </exclusion>
2152             </exclusions>
2153           </dependency>
2154           <dependency>
2155             <groupId>org.apache.ant</groupId>
2156             <artifactId>ant-nodeps</artifactId>
2157             <version>1.8.1</version>
2158           </dependency>
2159         </dependencies>
2160       </plugin>
2161     </plugins>
2162   </build>
2163
2164   <reporting>
2165     <plugins>
2166       <plugin>
2167         <artifactId>maven-checkstyle-plugin</artifactId>
2168         <version>${checkstyle.version}</version>
2169       </plugin>
2170
2171       <!-- FIXME: activate this
2172       <plugin>
2173         <artifactId>maven-project-info-reports-plugin</artifactId>
2174         <version>${projectinfo}</version>
2175       </plugin-->
2176       <plugin>
2177         <groupId>org.codehaus.mojo</groupId>
2178         <artifactId>jdepend-maven-plugin</artifactId>
2179         <reportSets>
2180           <reportSet>
2181             <reports>
2182               <report>generate-no-fork</report>
2183             </reports>
2184           </reportSet>
2185         </reportSets>
2186       </plugin>
2187       <plugin>
2188         <artifactId>maven-javadoc-plugin</artifactId>
2189         <configuration>
2190           <links>
2191             <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2192             <link>https://google.github.io/guava/releases/23.2-jre/api/docs/</link>
2193             <link>http://netty.io/4.1/api/</link>
2194           </links>
2195         </configuration>
2196       </plugin>
2197     </plugins>
2198   </reporting>
2199
2200   <!--
2201     Maven Site Configuration
2202
2203     The following configuration is necessary for maven-site-plugin to
2204     correctly identify the correct deployment path for OpenDaylight Maven
2205     sites.
2206   -->
2207   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2208
2209   <distributionManagement>
2210     <site>
2211       <id>opendaylight-site</id>
2212       <url>${nexus.site.url}/${project.artifactId}/</url>
2213     </site>
2214   </distributionManagement>
2215
2216 </project>
2217