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