Add karaf.shell.core dependencyManagement
[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.5-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.9</karaf.version>
92     <karaf.plugin.version>4.0.9</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.18</akka.version>
108     <scala.version>2.11</scala.version>
109     <scala.micro.version>11</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.5-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.0.1</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.codehaus.enunciate</groupId>
881         <artifactId>enunciate-core-annotations</artifactId>
882         <version>${enunciate.version}</version>
883       </dependency>
884       <dependency>
885         <groupId>com.webcohesion.enunciate</groupId>
886         <artifactId>enunciate-core-annotations</artifactId>
887         <version>2.6.0</version>
888       </dependency>
889       <dependency>
890         <groupId>org.codehaus.jettison</groupId>
891         <artifactId>jettison</artifactId>
892         <version>1.3.7</version>
893       </dependency>
894       <!-- equinox http service bridge -->
895       <dependency>
896         <groupId>org.eclipse.equinox.http</groupId>
897         <artifactId>servlet</artifactId>
898         <version>1.0.0-v20070606</version>
899       </dependency>
900       <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
901          pull in javax.validation first:
902          http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
903       <dependency>
904         <groupId>org.eclipse.persistence</groupId>
905         <artifactId>org.eclipse.persistence.antlr</artifactId>
906         <version>2.6.2</version>
907       </dependency>
908       <dependency>
909         <groupId>org.eclipse.persistence</groupId>
910         <artifactId>org.eclipse.persistence.core</artifactId>
911         <version>2.6.2</version>
912       </dependency>
913       <dependency>
914         <groupId>org.eclipse.persistence</groupId>
915         <artifactId>org.eclipse.persistence.moxy</artifactId>
916         <version>2.6.2</version>
917       </dependency>
918       <dependency>
919         <groupId>javax.validation</groupId>
920         <artifactId>validation-api</artifactId>
921         <version>1.1.0.Final</version>
922       </dependency>
923       <dependency>
924         <groupId>org.javassist</groupId>
925         <artifactId>javassist</artifactId>
926         <version>3.20.0-GA</version>
927       </dependency>
928       <dependency>
929         <groupId>org.jboss.spec.javax.transaction</groupId>
930         <artifactId>jboss-transaction-api_1.1_spec</artifactId>
931         <version>1.0.1.Final</version>
932       </dependency>
933       <dependency>
934         <groupId>org.jolokia</groupId>
935         <artifactId>jolokia-osgi</artifactId>
936         <version>1.3.6</version>
937       </dependency>
938       <dependency>
939         <groupId>org.json</groupId>
940         <artifactId>json</artifactId>
941         <version>20131018</version>
942       </dependency>
943       <dependency>
944         <groupId>org.osgi</groupId>
945         <artifactId>org.osgi.compendium</artifactId>
946         <version>${osgi.core.version}</version>
947         <scope>provided</scope>
948       </dependency>
949       <dependency>
950         <groupId>org.osgi</groupId>
951         <artifactId>org.osgi.core</artifactId>
952         <version>${osgi.core.version}</version>
953         <scope>provided</scope>
954       </dependency>
955       <dependency>
956         <groupId>org.osgi</groupId>
957         <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
958         <artifactId>org.osgi.service.event</artifactId>
959         <version>1.3.1</version>
960       </dependency>
961       <dependency>
962         <groupId>org.apache.aries.quiesce</groupId>
963         <artifactId>org.apache.aries.quiesce.api</artifactId>
964         <version>1.0.0</version>
965       </dependency>
966       <dependency>
967         <groupId>org.ow2.asm</groupId>
968         <artifactId>asm-all</artifactId>
969         <version>5.1</version>
970       </dependency>
971       <!-- Visual VM hook -->
972       <dependency>
973         <groupId>org.ow2.chameleon.management</groupId>
974         <artifactId>chameleon-mbeans</artifactId>
975         <version>1.0.0</version>
976       </dependency>
977       <dependency>
978         <groupId>org.springframework</groupId>
979         <artifactId>spring-aop</artifactId>
980         <version>3.2.17.RELEASE</version>
981       </dependency>
982       <dependency>
983         <groupId>org.springframework</groupId>
984         <artifactId>spring-beans</artifactId>
985         <version>3.2.17.RELEASE</version>
986       </dependency>
987       <dependency>
988         <groupId>org.springframework</groupId>
989         <artifactId>spring-context</artifactId>
990         <version>3.2.17.RELEASE</version>
991       </dependency>
992       <dependency>
993         <groupId>org.springframework</groupId>
994         <artifactId>spring-core</artifactId>
995         <version>3.2.17.RELEASE</version>
996       </dependency>
997       <dependency>
998         <groupId>org.springframework</groupId>
999         <artifactId>spring-expression</artifactId>
1000         <version>3.2.17.RELEASE</version>
1001       </dependency>
1002       <dependency>
1003         <groupId>org.springframework</groupId>
1004         <artifactId>spring-tx</artifactId>
1005         <version>3.2.17.RELEASE</version>
1006       </dependency>
1007       <dependency>
1008         <groupId>org.springframework</groupId>
1009         <artifactId>spring-web</artifactId>
1010         <version>3.2.17.RELEASE</version>
1011       </dependency>
1012       <dependency>
1013         <groupId>org.springframework</groupId>
1014         <artifactId>spring-webmvc</artifactId>
1015         <version>3.2.17.RELEASE</version>
1016       </dependency>
1017       <!-- Spring security -->
1018       <dependency>
1019         <groupId>org.springframework.security</groupId>
1020         <artifactId>spring-security-config</artifactId>
1021         <version>3.2.9.RELEASE</version>
1022       </dependency>
1023       <dependency>
1024         <groupId>org.springframework.security</groupId>
1025         <artifactId>spring-security-core</artifactId>
1026         <version>3.2.9.RELEASE</version>
1027       </dependency>
1028       <dependency>
1029         <groupId>org.springframework.security</groupId>
1030         <artifactId>spring-security-taglibs</artifactId>
1031         <version>3.2.9.RELEASE</version>
1032       </dependency>
1033       <dependency>
1034         <groupId>org.springframework.security</groupId>
1035         <artifactId>spring-security-web</artifactId>
1036         <version>3.2.9.RELEASE</version>
1037       </dependency>
1038       <dependency>
1039         <groupId>virgomirror</groupId>
1040         <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1041         <version>3.8.0.I20120518-2145</version>
1042       </dependency>
1043
1044       <!-- Configuration library -->
1045       <!-- This needs to be kept in sync with the version used by akka -->
1046       <dependency>
1047         <groupId>com.typesafe</groupId>
1048         <artifactId>config</artifactId>
1049         <version>1.3.0</version>
1050       </dependency>
1051
1052       <!-- Reactive Streams, used by Akka -->
1053       <dependency>
1054         <groupId>org.reactivestreams</groupId>
1055         <artifactId>reactive-streams</artifactId>
1056         <version>1.0.0</version>
1057       </dependency>
1058
1059       <!-- Akka -->
1060       <dependency>
1061         <groupId>com.typesafe</groupId>
1062         <artifactId>ssl-config-akka_${scala.version}</artifactId>
1063         <version>0.2.1</version>
1064       </dependency>
1065       <dependency>
1066         <groupId>com.typesafe</groupId>
1067         <artifactId>ssl-config-core_${scala.version}</artifactId>
1068         <version>0.2.1</version>
1069       </dependency>
1070       <dependency>
1071         <groupId>com.typesafe.akka</groupId>
1072         <artifactId>akka-actor_${scala.version}</artifactId>
1073         <version>${akka.version}</version>
1074       </dependency>
1075       <dependency>
1076         <groupId>com.typesafe.akka</groupId>
1077         <artifactId>akka-cluster_${scala.version}</artifactId>
1078         <version>${akka.version}</version>
1079       </dependency>
1080       <dependency>
1081         <groupId>com.typesafe.akka</groupId>
1082         <artifactId>akka-osgi_${scala.version}</artifactId>
1083         <version>${akka.version}</version>
1084       </dependency>
1085       <dependency>
1086         <groupId>com.typesafe.akka</groupId>
1087         <artifactId>akka-persistence_${scala.version}</artifactId>
1088         <version>${akka.version}</version>
1089       </dependency>
1090       <dependency>
1091         <groupId>com.typesafe.akka</groupId>
1092         <artifactId>akka-persistence-tck_${scala.version}</artifactId>
1093         <version>${akka.version}</version>
1094         <scope>test</scope>
1095       </dependency>
1096       <dependency>
1097         <groupId>com.typesafe.akka</groupId>
1098         <artifactId>akka-protobuf_${scala.version}</artifactId>
1099         <version>${akka.version}</version>
1100       </dependency>
1101       <dependency>
1102         <groupId>com.typesafe.akka</groupId>
1103         <artifactId>akka-remote_${scala.version}</artifactId>
1104         <version>${akka.version}</version>
1105       </dependency>
1106       <dependency>
1107         <groupId>com.typesafe.akka</groupId>
1108         <artifactId>akka-slf4j_${scala.version}</artifactId>
1109         <version>${akka.version}</version>
1110       </dependency>
1111       <dependency>
1112         <groupId>com.typesafe.akka</groupId>
1113         <artifactId>akka-stream_${scala.version}</artifactId>
1114         <version>${akka.version}</version>
1115       </dependency>
1116       <dependency>
1117         <groupId>com.typesafe.akka</groupId>
1118         <artifactId>akka-testkit_${scala.version}</artifactId>
1119         <version>${akka.version}</version>
1120         <scope>test</scope>
1121       </dependency>
1122       <dependency>
1123         <groupId>org.scala-lang.modules</groupId>
1124         <artifactId>scala-java8-compat_${scala.version}</artifactId>
1125         <version>0.8.0</version>
1126       </dependency>
1127       <dependency>
1128         <groupId>org.scala-lang.modules</groupId>
1129         <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1130         <version>1.0.4</version>
1131       </dependency>
1132       <dependency>
1133         <groupId>org.iq80.leveldb</groupId>
1134         <artifactId>leveldb</artifactId>
1135         <version>${leveldb.version}</version>
1136       </dependency>
1137       <dependency>
1138         <groupId>org.fusesource.leveldbjni</groupId>
1139         <artifactId>leveldbjni-all</artifactId>
1140         <version>1.8-odl</version>
1141       </dependency>
1142       <dependency>
1143         <groupId>org.uncommons.maths</groupId>
1144         <artifactId>uncommons-maths</artifactId>
1145         <version>1.2.2a</version>
1146       </dependency>
1147       <dependency>
1148         <groupId>com.google.protobuf</groupId>
1149         <artifactId>protobuf-java</artifactId>
1150         <version>2.5.0</version>
1151       </dependency>
1152
1153       <!-- Aeron, required by Akka -->
1154       <dependency>
1155         <groupId>org.agrona</groupId>
1156         <artifactId>agrona</artifactId>
1157         <version>0.9.5</version>
1158       </dependency>
1159       <dependency>
1160         <groupId>io.aeron</groupId>
1161         <artifactId>aeron-client</artifactId>
1162         <version>1.2.5</version>
1163       </dependency>
1164       <dependency>
1165         <groupId>io.aeron</groupId>
1166         <artifactId>aeron-driver</artifactId>
1167         <version>1.2.5</version>
1168       </dependency>
1169
1170       <!-- Scala -->
1171       <dependency>
1172         <groupId>org.scala-lang</groupId>
1173         <artifactId>scala-library</artifactId>
1174         <version>${scala.version}.${scala.micro.version}</version>
1175       </dependency>
1176       <dependency>
1177         <groupId>org.scala-lang</groupId>
1178         <artifactId>scala-reflect</artifactId>
1179         <version>${scala.version}.${scala.micro.version}</version>
1180       </dependency>
1181
1182       <!-- LMAX Disruptor -->
1183       <dependency>
1184         <groupId>com.lmax</groupId>
1185         <artifactId>disruptor</artifactId>
1186         <!-- If this is updated, the version in features.xml needs to be changed too -->
1187         <version>3.3.6</version>
1188       </dependency>
1189
1190       <!-- Add Pax Exam -->
1191       <dependency>
1192         <groupId>org.ops4j.pax.exam</groupId>
1193         <artifactId>pax-exam</artifactId>
1194         <version>${exam.version}</version>
1195         <scope>test</scope>
1196       </dependency>
1197       <dependency>
1198         <groupId>org.ops4j.pax.exam</groupId>
1199         <artifactId>pax-exam-container-forked</artifactId>
1200         <version>${exam.version}</version>
1201         <scope>test</scope>
1202       </dependency>
1203       <dependency>
1204         <groupId>org.ops4j.pax.exam</groupId>
1205         <artifactId>pax-exam-container-karaf</artifactId>
1206         <version>${exam.version}</version>
1207         <scope>test</scope>
1208       </dependency>
1209       <dependency>
1210         <groupId>org.ops4j.pax.exam</groupId>
1211         <artifactId>pax-exam-container-native</artifactId>
1212         <version>${exam.version}</version>
1213         <scope>test</scope>
1214       </dependency>
1215       <dependency>
1216         <groupId>org.ops4j.pax.exam</groupId>
1217         <artifactId>pax-exam-extender-service</artifactId>
1218         <version>${exam.version}</version>
1219         <scope>test</scope>
1220       </dependency>
1221       <dependency>
1222         <groupId>org.ops4j.pax.exam</groupId>
1223         <artifactId>pax-exam-inject</artifactId>
1224         <version>${exam.version}</version>
1225         <scope>test</scope>
1226       </dependency>
1227       <dependency>
1228         <groupId>org.ops4j.pax.exam</groupId>
1229         <artifactId>pax-exam-invoker-junit</artifactId>
1230         <version>${exam.version}</version>
1231         <scope>test</scope>
1232       </dependency>
1233       <dependency>
1234         <groupId>org.ops4j.pax.exam</groupId>
1235         <artifactId>pax-exam-features</artifactId>
1236         <version>${exam.version}</version>
1237         <type>xml</type>
1238         <scope>test</scope>
1239       </dependency>
1240       <dependency>
1241         <groupId>org.ops4j.pax.exam</groupId>
1242         <artifactId>pax-exam-junit4</artifactId>
1243         <version>${exam.version}</version>
1244         <scope>test</scope>
1245       </dependency>
1246       <dependency>
1247         <groupId>org.ops4j.pax.exam</groupId>
1248         <artifactId>pax-exam-link-mvn</artifactId>
1249         <version>${exam.version}</version>
1250         <scope>test</scope>
1251       </dependency>
1252       <dependency>
1253         <groupId>org.ops4j.pax.exam</groupId>
1254         <artifactId>pax-exam-link-assembly</artifactId>
1255         <version>${exam.version}</version>
1256         <scope>test</scope>
1257       </dependency>
1258
1259       <dependency>
1260         <groupId>org.ops4j.pax.url</groupId>
1261         <artifactId>pax-url-link</artifactId>
1262         <version>2.5.2</version>
1263         <scope>test</scope>
1264       </dependency>
1265       <dependency>
1266         <groupId>org.ops4j.pax.url</groupId>
1267         <artifactId>pax-url-aether</artifactId>
1268         <version>2.5.2</version>
1269         <scope>test</scope>
1270       </dependency>
1271       <dependency>
1272         <groupId>org.ops4j.pax.url</groupId>
1273         <artifactId>pax-url-wrap</artifactId>
1274         <version>2.5.2</version>
1275       </dependency>
1276
1277       <dependency>
1278         <groupId>org.springframework.osgi</groupId>
1279         <artifactId>spring-osgi-mock</artifactId>
1280         <version>1.2.1</version>
1281         <scope>test</scope>
1282       </dependency>
1283       <dependency>
1284         <groupId>xmlunit</groupId>
1285         <artifactId>xmlunit</artifactId>
1286         <version>1.6</version>
1287         <scope>test</scope>
1288       </dependency>
1289
1290       <dependency>
1291         <groupId>org.eclipse.jetty</groupId>
1292         <artifactId>jetty-client</artifactId>
1293         <version>9.2.19.v20160908</version>
1294       </dependency>
1295       <dependency>
1296         <groupId>org.eclipse.jetty</groupId>
1297         <artifactId>jetty-server</artifactId>
1298         <version>9.2.19.v20160908</version>
1299       </dependency>
1300       <dependency>
1301         <groupId>org.eclipse.jetty</groupId>
1302         <artifactId>jetty-servlet-tester</artifactId>
1303         <version>9.2.19.v20160908</version>
1304         <scope>test</scope>
1305       </dependency>
1306       <dependency>
1307         <groupId>org.eclipse.jetty</groupId>
1308         <artifactId>jetty-servlets</artifactId>
1309         <version>9.2.19.v20160908</version>
1310       </dependency>
1311       <dependency>
1312         <groupId>org.eclipse.jetty</groupId>
1313         <artifactId>jetty-webapp</artifactId>
1314         <version>9.2.19.v20160908</version>
1315       </dependency>
1316
1317       <dependency>
1318         <groupId>com.h2database</groupId>
1319         <artifactId>h2</artifactId>
1320         <version>1.4.191</version>
1321       </dependency>
1322
1323       <!-- Xtend http://xtend-lang.org
1324            NOTE: When you increase the version here,
1325            then remember to also increase it for the
1326            xtend-maven-plugin below! (We don't want to
1327            use a Maven property, in order not to "leak" that.)
1328        -->
1329       <dependency>
1330           <groupId>org.eclipse.xtend</groupId>
1331           <artifactId>org.eclipse.xtend.lib</artifactId>
1332           <version>2.12.0</version>
1333       </dependency>
1334       <dependency>
1335           <groupId>org.eclipse.xtend</groupId>
1336           <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1337           <version>2.12.0</version>
1338       </dependency>
1339       <dependency>
1340           <groupId>org.eclipse.xtext</groupId>
1341           <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1342           <version>2.12.0</version>
1343       </dependency>
1344
1345       <!-- Annotations -->
1346       <dependency>
1347         <groupId>javax.inject</groupId>
1348         <artifactId>javax.inject</artifactId>
1349         <version>1</version>
1350         <optional>true</optional>
1351       </dependency>
1352       <dependency>
1353         <groupId>org.ops4j.pax.cdi</groupId>
1354         <artifactId>pax-cdi-api</artifactId>
1355         <version>1.0.0.RC2</version>
1356         <optional>true</optional>
1357       </dependency>
1358
1359       <!-- Cassandra -->
1360       <dependency>
1361         <groupId>com.datastax.cassandra</groupId>
1362         <artifactId>cassandra-driver-core</artifactId>
1363         <version>2.1.9</version>
1364       </dependency>
1365
1366       <!-- Metrics -->
1367       <dependency>
1368         <groupId>io.dropwizard.metrics</groupId>
1369         <artifactId>metrics-core</artifactId>
1370         <version>3.1.2</version>
1371       </dependency>
1372       <dependency>
1373         <groupId>io.dropwizard.metrics</groupId>
1374         <artifactId>metrics-graphite</artifactId>
1375         <version>3.1.2</version>
1376       </dependency>
1377
1378       <!-- Karaf console support -->
1379       <dependency>
1380         <groupId>org.apache.karaf.shell</groupId>
1381         <artifactId>org.apache.karaf.shell.core</artifactId>
1382         <version>${karaf.version}</version>
1383       </dependency>
1384       <dependency>
1385         <groupId>org.apache.karaf.shell</groupId>
1386         <artifactId>org.apache.karaf.shell.console</artifactId>
1387         <version>${karaf.version}</version>
1388       </dependency>
1389
1390       <!-- When updating this version, consider antl4-maven-plugin below -->
1391       <dependency>
1392         <groupId>org.antlr</groupId>
1393         <artifactId>antlr4-runtime</artifactId>
1394         <version>4.7</version>
1395       </dependency>
1396       <!-- Aries' Blueprint version should be kept in sync to the version actually
1397            used by our ${karaf[4].version} ... please bump this when increasing that.
1398            TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1399       <dependency>
1400         <groupId>org.apache.aries.blueprint</groupId>
1401         <artifactId>org.apache.aries.blueprint.core</artifactId>
1402         <version>1.7.1</version>
1403       </dependency>
1404
1405     </dependencies>
1406   </dependencyManagement>
1407
1408   <dependencies>
1409     <!-- Karaf provides SL4FJ encapsulation -->
1410     <dependency>
1411       <groupId>org.slf4j</groupId>
1412       <artifactId>slf4j-api</artifactId>
1413       <scope>provided</scope>
1414     </dependency>
1415
1416     <dependency>
1417       <groupId>org.slf4j</groupId>
1418       <artifactId>slf4j-simple</artifactId>
1419       <scope>test</scope>
1420     </dependency>
1421
1422     <!-- Enable JSR-305 annotations everywhere -->
1423     <dependency>
1424       <groupId>com.google.code.findbugs</groupId>
1425       <artifactId>annotations</artifactId>
1426       <scope>provided</scope>
1427     </dependency>
1428     <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1429     <dependency>
1430       <groupId>com.google.code.findbugs</groupId>
1431       <artifactId>jsr305</artifactId>
1432       <scope>provided</scope>
1433     </dependency>
1434     <dependency>
1435       <groupId>org.eclipse.jdt</groupId>
1436       <artifactId>org.eclipse.jdt.annotation</artifactId>
1437       <scope>provided</scope>
1438     </dependency>
1439   </dependencies>
1440
1441   <build>
1442     <pluginManagement>
1443       <plugins>
1444         <!-- Official maven plugins, alpha-sorted by artifactId.
1445              We do not need to specify the groupId. -->
1446         <plugin>
1447           <artifactId>maven-antrun-plugin</artifactId>
1448           <version>1.8</version>
1449         </plugin>
1450         <plugin>
1451           <artifactId>maven-checkstyle-plugin</artifactId>
1452           <version>${checkstyle.version}</version>
1453           <dependencies>
1454             <dependency>
1455               <groupId>com.puppycrawl.tools</groupId>
1456               <artifactId>checkstyle</artifactId>
1457               <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1458               <version>7.6.1</version>
1459             </dependency>
1460             <dependency>
1461               <groupId>org.opendaylight.odlparent</groupId>
1462               <artifactId>checkstyle</artifactId>
1463               <version>2.0.5-SNAPSHOT</version>
1464             </dependency>
1465             <dependency>
1466               <groupId>org.opendaylight.odlparent</groupId>
1467               <artifactId>odl-license</artifactId>
1468               <version>2.0.5-SNAPSHOT</version>
1469             </dependency>
1470             <dependency>
1471               <groupId>com.github.sevntu.checkstyle</groupId>
1472               <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1473               <version>1.21.0</version>
1474             </dependency>
1475           </dependencies>
1476           <configuration>
1477             <configLocation>odl_checks.xml</configLocation>
1478             <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1479             <!-- <sourceDirectory> is needed so that checkstyle ignores the
1480                  generated sources directory -->
1481             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1482             <includeResources>true</includeResources>
1483             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1484             <includeTestResources>true</includeTestResources>
1485             <includes>**\/*.java, **\/*.xtend</includes>
1486             <excludes>
1487               org/opendaylight/yang/gen/**,
1488               **/protobuff/messages/**,
1489               **/thrift/gen/*.java
1490             </excludes>
1491             <failsOnError>false</failsOnError>
1492             <consoleOutput>true</consoleOutput>
1493           </configuration>
1494           <executions>
1495             <execution>
1496               <id>check-license</id>
1497               <goals>
1498                 <goal>check</goal>
1499               </goals>
1500               <phase>process-sources</phase>
1501               <configuration>
1502                 <configLocation>check-license.xml</configLocation>
1503                 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1504                 <includeResources>false</includeResources>
1505                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1506                 <includeTestResources>false</includeTestResources>
1507                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1508                 <excludes>
1509                   org/opendaylight/yang/gen/**,
1510                   **/protobuff/messages/**,
1511                   **/thrift/gen/*.java
1512                 </excludes>
1513                 <failsOnError>false</failsOnError>
1514                 <consoleOutput>true</consoleOutput>
1515               </configuration>
1516             </execution>
1517             <execution>
1518               <goals>
1519                 <goal>check</goal>
1520               </goals>
1521               <phase>process-sources</phase>
1522             </execution>
1523           </executions>
1524         </plugin>
1525         <plugin>
1526           <groupId>org.apache.maven.plugins</groupId>
1527           <artifactId>maven-pmd-plugin</artifactId>
1528           <version>3.8</version>
1529           <executions>
1530             <execution>
1531               <id>cpd</id>
1532               <phase>process-sources</phase>
1533               <goals>
1534                 <goal>cpd-check</goal>
1535               </goals>
1536               <configuration>
1537                 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1538                 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1539                 <minimumTokens>101</minimumTokens>
1540                 <printFailingErrors>true</printFailingErrors>
1541                 <excludeRoots>
1542                   <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1543                               not understand path prefixes nor wildcards. Details are available
1544                               at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1545                               Hence people introducing new generated sources have to include
1546                               PMD config too.
1547                    -->
1548                   <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1549                   <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1550                 </excludeRoots>
1551                 <linkXRef>false</linkXRef>
1552               </configuration>
1553             </execution>
1554           </executions>
1555         </plugin>
1556         <plugin>
1557           <artifactId>maven-compiler-plugin</artifactId>
1558           <version>${maven.compile.plugin.version}</version>
1559           <configuration>
1560             <source>1.8</source>
1561             <target>1.8</target>
1562             <compilerArgs>
1563               <arg>-parameters</arg>
1564             </compilerArgs>
1565           </configuration>
1566         </plugin>
1567         <plugin>
1568           <artifactId>maven-enforcer-plugin</artifactId>
1569           <version>${enforcer.version}</version>
1570         </plugin>
1571         <plugin>
1572           <artifactId>maven-failsafe-plugin</artifactId>
1573           <version>${failsafe.version}</version>
1574         </plugin>
1575         <plugin>
1576           <artifactId>maven-invoker-plugin</artifactId>
1577           <version>2.0.0</version>
1578         </plugin>
1579         <plugin>
1580           <artifactId>maven-jar-plugin</artifactId>
1581           <version>3.0.2</version>
1582         </plugin>
1583         <plugin>
1584           <artifactId>maven-dependency-plugin</artifactId>
1585           <executions>
1586             <execution>
1587               <id>unpack-license</id>
1588               <phase>generate-resources</phase>
1589               <goals><goal>unpack</goal></goals>
1590               <configuration>
1591                 <artifactItems>
1592                   <artifactItem>
1593                     <groupId>org.opendaylight.odlparent</groupId>
1594                     <artifactId>odl-license</artifactId>
1595                     <version>2.0.5-SNAPSHOT</version>
1596                   </artifactItem>
1597                 </artifactItems>
1598                 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1599                 <excludes>META-INF/**</excludes>
1600               </configuration>
1601             </execution>
1602           </executions>
1603         </plugin>
1604
1605         <plugin>
1606           <artifactId>maven-plugin-plugin</artifactId>
1607           <version>${maven.plugin.version}</version>
1608         </plugin>
1609
1610         <plugin>
1611           <artifactId>maven-remote-resources-plugin</artifactId>
1612           <version>1.5</version>
1613         </plugin>
1614         <plugin>
1615           <artifactId>maven-resources-plugin</artifactId>
1616           <version>3.0.1</version>
1617         </plugin>
1618         <plugin>
1619           <artifactId>maven-shade-plugin</artifactId>
1620           <version>2.4.3</version>
1621         </plugin>
1622         <plugin>
1623           <artifactId>maven-source-plugin</artifactId>
1624           <version>3.0.1</version>
1625           <executions>
1626             <execution>
1627               <id>attach-sources</id>
1628               <phase>verify</phase>
1629               <goals>
1630                 <goal>jar-no-fork</goal>
1631               </goals>
1632             </execution>
1633           </executions>
1634         </plugin>
1635         <plugin>
1636           <artifactId>maven-surefire-plugin</artifactId>
1637           <version>${maven.surefire.version}</version>
1638           <configuration>
1639             <redirectTestOutputToFile>true</redirectTestOutputToFile>
1640             <trimStackTrace>false</trimStackTrace>
1641           </configuration>
1642         </plugin>
1643
1644         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1645         <plugin>
1646           <!-- Support Blueprint XML construction using annotations -->
1647           <groupId>org.apache.aries.blueprint</groupId>
1648           <artifactId>blueprint-maven-plugin</artifactId>
1649           <version>1.4.0</version>
1650           <configuration>
1651             <scanPaths>
1652               <scanPath>org.opendaylight</scanPath>
1653             </scanPaths>
1654           </configuration>
1655           <dependencies>
1656             <dependency>
1657               <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1658               <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1659               <groupId>org.apache.xbean</groupId>
1660               <artifactId>xbean-finder-shaded</artifactId>
1661               <version>4.5</version>
1662             </dependency>
1663           </dependencies>
1664           <executions>
1665             <execution>
1666               <goals>
1667                 <goal>blueprint-generate</goal>
1668               </goals>
1669             </execution>
1670           </executions>
1671         </plugin>
1672
1673         <plugin>
1674           <groupId>org.apache.felix</groupId>
1675           <artifactId>maven-bundle-plugin</artifactId>
1676           <version>${maven.bundle.version}</version>
1677           <extensions>true</extensions>
1678           <configuration>
1679             <instructions>
1680               <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1681                    so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1682                    and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present.  -->
1683               <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1684             </instructions>
1685           </configuration>
1686         </plugin>
1687
1688         <plugin>
1689           <groupId>org.apache.karaf.tooling</groupId>
1690           <artifactId>karaf-maven-plugin</artifactId>
1691           <version>${karaf.version}</version>
1692         </plugin>
1693
1694         <plugin>
1695           <groupId>org.apache.servicemix.tooling</groupId>
1696           <artifactId>depends-maven-plugin</artifactId>
1697           <version>1.3.1</version>
1698           <executions>
1699             <execution>
1700               <id>generate-depends-file</id>
1701               <goals>
1702                 <goal>generate-depends-file</goal>
1703               </goals>
1704             </execution>
1705           </executions>
1706         </plugin>
1707
1708         <plugin>
1709           <groupId>org.codehaus.enunciate</groupId>
1710           <artifactId>maven-enunciate-plugin</artifactId>
1711           <version>${enunciate.version}</version>
1712         </plugin>
1713         <plugin>
1714           <groupId>org.codehaus.groovy.maven</groupId>
1715           <artifactId>gmaven-plugin</artifactId>
1716           <version>1.0</version>
1717         </plugin>
1718         <plugin>
1719           <groupId>org.codehaus.mojo</groupId>
1720           <artifactId>build-helper-maven-plugin</artifactId>
1721           <version>1.12</version>
1722         </plugin>
1723         <plugin>
1724           <groupId>org.codehaus.mojo</groupId>
1725           <artifactId>findbugs-maven-plugin</artifactId>
1726           <version>3.0.4</version>
1727           <dependencies>
1728             <dependency>
1729               <groupId>org.opendaylight.odlparent</groupId>
1730               <artifactId>findbugs</artifactId>
1731               <version>2.0.5-SNAPSHOT</version>
1732             </dependency>
1733           </dependencies>
1734           <configuration>
1735             <!--
1736               Enables analysis which takes more memory but finds more bugs.
1737               If you run out of memory, changes the value of the effort element
1738               to 'Low'.
1739             -->
1740             <effort>Max</effort>
1741             <!-- Reports all bugs (other values are medium and max) -->
1742             <threshold>Low</threshold>
1743             <!-- Build doesn't fail if problems are found -->
1744             <failOnError>false</failOnError>
1745             <!-- References the excluded rules -->
1746             <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1747             <!-- Produces XML report -->
1748             <xmlOutput>true</xmlOutput>
1749             <!-- Configures the directory in which the XML report is created -->
1750             <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1751             </configuration>
1752             <executions>
1753               <!--
1754                 Ensures that FindBugs inspects source code when project is compiled.
1755               -->
1756               <execution>
1757                 <id>analyze-compile</id>
1758                 <phase>compile</phase>
1759                 <goals>
1760                   <goal>check</goal>
1761                 </goals>
1762               </execution>
1763             </executions>
1764         </plugin>
1765         <plugin>
1766           <groupId>org.codehaus.mojo</groupId>
1767           <artifactId>properties-maven-plugin</artifactId>
1768           <version>${propertymavenplugin.version}</version>
1769         </plugin>
1770         <plugin>
1771           <groupId>org.eclipse.xtend</groupId>
1772           <artifactId>xtend-maven-plugin</artifactId>
1773           <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1774           <version>2.12.0</version>
1775           <executions>
1776             <execution>
1777               <goals>
1778                 <goal>compile</goal>
1779                 <goal>testCompile</goal>
1780               </goals>
1781               <configuration>
1782                 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1783                 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1784               </configuration>
1785             </execution>
1786           </executions>
1787         </plugin>
1788         <plugin>
1789           <groupId>org.eclipse.m2e</groupId>
1790           <artifactId>lifecycle-mapping</artifactId>
1791           <version>1.0.0</version>
1792           <configuration>
1793             <lifecycleMappingMetadata>
1794               <pluginExecutions>
1795                 <pluginExecution>
1796                   <pluginExecutionFilter>
1797                     <groupId>org.apache.felix</groupId>
1798                     <artifactId>maven-bundle-plugin</artifactId>
1799                     <versionRange>[1.0,)</versionRange>
1800                     <goals>
1801                       <goal>manifest</goal>
1802                     </goals>
1803                   </pluginExecutionFilter>
1804                   <action>
1805                     <execute/>
1806                   </action>
1807                 </pluginExecution>
1808                 <pluginExecution>
1809                   <pluginExecutionFilter>
1810                     <groupId>org.apache.maven.plugins</groupId>
1811                     <artifactId>maven-enforcer-plugin</artifactId>
1812                     <versionRange>[1.0.0,)</versionRange>
1813                     <goals>
1814                       <goal>enforce</goal>
1815                     </goals>
1816                   </pluginExecutionFilter>
1817                   <action>
1818                     <ignore/>
1819                   </action>
1820                 </pluginExecution>
1821                 <pluginExecution>
1822                   <pluginExecutionFilter>
1823                     <groupId>org.apache.maven.plugins</groupId>
1824                     <artifactId>maven-dependency-plugin</artifactId>
1825                     <versionRange>[2.10,)</versionRange>
1826                     <goals>
1827                       <goal>unpack</goal>
1828                     </goals>
1829                   </pluginExecutionFilter>
1830                   <action>
1831                     <ignore/>
1832                   </action>
1833                 </pluginExecution>
1834                 <pluginExecution>
1835                   <pluginExecutionFilter>
1836                     <groupId>org.apache.maven.plugins</groupId>
1837                     <artifactId>maven-pmd-plugin</artifactId>
1838                     <versionRange>[3.6,)</versionRange>
1839                     <goals>
1840                       <goal>cpd-check</goal>
1841                     </goals>
1842                   </pluginExecutionFilter>
1843                   <action>
1844                     <ignore/>
1845                   </action>
1846                 </pluginExecution>
1847                 <!-- The plugin will eventually be removed, remove this too at that point -->
1848                 <pluginExecution>
1849                   <pluginExecutionFilter>
1850                     <groupId>org.apache.maven.plugins</groupId>
1851                     <artifactId>maven-antrun-plugin</artifactId>
1852                     <versionRange>[1.8,)</versionRange>
1853                     <goals>
1854                       <goal>run</goal>
1855                     </goals>
1856                   </pluginExecutionFilter>
1857                   <action>
1858                     <ignore/>
1859                   </action>
1860                 </pluginExecution>
1861                 <pluginExecution>
1862                   <pluginExecutionFilter>
1863                     <groupId>org.apache.servicemix.tooling</groupId>
1864                     <artifactId>depends-maven-plugin</artifactId>
1865                     <versionRange>[1.2,)</versionRange>
1866                     <goals>
1867                       <goal>generate-depends-file</goal>
1868                     </goals>
1869                   </pluginExecutionFilter>
1870                   <action>
1871                     <execute/>
1872                   </action>
1873                 </pluginExecution>
1874                 <pluginExecution>
1875                   <pluginExecutionFilter>
1876                     <groupId>org.jacoco</groupId>
1877                     <artifactId>jacoco-maven-plugin</artifactId>
1878                     <versionRange>[0.7.0,)</versionRange>
1879                     <goals>
1880                       <goal>prepare-agent</goal>
1881                       <goal>report</goal>
1882                     </goals>
1883                   </pluginExecutionFilter>
1884                   <action>
1885                     <ignore/>
1886                   </action>
1887                 </pluginExecution>
1888
1889                 <pluginExecution>
1890                   <pluginExecutionFilter>
1891                     <groupId>org.ops4j.pax.exam</groupId>
1892                     <artifactId>maven-paxexam-plugin</artifactId>
1893                     <versionRange>[1.2.4,)</versionRange>
1894                     <goals>
1895                       <goal>generate-depends-file</goal>
1896                     </goals>
1897                   </pluginExecutionFilter>
1898                   <action>
1899                     <ignore/>
1900                   </action>
1901                 </pluginExecution>
1902
1903               </pluginExecutions>
1904             </lifecycleMappingMetadata>
1905           </configuration>
1906         </plugin>
1907
1908         <plugin>
1909           <groupId>org.jacoco</groupId>
1910           <artifactId>jacoco-maven-plugin</artifactId>
1911           <version>${jacoco.version}</version>
1912           <configuration>
1913             <!-- Note: This exclusion list should match <sonar.exclusions>
1914                        property above -->
1915             <excludes>
1916               <exclude>**/gen/**</exclude>
1917               <exclude>**/generated-sources/**</exclude>
1918               <exclude>**/generated-test-sources/**</exclude>
1919               <exclude>**/yang-gen/**</exclude>
1920               <exclude>**/yang-gen-config/**</exclude>
1921               <exclude>**/yang-gen-sal/**</exclude>
1922               <exclude>**/yang-gen-code/**</exclude>
1923               <exclude>**/pax/**</exclude>
1924             </excludes>
1925           </configuration>
1926         </plugin>
1927
1928         <plugin>
1929           <groupId>org.ops4j.pax.exam</groupId>
1930           <artifactId>maven-paxexam-plugin</artifactId>
1931           <version>1.2.4</version>
1932         </plugin>
1933
1934         <plugin>
1935           <groupId>org.codehaus.mojo</groupId>
1936           <artifactId>jdepend-maven-plugin</artifactId>
1937           <version>2.0</version>
1938           <executions>
1939             <execution>
1940               <phase>site</phase>
1941               <goals>
1942                 <goal>generate-no-fork</goal>
1943               </goals>
1944             </execution>
1945           </executions>
1946         </plugin>
1947
1948         <!-- When updating this version, consider antl4-runtime above -->
1949         <plugin>
1950           <groupId>org.antlr</groupId>
1951           <artifactId>antlr4-maven-plugin</artifactId>
1952           <version>4.7</version>
1953         </plugin>
1954       </plugins>
1955     </pluginManagement>
1956
1957     <plugins>
1958       <plugin>
1959         <artifactId>maven-enforcer-plugin</artifactId>
1960         <executions>
1961           <execution>
1962             <id>enforce-banned-dependencies</id>
1963             <goals>
1964               <goal>enforce</goal>
1965             </goals>
1966             <configuration>
1967               <rules>
1968                 <bannedDependencies>
1969                   <message>Please always use mockito-core instead of mockito-all (https://bugs.opendaylight.org/show_bug.cgi?id=7662)</message>
1970                   <excludes>
1971                     <exclude>org.mockito:mockito-all</exclude>
1972                   </excludes>
1973                 </bannedDependencies>
1974               </rules>
1975               <fail>true</fail>
1976             </configuration>
1977           </execution>
1978         </executions>
1979       </plugin>
1980       <plugin>
1981         <artifactId>maven-dependency-plugin</artifactId>
1982       </plugin>
1983       <plugin>
1984         <artifactId>maven-checkstyle-plugin</artifactId>
1985       </plugin>
1986       <plugin>
1987           <artifactId>maven-pmd-plugin</artifactId>
1988       </plugin>
1989       <plugin>
1990         <artifactId>maven-source-plugin</artifactId>
1991       </plugin>
1992       <plugin>
1993         <artifactId>maven-javadoc-plugin</artifactId>
1994       </plugin>
1995
1996       <!-- Jacoco / Sonar -->
1997       <plugin>
1998         <groupId>org.jacoco</groupId>
1999         <artifactId>jacoco-maven-plugin</artifactId>
2000         <executions>
2001           <execution>
2002             <id>pre-unit-test</id>
2003             <goals>
2004               <goal>prepare-agent</goal>
2005             </goals>
2006             <configuration>
2007               <destFile>${sonar.jacoco.reportPath}</destFile>
2008             </configuration>
2009           </execution>
2010           <execution>
2011             <id>post-unit-test</id>
2012             <goals>
2013               <goal>report</goal>
2014             </goals>
2015             <configuration>
2016               <dataFile>${sonar.jacoco.reportPath}</dataFile>
2017             </configuration>
2018           </execution>
2019         </executions>
2020       </plugin>
2021
2022       <plugin>
2023         <groupId>com.alexecollins.maven.plugin</groupId>
2024         <artifactId>script-maven-plugin</artifactId>
2025         <version>1.0.0</version>
2026         <executions>
2027            <execution>
2028              <phase>prepare-package</phase>
2029              <goals>
2030                <goal>execute</goal>
2031              </goals>
2032              <configuration>
2033                <script>
2034                  // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
2035                  // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
2036                  //  odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
2037                  //  static class methods only - it will be MUCH easier to write!)
2038                  void copy(File root, String glob, File target) {
2039                      java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
2040                      Iterator dirStreamIterator = dirStream.iterator();
2041                      while (dirStreamIterator.hasNext()) {
2042                          java.nio.file.Path path = dirStreamIterator.next();
2043                          java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
2044                              new java.nio.file.CopyOption[] {
2045                                  java.nio.file.StandardCopyOption.REPLACE_EXISTING,
2046                                  java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
2047                              }
2048                          );
2049                      }
2050                      dirStream.close();
2051                  }
2052
2053                  File gitRepoRootDir = project.basedir;
2054                  while (!new File(gitRepoRootDir, ".git").exists() &amp;&amp; gitRepoRootDir.getParentFile() != null) {
2055                      gitRepoRootDir = gitRepoRootDir.getParentFile();
2056                  }
2057
2058                  File target = new File(project.build.outputDirectory);
2059                  target.mkdirs();
2060                  copy(gitRepoRootDir, "README*", target);
2061                  copy(gitRepoRootDir, "CONTRIBUTING*", target);
2062                  copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
2063                </script>
2064              </configuration>
2065            </execution>
2066          </executions>
2067          <dependencies>
2068            <dependency>
2069              <groupId>org.apache-extras.beanshell</groupId>
2070              <artifactId>bsh</artifactId>
2071              <version>2.0b6</version>
2072            </dependency>
2073          </dependencies>
2074       </plugin>
2075
2076       <!-- Blueprint dependency injection -->
2077       <!-- Remove when upgrading to plugin 1.5.0, and use
2078            <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
2079            See https://issues.apache.org/jira/browse/ARIES-1597
2080            BUT beware that the directory is now conditional... -->
2081       <plugin>
2082         <artifactId>maven-antrun-plugin</artifactId>
2083         <executions>
2084           <!-- This should only run once, in the process-classes phase; but we need it to run after
2085                process-classes in child projects. Attaching to process-test-classes and prepare-package
2086                ensures that the file will be moved whether tests are skipped or not. -->
2087           <execution>
2088             <id>move-autowire-test</id>
2089             <phase>process-test-classes</phase>
2090             <goals>
2091               <goal>run</goal>
2092             </goals>
2093             <configuration>
2094               <target>
2095                 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2096                 <if>
2097                   <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2098                   <then>
2099                     <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2100                     <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2101                           todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2102                           failonerror="false" quiet="true" />
2103                   </then>
2104                   <else>
2105                     <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2106                   </else>
2107                 </if>
2108               </target>
2109             </configuration>
2110           </execution>
2111           <execution>
2112             <id>move-autowire-package</id>
2113             <phase>prepare-package</phase>
2114             <goals>
2115               <goal>run</goal>
2116             </goals>
2117             <configuration>
2118               <target>
2119                 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2120                 <if>
2121                   <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2122                   <then>
2123                     <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2124                     <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2125                           todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2126                           failonerror="false" quiet="true" />
2127                   </then>
2128                   <else>
2129                     <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2130                   </else>
2131                 </if>
2132               </target>
2133             </configuration>
2134           </execution>
2135         </executions>
2136         <dependencies>
2137           <dependency>
2138             <groupId>ant-contrib</groupId>
2139             <artifactId>ant-contrib</artifactId>
2140             <version>1.0b3</version>
2141             <exclusions>
2142               <exclusion>
2143                 <groupId>ant</groupId>
2144                 <artifactId>ant</artifactId>
2145               </exclusion>
2146             </exclusions>
2147           </dependency>
2148           <dependency>
2149             <groupId>org.apache.ant</groupId>
2150             <artifactId>ant-nodeps</artifactId>
2151             <version>1.8.1</version>
2152           </dependency>
2153         </dependencies>
2154       </plugin>
2155     </plugins>
2156   </build>
2157
2158   <reporting>
2159     <plugins>
2160       <plugin>
2161         <artifactId>maven-checkstyle-plugin</artifactId>
2162         <version>${checkstyle.version}</version>
2163       </plugin>
2164
2165       <!-- FIXME: activate this
2166       <plugin>
2167         <artifactId>maven-project-info-reports-plugin</artifactId>
2168         <version>${projectinfo}</version>
2169       </plugin-->
2170       <plugin>
2171         <groupId>org.codehaus.mojo</groupId>
2172         <artifactId>jdepend-maven-plugin</artifactId>
2173         <reportSets>
2174           <reportSet>
2175             <reports>
2176               <report>generate-no-fork</report>
2177             </reports>
2178           </reportSet>
2179         </reportSets>
2180       </plugin>
2181       <plugin>
2182         <artifactId>maven-javadoc-plugin</artifactId>
2183         <configuration>
2184           <links>
2185             <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2186             <link>https://google.github.io/guava/releases/22.0/api/docs/</link>
2187             <link>http://netty.io/4.1/api/</link>
2188           </links>
2189         </configuration>
2190       </plugin>
2191     </plugins>
2192   </reporting>
2193
2194   <!--
2195     Maven Site Configuration
2196
2197     The following configuration is necessary for maven-site-plugin to
2198     correctly identify the correct deployment path for OpenDaylight Maven
2199     sites.
2200   -->
2201   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2202
2203   <distributionManagement>
2204     <site>
2205       <id>opendaylight-site</id>
2206       <url>${nexus.site.url}/${project.artifactId}/</url>
2207     </site>
2208   </distributionManagement>
2209
2210 </project>