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