e98b37fe1ac93dbfb5b56cc6bc15bc66fe7767f0
[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-remote-resources-plugin</artifactId>
1512           <version>1.5</version>
1513         </plugin>
1514         <plugin>
1515           <artifactId>maven-resources-plugin</artifactId>
1516           <version>3.0.1</version>
1517         </plugin>
1518         <plugin>
1519           <artifactId>maven-shade-plugin</artifactId>
1520           <version>2.4.3</version>
1521         </plugin>
1522         <plugin>
1523           <artifactId>maven-source-plugin</artifactId>
1524           <version>3.0.1</version>
1525           <executions>
1526             <execution>
1527               <id>attach-sources</id>
1528               <phase>verify</phase>
1529               <goals>
1530                 <goal>jar-no-fork</goal>
1531               </goals>
1532             </execution>
1533           </executions>
1534         </plugin>
1535         <plugin>
1536           <artifactId>maven-surefire-plugin</artifactId>
1537           <version>${maven.surefire.version}</version>
1538           <configuration>
1539             <redirectTestOutputToFile>true</redirectTestOutputToFile>
1540             <trimStackTrace>false</trimStackTrace>
1541           </configuration>
1542         </plugin>
1543
1544         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1545         <plugin>
1546           <!-- Support Blueprint XML construction using annotations -->
1547           <groupId>org.apache.aries.blueprint</groupId>
1548           <artifactId>blueprint-maven-plugin</artifactId>
1549           <version>1.4.0</version>
1550           <configuration>
1551             <scanPaths>
1552               <scanPath>org.opendaylight</scanPath>
1553             </scanPaths>
1554           </configuration>
1555           <dependencies>
1556             <dependency>
1557               <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1558               <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1559               <groupId>org.apache.xbean</groupId>
1560               <artifactId>xbean-finder-shaded</artifactId>
1561               <version>4.5</version>
1562             </dependency>
1563           </dependencies>
1564           <executions>
1565             <execution>
1566               <goals>
1567                 <goal>blueprint-generate</goal>
1568               </goals>
1569             </execution>
1570           </executions>
1571         </plugin>
1572
1573         <plugin>
1574           <groupId>org.apache.felix</groupId>
1575           <artifactId>maven-bundle-plugin</artifactId>
1576           <version>${maven.bundle.version}</version>
1577           <extensions>true</extensions>
1578           <configuration>
1579             <instructions>
1580               <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1581                    so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1582                    and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present.  -->
1583               <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1584             </instructions>
1585           </configuration>
1586         </plugin>
1587
1588         <plugin>
1589           <groupId>org.apache.karaf.tooling</groupId>
1590           <artifactId>karaf-maven-plugin</artifactId>
1591           <version>${karaf.version}</version>
1592         </plugin>
1593
1594         <plugin>
1595           <groupId>org.apache.servicemix.tooling</groupId>
1596           <artifactId>depends-maven-plugin</artifactId>
1597           <version>1.3.1</version>
1598           <executions>
1599             <execution>
1600               <id>generate-depends-file</id>
1601               <goals>
1602                 <goal>generate-depends-file</goal>
1603               </goals>
1604             </execution>
1605           </executions>
1606         </plugin>
1607
1608         <plugin>
1609           <groupId>org.codehaus.enunciate</groupId>
1610           <artifactId>maven-enunciate-plugin</artifactId>
1611           <version>${enunciate.version}</version>
1612         </plugin>
1613         <plugin>
1614           <groupId>org.codehaus.groovy.maven</groupId>
1615           <artifactId>gmaven-plugin</artifactId>
1616           <version>1.0</version>
1617         </plugin>
1618         <plugin>
1619           <groupId>org.codehaus.mojo</groupId>
1620           <artifactId>build-helper-maven-plugin</artifactId>
1621           <version>1.12</version>
1622         </plugin>
1623         <plugin>
1624           <groupId>org.codehaus.mojo</groupId>
1625           <artifactId>findbugs-maven-plugin</artifactId>
1626           <version>3.0.4</version>
1627           <dependencies>
1628             <dependency>
1629               <groupId>org.opendaylight.odlparent</groupId>
1630               <artifactId>findbugs</artifactId>
1631               <version>1.8.0-SNAPSHOT</version>
1632             </dependency>
1633           </dependencies>
1634           <configuration>
1635             <!--
1636               Enables analysis which takes more memory but finds more bugs.
1637               If you run out of memory, changes the value of the effort element
1638               to 'Low'.
1639             -->
1640             <effort>Max</effort>
1641             <!-- Reports all bugs (other values are medium and max) -->
1642             <threshold>Low</threshold>
1643             <!-- Build doesn't fail if problems are found -->
1644             <failOnError>false</failOnError>
1645             <!-- References the excluded rules -->
1646             <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1647             <!-- Produces XML report -->
1648             <xmlOutput>true</xmlOutput>
1649             <!-- Configures the directory in which the XML report is created -->
1650             <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1651             </configuration>
1652             <executions>
1653               <!--
1654                 Ensures that FindBugs inspects source code when project is compiled.
1655               -->
1656               <execution>
1657                 <id>analyze-compile</id>
1658                 <phase>compile</phase>
1659                 <goals>
1660                   <goal>check</goal>
1661                 </goals>
1662               </execution>
1663             </executions>
1664         </plugin>
1665         <plugin>
1666           <groupId>org.codehaus.mojo</groupId>
1667           <artifactId>properties-maven-plugin</artifactId>
1668           <version>${propertymavenplugin.version}</version>
1669         </plugin>
1670         <plugin>
1671           <groupId>org.eclipse.xtend</groupId>
1672           <artifactId>xtend-maven-plugin</artifactId>
1673           <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1674           <version>2.11.0</version>
1675           <executions>
1676             <execution>
1677               <goals>
1678                 <goal>compile</goal>
1679                 <goal>testCompile</goal>
1680               </goals>
1681               <configuration>
1682                 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1683                 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1684               </configuration>
1685             </execution>
1686           </executions>
1687         </plugin>
1688         <plugin>
1689           <groupId>org.eclipse.m2e</groupId>
1690           <artifactId>lifecycle-mapping</artifactId>
1691           <version>1.0.0</version>
1692           <configuration>
1693             <lifecycleMappingMetadata>
1694               <pluginExecutions>
1695                 <pluginExecution>
1696                   <pluginExecutionFilter>
1697                     <groupId>org.apache.felix</groupId>
1698                     <artifactId>maven-bundle-plugin</artifactId>
1699                     <versionRange>[1.0,)</versionRange>
1700                     <goals>
1701                       <goal>manifest</goal>
1702                     </goals>
1703                   </pluginExecutionFilter>
1704                   <action>
1705                     <execute/>
1706                   </action>
1707                 </pluginExecution>
1708                 <pluginExecution>
1709                   <pluginExecutionFilter>
1710                     <groupId>org.apache.maven.plugins</groupId>
1711                     <artifactId>maven-enforcer-plugin</artifactId>
1712                     <versionRange>[1.0.0,)</versionRange>
1713                     <goals>
1714                       <goal>enforce</goal>
1715                     </goals>
1716                   </pluginExecutionFilter>
1717                   <action>
1718                     <ignore/>
1719                   </action>
1720                 </pluginExecution>
1721                 <pluginExecution>
1722                   <pluginExecutionFilter>
1723                     <groupId>org.apache.maven.plugins</groupId>
1724                     <artifactId>maven-dependency-plugin</artifactId>
1725                     <versionRange>[2.10,)</versionRange>
1726                     <goals>
1727                       <goal>unpack</goal>
1728                     </goals>
1729                   </pluginExecutionFilter>
1730                   <action>
1731                     <ignore/>
1732                   </action>
1733                 </pluginExecution>
1734                 <pluginExecution>
1735                   <pluginExecutionFilter>
1736                     <groupId>org.apache.maven.plugins</groupId>
1737                     <artifactId>maven-pmd-plugin</artifactId>
1738                     <versionRange>[3.6,)</versionRange>
1739                     <goals>
1740                       <goal>cpd-check</goal>
1741                     </goals>
1742                   </pluginExecutionFilter>
1743                   <action>
1744                     <ignore/>
1745                   </action>
1746                 </pluginExecution>
1747                 <!-- The plugin will eventually be removed, remove this too at that point -->
1748                 <pluginExecution>
1749                   <pluginExecutionFilter>
1750                     <groupId>org.apache.maven.plugins</groupId>
1751                     <artifactId>maven-antrun-plugin</artifactId>
1752                     <versionRange>[1.8,)</versionRange>
1753                     <goals>
1754                       <goal>run</goal>
1755                     </goals>
1756                   </pluginExecutionFilter>
1757                   <action>
1758                     <ignore/>
1759                   </action>
1760                 </pluginExecution>
1761                 <pluginExecution>
1762                   <pluginExecutionFilter>
1763                     <groupId>org.apache.servicemix.tooling</groupId>
1764                     <artifactId>depends-maven-plugin</artifactId>
1765                     <versionRange>[1.2,)</versionRange>
1766                     <goals>
1767                       <goal>generate-depends-file</goal>
1768                     </goals>
1769                   </pluginExecutionFilter>
1770                   <action>
1771                     <execute/>
1772                   </action>
1773                 </pluginExecution>
1774                 <pluginExecution>
1775                   <pluginExecutionFilter>
1776                     <groupId>org.jacoco</groupId>
1777                     <artifactId>jacoco-maven-plugin</artifactId>
1778                     <versionRange>[0.7.0,)</versionRange>
1779                     <goals>
1780                       <goal>prepare-agent</goal>
1781                       <goal>report</goal>
1782                     </goals>
1783                   </pluginExecutionFilter>
1784                   <action>
1785                     <ignore/>
1786                   </action>
1787                 </pluginExecution>
1788
1789                 <pluginExecution>
1790                   <pluginExecutionFilter>
1791                     <groupId>org.ops4j.pax.exam</groupId>
1792                     <artifactId>maven-paxexam-plugin</artifactId>
1793                     <versionRange>[1.2.4,)</versionRange>
1794                     <goals>
1795                       <goal>generate-depends-file</goal>
1796                     </goals>
1797                   </pluginExecutionFilter>
1798                   <action>
1799                     <ignore/>
1800                   </action>
1801                 </pluginExecution>
1802
1803               </pluginExecutions>
1804             </lifecycleMappingMetadata>
1805           </configuration>
1806         </plugin>
1807
1808         <plugin>
1809           <groupId>org.jacoco</groupId>
1810           <artifactId>jacoco-maven-plugin</artifactId>
1811           <version>${jacoco.version}</version>
1812           <configuration>
1813             <!-- Note: This exclusion list should match <sonar.exclusions>
1814                        property above -->
1815             <excludes>
1816               <exclude>**/gen/**</exclude>
1817               <exclude>**/generated-sources/**</exclude>
1818               <exclude>**/generated-test-sources/**</exclude>
1819               <exclude>**/yang-gen/**</exclude>
1820               <exclude>**/yang-gen-config/**</exclude>
1821               <exclude>**/yang-gen-sal/**</exclude>
1822               <exclude>**/yang-gen-code/**</exclude>
1823               <exclude>**/pax/**</exclude>
1824             </excludes>
1825           </configuration>
1826         </plugin>
1827
1828         <plugin>
1829           <groupId>org.ops4j.pax.exam</groupId>
1830           <artifactId>maven-paxexam-plugin</artifactId>
1831           <version>1.2.4</version>
1832         </plugin>
1833
1834         <plugin>
1835           <groupId>org.codehaus.mojo</groupId>
1836           <artifactId>jdepend-maven-plugin</artifactId>
1837           <version>2.0</version>
1838           <executions>
1839             <execution>
1840               <phase>site</phase>
1841               <goals>
1842                 <goal>generate-no-fork</goal>
1843               </goals>
1844             </execution>
1845           </executions>
1846         </plugin>
1847       </plugins>
1848     </pluginManagement>
1849
1850     <plugins>
1851       <plugin>
1852         <artifactId>maven-dependency-plugin</artifactId>
1853       </plugin>
1854       <plugin>
1855         <artifactId>maven-checkstyle-plugin</artifactId>
1856       </plugin>
1857       <plugin>
1858           <artifactId>maven-pmd-plugin</artifactId>
1859       </plugin>
1860       <plugin>
1861         <artifactId>maven-source-plugin</artifactId>
1862       </plugin>
1863       <plugin>
1864         <artifactId>maven-javadoc-plugin</artifactId>
1865       </plugin>
1866
1867       <!-- Jacoco / Sonar -->
1868       <plugin>
1869         <groupId>org.jacoco</groupId>
1870         <artifactId>jacoco-maven-plugin</artifactId>
1871         <executions>
1872           <execution>
1873             <id>pre-unit-test</id>
1874             <goals>
1875               <goal>prepare-agent</goal>
1876             </goals>
1877             <configuration>
1878               <destFile>${sonar.jacoco.reportPath}</destFile>
1879             </configuration>
1880           </execution>
1881           <execution>
1882             <id>post-unit-test</id>
1883             <goals>
1884               <goal>report</goal>
1885             </goals>
1886             <configuration>
1887               <dataFile>${sonar.jacoco.reportPath}</dataFile>
1888             </configuration>
1889           </execution>
1890         </executions>
1891       </plugin>
1892
1893       <plugin>
1894         <groupId>com.alexecollins.maven.plugin</groupId>
1895         <artifactId>script-maven-plugin</artifactId>
1896         <version>1.0.0</version>
1897         <executions>
1898            <execution>
1899              <phase>prepare-package</phase>
1900              <goals>
1901                <goal>execute</goal>
1902              </goals>
1903              <configuration>
1904                <script>
1905                  // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1906                  // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1907                  //  odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1908                  //  static class methods only - it will be MUCH easier to write!)
1909                  void copy(File root, String glob, File target) {
1910                      java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1911                      Iterator dirStreamIterator = dirStream.iterator();
1912                      while (dirStreamIterator.hasNext()) {
1913                          java.nio.file.Path path = dirStreamIterator.next();
1914                          java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1915                              new java.nio.file.CopyOption[] {
1916                                  java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1917                                  java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1918                              }
1919                          );
1920                      }
1921                      dirStream.close();
1922                  }
1923
1924                  File gitRepoRootDir = project.basedir;
1925                  while (!new File(gitRepoRootDir, ".git").exists() &amp;&amp; gitRepoRootDir.getParentFile() != null) {
1926                      gitRepoRootDir = gitRepoRootDir.getParentFile();
1927                  }
1928
1929                  File target = new File(project.build.outputDirectory);
1930                  target.mkdirs();
1931                  copy(gitRepoRootDir, "README*", target);
1932                  copy(gitRepoRootDir, "CONTRIBUTING*", target);
1933                  copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1934                </script>
1935              </configuration>
1936            </execution>
1937          </executions>
1938          <dependencies>
1939            <dependency>
1940              <groupId>org.apache-extras.beanshell</groupId>
1941              <artifactId>bsh</artifactId>
1942              <version>2.0b6</version>
1943            </dependency>
1944          </dependencies>
1945       </plugin>
1946
1947       <!-- Blueprint dependency injection -->
1948       <!-- Remove when upgrading to plugin 1.5.0, and use
1949            <configuration><generatedDir>org/opendaylight/blueprint/</...></...> -->
1950       <!-- See https://issues.apache.org/jira/browse/ARIES-1597 -->
1951       <plugin>
1952         <artifactId>maven-antrun-plugin</artifactId>
1953         <executions>
1954           <!-- This should only run once, in the process-classes phase; but we need it to run after
1955                process-classes in child projects. Attaching to process-test-classes and prepare-package
1956                ensures that the file will be moved whether tests are skipped or not. -->
1957           <execution>
1958             <id>move-autowire-test</id>
1959             <phase>process-test-classes</phase>
1960             <goals>
1961               <goal>run</goal>
1962             </goals>
1963             <configuration>
1964               <target>
1965                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1966                 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1967                       todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1968                       failonerror="false" quiet="true" />
1969               </target>
1970             </configuration>
1971           </execution>
1972           <execution>
1973             <id>move-autowire-package</id>
1974             <phase>prepare-package</phase>
1975             <goals>
1976               <goal>run</goal>
1977             </goals>
1978             <configuration>
1979               <target>
1980                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1981                 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1982                       todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1983                       failonerror="false" quiet="true" />
1984               </target>
1985             </configuration>
1986           </execution>
1987         </executions>
1988       </plugin>
1989     </plugins>
1990   </build>
1991
1992   <reporting>
1993     <plugins>
1994       <plugin>
1995         <artifactId>maven-checkstyle-plugin</artifactId>
1996         <version>${checkstyle.version}</version>
1997       </plugin>
1998
1999       <!-- FIXME: activate this
2000       <plugin>
2001         <artifactId>maven-project-info-reports-plugin</artifactId>
2002         <version>${projectinfo}</version>
2003       </plugin-->
2004       <plugin>
2005         <groupId>org.codehaus.mojo</groupId>
2006         <artifactId>jdepend-maven-plugin</artifactId>
2007         <reportSets>
2008           <reportSet>
2009             <reports>
2010               <report>generate-no-fork</report>
2011             </reports>
2012           </reportSet>
2013         </reportSets>
2014       </plugin>
2015       <plugin>
2016         <artifactId>maven-javadoc-plugin</artifactId>
2017         <configuration>
2018           <links>
2019             <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2020             <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
2021             <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
2022             <link>http://netty.io/4.0/api/</link>
2023           </links>
2024         </configuration>
2025       </plugin>
2026     </plugins>
2027   </reporting>
2028
2029   <!--
2030     Maven Site Configuration
2031
2032     The following configuration is necessary for maven-site-plugin to
2033     correctly identify the correct deployment path for OpenDaylight Maven
2034     sites.
2035   -->
2036   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2037
2038   <distributionManagement>
2039     <site>
2040       <id>opendaylight-site</id>
2041       <url>${nexus.site.url}/${project.artifactId}/</url>
2042     </site>
2043   </distributionManagement>
2044
2045 </project>