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