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