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