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