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