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