git-commit-id-plugin cannot fail build for new projects w.o. .git/
[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**,**/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         <!-- This transitively pulls com.google.inject:guice along -->
309         <artifactId>mycila-guice-jsr250</artifactId>
310         <!-- Make sure this version is in sync with the guice one below -->
311         <version>4.0.rc1</version>
312         <scope>test</scope>
313       </dependency>
314       <dependency>
315         <groupId>org.immutables</groupId>
316         <artifactId>value</artifactId>
317         <version>2.3.9</version>
318         <!-- Must be provided; <scope>test here breaks APT in Eclipse :( -->
319         <scope>provided</scope>
320       </dependency>
321       <dependency>
322         <!-- We repeat guice here, because some POM need only Guice, without mycila -->
323         <groupId>com.google.inject</groupId>
324         <artifactId>guice</artifactId>
325         <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
326              by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
327         <version>4.1.0</version>
328         <scope>test</scope>
329       </dependency>
330       <dependency>
331         <groupId>org.apache.commons</groupId>
332         <artifactId>commons-lang3</artifactId>
333         <version>3.5</version>
334       </dependency>
335       <dependency>
336         <groupId>commons-lang</groupId>
337         <artifactId>commons-lang</artifactId>
338         <version>2.6</version>
339       </dependency>
340       <dependency>
341         <groupId>commons-codec</groupId>
342         <artifactId>commons-codec</artifactId>
343         <version>1.10</version>
344       </dependency>
345       <!-- Jersey for JAXRS -->
346       <dependency>
347         <groupId>javax.ws.rs</groupId>
348         <artifactId>javax.ws.rs-api</artifactId>
349         <version>2.0.1</version>
350       </dependency>
351       <dependency>
352         <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
353         <artifactId>jersey-guava</artifactId>
354         <version>2.22.2</version>
355       </dependency>
356       <dependency>
357         <groupId>org.glassfish</groupId>
358         <artifactId>javax.json</artifactId>
359         <version>1.0.4</version>
360       </dependency>
361       <dependency>
362         <groupId>com.eclipsesource.jaxrs</groupId>
363         <artifactId>jersey-all</artifactId>
364         <version>2.22.2</version>
365       </dependency>
366
367       <!-- servlet 3.x support -->
368       <dependency>
369         <groupId>org.glassfish.jersey.containers</groupId>
370         <artifactId>jersey-container-servlet</artifactId>
371         <version>2.8</version>
372       </dependency>
373       <dependency>
374         <groupId>org.apache.geronimo.bundles</groupId>
375         <artifactId>json</artifactId>
376         <version>20090211_1</version>
377       </dependency>
378       <!-- FIXME : remove all dependencies for jersey 1.17 -->
379       <dependency>
380         <groupId>com.sun.jersey</groupId>
381         <artifactId>jersey-core</artifactId>
382         <version>1.17</version>
383       </dependency>
384       <dependency>
385         <groupId>com.sun.jersey</groupId>
386         <artifactId>jersey-json</artifactId>
387         <version>1.17</version>
388       </dependency>
389       <dependency>
390         <groupId>com.sun.jersey</groupId>
391         <artifactId>jersey-server</artifactId>
392         <version>1.17</version>
393       </dependency>
394       <dependency>
395         <groupId>com.sun.jersey</groupId>
396         <artifactId>jersey-servlet</artifactId>
397         <version>1.17</version>
398       </dependency>
399       <dependency>
400         <groupId>com.sun.jersey.jersey-test-framework</groupId>
401         <artifactId>jersey-test-framework-grizzly2</artifactId>
402         <version>1.17</version>
403         <scope>test</scope>
404       </dependency>
405       <dependency>
406         <groupId>com.sun.jersey.jersey-test-framework</groupId>
407         <artifactId>jersey-test-framework-inmemory</artifactId>
408         <version>1.17</version>
409         <scope>test</scope>
410       </dependency>
411       <dependency>
412         <groupId>com.sun.jersey</groupId>
413         <artifactId>jersey-client</artifactId>
414         <version>1.17</version>
415       </dependency>
416       <dependency>
417         <groupId>org.opendaylight.controller.thirdparty</groupId>
418         <artifactId>com.sun.jersey.jersey-servlet</artifactId>
419         <version>1.17</version>
420       </dependency>
421       <dependency>
422         <groupId>org.apache.shiro</groupId>
423         <artifactId>shiro-core</artifactId>
424         <version>1.3.2</version>
425       </dependency>
426       <dependency>
427         <groupId>org.apache.shiro</groupId>
428         <artifactId>shiro-web</artifactId>
429         <version>1.3.2</version>
430       </dependency>
431
432       <!-- Plugin integration -->
433       <dependency>
434         <groupId>net.java.dev.stax-utils</groupId>
435         <artifactId>stax-utils</artifactId>
436         <version>20070216</version>
437       </dependency>
438       <dependency>
439         <groupId>org.sonatype.plexus</groupId>
440         <artifactId>plexus-build-api</artifactId>
441         <version>0.0.7</version>
442       </dependency>
443       <dependency>
444         <groupId>org.codehaus.plexus</groupId>
445         <artifactId>plexus-slf4j-logging</artifactId>
446         <version>1.1</version>
447       </dependency>
448       <dependency>
449         <groupId>com.fasterxml.jackson.core</groupId>
450         <artifactId>jackson-annotations</artifactId>
451         <version>2.3.2</version>
452       </dependency>
453       <dependency>
454         <groupId>com.fasterxml.jackson.core</groupId>
455         <artifactId>jackson-core</artifactId>
456         <version>2.3.2</version>
457       </dependency>
458       <dependency>
459         <groupId>com.fasterxml.jackson.core</groupId>
460         <artifactId>jackson-databind</artifactId>
461         <version>2.3.2</version>
462       </dependency>
463       <dependency>
464         <groupId>com.fasterxml.jackson.datatype</groupId>
465         <artifactId>jackson-datatype-json-org</artifactId>
466         <version>2.3.2</version>
467       </dependency>
468       <!-- TODO do we really need resteasy ? -->
469       <dependency>
470           <groupId>org.jboss.resteasy</groupId>
471           <artifactId>jaxrs-api</artifactId>
472           <version>3.0.12.Final</version>
473       </dependency>
474
475       <dependency>
476         <groupId>com.fasterxml.jackson.jaxrs</groupId>
477         <artifactId>jackson-jaxrs-base</artifactId>
478         <version>2.3.2</version>
479       </dependency>
480       <dependency>
481         <groupId>com.fasterxml.jackson.jaxrs</groupId>
482         <artifactId>jackson-jaxrs-json-provider</artifactId>
483         <version>2.3.2</version>
484       </dependency>
485       <dependency>
486         <groupId>com.fasterxml.jackson.module</groupId>
487         <artifactId>jackson-module-jaxb-annotations</artifactId>
488         <version>2.3.2</version>
489       </dependency>
490       <dependency>
491         <groupId>com.sun.xml.txw2</groupId>
492         <artifactId>txw2</artifactId>
493         <version>20110809</version>
494       </dependency>
495       <dependency>
496         <groupId>com.github.romix</groupId>
497         <artifactId>java-concurrent-hash-trie-map</artifactId>
498         <version>0.2.23-ODL</version>
499       </dependency>
500       <dependency>
501         <groupId>com.google.code.findbugs</groupId>
502         <artifactId>jsr305</artifactId>
503         <version>3.0.0</version>
504       </dependency>
505       <dependency>
506         <groupId>com.google.code.findbugs</groupId>
507         <artifactId>annotations</artifactId>
508         <version>3.0.0</version>
509         <exclusions>
510           <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
511                the types of this artifact are already shaded inside the :annotations artifact.
512                This state is a temporary solution to allow all projects to gradually switch over
513                switch their <dependency><groupId>com.google.code.findbugs from
514                <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
515                The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
516             -->
517           <exclusion>
518             <groupId>net.jcip</groupId>
519             <!-- The types of this artifact are already shaded inside the :annotations artifact -->
520             <artifactId>jcip-annotations</artifactId>
521           </exclusion>
522         </exclusions>
523       </dependency>
524       <dependency>
525         <groupId>org.eclipse.jdt</groupId>
526         <artifactId>org.eclipse.jdt.annotation</artifactId>
527         <version>2.0.0</version>
528         <scope>provided</scope>
529       </dependency>
530       <dependency>
531         <groupId>com.google.code.gson</groupId>
532         <artifactId>gson</artifactId>
533         <version>2.7</version>
534       </dependency>
535       <dependency>
536         <groupId>commons-fileupload</groupId>
537         <artifactId>commons-fileupload</artifactId>
538         <version>1.3.2</version>
539       </dependency>
540       <dependency>
541         <groupId>commons-io</groupId>
542         <artifactId>commons-io</artifactId>
543         <version>2.4</version>
544       </dependency>
545       <dependency>
546         <groupId>commons-net</groupId>
547         <artifactId>commons-net</artifactId>
548         <version>3.5</version>
549       </dependency>
550       <dependency>
551         <groupId>eclipselink</groupId>
552         <artifactId>javax.persistence</artifactId>
553         <version>2.0.4.v201112161009</version>
554       </dependency>
555       <dependency>
556         <groupId>eclipselink</groupId>
557         <artifactId>javax.resource</artifactId>
558         <version>1.5.0.v200906010428</version>
559       </dependency>
560       <dependency>
561         <groupId>equinoxSDK381</groupId>
562         <artifactId>javax.servlet</artifactId>
563         <version>3.0.0.v201112011016</version>
564       </dependency>
565       <dependency>
566         <groupId>equinoxSDK381</groupId>
567         <artifactId>javax.servlet.jsp</artifactId>
568         <version>2.2.0.v201112011158</version>
569       </dependency>
570       <dependency>
571         <groupId>equinoxSDK381</groupId>
572         <artifactId>org.apache.felix.gogo.command</artifactId>
573         <version>0.8.0.v201108120515</version>
574       </dependency>
575       <dependency>
576         <groupId>equinoxSDK381</groupId>
577         <artifactId>org.apache.felix.gogo.runtime</artifactId>
578         <version>0.8.0.v201108120515</version>
579       </dependency>
580       <dependency>
581         <groupId>equinoxSDK381</groupId>
582         <artifactId>org.apache.felix.gogo.shell</artifactId>
583         <version>0.8.0.v201110170705</version>
584       </dependency>
585       <dependency>
586         <groupId>equinoxSDK381</groupId>
587         <artifactId>org.eclipse.equinox.cm</artifactId>
588         <version>1.0.400.v20120522-1841</version>
589       </dependency>
590       <dependency>
591         <groupId>equinoxSDK381</groupId>
592         <artifactId>org.eclipse.equinox.console</artifactId>
593         <version>1.0.0.v20120522-1841</version>
594       </dependency>
595       <dependency>
596         <groupId>equinoxSDK381</groupId>
597         <artifactId>org.eclipse.equinox.ds</artifactId>
598         <version>1.4.0.v20120522-1841</version>
599       </dependency>
600       <dependency>
601         <groupId>equinoxSDK381</groupId>
602         <artifactId>org.eclipse.equinox.launcher</artifactId>
603         <version>1.3.0.v20120522-1813</version>
604       </dependency>
605       <dependency>
606         <groupId>equinoxSDK381</groupId>
607         <artifactId>org.eclipse.equinox.util</artifactId>
608         <version>1.0.400.v20120522-2049</version>
609       </dependency>
610       <dependency>
611         <groupId>equinoxSDK381</groupId>
612         <artifactId>org.eclipse.osgi.services</artifactId>
613         <version>3.3.100.v20120522-1822</version>
614       </dependency>
615
616       <dependency>
617         <groupId>org.eclipse.tycho</groupId>
618         <artifactId>org.eclipse.osgi</artifactId>
619         <version>3.9.1.v20130814-1242</version>
620       </dependency>
621       <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
622       <dependency>
623         <groupId>equinoxSDK381</groupId>
624         <artifactId>org.eclipse.osgi</artifactId>
625         <version>3.8.1.v20120830-144521</version>
626       </dependency>
627
628       <!-- Gemini Web -->
629       <dependency>
630         <groupId>geminiweb</groupId>
631         <artifactId>org.eclipse.gemini.web.core</artifactId>
632         <version>2.2.0.RELEASE</version>
633       </dependency>
634       <dependency>
635         <groupId>geminiweb</groupId>
636         <artifactId>org.eclipse.gemini.web.extender</artifactId>
637         <version>2.2.0.RELEASE</version>
638       </dependency>
639       <dependency>
640         <groupId>geminiweb</groupId>
641         <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
642         <version>2.2.0.RELEASE</version>
643       </dependency>
644       <dependency>
645         <groupId>geminiweb</groupId>
646         <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
647         <version>3.6.0.RELEASE</version>
648       </dependency>
649       <dependency>
650         <groupId>geminiweb</groupId>
651         <artifactId>org.eclipse.virgo.util.common</artifactId>
652         <version>3.6.0.RELEASE</version>
653       </dependency>
654       <dependency>
655         <groupId>geminiweb</groupId>
656         <artifactId>org.eclipse.virgo.util.io</artifactId>
657         <version>3.6.0.RELEASE</version>
658       </dependency>
659       <dependency>
660         <groupId>geminiweb</groupId>
661         <artifactId>org.eclipse.virgo.util.math</artifactId>
662         <version>3.6.0.RELEASE</version>
663       </dependency>
664       <dependency>
665         <groupId>geminiweb</groupId>
666         <artifactId>org.eclipse.virgo.util.osgi</artifactId>
667         <version>3.6.0.RELEASE</version>
668       </dependency>
669       <dependency>
670         <groupId>geminiweb</groupId>
671         <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
672         <version>3.6.0.RELEASE</version>
673       </dependency>
674       <dependency>
675         <groupId>geminiweb</groupId>
676         <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
677         <version>3.6.0.RELEASE</version>
678       </dependency>
679       <!-- Netty -->
680       <dependency>
681         <groupId>io.netty</groupId>
682         <artifactId>netty-all</artifactId>
683         <!-- If these are updated, the version in features.xml needs to be changed too -->
684         <version>4.0.37.Final</version>
685       </dependency>
686       <dependency>
687         <groupId>io.netty</groupId>
688         <artifactId>netty-buffer</artifactId>
689         <version>4.0.37.Final</version>
690       </dependency>
691       <dependency>
692         <groupId>io.netty</groupId>
693         <artifactId>netty-codec</artifactId>
694         <version>4.0.37.Final</version>
695       </dependency>
696       <dependency>
697         <groupId>io.netty</groupId>
698         <artifactId>netty-codec-http</artifactId>
699         <version>4.0.37.Final</version>
700       </dependency>
701       <dependency>
702         <groupId>io.netty</groupId>
703         <artifactId>netty-common</artifactId>
704         <version>4.0.37.Final</version>
705       </dependency>
706       <dependency>
707         <groupId>io.netty</groupId>
708         <artifactId>netty-handler</artifactId>
709         <version>4.0.37.Final</version>
710       </dependency>
711       <dependency>
712         <groupId>io.netty</groupId>
713         <artifactId>netty-transport</artifactId>
714         <version>4.0.37.Final</version>
715       </dependency>
716       <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
717       platform and we can't require the build platform to have an implementation (e.g. OS X) -->
718       <dependency>
719         <groupId>io.netty</groupId>
720         <artifactId>netty-transport-native-epoll</artifactId>
721         <classifier>linux-x86_64</classifier>
722         <version>4.0.37.Final</version>
723       </dependency>
724       <dependency>
725         <groupId>javax.ws.rs</groupId>
726         <artifactId>jsr311-api</artifactId>
727         <version>1.1.1</version>
728       </dependency>
729       <dependency>
730         <groupId>orbit</groupId>
731         <artifactId>javax.activation</artifactId>
732         <version>1.1.0.v201211130549</version>
733       </dependency>
734       <dependency>
735         <groupId>orbit</groupId>
736         <artifactId>javax.annotation</artifactId>
737         <version>1.1.0.v201209060031</version>
738       </dependency>
739       <dependency>
740         <groupId>orbit</groupId>
741         <artifactId>javax.ejb</artifactId>
742         <version>3.1.1.v201204261316</version>
743       </dependency>
744       <dependency>
745         <groupId>orbit</groupId>
746         <artifactId>javax.el</artifactId>
747         <version>2.2.0.v201108011116</version>
748       </dependency>
749       <dependency>
750         <groupId>orbit</groupId>
751         <artifactId>javax.mail.glassfish</artifactId>
752         <version>1.4.1.v201108011116</version>
753       </dependency>
754       <dependency>
755         <groupId>javax.servlet</groupId>
756         <artifactId>javax.servlet-api</artifactId>
757         <version>3.0.1</version>
758       </dependency>
759       <dependency>
760         <groupId>orbit</groupId>
761         <artifactId>javax.servlet.jsp.jstl</artifactId>
762         <version>1.2.0.v201105211821</version>
763       </dependency>
764       <dependency>
765         <groupId>orbit</groupId>
766         <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
767         <version>1.2.0.v201210211230</version>
768       </dependency>
769       <dependency>
770         <groupId>orbit</groupId>
771         <artifactId>javax.xml.rpc</artifactId>
772         <version>1.1.0.v201005080400</version>
773       </dependency>
774       <dependency>
775         <groupId>orbit</groupId>
776         <artifactId>org.apache.catalina</artifactId>
777         <version>7.0.53.v201406061610</version>
778       </dependency>
779       <dependency>
780         <groupId>orbit</groupId>
781         <artifactId>org.apache.catalina.ha</artifactId>
782         <version>7.0.53.v201406070630</version>
783       </dependency>
784       <dependency>
785         <groupId>orbit</groupId>
786         <artifactId>org.apache.catalina.tribes</artifactId>
787         <version>7.0.53.v201406070630</version>
788       </dependency>
789       <dependency>
790         <groupId>orbit</groupId>
791         <artifactId>org.apache.coyote</artifactId>
792         <version>7.0.53.v201406070630</version>
793       </dependency>
794       <dependency>
795         <groupId>orbit</groupId>
796         <artifactId>org.apache.el</artifactId>
797         <version>7.0.53.v201406060720</version>
798       </dependency>
799       <dependency>
800         <groupId>orbit</groupId>
801         <artifactId>org.apache.jasper</artifactId>
802         <version>7.0.53.v201406070630</version>
803       </dependency>
804       <dependency>
805         <groupId>orbit</groupId>
806         <artifactId>org.apache.juli.extras</artifactId>
807         <version>7.0.53.v201406060720</version>
808       </dependency>
809       <dependency>
810         <groupId>orbit</groupId>
811         <artifactId>org.apache.tomcat.api</artifactId>
812         <version>7.0.53.v201406060720</version>
813       </dependency>
814       <dependency>
815         <groupId>orbit</groupId>
816         <artifactId>org.apache.tomcat.util</artifactId>
817         <version>7.0.53.v201406070630</version>
818       </dependency>
819       <dependency>
820         <groupId>org.aopalliance</groupId>
821         <artifactId>com.springsource.org.aopalliance</artifactId>
822         <version>1.0.0</version>
823       </dependency>
824       <dependency>
825         <groupId>org.apache.felix</groupId>
826         <artifactId>org.apache.felix.dependencymanager</artifactId>
827         <version>4.3.0</version>
828       </dependency>
829       <dependency>
830         <groupId>org.apache.felix</groupId>
831         <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
832         <version>4.0.4</version>
833       </dependency>
834       <dependency>
835         <groupId>org.apache.felix</groupId>
836         <artifactId>org.apache.felix.fileinstall</artifactId>
837         <version>3.5.4</version>
838       </dependency>
839       <dependency>
840         <groupId>org.apache.felix</groupId>
841         <artifactId>org.apache.felix.metatype</artifactId>
842         <version>1.1.2</version>
843       </dependency>
844       <!-- felix webconsole -->
845       <dependency>
846         <groupId>org.apache.felix</groupId>
847         <artifactId>org.apache.felix.webconsole</artifactId>
848         <version>4.2.14</version>
849         <!-- the all bundle includes all the necessary plugins -->
850         <classifier>all</classifier>
851       </dependency>
852       <dependency>
853         <groupId>org.bouncycastle</groupId>
854         <artifactId>bcpkix-jdk15on</artifactId>
855         <version>${bouncycastle.version}</version>
856       </dependency>
857       <dependency>
858         <groupId>org.bouncycastle</groupId>
859         <artifactId>bcprov-jdk15on</artifactId>
860         <version>${bouncycastle.version}</version>
861       </dependency>
862       <dependency>
863         <groupId>org.codehaus.enunciate</groupId>
864         <artifactId>enunciate-core-annotations</artifactId>
865         <version>${enunciate.version}</version>
866       </dependency>
867       <dependency>
868         <groupId>com.webcohesion.enunciate</groupId>
869         <artifactId>enunciate-core-annotations</artifactId>
870         <version>2.6.0</version>
871       </dependency>
872       <dependency>
873         <groupId>org.codehaus.jettison</groupId>
874         <artifactId>jettison</artifactId>
875         <version>1.3.7</version>
876       </dependency>
877       <!-- equinox http service bridge -->
878       <dependency>
879         <groupId>org.eclipse.equinox.http</groupId>
880         <artifactId>servlet</artifactId>
881         <version>1.0.0-v20070606</version>
882       </dependency>
883       <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
884          pull in javax.validation first:
885          http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
886       <dependency>
887         <groupId>org.eclipse.persistence</groupId>
888         <artifactId>org.eclipse.persistence.antlr</artifactId>
889         <version>2.6.2</version>
890       </dependency>
891       <dependency>
892         <groupId>org.eclipse.persistence</groupId>
893         <artifactId>org.eclipse.persistence.core</artifactId>
894         <version>2.6.2</version>
895       </dependency>
896       <dependency>
897         <groupId>org.eclipse.persistence</groupId>
898         <artifactId>org.eclipse.persistence.moxy</artifactId>
899         <version>2.6.2</version>
900       </dependency>
901       <dependency>
902         <groupId>javax.validation</groupId>
903         <artifactId>validation-api</artifactId>
904         <version>1.1.0.Final</version>
905       </dependency>
906       <dependency>
907         <groupId>org.javassist</groupId>
908         <artifactId>javassist</artifactId>
909         <version>3.20.0-GA</version>
910       </dependency>
911       <dependency>
912         <groupId>org.jboss.spec.javax.transaction</groupId>
913         <artifactId>jboss-transaction-api_1.1_spec</artifactId>
914         <version>1.0.1.Final</version>
915       </dependency>
916       <dependency>
917         <groupId>org.jolokia</groupId>
918         <artifactId>jolokia-osgi</artifactId>
919         <version>1.3.3</version>
920       </dependency>
921       <dependency>
922         <groupId>org.json</groupId>
923         <artifactId>json</artifactId>
924         <version>20131018</version>
925       </dependency>
926       <dependency>
927         <groupId>org.osgi</groupId>
928         <artifactId>org.osgi.compendium</artifactId>
929         <version>5.0.0</version>
930         <scope>provided</scope>
931       </dependency>
932       <dependency>
933         <groupId>org.osgi</groupId>
934         <artifactId>org.osgi.core</artifactId>
935         <version>${osgi.core.version}</version>
936         <scope>provided</scope>
937       </dependency>
938       <dependency>
939         <groupId>org.ow2.asm</groupId>
940         <artifactId>asm-all</artifactId>
941         <version>5.1</version>
942       </dependency>
943       <!-- Visual VM hook -->
944       <dependency>
945         <groupId>org.ow2.chameleon.management</groupId>
946         <artifactId>chameleon-mbeans</artifactId>
947         <version>1.0.0</version>
948       </dependency>
949       <dependency>
950         <groupId>org.springframework</groupId>
951         <artifactId>spring-aop</artifactId>
952         <version>3.2.17.RELEASE</version>
953       </dependency>
954       <dependency>
955         <groupId>org.springframework</groupId>
956         <artifactId>spring-beans</artifactId>
957         <version>3.2.17.RELEASE</version>
958       </dependency>
959       <dependency>
960         <groupId>org.springframework</groupId>
961         <artifactId>spring-context</artifactId>
962         <version>3.2.17.RELEASE</version>
963       </dependency>
964       <dependency>
965         <groupId>org.springframework</groupId>
966         <artifactId>spring-core</artifactId>
967         <version>3.2.17.RELEASE</version>
968       </dependency>
969       <dependency>
970         <groupId>org.springframework</groupId>
971         <artifactId>spring-expression</artifactId>
972         <version>3.2.17.RELEASE</version>
973       </dependency>
974       <dependency>
975         <groupId>org.springframework</groupId>
976         <artifactId>spring-tx</artifactId>
977         <version>3.2.17.RELEASE</version>
978       </dependency>
979       <dependency>
980         <groupId>org.springframework</groupId>
981         <artifactId>spring-web</artifactId>
982         <version>3.2.17.RELEASE</version>
983       </dependency>
984       <dependency>
985         <groupId>org.springframework</groupId>
986         <artifactId>spring-webmvc</artifactId>
987         <version>3.2.17.RELEASE</version>
988       </dependency>
989       <!-- Spring security -->
990       <dependency>
991         <groupId>org.springframework.security</groupId>
992         <artifactId>spring-security-config</artifactId>
993         <version>3.2.9.RELEASE</version>
994       </dependency>
995       <dependency>
996         <groupId>org.springframework.security</groupId>
997         <artifactId>spring-security-core</artifactId>
998         <version>3.2.9.RELEASE</version>
999       </dependency>
1000       <dependency>
1001         <groupId>org.springframework.security</groupId>
1002         <artifactId>spring-security-taglibs</artifactId>
1003         <version>3.2.9.RELEASE</version>
1004       </dependency>
1005       <dependency>
1006         <groupId>org.springframework.security</groupId>
1007         <artifactId>spring-security-web</artifactId>
1008         <version>3.2.9.RELEASE</version>
1009       </dependency>
1010       <dependency>
1011         <groupId>virgomirror</groupId>
1012         <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1013         <version>3.8.0.I20120518-2145</version>
1014       </dependency>
1015
1016       <!-- Configuration library -->
1017       <!-- This needs to be kept in sync with the version used by akka -->
1018       <dependency>
1019         <groupId>com.typesafe</groupId>
1020         <artifactId>config</artifactId>
1021         <version>1.3.0</version>
1022       </dependency>
1023
1024       <!-- Reactive Streams, used by Akka -->
1025       <dependency>
1026         <groupId>org.reactivestreams</groupId>
1027         <artifactId>reactive-streams</artifactId>
1028         <version>1.0.0</version>
1029       </dependency>
1030
1031       <!-- Akka -->
1032       <dependency>
1033         <groupId>com.typesafe</groupId>
1034         <artifactId>ssl-config-akka_${scala.version}</artifactId>
1035         <version>0.2.1</version>
1036       </dependency>
1037       <dependency>
1038         <groupId>com.typesafe</groupId>
1039         <artifactId>ssl-config-core_${scala.version}</artifactId>
1040         <version>0.2.1</version>
1041       </dependency>
1042       <dependency>
1043         <groupId>com.typesafe.akka</groupId>
1044         <artifactId>akka-actor_${scala.version}</artifactId>
1045         <version>${akka.version}</version>
1046       </dependency>
1047       <dependency>
1048         <groupId>com.typesafe.akka</groupId>
1049         <artifactId>akka-cluster_${scala.version}</artifactId>
1050         <version>${akka.version}</version>
1051       </dependency>
1052       <dependency>
1053         <groupId>com.typesafe.akka</groupId>
1054         <artifactId>akka-distributed-data-experimental_${scala.version}</artifactId>
1055         <version>${akka.version}</version>
1056       </dependency>
1057       <dependency>
1058         <groupId>com.typesafe.akka</groupId>
1059         <artifactId>akka-osgi_${scala.version}</artifactId>
1060         <version>${akka.version}</version>
1061       </dependency>
1062       <dependency>
1063         <groupId>com.typesafe.akka</groupId>
1064         <artifactId>akka-persistence_${scala.version}</artifactId>
1065         <version>${akka.version}</version>
1066       </dependency>
1067       <dependency>
1068         <groupId>com.typesafe.akka</groupId>
1069         <artifactId>akka-protobuf_${scala.version}</artifactId>
1070         <version>${akka.version}</version>
1071       </dependency>
1072       <dependency>
1073         <groupId>com.typesafe.akka</groupId>
1074         <artifactId>akka-remote_${scala.version}</artifactId>
1075         <version>${akka.version}</version>
1076       </dependency>
1077       <dependency>
1078         <groupId>com.typesafe.akka</groupId>
1079         <artifactId>akka-slf4j_${scala.version}</artifactId>
1080         <version>${akka.version}</version>
1081       </dependency>
1082       <dependency>
1083         <groupId>com.typesafe.akka</groupId>
1084         <artifactId>akka-stream_${scala.version}</artifactId>
1085         <version>${akka.version}</version>
1086       </dependency>
1087       <dependency>
1088         <groupId>com.typesafe.akka</groupId>
1089         <artifactId>akka-testkit_${scala.version}</artifactId>
1090         <version>${akka.version}</version>
1091         <scope>test</scope>
1092       </dependency>
1093       <dependency>
1094         <groupId>org.scala-lang.modules</groupId>
1095         <artifactId>scala-java8-compat_${scala.version}</artifactId>
1096         <version>0.8.0</version>
1097       </dependency>
1098       <dependency>
1099         <groupId>org.scala-lang.modules</groupId>
1100         <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1101         <version>1.0.4</version>
1102       </dependency>
1103       <dependency>
1104         <groupId>org.iq80.leveldb</groupId>
1105         <artifactId>leveldb</artifactId>
1106         <version>${leveldb.version}</version>
1107       </dependency>
1108       <dependency>
1109         <groupId>org.fusesource.leveldbjni</groupId>
1110         <artifactId>leveldbjni-all</artifactId>
1111         <version>1.8-odl</version>
1112       </dependency>
1113       <dependency>
1114         <groupId>org.uncommons.maths</groupId>
1115         <artifactId>uncommons-maths</artifactId>
1116         <version>1.2.2a</version>
1117       </dependency>
1118       <dependency>
1119         <groupId>com.google.protobuf</groupId>
1120         <artifactId>protobuf-java</artifactId>
1121         <version>2.5.0</version>
1122       </dependency>
1123
1124       <!-- Aeron, required by Akka -->
1125       <dependency>
1126         <groupId>org.agrona</groupId>
1127         <artifactId>Agrona</artifactId>
1128         <version>0.5.4</version>
1129       </dependency>
1130       <dependency>
1131         <groupId>io.aeron</groupId>
1132         <artifactId>aeron-client</artifactId>
1133         <version>1.0.1</version>
1134       </dependency>
1135       <dependency>
1136         <groupId>io.aeron</groupId>
1137         <artifactId>aeron-driver</artifactId>
1138         <version>1.0.1</version>
1139       </dependency>
1140
1141       <!-- Scala -->
1142       <dependency>
1143         <groupId>org.scala-lang</groupId>
1144         <artifactId>scala-library</artifactId>
1145         <version>${scala.version}.${scala.micro.version}</version>
1146       </dependency>
1147       <dependency>
1148         <groupId>org.scala-lang</groupId>
1149         <artifactId>scala-reflect</artifactId>
1150         <version>${scala.version}.${scala.micro.version}</version>
1151       </dependency>
1152
1153       <!-- LMAX Disruptor -->
1154       <dependency>
1155         <groupId>com.lmax</groupId>
1156         <artifactId>disruptor</artifactId>
1157         <!-- If this is updated, the version in features.xml needs to be changed too -->
1158         <version>3.3.4</version>
1159       </dependency>
1160
1161       <!-- Add Pax Exam -->
1162       <dependency>
1163         <groupId>org.ops4j.pax.exam</groupId>
1164         <artifactId>pax-exam</artifactId>
1165         <version>${exam.version}</version>
1166         <scope>test</scope>
1167       </dependency>
1168       <dependency>
1169         <groupId>org.ops4j.pax.exam</groupId>
1170         <artifactId>pax-exam-container-karaf</artifactId>
1171         <version>${exam.version}</version>
1172         <scope>test</scope>
1173       </dependency>
1174       <dependency>
1175         <groupId>org.ops4j.pax.exam</groupId>
1176         <artifactId>pax-exam-container-native</artifactId>
1177         <version>${exam.version}</version>
1178         <scope>test</scope>
1179       </dependency>
1180       <dependency>
1181         <groupId>org.ops4j.pax.exam</groupId>
1182         <artifactId>pax-exam-junit4</artifactId>
1183         <version>${exam.version}</version>
1184         <scope>test</scope>
1185       </dependency>
1186       <dependency>
1187         <groupId>org.ops4j.pax.exam</groupId>
1188         <artifactId>pax-exam-link-mvn</artifactId>
1189         <version>${exam.version}</version>
1190         <scope>test</scope>
1191       </dependency>
1192
1193       <dependency>
1194         <groupId>org.ops4j.pax.url</groupId>
1195         <artifactId>pax-url-aether</artifactId>
1196         <version>2.4.7</version>
1197         <scope>test</scope>
1198       </dependency>
1199       <dependency>
1200         <groupId>org.ops4j.pax.url</groupId>
1201         <artifactId>pax-url-wrap</artifactId>
1202         <version>2.4.7</version>
1203       </dependency>
1204       <dependency>
1205         <groupId>org.springframework.osgi</groupId>
1206         <artifactId>spring-osgi-mock</artifactId>
1207         <version>1.2.1</version>
1208         <scope>test</scope>
1209       </dependency>
1210       <dependency>
1211         <groupId>xmlunit</groupId>
1212         <artifactId>xmlunit</artifactId>
1213         <version>1.6</version>
1214         <scope>test</scope>
1215       </dependency>
1216       <dependency>
1217         <groupId>org.eclipse.jetty</groupId>
1218         <artifactId>jetty-client</artifactId>
1219         <version>8.1.19.v20160209</version>
1220       </dependency>
1221       <dependency>
1222         <groupId>org.eclipse.jetty</groupId>
1223         <artifactId>jetty-server</artifactId>
1224         <version>8.1.19.v20160209</version>
1225       </dependency>
1226       <dependency>
1227         <groupId>org.eclipse.jetty</groupId>
1228         <artifactId>jetty-servlet-tester</artifactId>
1229         <version>8.1.19.v20160209</version>
1230         <scope>test</scope>
1231       </dependency>
1232       <dependency>
1233         <groupId>org.eclipse.jetty</groupId>
1234         <artifactId>jetty-servlets</artifactId>
1235         <version>8.1.19.v20160209</version>
1236       </dependency>
1237       <dependency>
1238         <groupId>org.eclipse.jetty</groupId>
1239         <artifactId>jetty-webapp</artifactId>
1240         <version>8.1.19.v20160209</version>
1241       </dependency>
1242       <dependency>
1243         <groupId>org.apache.aries.blueprint</groupId>
1244         <artifactId>org.apache.aries.blueprint.core</artifactId>
1245         <version>1.4.2</version>
1246       </dependency>
1247
1248       <!-- Xtend http://xtend-lang.org
1249            NOTE: When you increase the version here,
1250            then remember to also increase it for the
1251            xtend-maven-plugin below! (We don't want to
1252            use a Maven property, in order not to "leak" that.)
1253        -->
1254       <dependency>
1255           <groupId>org.eclipse.xtend</groupId>
1256           <artifactId>org.eclipse.xtend.lib</artifactId>
1257           <version>2.10.0</version>
1258       </dependency>
1259       <dependency>
1260           <groupId>org.eclipse.xtend</groupId>
1261           <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1262           <version>2.10.0</version>
1263       </dependency>
1264       <dependency>
1265           <groupId>org.eclipse.xtext</groupId>
1266           <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1267           <version>2.10.0</version>
1268       </dependency>
1269
1270       <!-- Annotations -->
1271       <dependency>
1272         <groupId>javax.inject</groupId>
1273         <artifactId>javax.inject</artifactId>
1274         <version>1</version>
1275       </dependency>
1276
1277       <!-- Cassandra -->
1278       <dependency>
1279         <groupId>com.datastax.cassandra</groupId>
1280         <artifactId>cassandra-driver-core</artifactId>
1281         <version>2.1.9</version>
1282       </dependency>
1283
1284       <!-- Metrics -->
1285       <dependency>
1286         <groupId>io.dropwizard.metrics</groupId>
1287         <artifactId>metrics-core</artifactId>
1288         <version>3.1.2</version>
1289       </dependency>
1290       <dependency>
1291         <groupId>io.dropwizard.metrics</groupId>
1292         <artifactId>metrics-graphite</artifactId>
1293         <version>3.1.2</version>
1294       </dependency>
1295
1296       <!-- Karaf console support -->
1297       <dependency>
1298         <groupId>org.apache.karaf.shell</groupId>
1299         <artifactId>org.apache.karaf.shell.console</artifactId>
1300         <version>${karaf.version}</version>
1301       </dependency>
1302
1303     </dependencies>
1304   </dependencyManagement>
1305
1306   <dependencies>
1307     <!-- Karaf provides SL4FJ encapsulation -->
1308     <dependency>
1309       <groupId>org.slf4j</groupId>
1310       <artifactId>slf4j-api</artifactId>
1311       <scope>provided</scope>
1312     </dependency>
1313
1314     <dependency>
1315       <groupId>org.slf4j</groupId>
1316       <artifactId>slf4j-simple</artifactId>
1317       <scope>test</scope>
1318     </dependency>
1319
1320     <!-- Enable JSR-305 annotations everywhere -->
1321     <dependency>
1322       <groupId>com.google.code.findbugs</groupId>
1323       <artifactId>annotations</artifactId>
1324       <scope>provided</scope>
1325     </dependency>
1326     <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1327     <dependency>
1328       <groupId>com.google.code.findbugs</groupId>
1329       <artifactId>jsr305</artifactId>
1330       <scope>provided</scope>
1331     </dependency>
1332     <dependency>
1333       <groupId>org.eclipse.jdt</groupId>
1334       <artifactId>org.eclipse.jdt.annotation</artifactId>
1335       <scope>provided</scope>
1336     </dependency>
1337   </dependencies>
1338
1339   <build>
1340     <pluginManagement>
1341       <plugins>
1342         <!-- Official maven plugins, alpha-sorted by artifactId.
1343              We do not need to specify the groupId. -->
1344         <plugin>
1345           <artifactId>maven-antrun-plugin</artifactId>
1346           <version>${maven.antrun.plugin.version}</version>
1347         </plugin>
1348         <plugin>
1349           <artifactId>maven-checkstyle-plugin</artifactId>
1350           <version>${checkstyle.version}</version>
1351           <dependencies>
1352             <dependency>
1353               <groupId>com.puppycrawl.tools</groupId>
1354               <artifactId>checkstyle</artifactId>
1355               <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1356               <version>6.16</version>
1357             </dependency>
1358             <dependency>
1359               <groupId>org.opendaylight.odlparent</groupId>
1360               <artifactId>checkstyle</artifactId>
1361               <version>${odl.checkstyle.version}</version>
1362             </dependency>
1363             <dependency>
1364               <groupId>org.opendaylight.odlparent</groupId>
1365               <artifactId>odl-license</artifactId>
1366               <version>0.2.0-SNAPSHOT</version>
1367             </dependency>
1368             <dependency>
1369               <groupId>com.github.sevntu.checkstyle</groupId>
1370               <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1371               <version>1.21.0</version>
1372             </dependency>
1373           </dependencies>
1374           <configuration>
1375             <configLocation>odl_checks.xml</configLocation>
1376             <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1377             <!-- <sourceDirectory> is needed so that checkstyle ignores the
1378                  generated sources directory -->
1379             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1380             <includeResources>true</includeResources>
1381             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1382             <includeTestResources>true</includeTestResources>
1383             <includes>**\/*.java, **\/*.xtend</includes>
1384             <excludes>
1385               org/opendaylight/yang/gen/**,
1386               **/protobuff/messages/**,
1387               **/thrift/gen/*.java
1388             </excludes>
1389             <failsOnError>false</failsOnError>
1390             <consoleOutput>true</consoleOutput>
1391           </configuration>
1392           <executions>
1393             <execution>
1394               <id>check-license</id>
1395               <goals>
1396                 <goal>check</goal>
1397               </goals>
1398               <phase>process-sources</phase>
1399               <configuration>
1400                 <configLocation>check-license.xml</configLocation>
1401                 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1402                 <includeResources>false</includeResources>
1403                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1404                 <includeTestResources>false</includeTestResources>
1405                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1406                 <excludes>
1407                   org/opendaylight/yang/gen/**,
1408                   **/protobuff/messages/**,
1409                   **/thrift/gen/*.java
1410                 </excludes>
1411                 <failsOnError>false</failsOnError>
1412                 <consoleOutput>true</consoleOutput>
1413               </configuration>
1414             </execution>
1415             <execution>
1416               <goals>
1417                 <goal>check</goal>
1418               </goals>
1419               <phase>process-sources</phase>
1420             </execution>
1421           </executions>
1422         </plugin>
1423         <plugin>
1424           <groupId>org.apache.maven.plugins</groupId>
1425           <artifactId>maven-pmd-plugin</artifactId>
1426           <version>3.6</version>
1427           <executions>
1428             <execution>
1429               <id>cpd</id>
1430               <phase>process-sources</phase>
1431               <goals>
1432                 <goal>cpd-check</goal>
1433               </goals>
1434               <configuration>
1435                 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1436                 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1437                 <minimumTokens>101</minimumTokens>
1438                 <printFailingErrors>true</printFailingErrors>
1439                 <excludeRoots>
1440                   <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1441                               not understand path prefixes nor wildcards. Details are available
1442                               at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1443                               Hence people introducing new generated sources have to include
1444                               PMD config too.
1445                    -->
1446                   <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1447                 </excludeRoots>
1448                 <linkXRef>false</linkXRef>
1449               </configuration>
1450             </execution>
1451           </executions>
1452         </plugin>
1453         <plugin>
1454           <artifactId>maven-compiler-plugin</artifactId>
1455           <version>${maven.compile.plugin.version}</version>
1456           <configuration>
1457             <source>1.8</source>
1458             <target>1.8</target>
1459             <compilerArgs>
1460               <arg>-parameters</arg>
1461             </compilerArgs>
1462           </configuration>
1463         </plugin>
1464         <plugin>
1465           <artifactId>maven-enforcer-plugin</artifactId>
1466           <version>${enforcer.version}</version>
1467         </plugin>
1468         <plugin>
1469           <artifactId>maven-failsafe-plugin</artifactId>
1470           <version>${failsafe.version}</version>
1471         </plugin>
1472         <plugin>
1473           <artifactId>maven-invoker-plugin</artifactId>
1474           <version>2.0.0</version>
1475         </plugin>
1476         <plugin>
1477           <artifactId>maven-jar-plugin</artifactId>
1478           <version>${maven.jar.version}</version>
1479         </plugin>
1480         <plugin>
1481           <artifactId>maven-dependency-plugin</artifactId>
1482           <version>2.10</version>
1483           <executions>
1484             <execution>
1485               <id>unpack-license</id>
1486               <phase>generate-resources</phase>
1487               <goals><goal>unpack</goal></goals>
1488               <configuration>
1489                 <artifactItems>
1490                   <artifactItem>
1491                     <groupId>org.opendaylight.odlparent</groupId>
1492                     <artifactId>odl-license</artifactId>
1493                     <version>0.2.0-SNAPSHOT</version>
1494                   </artifactItem>
1495                 </artifactItems>
1496                 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1497                 <excludes>META-INF/**</excludes>
1498               </configuration>
1499             </execution>
1500           </executions>
1501         </plugin>
1502
1503         <plugin>
1504           <artifactId>maven-plugin-plugin</artifactId>
1505           <version>${maven.plugin.version}</version>
1506         </plugin>
1507
1508         <plugin>
1509           <artifactId>maven-resources-plugin</artifactId>
1510           <version>3.0.1</version>
1511         </plugin>
1512         <plugin>
1513           <artifactId>maven-shade-plugin</artifactId>
1514           <version>2.4.3</version>
1515         </plugin>
1516         <plugin>
1517           <artifactId>maven-source-plugin</artifactId>
1518           <version>3.0.1</version>
1519           <executions>
1520             <execution>
1521               <id>attach-sources</id>
1522               <phase>verify</phase>
1523               <goals>
1524                 <goal>jar-no-fork</goal>
1525               </goals>
1526             </execution>
1527           </executions>
1528         </plugin>
1529         <plugin>
1530           <artifactId>maven-surefire-plugin</artifactId>
1531           <version>${maven.surefire.version}</version>
1532           <configuration>
1533             <redirectTestOutputToFile>true</redirectTestOutputToFile>
1534             <trimStackTrace>false</trimStackTrace>
1535           </configuration>
1536         </plugin>
1537
1538         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1539         <plugin>
1540           <!-- Support Blueprint XML construction using annotations -->
1541           <groupId>org.apache.aries.blueprint</groupId>
1542           <artifactId>blueprint-maven-plugin</artifactId>
1543           <version>1.4.0</version>
1544           <configuration>
1545             <scanPaths>
1546               <scanPath>org.opendaylight</scanPath>
1547             </scanPaths>
1548           </configuration>
1549           <dependencies>
1550             <dependency>
1551               <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1552               <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1553               <groupId>org.apache.xbean</groupId>
1554               <artifactId>xbean-finder-shaded</artifactId>
1555               <version>4.5</version>
1556             </dependency>
1557           </dependencies>
1558           <executions>
1559             <execution>
1560               <goals>
1561                 <goal>blueprint-generate</goal>
1562               </goals>
1563             </execution>
1564           </executions>
1565         </plugin>
1566
1567         <plugin>
1568           <groupId>org.apache.felix</groupId>
1569           <artifactId>maven-bundle-plugin</artifactId>
1570           <version>${maven.bundle.version}</version>
1571           <extensions>true</extensions>
1572           <configuration>
1573             <instructions>
1574               <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1575                    so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1576                    and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present.  -->
1577               <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1578             </instructions>
1579           </configuration>
1580         </plugin>
1581
1582         <plugin>
1583           <groupId>org.apache.karaf.tooling</groupId>
1584           <artifactId>karaf-maven-plugin</artifactId>
1585           <version>${karaf.version}</version>
1586         </plugin>
1587
1588         <plugin>
1589           <groupId>org.apache.servicemix.tooling</groupId>
1590           <artifactId>depends-maven-plugin</artifactId>
1591           <version>1.3.1</version>
1592           <executions>
1593             <execution>
1594               <id>generate-depends-file</id>
1595               <goals>
1596                 <goal>generate-depends-file</goal>
1597               </goals>
1598             </execution>
1599           </executions>
1600         </plugin>
1601
1602         <plugin>
1603           <groupId>org.codehaus.enunciate</groupId>
1604           <artifactId>maven-enunciate-plugin</artifactId>
1605           <version>${enunciate.version}</version>
1606         </plugin>
1607         <plugin>
1608           <groupId>org.codehaus.groovy.maven</groupId>
1609           <artifactId>gmaven-plugin</artifactId>
1610           <version>1.0</version>
1611         </plugin>
1612         <plugin>
1613           <groupId>org.codehaus.mojo</groupId>
1614           <artifactId>build-helper-maven-plugin</artifactId>
1615           <version>1.12</version>
1616         </plugin>
1617         <plugin>
1618           <groupId>org.codehaus.mojo</groupId>
1619           <artifactId>findbugs-maven-plugin</artifactId>
1620           <version>3.0.4</version>
1621           <dependencies>
1622             <dependency>
1623               <groupId>org.opendaylight.odlparent</groupId>
1624               <artifactId>findbugs</artifactId>
1625               <version>1.8.0-SNAPSHOT</version>
1626             </dependency>
1627           </dependencies>
1628           <configuration>
1629             <!--
1630               Enables analysis which takes more memory but finds more bugs.
1631               If you run out of memory, changes the value of the effort element
1632               to 'Low'.
1633             -->
1634             <effort>Max</effort>
1635             <!-- Reports all bugs (other values are medium and max) -->
1636             <threshold>Low</threshold>
1637             <!-- Build doesn't fail if problems are found -->
1638             <failOnError>false</failOnError>
1639             <!-- References the excluded rules -->
1640             <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1641             <!-- Produces XML report -->
1642             <xmlOutput>true</xmlOutput>
1643             <!-- Configures the directory in which the XML report is created -->
1644             <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1645             </configuration>
1646             <executions>
1647               <!--
1648                 Ensures that FindBugs inspects source code when project is compiled.
1649               -->
1650               <execution>
1651                 <id>analyze-compile</id>
1652                 <phase>compile</phase>
1653                 <goals>
1654                   <goal>check</goal>
1655                 </goals>
1656               </execution>
1657             </executions>
1658         </plugin>
1659         <plugin>
1660           <groupId>org.codehaus.mojo</groupId>
1661           <artifactId>properties-maven-plugin</artifactId>
1662           <version>${propertymavenplugin.version}</version>
1663         </plugin>
1664         <plugin>
1665           <groupId>org.eclipse.xtend</groupId>
1666           <artifactId>xtend-maven-plugin</artifactId>
1667           <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1668           <version>2.10.0</version>
1669           <executions>
1670             <execution>
1671               <goals>
1672                 <goal>compile</goal>
1673                 <goal>testCompile</goal>
1674               </goals>
1675               <configuration>
1676                 <outputDirectory>${project.build.directory}/generated-sources/xtend/main</outputDirectory>
1677                 <testOutputDirectory>${project.build.directory}/generated-sources/xtend/test</testOutputDirectory>
1678               </configuration>
1679             </execution>
1680           </executions>
1681         </plugin>
1682         <plugin>
1683           <groupId>org.eclipse.m2e</groupId>
1684           <artifactId>lifecycle-mapping</artifactId>
1685           <version>1.0.0</version>
1686           <configuration>
1687             <lifecycleMappingMetadata>
1688               <pluginExecutions>
1689                 <pluginExecution>
1690                   <pluginExecutionFilter>
1691                     <groupId>org.apache.felix</groupId>
1692                     <artifactId>maven-bundle-plugin</artifactId>
1693                     <versionRange>[1.0,)</versionRange>
1694                     <goals>
1695                       <goal>manifest</goal>
1696                     </goals>
1697                   </pluginExecutionFilter>
1698                   <action>
1699                     <execute/>
1700                   </action>
1701                 </pluginExecution>
1702                 <pluginExecution>
1703                   <pluginExecutionFilter>
1704                     <groupId>org.apache.maven.plugins</groupId>
1705                     <artifactId>maven-enforcer-plugin</artifactId>
1706                     <versionRange>[1.0.0,)</versionRange>
1707                     <goals>
1708                       <goal>enforce</goal>
1709                     </goals>
1710                   </pluginExecutionFilter>
1711                   <action>
1712                     <ignore/>
1713                   </action>
1714                 </pluginExecution>
1715                 <pluginExecution>
1716                   <pluginExecutionFilter>
1717                     <groupId>org.apache.maven.plugins</groupId>
1718                     <artifactId>maven-dependency-plugin</artifactId>
1719                     <versionRange>[2.10,)</versionRange>
1720                     <goals>
1721                       <goal>unpack</goal>
1722                     </goals>
1723                   </pluginExecutionFilter>
1724                   <action>
1725                     <ignore/>
1726                   </action>
1727                 </pluginExecution>
1728                 <pluginExecution>
1729                   <pluginExecutionFilter>
1730                     <groupId>org.apache.maven.plugins</groupId>
1731                     <artifactId>maven-pmd-plugin</artifactId>
1732                     <versionRange>[3.6,)</versionRange>
1733                     <goals>
1734                       <goal>cpd-check</goal>
1735                     </goals>
1736                   </pluginExecutionFilter>
1737                   <action>
1738                     <ignore/>
1739                   </action>
1740                 </pluginExecution>
1741                 <!-- The plugin will eventually be removed, remove this too at that point -->
1742                 <pluginExecution>
1743                   <pluginExecutionFilter>
1744                     <groupId>org.apache.maven.plugins</groupId>
1745                     <artifactId>maven-antrun-plugin</artifactId>
1746                     <versionRange>[1.8,)</versionRange>
1747                     <goals>
1748                       <goal>run</goal>
1749                     </goals>
1750                   </pluginExecutionFilter>
1751                   <action>
1752                     <ignore/>
1753                   </action>
1754                 </pluginExecution>
1755                 <pluginExecution>
1756                   <pluginExecutionFilter>
1757                     <groupId>org.apache.servicemix.tooling</groupId>
1758                     <artifactId>depends-maven-plugin</artifactId>
1759                     <versionRange>[1.2,)</versionRange>
1760                     <goals>
1761                       <goal>generate-depends-file</goal>
1762                     </goals>
1763                   </pluginExecutionFilter>
1764                   <action>
1765                     <execute/>
1766                   </action>
1767                 </pluginExecution>
1768                 <pluginExecution>
1769                   <pluginExecutionFilter>
1770                     <groupId>org.jacoco</groupId>
1771                     <artifactId>jacoco-maven-plugin</artifactId>
1772                     <versionRange>[0.7.0,)</versionRange>
1773                     <goals>
1774                       <goal>prepare-agent</goal>
1775                       <goal>report</goal>
1776                     </goals>
1777                   </pluginExecutionFilter>
1778                   <action>
1779                     <ignore/>
1780                   </action>
1781                 </pluginExecution>
1782               </pluginExecutions>
1783             </lifecycleMappingMetadata>
1784           </configuration>
1785         </plugin>
1786
1787         <plugin>
1788           <groupId>org.jacoco</groupId>
1789           <artifactId>jacoco-maven-plugin</artifactId>
1790           <version>${jacoco.version}</version>
1791           <configuration>
1792             <!-- Note: This exclusion list should match <sonar.exclusions>
1793                        property above -->
1794             <excludes>
1795               <exclude>**/gen/**</exclude>
1796               <exclude>**/generated-sources/**</exclude>
1797               <exclude>**/yang-gen/**</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>