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