Jetty 9.2 upgrade: add h2 to dependency management
[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       <dependency>
1250         <groupId>com.h2database</groupId>
1251         <artifactId>h2</artifactId>
1252         <version>1.4.191</version>
1253       </dependency>
1254
1255       <!-- Xtend http://xtend-lang.org
1256            NOTE: When you increase the version here,
1257            then remember to also increase it for the
1258            xtend-maven-plugin below! (We don't want to
1259            use a Maven property, in order not to "leak" that.)
1260        -->
1261       <dependency>
1262           <groupId>org.eclipse.xtend</groupId>
1263           <artifactId>org.eclipse.xtend.lib</artifactId>
1264           <version>2.11.0</version>
1265       </dependency>
1266       <dependency>
1267           <groupId>org.eclipse.xtend</groupId>
1268           <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1269           <version>2.11.0</version>
1270       </dependency>
1271       <dependency>
1272           <groupId>org.eclipse.xtext</groupId>
1273           <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1274           <version>2.11.0</version>
1275       </dependency>
1276
1277       <!-- Annotations -->
1278       <dependency>
1279         <groupId>javax.inject</groupId>
1280         <artifactId>javax.inject</artifactId>
1281         <version>1</version>
1282       </dependency>
1283
1284       <!-- Cassandra -->
1285       <dependency>
1286         <groupId>com.datastax.cassandra</groupId>
1287         <artifactId>cassandra-driver-core</artifactId>
1288         <version>2.1.9</version>
1289       </dependency>
1290
1291       <!-- Metrics -->
1292       <dependency>
1293         <groupId>io.dropwizard.metrics</groupId>
1294         <artifactId>metrics-core</artifactId>
1295         <version>3.1.2</version>
1296       </dependency>
1297       <dependency>
1298         <groupId>io.dropwizard.metrics</groupId>
1299         <artifactId>metrics-graphite</artifactId>
1300         <version>3.1.2</version>
1301       </dependency>
1302
1303       <!-- Karaf console support -->
1304       <dependency>
1305         <groupId>org.apache.karaf.shell</groupId>
1306         <artifactId>org.apache.karaf.shell.console</artifactId>
1307         <version>${karaf.version}</version>
1308       </dependency>
1309
1310     </dependencies>
1311   </dependencyManagement>
1312
1313   <dependencies>
1314     <!-- Karaf provides SL4FJ encapsulation -->
1315     <dependency>
1316       <groupId>org.slf4j</groupId>
1317       <artifactId>slf4j-api</artifactId>
1318       <scope>provided</scope>
1319     </dependency>
1320
1321     <dependency>
1322       <groupId>org.slf4j</groupId>
1323       <artifactId>slf4j-simple</artifactId>
1324       <scope>test</scope>
1325     </dependency>
1326
1327     <!-- Enable JSR-305 annotations everywhere -->
1328     <dependency>
1329       <groupId>com.google.code.findbugs</groupId>
1330       <artifactId>annotations</artifactId>
1331       <scope>provided</scope>
1332     </dependency>
1333     <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1334     <dependency>
1335       <groupId>com.google.code.findbugs</groupId>
1336       <artifactId>jsr305</artifactId>
1337       <scope>provided</scope>
1338     </dependency>
1339     <dependency>
1340       <groupId>org.eclipse.jdt</groupId>
1341       <artifactId>org.eclipse.jdt.annotation</artifactId>
1342       <scope>provided</scope>
1343     </dependency>
1344   </dependencies>
1345
1346   <build>
1347     <pluginManagement>
1348       <plugins>
1349         <!-- Official maven plugins, alpha-sorted by artifactId.
1350              We do not need to specify the groupId. -->
1351         <plugin>
1352           <artifactId>maven-antrun-plugin</artifactId>
1353           <version>1.8</version>
1354         </plugin>
1355         <plugin>
1356           <artifactId>maven-checkstyle-plugin</artifactId>
1357           <version>${checkstyle.version}</version>
1358           <dependencies>
1359             <dependency>
1360               <groupId>com.puppycrawl.tools</groupId>
1361               <artifactId>checkstyle</artifactId>
1362               <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1363               <version>6.16</version>
1364             </dependency>
1365             <dependency>
1366               <groupId>org.opendaylight.odlparent</groupId>
1367               <artifactId>checkstyle</artifactId>
1368               <version>${odl.checkstyle.version}</version>
1369             </dependency>
1370             <dependency>
1371               <groupId>org.opendaylight.odlparent</groupId>
1372               <artifactId>odl-license</artifactId>
1373               <version>0.2.0-SNAPSHOT</version>
1374             </dependency>
1375             <dependency>
1376               <groupId>com.github.sevntu.checkstyle</groupId>
1377               <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1378               <version>1.21.0</version>
1379             </dependency>
1380           </dependencies>
1381           <configuration>
1382             <configLocation>odl_checks.xml</configLocation>
1383             <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1384             <!-- <sourceDirectory> is needed so that checkstyle ignores the
1385                  generated sources directory -->
1386             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1387             <includeResources>true</includeResources>
1388             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1389             <includeTestResources>true</includeTestResources>
1390             <includes>**\/*.java, **\/*.xtend</includes>
1391             <excludes>
1392               org/opendaylight/yang/gen/**,
1393               **/protobuff/messages/**,
1394               **/thrift/gen/*.java
1395             </excludes>
1396             <failsOnError>false</failsOnError>
1397             <consoleOutput>true</consoleOutput>
1398           </configuration>
1399           <executions>
1400             <execution>
1401               <id>check-license</id>
1402               <goals>
1403                 <goal>check</goal>
1404               </goals>
1405               <phase>process-sources</phase>
1406               <configuration>
1407                 <configLocation>check-license.xml</configLocation>
1408                 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1409                 <includeResources>false</includeResources>
1410                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1411                 <includeTestResources>false</includeTestResources>
1412                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1413                 <excludes>
1414                   org/opendaylight/yang/gen/**,
1415                   **/protobuff/messages/**,
1416                   **/thrift/gen/*.java
1417                 </excludes>
1418                 <failsOnError>false</failsOnError>
1419                 <consoleOutput>true</consoleOutput>
1420               </configuration>
1421             </execution>
1422             <execution>
1423               <goals>
1424                 <goal>check</goal>
1425               </goals>
1426               <phase>process-sources</phase>
1427             </execution>
1428           </executions>
1429         </plugin>
1430         <plugin>
1431           <groupId>org.apache.maven.plugins</groupId>
1432           <artifactId>maven-pmd-plugin</artifactId>
1433           <version>3.6</version>
1434           <executions>
1435             <execution>
1436               <id>cpd</id>
1437               <phase>process-sources</phase>
1438               <goals>
1439                 <goal>cpd-check</goal>
1440               </goals>
1441               <configuration>
1442                 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1443                 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1444                 <minimumTokens>101</minimumTokens>
1445                 <printFailingErrors>true</printFailingErrors>
1446                 <excludeRoots>
1447                   <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1448                               not understand path prefixes nor wildcards. Details are available
1449                               at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1450                               Hence people introducing new generated sources have to include
1451                               PMD config too.
1452                    -->
1453                   <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1454                   <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1455                 </excludeRoots>
1456                 <linkXRef>false</linkXRef>
1457               </configuration>
1458             </execution>
1459           </executions>
1460         </plugin>
1461         <plugin>
1462           <artifactId>maven-compiler-plugin</artifactId>
1463           <version>${maven.compile.plugin.version}</version>
1464           <configuration>
1465             <source>1.8</source>
1466             <target>1.8</target>
1467             <compilerArgs>
1468               <arg>-parameters</arg>
1469             </compilerArgs>
1470           </configuration>
1471         </plugin>
1472         <plugin>
1473           <artifactId>maven-enforcer-plugin</artifactId>
1474           <version>${enforcer.version}</version>
1475         </plugin>
1476         <plugin>
1477           <artifactId>maven-failsafe-plugin</artifactId>
1478           <version>${failsafe.version}</version>
1479         </plugin>
1480         <plugin>
1481           <artifactId>maven-invoker-plugin</artifactId>
1482           <version>2.0.0</version>
1483         </plugin>
1484         <plugin>
1485           <artifactId>maven-jar-plugin</artifactId>
1486           <version>3.0.2</version>
1487         </plugin>
1488         <plugin>
1489           <artifactId>maven-dependency-plugin</artifactId>
1490           <version>2.10</version>
1491           <executions>
1492             <execution>
1493               <id>unpack-license</id>
1494               <phase>generate-resources</phase>
1495               <goals><goal>unpack</goal></goals>
1496               <configuration>
1497                 <artifactItems>
1498                   <artifactItem>
1499                     <groupId>org.opendaylight.odlparent</groupId>
1500                     <artifactId>odl-license</artifactId>
1501                     <version>0.2.0-SNAPSHOT</version>
1502                   </artifactItem>
1503                 </artifactItems>
1504                 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1505                 <excludes>META-INF/**</excludes>
1506               </configuration>
1507             </execution>
1508           </executions>
1509         </plugin>
1510
1511         <plugin>
1512           <artifactId>maven-plugin-plugin</artifactId>
1513           <version>${maven.plugin.version}</version>
1514         </plugin>
1515
1516         <plugin>
1517           <artifactId>maven-remote-resources-plugin</artifactId>
1518           <version>1.5</version>
1519         </plugin>
1520         <plugin>
1521           <artifactId>maven-resources-plugin</artifactId>
1522           <version>3.0.1</version>
1523         </plugin>
1524         <plugin>
1525           <artifactId>maven-shade-plugin</artifactId>
1526           <version>2.4.3</version>
1527         </plugin>
1528         <plugin>
1529           <artifactId>maven-source-plugin</artifactId>
1530           <version>3.0.1</version>
1531           <executions>
1532             <execution>
1533               <id>attach-sources</id>
1534               <phase>verify</phase>
1535               <goals>
1536                 <goal>jar-no-fork</goal>
1537               </goals>
1538             </execution>
1539           </executions>
1540         </plugin>
1541         <plugin>
1542           <artifactId>maven-surefire-plugin</artifactId>
1543           <version>${maven.surefire.version}</version>
1544           <configuration>
1545             <redirectTestOutputToFile>true</redirectTestOutputToFile>
1546             <trimStackTrace>false</trimStackTrace>
1547           </configuration>
1548         </plugin>
1549
1550         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1551         <plugin>
1552           <!-- Support Blueprint XML construction using annotations -->
1553           <groupId>org.apache.aries.blueprint</groupId>
1554           <artifactId>blueprint-maven-plugin</artifactId>
1555           <version>1.4.0</version>
1556           <configuration>
1557             <scanPaths>
1558               <scanPath>org.opendaylight</scanPath>
1559             </scanPaths>
1560           </configuration>
1561           <dependencies>
1562             <dependency>
1563               <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1564               <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1565               <groupId>org.apache.xbean</groupId>
1566               <artifactId>xbean-finder-shaded</artifactId>
1567               <version>4.5</version>
1568             </dependency>
1569           </dependencies>
1570           <executions>
1571             <execution>
1572               <goals>
1573                 <goal>blueprint-generate</goal>
1574               </goals>
1575             </execution>
1576           </executions>
1577         </plugin>
1578
1579         <plugin>
1580           <groupId>org.apache.felix</groupId>
1581           <artifactId>maven-bundle-plugin</artifactId>
1582           <version>${maven.bundle.version}</version>
1583           <extensions>true</extensions>
1584           <configuration>
1585             <instructions>
1586               <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1587                    so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1588                    and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present.  -->
1589               <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1590             </instructions>
1591           </configuration>
1592         </plugin>
1593
1594         <plugin>
1595           <groupId>org.apache.karaf.tooling</groupId>
1596           <artifactId>karaf-maven-plugin</artifactId>
1597           <version>${karaf.version}</version>
1598         </plugin>
1599
1600         <plugin>
1601           <groupId>org.apache.servicemix.tooling</groupId>
1602           <artifactId>depends-maven-plugin</artifactId>
1603           <version>1.3.1</version>
1604           <executions>
1605             <execution>
1606               <id>generate-depends-file</id>
1607               <goals>
1608                 <goal>generate-depends-file</goal>
1609               </goals>
1610             </execution>
1611           </executions>
1612         </plugin>
1613
1614         <plugin>
1615           <groupId>org.codehaus.enunciate</groupId>
1616           <artifactId>maven-enunciate-plugin</artifactId>
1617           <version>${enunciate.version}</version>
1618         </plugin>
1619         <plugin>
1620           <groupId>org.codehaus.groovy.maven</groupId>
1621           <artifactId>gmaven-plugin</artifactId>
1622           <version>1.0</version>
1623         </plugin>
1624         <plugin>
1625           <groupId>org.codehaus.mojo</groupId>
1626           <artifactId>build-helper-maven-plugin</artifactId>
1627           <version>1.12</version>
1628         </plugin>
1629         <plugin>
1630           <groupId>org.codehaus.mojo</groupId>
1631           <artifactId>findbugs-maven-plugin</artifactId>
1632           <version>3.0.4</version>
1633           <dependencies>
1634             <dependency>
1635               <groupId>org.opendaylight.odlparent</groupId>
1636               <artifactId>findbugs</artifactId>
1637               <version>1.8.0-SNAPSHOT</version>
1638             </dependency>
1639           </dependencies>
1640           <configuration>
1641             <!--
1642               Enables analysis which takes more memory but finds more bugs.
1643               If you run out of memory, changes the value of the effort element
1644               to 'Low'.
1645             -->
1646             <effort>Max</effort>
1647             <!-- Reports all bugs (other values are medium and max) -->
1648             <threshold>Low</threshold>
1649             <!-- Build doesn't fail if problems are found -->
1650             <failOnError>false</failOnError>
1651             <!-- References the excluded rules -->
1652             <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1653             <!-- Produces XML report -->
1654             <xmlOutput>true</xmlOutput>
1655             <!-- Configures the directory in which the XML report is created -->
1656             <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1657             </configuration>
1658             <executions>
1659               <!--
1660                 Ensures that FindBugs inspects source code when project is compiled.
1661               -->
1662               <execution>
1663                 <id>analyze-compile</id>
1664                 <phase>compile</phase>
1665                 <goals>
1666                   <goal>check</goal>
1667                 </goals>
1668               </execution>
1669             </executions>
1670         </plugin>
1671         <plugin>
1672           <groupId>org.codehaus.mojo</groupId>
1673           <artifactId>properties-maven-plugin</artifactId>
1674           <version>${propertymavenplugin.version}</version>
1675         </plugin>
1676         <plugin>
1677           <groupId>org.eclipse.xtend</groupId>
1678           <artifactId>xtend-maven-plugin</artifactId>
1679           <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1680           <version>2.11.0</version>
1681           <executions>
1682             <execution>
1683               <goals>
1684                 <goal>compile</goal>
1685                 <goal>testCompile</goal>
1686               </goals>
1687               <configuration>
1688                 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1689                 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1690               </configuration>
1691             </execution>
1692           </executions>
1693         </plugin>
1694         <plugin>
1695           <groupId>org.eclipse.m2e</groupId>
1696           <artifactId>lifecycle-mapping</artifactId>
1697           <version>1.0.0</version>
1698           <configuration>
1699             <lifecycleMappingMetadata>
1700               <pluginExecutions>
1701                 <pluginExecution>
1702                   <pluginExecutionFilter>
1703                     <groupId>org.apache.felix</groupId>
1704                     <artifactId>maven-bundle-plugin</artifactId>
1705                     <versionRange>[1.0,)</versionRange>
1706                     <goals>
1707                       <goal>manifest</goal>
1708                     </goals>
1709                   </pluginExecutionFilter>
1710                   <action>
1711                     <execute/>
1712                   </action>
1713                 </pluginExecution>
1714                 <pluginExecution>
1715                   <pluginExecutionFilter>
1716                     <groupId>org.apache.maven.plugins</groupId>
1717                     <artifactId>maven-enforcer-plugin</artifactId>
1718                     <versionRange>[1.0.0,)</versionRange>
1719                     <goals>
1720                       <goal>enforce</goal>
1721                     </goals>
1722                   </pluginExecutionFilter>
1723                   <action>
1724                     <ignore/>
1725                   </action>
1726                 </pluginExecution>
1727                 <pluginExecution>
1728                   <pluginExecutionFilter>
1729                     <groupId>org.apache.maven.plugins</groupId>
1730                     <artifactId>maven-dependency-plugin</artifactId>
1731                     <versionRange>[2.10,)</versionRange>
1732                     <goals>
1733                       <goal>unpack</goal>
1734                     </goals>
1735                   </pluginExecutionFilter>
1736                   <action>
1737                     <ignore/>
1738                   </action>
1739                 </pluginExecution>
1740                 <pluginExecution>
1741                   <pluginExecutionFilter>
1742                     <groupId>org.apache.maven.plugins</groupId>
1743                     <artifactId>maven-pmd-plugin</artifactId>
1744                     <versionRange>[3.6,)</versionRange>
1745                     <goals>
1746                       <goal>cpd-check</goal>
1747                     </goals>
1748                   </pluginExecutionFilter>
1749                   <action>
1750                     <ignore/>
1751                   </action>
1752                 </pluginExecution>
1753                 <!-- The plugin will eventually be removed, remove this too at that point -->
1754                 <pluginExecution>
1755                   <pluginExecutionFilter>
1756                     <groupId>org.apache.maven.plugins</groupId>
1757                     <artifactId>maven-antrun-plugin</artifactId>
1758                     <versionRange>[1.8,)</versionRange>
1759                     <goals>
1760                       <goal>run</goal>
1761                     </goals>
1762                   </pluginExecutionFilter>
1763                   <action>
1764                     <ignore/>
1765                   </action>
1766                 </pluginExecution>
1767                 <pluginExecution>
1768                   <pluginExecutionFilter>
1769                     <groupId>org.apache.servicemix.tooling</groupId>
1770                     <artifactId>depends-maven-plugin</artifactId>
1771                     <versionRange>[1.2,)</versionRange>
1772                     <goals>
1773                       <goal>generate-depends-file</goal>
1774                     </goals>
1775                   </pluginExecutionFilter>
1776                   <action>
1777                     <execute/>
1778                   </action>
1779                 </pluginExecution>
1780                 <pluginExecution>
1781                   <pluginExecutionFilter>
1782                     <groupId>org.jacoco</groupId>
1783                     <artifactId>jacoco-maven-plugin</artifactId>
1784                     <versionRange>[0.7.0,)</versionRange>
1785                     <goals>
1786                       <goal>prepare-agent</goal>
1787                       <goal>report</goal>
1788                     </goals>
1789                   </pluginExecutionFilter>
1790                   <action>
1791                     <ignore/>
1792                   </action>
1793                 </pluginExecution>
1794
1795                 <pluginExecution>
1796                   <pluginExecutionFilter>
1797                     <groupId>org.ops4j.pax.exam</groupId>
1798                     <artifactId>maven-paxexam-plugin</artifactId>
1799                     <versionRange>[1.2.4,)</versionRange>
1800                     <goals>
1801                       <goal>generate-depends-file</goal>
1802                     </goals>
1803                   </pluginExecutionFilter>
1804                   <action>
1805                     <ignore/>
1806                   </action>
1807                 </pluginExecution>
1808
1809               </pluginExecutions>
1810             </lifecycleMappingMetadata>
1811           </configuration>
1812         </plugin>
1813
1814         <plugin>
1815           <groupId>org.jacoco</groupId>
1816           <artifactId>jacoco-maven-plugin</artifactId>
1817           <version>${jacoco.version}</version>
1818           <configuration>
1819             <!-- Note: This exclusion list should match <sonar.exclusions>
1820                        property above -->
1821             <excludes>
1822               <exclude>**/gen/**</exclude>
1823               <exclude>**/generated-sources/**</exclude>
1824               <exclude>**/generated-test-sources/**</exclude>
1825               <exclude>**/yang-gen/**</exclude>
1826               <exclude>**/yang-gen-config/**</exclude>
1827               <exclude>**/yang-gen-sal/**</exclude>
1828               <exclude>**/yang-gen-code/**</exclude>
1829               <exclude>**/pax/**</exclude>
1830             </excludes>
1831           </configuration>
1832         </plugin>
1833
1834         <plugin>
1835           <groupId>org.ops4j.pax.exam</groupId>
1836           <artifactId>maven-paxexam-plugin</artifactId>
1837           <version>1.2.4</version>
1838         </plugin>
1839
1840         <plugin>
1841           <groupId>org.codehaus.mojo</groupId>
1842           <artifactId>jdepend-maven-plugin</artifactId>
1843           <version>2.0</version>
1844           <executions>
1845             <execution>
1846               <phase>site</phase>
1847               <goals>
1848                 <goal>generate-no-fork</goal>
1849               </goals>
1850             </execution>
1851           </executions>
1852         </plugin>
1853       </plugins>
1854     </pluginManagement>
1855
1856     <plugins>
1857       <plugin>
1858         <artifactId>maven-dependency-plugin</artifactId>
1859       </plugin>
1860       <plugin>
1861         <artifactId>maven-checkstyle-plugin</artifactId>
1862       </plugin>
1863       <plugin>
1864           <artifactId>maven-pmd-plugin</artifactId>
1865       </plugin>
1866       <plugin>
1867         <artifactId>maven-source-plugin</artifactId>
1868       </plugin>
1869       <plugin>
1870         <artifactId>maven-javadoc-plugin</artifactId>
1871       </plugin>
1872
1873       <!-- Jacoco / Sonar -->
1874       <plugin>
1875         <groupId>org.jacoco</groupId>
1876         <artifactId>jacoco-maven-plugin</artifactId>
1877         <executions>
1878           <execution>
1879             <id>pre-unit-test</id>
1880             <goals>
1881               <goal>prepare-agent</goal>
1882             </goals>
1883             <configuration>
1884               <destFile>${sonar.jacoco.reportPath}</destFile>
1885             </configuration>
1886           </execution>
1887           <execution>
1888             <id>post-unit-test</id>
1889             <goals>
1890               <goal>report</goal>
1891             </goals>
1892             <configuration>
1893               <dataFile>${sonar.jacoco.reportPath}</dataFile>
1894             </configuration>
1895           </execution>
1896         </executions>
1897       </plugin>
1898
1899       <plugin>
1900         <groupId>com.alexecollins.maven.plugin</groupId>
1901         <artifactId>script-maven-plugin</artifactId>
1902         <version>1.0.0</version>
1903         <executions>
1904            <execution>
1905              <phase>prepare-package</phase>
1906              <goals>
1907                <goal>execute</goal>
1908              </goals>
1909              <configuration>
1910                <script>
1911                  // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1912                  // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1913                  //  odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1914                  //  static class methods only - it will be MUCH easier to write!)
1915                  void copy(File root, String glob, File target) {
1916                      java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1917                      Iterator dirStreamIterator = dirStream.iterator();
1918                      while (dirStreamIterator.hasNext()) {
1919                          java.nio.file.Path path = dirStreamIterator.next();
1920                          java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1921                              new java.nio.file.CopyOption[] {
1922                                  java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1923                                  java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1924                              }
1925                          );
1926                      }
1927                      dirStream.close();
1928                  }
1929
1930                  File gitRepoRootDir = project.basedir;
1931                  while (!new File(gitRepoRootDir, ".git").exists() &amp;&amp; gitRepoRootDir.getParentFile() != null) {
1932                      gitRepoRootDir = gitRepoRootDir.getParentFile();
1933                  }
1934
1935                  File target = new File(project.build.outputDirectory);
1936                  target.mkdirs();
1937                  copy(gitRepoRootDir, "README*", target);
1938                  copy(gitRepoRootDir, "CONTRIBUTING*", target);
1939                  copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1940                </script>
1941              </configuration>
1942            </execution>
1943          </executions>
1944          <dependencies>
1945            <dependency>
1946              <groupId>org.apache-extras.beanshell</groupId>
1947              <artifactId>bsh</artifactId>
1948              <version>2.0b6</version>
1949            </dependency>
1950          </dependencies>
1951       </plugin>
1952
1953       <!-- Blueprint dependency injection -->
1954       <!-- Remove when upgrading to plugin 1.5.0, and use
1955            <configuration><generatedDir>org/opendaylight/blueprint/</...></...> -->
1956       <!-- See https://issues.apache.org/jira/browse/ARIES-1597 -->
1957       <plugin>
1958         <artifactId>maven-antrun-plugin</artifactId>
1959         <executions>
1960           <!-- This should only run once, in the process-classes phase; but we need it to run after
1961                process-classes in child projects. Attaching to process-test-classes and prepare-package
1962                ensures that the file will be moved whether tests are skipped or not. -->
1963           <execution>
1964             <id>move-autowire-test</id>
1965             <phase>process-test-classes</phase>
1966             <goals>
1967               <goal>run</goal>
1968             </goals>
1969             <configuration>
1970               <target>
1971                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1972                 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1973                       todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1974                       failonerror="false" quiet="true" />
1975               </target>
1976             </configuration>
1977           </execution>
1978           <execution>
1979             <id>move-autowire-package</id>
1980             <phase>prepare-package</phase>
1981             <goals>
1982               <goal>run</goal>
1983             </goals>
1984             <configuration>
1985               <target>
1986                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1987                 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1988                       todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1989                       failonerror="false" quiet="true" />
1990               </target>
1991             </configuration>
1992           </execution>
1993         </executions>
1994       </plugin>
1995     </plugins>
1996   </build>
1997
1998   <reporting>
1999     <plugins>
2000       <plugin>
2001         <artifactId>maven-checkstyle-plugin</artifactId>
2002         <version>${checkstyle.version}</version>
2003       </plugin>
2004
2005       <!-- FIXME: activate this
2006       <plugin>
2007         <artifactId>maven-project-info-reports-plugin</artifactId>
2008         <version>${projectinfo}</version>
2009       </plugin-->
2010       <plugin>
2011         <groupId>org.codehaus.mojo</groupId>
2012         <artifactId>jdepend-maven-plugin</artifactId>
2013         <reportSets>
2014           <reportSet>
2015             <reports>
2016               <report>generate-no-fork</report>
2017             </reports>
2018           </reportSet>
2019         </reportSets>
2020       </plugin>
2021       <plugin>
2022         <artifactId>maven-javadoc-plugin</artifactId>
2023         <configuration>
2024           <links>
2025             <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2026             <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
2027             <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
2028             <link>http://netty.io/4.0/api/</link>
2029           </links>
2030         </configuration>
2031       </plugin>
2032     </plugins>
2033   </reporting>
2034
2035   <!--
2036     Maven Site Configuration
2037
2038     The following configuration is necessary for maven-site-plugin to
2039     correctly identify the correct deployment path for OpenDaylight Maven
2040     sites.
2041   -->
2042   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2043
2044   <distributionManagement>
2045     <site>
2046       <id>opendaylight-site</id>
2047       <url>${nexus.site.url}/${project.artifactId}/</url>
2048     </site>
2049   </distributionManagement>
2050
2051 </project>