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