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