1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
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>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>odlparent-lite</artifactId>
16 <version>3.0.0-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
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. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
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>
50 <!-- Maven plugin versions, in the 'canonical' format -->
51 <!-- Used in controller, didm, neutron, openflowplugin, persistence; see also affinity -->
52 <maven.bundle.version>3.3.0</maven.bundle.version>
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.7.0</maven.compile.plugin.version>
57 <!-- Used in controller, coretutorials, mdsal, snbi, yangtools -->
58 <maven.javadoc.version>2.10.4</maven.javadoc.version>
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>
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,
73 <checkstyle.version>2.17</checkstyle.version>
74 <!-- Used in controller, packetcable -->
75 <odl.checkstyle.version>3.0.0-SNAPSHOT</odl.checkstyle.version>
76 <!-- Used in snmp4sdn; see also toolkit -->
77 <compiler.version>${maven.compile.plugin.version}</compiler.version>
78 <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
79 <enforcer.version>3.0.0-M1</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 <failsafe.version>2.20.1</failsafe.version>
86 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
87 <jacoco.version>0.7.7.201606060606</jacoco.version>
88 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
89 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
90 <karaf.version>4.0.10</karaf.version>
91 <karaf.plugin.version>4.0.10</karaf.plugin.version>
92 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
93 <projectinfo>2.8.1</projectinfo>
94 <!-- Used in of-config; see also snmp4sdn -->
95 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
96 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
97 <releaseplugin.version>2.5.3</releaseplugin.version>
99 <!-- Supporting Libraries -->
100 <!-- Used by controller -->
101 <bouncycastle.version>1.58</bouncycastle.version>
103 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
104 <osgi.core.version>5.0.0</osgi.core.version>
106 <akka.version>2.5.4</akka.version>
107 <leveldb.version>0.7</leveldb.version>
109 <!-- Default Sonar configuration -->
110 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
111 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
112 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
113 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
114 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
115 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
117 <pmd.cpd.fail>false</pmd.cpd.fail>
120 <dependencyManagement>
124 <groupId>org.opendaylight.odlparent</groupId>
125 <artifactId>odlparent-artifacts</artifactId>
126 <version>3.0.0-SNAPSHOT</version>
127 <scope>import</scope>
131 <!-- Build tool dependencies (normally not here in <dependencies>,
132 but in a <dependency> in <pluginManagement> but for Checkstyle this
133 is required so that we can share the same version of Checkstyle
134 for both the Maven plugin below as well as for custom Checkstyle
135 check rule projects, such as yangtools' checkstyle-logging) -->
137 <groupId>com.puppycrawl.tools</groupId>
138 <artifactId>checkstyle</artifactId>
139 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
140 <version>8.2</version>
143 <!-- Testing Dependencies -->
144 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
145 <!-- Need to stick to JUnit 4.11 until
146 https://github.com/jayway/powermock/issues/560 is fixed (either in
147 PowerMock or with a new JUnit release) -->
149 <groupId>junit</groupId>
150 <artifactId>junit</artifactId>
151 <version>4.11</version>
155 <groupId>junit</groupId>
156 <artifactId>junit-dep</artifactId>
157 <version>4.11</version>
161 <groupId>org.skyscreamer</groupId>
162 <artifactId>jsonassert</artifactId>
163 <version>1.3.0</version>
167 <groupId>org.mockito</groupId>
168 <artifactId>mockito-core</artifactId>
169 <version>1.10.19</version>
173 <groupId>org.hamcrest</groupId>
174 <artifactId>hamcrest-core</artifactId>
175 <version>1.3</version>
179 <groupId>org.hamcrest</groupId>
180 <artifactId>hamcrest-library</artifactId>
181 <version>1.3</version>
185 <groupId>com.google.truth</groupId>
186 <artifactId>truth</artifactId>
187 <version>0.36</version>
191 <groupId>com.google.truth.extensions</groupId>
192 <artifactId>truth-java8-extension</artifactId>
193 <version>0.36</version>
197 <groupId>org.awaitility</groupId>
198 <artifactId>awaitility</artifactId>
199 <version>2.0.0</version>
203 <groupId>org.powermock</groupId>
204 <artifactId>powermock-api-mockito</artifactId>
205 <version>1.6.4</version>
209 <groupId>org.powermock</groupId>
210 <artifactId>powermock-api-support</artifactId>
211 <version>1.6.4</version>
215 <groupId>org.powermock</groupId>
216 <artifactId>powermock-core</artifactId>
217 <version>1.6.4</version>
221 <groupId>org.powermock</groupId>
222 <artifactId>powermock-module-junit4</artifactId>
223 <version>1.6.4</version>
227 <groupId>org.powermock</groupId>
228 <artifactId>powermock-reflect</artifactId>
229 <version>1.6.4</version>
234 Annotation Processors
237 <!-- Generates immutable implementations, builders, the works -->
238 <groupId>org.immutables</groupId>
239 <artifactId>value</artifactId>
240 <version>2.5.6</version>
241 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
242 <scope>provided</scope>
245 <!-- Generates META-INF/services entries for ServiceLoader -->
246 <groupId>org.kohsuke.metainf-services</groupId>
247 <artifactId>metainf-services</artifactId>
248 <version>1.7</version>
249 <optional>true</optional>
256 <groupId>org.slf4j</groupId>
257 <artifactId>jcl-over-slf4j</artifactId>
258 <version>1.7.21</version>
261 <groupId>org.slf4j</groupId>
262 <artifactId>slf4j-api</artifactId>
263 <version>1.7.21</version>
266 <groupId>org.slf4j</groupId>
267 <artifactId>slf4j-log4j12</artifactId>
268 <version>1.7.21</version>
271 <groupId>org.slf4j</groupId>
272 <artifactId>log4j-over-slf4j</artifactId>
273 <version>1.7.21</version>
276 <groupId>org.slf4j</groupId>
277 <artifactId>slf4j-simple</artifactId>
278 <version>1.7.21</version>
282 <groupId>xml-apis</groupId>
283 <artifactId>xml-apis</artifactId>
284 <version>1.4.01</version>
287 <groupId>xerces</groupId>
288 <artifactId>xercesImpl</artifactId>
289 <version>2.11.0</version>
292 <groupId>ch.qos.logback</groupId>
293 <artifactId>logback-core</artifactId>
294 <version>1.2.2</version>
297 <groupId>ch.qos.logback</groupId>
298 <artifactId>logback-classic</artifactId>
299 <version>1.2.2</version>
302 <groupId>com.google.guava</groupId>
303 <artifactId>guava</artifactId>
304 <version>23.3-jre</version>
307 <groupId>com.google.code.findbugs</groupId>
308 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
309 <artifactId>jsr305</artifactId>
314 <groupId>com.google.guava</groupId>
315 <artifactId>guava-testlib</artifactId>
316 <version>23.3-jre</version>
320 <groupId>com.google.code.findbugs</groupId>
321 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
322 <artifactId>jsr305</artifactId>
327 <groupId>com.mycila.guice.extensions</groupId>
328 <artifactId>mycila-guice-jsr250</artifactId>
329 <!-- Make sure this version is in sync with the guice one below -->
330 <version>4.0.rc1</version>
334 <groupId>com.google.inject</groupId>
335 <artifactId>guice</artifactId>
336 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
337 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
338 <version>4.1.0</version>
341 <groupId>org.apache.commons</groupId>
342 <artifactId>commons-lang3</artifactId>
343 <version>3.6</version>
346 <groupId>org.apache.commons</groupId>
347 <artifactId>commons-text</artifactId>
348 <version>1.1</version>
351 <groupId>commons-lang</groupId>
352 <artifactId>commons-lang</artifactId>
353 <version>2.6</version>
356 <groupId>commons-codec</groupId>
357 <artifactId>commons-codec</artifactId>
358 <version>1.11</version>
360 <!-- Jersey for JAXRS -->
362 <groupId>javax.ws.rs</groupId>
363 <artifactId>javax.ws.rs-api</artifactId>
364 <version>2.0.1</version>
367 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
368 <artifactId>jersey-guava</artifactId>
369 <version>2.22.2</version>
372 <groupId>org.glassfish</groupId>
373 <artifactId>javax.json</artifactId>
374 <version>1.0.4</version>
377 <groupId>com.eclipsesource.jaxrs</groupId>
378 <artifactId>jersey-all</artifactId>
379 <version>2.22.2</version>
382 <!-- servlet 3.x support -->
384 <groupId>org.glassfish.jersey.containers</groupId>
385 <artifactId>jersey-container-servlet</artifactId>
386 <version>2.8</version>
389 <groupId>org.apache.geronimo.bundles</groupId>
390 <artifactId>json</artifactId>
391 <version>20090211_1</version>
393 <!-- FIXME : remove all dependencies for jersey 1.17 -->
395 <groupId>com.sun.jersey</groupId>
396 <artifactId>jersey-core</artifactId>
397 <version>1.17</version>
400 <groupId>com.sun.jersey</groupId>
401 <artifactId>jersey-json</artifactId>
402 <version>1.17</version>
405 <groupId>com.sun.jersey</groupId>
406 <artifactId>jersey-server</artifactId>
407 <version>1.17</version>
410 <groupId>com.sun.jersey</groupId>
411 <artifactId>jersey-servlet</artifactId>
412 <version>1.17</version>
415 <groupId>com.sun.jersey.jersey-test-framework</groupId>
416 <artifactId>jersey-test-framework-grizzly2</artifactId>
417 <version>1.17</version>
421 <groupId>com.sun.jersey.jersey-test-framework</groupId>
422 <artifactId>jersey-test-framework-inmemory</artifactId>
423 <version>1.17</version>
427 <groupId>com.sun.jersey</groupId>
428 <artifactId>jersey-client</artifactId>
429 <version>1.17</version>
432 <groupId>org.opendaylight.controller.thirdparty</groupId>
433 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
434 <version>1.17</version>
437 <groupId>org.apache.shiro</groupId>
438 <artifactId>shiro-core</artifactId>
439 <version>1.3.2</version>
442 <groupId>org.apache.shiro</groupId>
443 <artifactId>shiro-web</artifactId>
444 <version>1.3.2</version>
447 <!-- Plugin integration -->
449 <groupId>net.java.dev.stax-utils</groupId>
450 <artifactId>stax-utils</artifactId>
451 <version>20070216</version>
454 <groupId>org.sonatype.plexus</groupId>
455 <artifactId>plexus-build-api</artifactId>
456 <version>0.0.7</version>
459 <groupId>org.codehaus.plexus</groupId>
460 <artifactId>plexus-slf4j-logging</artifactId>
461 <version>1.1</version>
465 <groupId>org.codehaus.woodstox</groupId>
466 <artifactId>stax2-api</artifactId>
467 <!-- Needs to match jackson's idea of import -->
468 <version>3.1.4</version>
471 <groupId>com.fasterxml.jackson.core</groupId>
472 <artifactId>jackson-annotations</artifactId>
473 <version>2.8.9</version>
476 <groupId>com.fasterxml.jackson.core</groupId>
477 <artifactId>jackson-core</artifactId>
478 <version>2.8.9</version>
481 <groupId>com.fasterxml.jackson.core</groupId>
482 <artifactId>jackson-databind</artifactId>
483 <version>2.8.9</version>
486 <groupId>com.fasterxml.jackson.dataformat</groupId>
487 <artifactId>jackson-dataformat-xml</artifactId>
488 <version>2.8.9</version>
491 <groupId>com.fasterxml.jackson.datatype</groupId>
492 <artifactId>jackson-datatype-json-org</artifactId>
493 <version>2.8.9</version>
496 <groupId>com.fasterxml.jackson.jaxrs</groupId>
497 <artifactId>jackson-jaxrs-base</artifactId>
498 <version>2.8.9</version>
501 <groupId>com.fasterxml.jackson.jaxrs</groupId>
502 <artifactId>jackson-jaxrs-json-provider</artifactId>
503 <version>2.8.9</version>
506 <groupId>com.fasterxml.jackson.module</groupId>
507 <artifactId>jackson-module-jaxb-annotations</artifactId>
508 <version>2.8.9</version>
511 <!-- TODO do we really need resteasy ? -->
513 <groupId>org.jboss.resteasy</groupId>
514 <artifactId>jaxrs-api</artifactId>
515 <version>3.0.12.Final</version>
519 <groupId>com.sun.xml.txw2</groupId>
520 <artifactId>txw2</artifactId>
521 <version>20110809</version>
524 <groupId>com.google.code.findbugs</groupId>
525 <artifactId>annotations</artifactId>
526 <version>3.0.0</version>
528 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
529 the types of this artifact are already shaded inside the :annotations artifact.
530 This state is a temporary solution to allow all projects to gradually switch over
531 switch their <dependency><groupId>com.google.code.findbugs from
532 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
533 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
536 <groupId>net.jcip</groupId>
537 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
538 <artifactId>jcip-annotations</artifactId>
543 <groupId>org.eclipse.jdt</groupId>
544 <artifactId>org.eclipse.jdt.annotation</artifactId>
545 <version>2.1.0</version>
546 <scope>provided</scope>
549 <groupId>com.google.code.gson</groupId>
550 <artifactId>gson</artifactId>
551 <version>2.7</version>
554 <groupId>commons-fileupload</groupId>
555 <artifactId>commons-fileupload</artifactId>
556 <version>1.3.2</version>
559 <groupId>commons-io</groupId>
560 <artifactId>commons-io</artifactId>
561 <version>2.5</version>
564 <groupId>commons-net</groupId>
565 <artifactId>commons-net</artifactId>
566 <version>3.6</version>
569 <groupId>eclipselink</groupId>
570 <artifactId>javax.persistence</artifactId>
571 <version>2.0.4.v201112161009</version>
574 <groupId>eclipselink</groupId>
575 <artifactId>javax.resource</artifactId>
576 <version>1.5.0.v200906010428</version>
580 <groupId>org.eclipse.tycho</groupId>
581 <artifactId>org.eclipse.osgi</artifactId>
582 <version>3.9.1.v20130814-1242</version>
587 <groupId>geminiweb</groupId>
588 <artifactId>org.eclipse.gemini.web.core</artifactId>
589 <version>2.2.0.RELEASE</version>
592 <groupId>geminiweb</groupId>
593 <artifactId>org.eclipse.gemini.web.extender</artifactId>
594 <version>2.2.0.RELEASE</version>
597 <groupId>geminiweb</groupId>
598 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
599 <version>2.2.0.RELEASE</version>
602 <groupId>geminiweb</groupId>
603 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
604 <version>3.6.0.RELEASE</version>
607 <groupId>geminiweb</groupId>
608 <artifactId>org.eclipse.virgo.util.common</artifactId>
609 <version>3.6.0.RELEASE</version>
612 <groupId>geminiweb</groupId>
613 <artifactId>org.eclipse.virgo.util.io</artifactId>
614 <version>3.6.0.RELEASE</version>
617 <groupId>geminiweb</groupId>
618 <artifactId>org.eclipse.virgo.util.math</artifactId>
619 <version>3.6.0.RELEASE</version>
622 <groupId>geminiweb</groupId>
623 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
624 <version>3.6.0.RELEASE</version>
627 <groupId>geminiweb</groupId>
628 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
629 <version>3.6.0.RELEASE</version>
632 <groupId>geminiweb</groupId>
633 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
634 <version>3.6.0.RELEASE</version>
638 <groupId>io.netty</groupId>
639 <artifactId>netty-all</artifactId>
640 <!-- If these are updated, the version in features.xml needs to be changed too -->
641 <version>4.1.16.Final</version>
644 <groupId>io.netty</groupId>
645 <artifactId>netty-buffer</artifactId>
646 <version>4.1.16.Final</version>
649 <groupId>io.netty</groupId>
650 <artifactId>netty-codec</artifactId>
651 <version>4.1.16.Final</version>
654 <groupId>io.netty</groupId>
655 <artifactId>netty-codec-http</artifactId>
656 <version>4.1.16.Final</version>
659 <groupId>io.netty</groupId>
660 <artifactId>netty-common</artifactId>
661 <version>4.1.16.Final</version>
664 <groupId>io.netty</groupId>
665 <artifactId>netty-handler</artifactId>
666 <version>4.1.16.Final</version>
669 <groupId>io.netty</groupId>
670 <artifactId>netty-transport</artifactId>
671 <version>4.1.16.Final</version>
673 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
674 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
676 <groupId>io.netty</groupId>
677 <artifactId>netty-transport-native-epoll</artifactId>
678 <classifier>linux-x86_64</classifier>
679 <version>4.1.16.Final</version>
682 <groupId>javax.ws.rs</groupId>
683 <artifactId>jsr311-api</artifactId>
684 <version>1.1.1</version>
687 <groupId>orbit</groupId>
688 <artifactId>javax.activation</artifactId>
689 <version>1.1.0.v201211130549</version>
692 <groupId>orbit</groupId>
693 <artifactId>javax.annotation</artifactId>
694 <version>1.1.0.v201209060031</version>
697 <groupId>orbit</groupId>
698 <artifactId>javax.ejb</artifactId>
699 <version>3.1.1.v201204261316</version>
702 <groupId>orbit</groupId>
703 <artifactId>javax.el</artifactId>
704 <version>2.2.0.v201108011116</version>
707 <groupId>orbit</groupId>
708 <artifactId>javax.mail.glassfish</artifactId>
709 <version>1.4.1.v201108011116</version>
712 <groupId>javax.servlet</groupId>
713 <artifactId>javax.servlet-api</artifactId>
714 <version>3.1.0</version>
717 <groupId>orbit</groupId>
718 <artifactId>javax.servlet.jsp.jstl</artifactId>
719 <version>1.2.0.v201105211821</version>
722 <groupId>orbit</groupId>
723 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
724 <version>1.2.0.v201210211230</version>
727 <groupId>orbit</groupId>
728 <artifactId>javax.xml.rpc</artifactId>
729 <version>1.1.0.v201005080400</version>
732 <groupId>orbit</groupId>
733 <artifactId>org.apache.catalina</artifactId>
734 <version>7.0.53.v201406061610</version>
737 <groupId>orbit</groupId>
738 <artifactId>org.apache.catalina.ha</artifactId>
739 <version>7.0.53.v201406070630</version>
742 <groupId>orbit</groupId>
743 <artifactId>org.apache.catalina.tribes</artifactId>
744 <version>7.0.53.v201406070630</version>
747 <groupId>orbit</groupId>
748 <artifactId>org.apache.coyote</artifactId>
749 <version>7.0.53.v201406070630</version>
752 <groupId>orbit</groupId>
753 <artifactId>org.apache.el</artifactId>
754 <version>7.0.53.v201406060720</version>
757 <groupId>orbit</groupId>
758 <artifactId>org.apache.jasper</artifactId>
759 <version>7.0.53.v201406070630</version>
762 <groupId>orbit</groupId>
763 <artifactId>org.apache.juli.extras</artifactId>
764 <version>7.0.53.v201406060720</version>
767 <groupId>orbit</groupId>
768 <artifactId>org.apache.tomcat.api</artifactId>
769 <version>7.0.53.v201406060720</version>
772 <groupId>orbit</groupId>
773 <artifactId>org.apache.tomcat.util</artifactId>
774 <version>7.0.53.v201406070630</version>
777 <groupId>org.aopalliance</groupId>
778 <artifactId>com.springsource.org.aopalliance</artifactId>
779 <version>1.0.0</version>
782 <groupId>org.apache.felix</groupId>
783 <artifactId>org.apache.felix.dependencymanager</artifactId>
784 <version>4.3.0</version>
787 <groupId>org.apache.felix</groupId>
788 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
789 <version>4.0.4</version>
792 <groupId>org.apache.felix</groupId>
793 <artifactId>org.apache.felix.fileinstall</artifactId>
794 <version>3.5.4</version>
797 <groupId>org.apache.felix</groupId>
798 <artifactId>org.apache.felix.metatype</artifactId>
799 <version>1.1.2</version>
801 <!-- felix webconsole -->
803 <groupId>org.apache.felix</groupId>
804 <artifactId>org.apache.felix.webconsole</artifactId>
805 <version>4.2.14</version>
806 <!-- the all bundle includes all the necessary plugins -->
807 <classifier>all</classifier>
810 <groupId>org.bouncycastle</groupId>
811 <artifactId>bcpkix-jdk15on</artifactId>
812 <version>${bouncycastle.version}</version>
815 <groupId>org.bouncycastle</groupId>
816 <artifactId>bcprov-jdk15on</artifactId>
817 <version>${bouncycastle.version}</version>
820 <groupId>org.bouncycastle</groupId>
821 <artifactId>bcprov-ext-jdk15on</artifactId>
822 <version>${bouncycastle.version}</version>
825 <groupId>org.codehaus.enunciate</groupId>
826 <artifactId>enunciate-core-annotations</artifactId>
827 <version>${enunciate.version}</version>
830 <groupId>com.webcohesion.enunciate</groupId>
831 <artifactId>enunciate-core-annotations</artifactId>
832 <version>2.6.0</version>
835 <groupId>org.codehaus.jettison</groupId>
836 <artifactId>jettison</artifactId>
837 <version>1.3.8</version>
839 <!-- equinox http service bridge -->
841 <groupId>org.eclipse.equinox.http</groupId>
842 <artifactId>servlet</artifactId>
843 <version>1.0.0-v20070606</version>
845 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
846 pull in javax.validation first:
847 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
849 <groupId>org.eclipse.persistence</groupId>
850 <artifactId>org.eclipse.persistence.antlr</artifactId>
851 <version>2.6.2</version>
854 <groupId>org.eclipse.persistence</groupId>
855 <artifactId>org.eclipse.persistence.core</artifactId>
856 <version>2.6.2</version>
859 <groupId>org.eclipse.persistence</groupId>
860 <artifactId>org.eclipse.persistence.moxy</artifactId>
861 <version>2.6.2</version>
864 <groupId>javax.validation</groupId>
865 <artifactId>validation-api</artifactId>
866 <version>1.1.0.Final</version>
869 <groupId>org.javassist</groupId>
870 <artifactId>javassist</artifactId>
871 <version>3.21.0-GA</version>
874 <groupId>org.jboss.spec.javax.transaction</groupId>
875 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
876 <version>1.0.1.Final</version>
879 <groupId>org.jolokia</groupId>
880 <artifactId>jolokia-osgi</artifactId>
881 <version>1.3.7</version>
884 <groupId>org.json</groupId>
885 <artifactId>json</artifactId>
886 <version>20131018</version>
889 <groupId>org.osgi</groupId>
890 <artifactId>org.osgi.compendium</artifactId>
891 <version>${osgi.core.version}</version>
892 <scope>provided</scope>
895 <groupId>org.osgi</groupId>
896 <artifactId>org.osgi.core</artifactId>
897 <version>${osgi.core.version}</version>
898 <scope>provided</scope>
901 <groupId>org.osgi</groupId>
902 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
903 <artifactId>org.osgi.service.event</artifactId>
904 <version>1.3.1</version>
907 <groupId>org.apache.aries.quiesce</groupId>
908 <artifactId>org.apache.aries.quiesce.api</artifactId>
909 <version>1.0.0</version>
912 <groupId>org.ow2.asm</groupId>
913 <artifactId>asm-all</artifactId>
914 <version>5.1</version>
916 <!-- Visual VM hook -->
918 <groupId>org.ow2.chameleon.management</groupId>
919 <artifactId>chameleon-mbeans</artifactId>
920 <version>1.0.0</version>
923 <groupId>org.springframework</groupId>
924 <artifactId>spring-aop</artifactId>
925 <version>3.2.17.RELEASE</version>
928 <groupId>org.springframework</groupId>
929 <artifactId>spring-beans</artifactId>
930 <version>3.2.17.RELEASE</version>
933 <groupId>org.springframework</groupId>
934 <artifactId>spring-context</artifactId>
935 <version>3.2.17.RELEASE</version>
938 <groupId>org.springframework</groupId>
939 <artifactId>spring-core</artifactId>
940 <version>3.2.17.RELEASE</version>
943 <groupId>org.springframework</groupId>
944 <artifactId>spring-expression</artifactId>
945 <version>3.2.17.RELEASE</version>
948 <groupId>org.springframework</groupId>
949 <artifactId>spring-tx</artifactId>
950 <version>3.2.17.RELEASE</version>
953 <groupId>org.springframework</groupId>
954 <artifactId>spring-web</artifactId>
955 <version>3.2.17.RELEASE</version>
958 <groupId>org.springframework</groupId>
959 <artifactId>spring-webmvc</artifactId>
960 <version>3.2.17.RELEASE</version>
962 <!-- Spring security -->
964 <groupId>org.springframework.security</groupId>
965 <artifactId>spring-security-config</artifactId>
966 <version>3.2.9.RELEASE</version>
969 <groupId>org.springframework.security</groupId>
970 <artifactId>spring-security-core</artifactId>
971 <version>3.2.9.RELEASE</version>
974 <groupId>org.springframework.security</groupId>
975 <artifactId>spring-security-taglibs</artifactId>
976 <version>3.2.9.RELEASE</version>
979 <groupId>org.springframework.security</groupId>
980 <artifactId>spring-security-web</artifactId>
981 <version>3.2.9.RELEASE</version>
984 <groupId>virgomirror</groupId>
985 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
986 <version>3.8.0.I20120518-2145</version>
989 <!-- Configuration library -->
990 <!-- This needs to be kept in sync with the version used by akka -->
992 <groupId>com.typesafe</groupId>
993 <artifactId>config</artifactId>
994 <version>1.3.0</version>
997 <!-- Reactive Streams, used by Akka -->
999 <groupId>org.reactivestreams</groupId>
1000 <artifactId>reactive-streams</artifactId>
1001 <version>1.0.1</version>
1006 <groupId>com.typesafe</groupId>
1007 <artifactId>ssl-config-akka_2.12</artifactId>
1008 <version>0.2.1</version>
1011 <groupId>com.typesafe</groupId>
1012 <artifactId>ssl-config-core_2.12</artifactId>
1013 <version>0.2.1</version>
1016 <groupId>com.typesafe.akka</groupId>
1017 <artifactId>akka-actor_2.12</artifactId>
1018 <version>${akka.version}</version>
1021 <groupId>com.typesafe.akka</groupId>
1022 <artifactId>akka-cluster_2.12</artifactId>
1023 <version>${akka.version}</version>
1026 <groupId>com.typesafe.akka</groupId>
1027 <artifactId>akka-osgi_2.12</artifactId>
1028 <version>${akka.version}</version>
1031 <groupId>com.typesafe.akka</groupId>
1032 <artifactId>akka-persistence_2.12</artifactId>
1033 <version>${akka.version}</version>
1036 <groupId>com.typesafe.akka</groupId>
1037 <artifactId>akka-persistence-tck_2.12</artifactId>
1038 <version>${akka.version}</version>
1042 <groupId>com.typesafe.akka</groupId>
1043 <artifactId>akka-protobuf_2.12</artifactId>
1044 <version>${akka.version}</version>
1047 <groupId>com.typesafe.akka</groupId>
1048 <artifactId>akka-remote_2.12</artifactId>
1049 <version>${akka.version}</version>
1052 <groupId>com.typesafe.akka</groupId>
1053 <artifactId>akka-slf4j_2.12</artifactId>
1054 <version>${akka.version}</version>
1057 <groupId>com.typesafe.akka</groupId>
1058 <artifactId>akka-stream_2.12</artifactId>
1059 <version>${akka.version}</version>
1062 <groupId>com.typesafe.akka</groupId>
1063 <artifactId>akka-testkit_2.12</artifactId>
1064 <version>${akka.version}</version>
1068 <groupId>org.scala-lang.modules</groupId>
1069 <artifactId>scala-java8-compat_2.12</artifactId>
1070 <version>0.8.0</version>
1073 <groupId>org.scala-lang.modules</groupId>
1074 <artifactId>scala-parser-combinators_2.12</artifactId>
1075 <version>1.0.6</version>
1078 <groupId>org.iq80.leveldb</groupId>
1079 <artifactId>leveldb</artifactId>
1080 <version>${leveldb.version}</version>
1083 <groupId>org.fusesource.leveldbjni</groupId>
1084 <artifactId>leveldbjni-all</artifactId>
1085 <version>1.8-odl</version>
1088 <groupId>org.uncommons.maths</groupId>
1089 <artifactId>uncommons-maths</artifactId>
1090 <version>1.2.2a</version>
1093 <groupId>com.google.protobuf</groupId>
1094 <artifactId>protobuf-java</artifactId>
1095 <version>2.5.0</version>
1098 <!-- Aeron, required by Akka -->
1100 <groupId>org.agrona</groupId>
1101 <artifactId>agrona</artifactId>
1102 <version>0.9.5</version>
1105 <groupId>io.aeron</groupId>
1106 <artifactId>aeron-client</artifactId>
1107 <version>1.2.5</version>
1110 <groupId>io.aeron</groupId>
1111 <artifactId>aeron-driver</artifactId>
1112 <version>1.2.5</version>
1117 <groupId>org.scala-lang</groupId>
1118 <artifactId>scala-library</artifactId>
1119 <version>2.12.3</version>
1122 <groupId>org.scala-lang</groupId>
1123 <artifactId>scala-reflect</artifactId>
1124 <version>2.12.3</version>
1127 <!-- LMAX Disruptor -->
1129 <groupId>com.lmax</groupId>
1130 <artifactId>disruptor</artifactId>
1131 <!-- If this is updated, the version in features.xml needs to be changed too -->
1132 <version>3.3.6</version>
1135 <!-- Add Pax Exam -->
1137 <groupId>org.ops4j.pax.exam</groupId>
1138 <artifactId>pax-exam</artifactId>
1139 <version>${exam.version}</version>
1143 <groupId>org.ops4j.pax.exam</groupId>
1144 <artifactId>pax-exam-container-forked</artifactId>
1145 <version>${exam.version}</version>
1149 <groupId>org.ops4j.pax.exam</groupId>
1150 <artifactId>pax-exam-container-karaf</artifactId>
1151 <version>${exam.version}</version>
1155 <groupId>org.ops4j.pax.exam</groupId>
1156 <artifactId>pax-exam-container-native</artifactId>
1157 <version>${exam.version}</version>
1161 <groupId>org.ops4j.pax.exam</groupId>
1162 <artifactId>pax-exam-extender-service</artifactId>
1163 <version>${exam.version}</version>
1167 <groupId>org.ops4j.pax.exam</groupId>
1168 <artifactId>pax-exam-inject</artifactId>
1169 <version>${exam.version}</version>
1173 <groupId>org.ops4j.pax.exam</groupId>
1174 <artifactId>pax-exam-invoker-junit</artifactId>
1175 <version>${exam.version}</version>
1179 <groupId>org.ops4j.pax.exam</groupId>
1180 <artifactId>pax-exam-features</artifactId>
1181 <version>${exam.version}</version>
1186 <groupId>org.ops4j.pax.exam</groupId>
1187 <artifactId>pax-exam-junit4</artifactId>
1188 <version>${exam.version}</version>
1192 <groupId>org.ops4j.pax.exam</groupId>
1193 <artifactId>pax-exam-link-mvn</artifactId>
1194 <version>${exam.version}</version>
1198 <groupId>org.ops4j.pax.exam</groupId>
1199 <artifactId>pax-exam-link-assembly</artifactId>
1200 <version>${exam.version}</version>
1205 <groupId>org.ops4j.pax.url</groupId>
1206 <artifactId>pax-url-link</artifactId>
1207 <version>2.5.3</version>
1211 <groupId>org.ops4j.pax.url</groupId>
1212 <artifactId>pax-url-aether</artifactId>
1213 <version>2.5.3</version>
1217 <groupId>org.ops4j.pax.url</groupId>
1218 <artifactId>pax-url-wrap</artifactId>
1219 <version>2.5.3</version>
1223 <groupId>org.springframework.osgi</groupId>
1224 <artifactId>spring-osgi-mock</artifactId>
1225 <version>1.2.1</version>
1229 <groupId>xmlunit</groupId>
1230 <artifactId>xmlunit</artifactId>
1231 <version>1.6</version>
1236 <groupId>org.eclipse.jetty</groupId>
1237 <artifactId>jetty-client</artifactId>
1238 <version>9.2.19.v20160908</version>
1241 <groupId>org.eclipse.jetty</groupId>
1242 <artifactId>jetty-server</artifactId>
1243 <version>9.2.19.v20160908</version>
1246 <groupId>org.eclipse.jetty</groupId>
1247 <artifactId>jetty-servlet-tester</artifactId>
1248 <version>9.2.19.v20160908</version>
1252 <groupId>org.eclipse.jetty</groupId>
1253 <artifactId>jetty-servlets</artifactId>
1254 <version>9.2.19.v20160908</version>
1257 <groupId>org.eclipse.jetty</groupId>
1258 <artifactId>jetty-webapp</artifactId>
1259 <version>9.2.19.v20160908</version>
1263 <groupId>com.h2database</groupId>
1264 <artifactId>h2</artifactId>
1265 <version>1.4.193</version>
1268 <!-- Xtend http://xtend-lang.org
1269 NOTE: When you increase the version here,
1270 then remember to also increase it for the
1271 xtend-maven-plugin below! (We don't want to
1272 use a Maven property, in order not to "leak" that.)
1275 <groupId>org.eclipse.xtend</groupId>
1276 <artifactId>org.eclipse.xtend.lib</artifactId>
1277 <version>2.12.0</version>
1280 <groupId>org.eclipse.xtend</groupId>
1281 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1282 <version>2.12.0</version>
1285 <groupId>org.eclipse.xtext</groupId>
1286 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1287 <version>2.12.0</version>
1290 <!-- Annotations -->
1292 <groupId>javax.inject</groupId>
1293 <artifactId>javax.inject</artifactId>
1294 <version>1</version>
1295 <optional>true</optional>
1298 <groupId>org.ops4j.pax.cdi</groupId>
1299 <artifactId>pax-cdi-api</artifactId>
1300 <version>1.0.0.RC2</version>
1301 <optional>true</optional>
1306 <groupId>com.datastax.cassandra</groupId>
1307 <artifactId>cassandra-driver-core</artifactId>
1308 <version>2.1.9</version>
1313 <groupId>io.dropwizard.metrics</groupId>
1314 <artifactId>metrics-core</artifactId>
1315 <version>3.1.2</version>
1318 <groupId>io.dropwizard.metrics</groupId>
1319 <artifactId>metrics-graphite</artifactId>
1320 <version>3.1.2</version>
1323 <!-- jung, a graph library -->
1325 <groupId>net.sf.jung</groupId>
1326 <artifactId>jung-api</artifactId>
1327 <version>2.1.1</version>
1330 <groupId>net.sf.jung</groupId>
1331 <artifactId>jung-algorithms</artifactId>
1332 <version>2.1.1</version>
1335 <groupId>net.sf.jung</groupId>
1336 <artifactId>jung-graph-impl</artifactId>
1337 <version>2.1.1</version>
1340 <!-- Karaf console support -->
1342 <groupId>org.apache.karaf.shell</groupId>
1343 <artifactId>org.apache.karaf.shell.core</artifactId>
1344 <version>${karaf.version}</version>
1347 <groupId>org.apache.karaf.shell</groupId>
1348 <artifactId>org.apache.karaf.shell.console</artifactId>
1349 <version>${karaf.version}</version>
1352 <!-- When updating this version, consider antl4-maven-plugin below -->
1354 <groupId>org.antlr</groupId>
1355 <artifactId>antlr4-runtime</artifactId>
1356 <version>4.7</version>
1358 <!-- Aries' Blueprint version should be kept in sync to the version actually
1359 used by our ${karaf[4].version} ... please bump this when increasing that.
1360 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1362 <groupId>org.apache.aries.blueprint</groupId>
1363 <artifactId>org.apache.aries.blueprint.core</artifactId>
1364 <version>1.7.1</version>
1368 </dependencyManagement>
1371 <!-- Karaf provides SL4FJ encapsulation -->
1373 <groupId>org.slf4j</groupId>
1374 <artifactId>slf4j-api</artifactId>
1375 <scope>provided</scope>
1379 <groupId>org.slf4j</groupId>
1380 <artifactId>slf4j-simple</artifactId>
1384 <!-- Enable useful code quality annotations everywhere -->
1386 <groupId>com.google.code.findbugs</groupId>
1387 <artifactId>annotations</artifactId>
1388 <scope>provided</scope>
1391 <groupId>org.eclipse.jdt</groupId>
1392 <artifactId>org.eclipse.jdt.annotation</artifactId>
1393 <scope>provided</scope>
1400 <!-- Official maven plugins, alpha-sorted by artifactId.
1401 We do not need to specify the groupId. -->
1403 <artifactId>maven-antrun-plugin</artifactId>
1404 <version>1.8</version>
1407 <artifactId>maven-checkstyle-plugin</artifactId>
1408 <version>${checkstyle.version}</version>
1411 <groupId>com.puppycrawl.tools</groupId>
1412 <artifactId>checkstyle</artifactId>
1413 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1414 <version>8.2</version>
1417 <groupId>org.opendaylight.odlparent</groupId>
1418 <artifactId>checkstyle</artifactId>
1419 <version>3.0.0-SNAPSHOT</version>
1422 <groupId>org.opendaylight.odlparent</groupId>
1423 <artifactId>odl-license</artifactId>
1424 <version>3.0.0-SNAPSHOT</version>
1427 <groupId>com.github.sevntu-checkstyle</groupId>
1428 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1429 <version>1.24.2</version>
1433 <configLocation>odl_checks.xml</configLocation>
1434 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1435 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1436 generated sources directory -->
1437 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1438 <includeResources>true</includeResources>
1439 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1440 <includeTestResources>true</includeTestResources>
1441 <includes>**\/*.java, **\/*.xtend</includes>
1443 org/opendaylight/yang/gen/**,
1444 **/protobuff/messages/**,
1445 **/thrift/gen/*.java
1447 <failsOnError>false</failsOnError>
1448 <consoleOutput>true</consoleOutput>
1452 <id>check-license</id>
1456 <phase>process-sources</phase>
1458 <configLocation>check-license.xml</configLocation>
1459 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1460 <includeResources>false</includeResources>
1461 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1462 <includeTestResources>false</includeTestResources>
1463 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1465 org/opendaylight/yang/gen/**,
1466 **/protobuff/messages/**,
1467 **/thrift/gen/*.java
1469 <failsOnError>false</failsOnError>
1470 <consoleOutput>true</consoleOutput>
1477 <phase>process-sources</phase>
1482 <groupId>org.apache.maven.plugins</groupId>
1483 <artifactId>maven-pmd-plugin</artifactId>
1484 <version>3.8</version>
1488 <phase>process-sources</phase>
1490 <goal>cpd-check</goal>
1493 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1494 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1495 <minimumTokens>101</minimumTokens>
1496 <printFailingErrors>true</printFailingErrors>
1498 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1499 not understand path prefixes nor wildcards. Details are available
1500 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1501 Hence people introducing new generated sources have to include
1504 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1505 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1507 <linkXRef>false</linkXRef>
1513 <artifactId>maven-compiler-plugin</artifactId>
1514 <version>${maven.compile.plugin.version}</version>
1516 <source>1.8</source>
1517 <target>1.8</target>
1519 <arg>-parameters</arg>
1524 <artifactId>maven-enforcer-plugin</artifactId>
1525 <version>${enforcer.version}</version>
1528 <artifactId>maven-failsafe-plugin</artifactId>
1529 <version>${failsafe.version}</version>
1532 <artifactId>maven-invoker-plugin</artifactId>
1533 <version>2.0.0</version>
1536 <artifactId>maven-jar-plugin</artifactId>
1537 <version>3.0.2</version>
1540 <artifactId>maven-dependency-plugin</artifactId>
1543 <id>unpack-license</id>
1544 <phase>generate-resources</phase>
1545 <goals><goal>unpack</goal></goals>
1549 <groupId>org.opendaylight.odlparent</groupId>
1550 <artifactId>odl-license</artifactId>
1551 <version>3.0.0-SNAPSHOT</version>
1554 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1555 <excludes>META-INF/**</excludes>
1562 <artifactId>maven-plugin-plugin</artifactId>
1563 <version>${maven.plugin.version}</version>
1567 <artifactId>maven-remote-resources-plugin</artifactId>
1568 <version>1.5</version>
1571 <artifactId>maven-resources-plugin</artifactId>
1572 <version>3.0.1</version>
1575 <artifactId>maven-shade-plugin</artifactId>
1576 <version>3.1.0</version>
1579 <artifactId>maven-source-plugin</artifactId>
1580 <version>3.0.1</version>
1583 <id>attach-sources</id>
1584 <phase>verify</phase>
1586 <goal>jar-no-fork</goal>
1592 <artifactId>maven-surefire-plugin</artifactId>
1593 <version>${maven.surefire.version}</version>
1595 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1596 <trimStackTrace>false</trimStackTrace>
1600 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1602 <!-- Support Blueprint XML construction using annotations -->
1603 <groupId>org.apache.aries.blueprint</groupId>
1604 <artifactId>blueprint-maven-plugin</artifactId>
1605 <version>1.4.0</version>
1608 <scanPath>org.opendaylight</scanPath>
1613 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1614 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1615 <groupId>org.apache.xbean</groupId>
1616 <artifactId>xbean-finder-shaded</artifactId>
1617 <version>4.5</version>
1623 <goal>blueprint-generate</goal>
1630 <groupId>org.apache.felix</groupId>
1631 <artifactId>maven-bundle-plugin</artifactId>
1632 <version>${maven.bundle.version}</version>
1633 <extensions>true</extensions>
1636 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1637 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1638 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1639 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1645 <groupId>org.apache.karaf.tooling</groupId>
1646 <artifactId>karaf-maven-plugin</artifactId>
1647 <version>${karaf.version}</version>
1651 <groupId>org.apache.servicemix.tooling</groupId>
1652 <artifactId>depends-maven-plugin</artifactId>
1653 <version>1.4.0</version>
1656 <id>generate-depends-file</id>
1658 <goal>generate-depends-file</goal>
1665 <groupId>org.codehaus.enunciate</groupId>
1666 <artifactId>maven-enunciate-plugin</artifactId>
1667 <version>${enunciate.version}</version>
1670 <groupId>org.codehaus.groovy.maven</groupId>
1671 <artifactId>gmaven-plugin</artifactId>
1672 <version>1.0</version>
1675 <groupId>org.codehaus.mojo</groupId>
1676 <artifactId>build-helper-maven-plugin</artifactId>
1677 <version>1.12</version>
1680 <groupId>org.codehaus.mojo</groupId>
1681 <artifactId>findbugs-maven-plugin</artifactId>
1682 <version>3.0.4</version>
1685 <groupId>org.opendaylight.odlparent</groupId>
1686 <artifactId>findbugs</artifactId>
1687 <version>3.0.0-SNAPSHOT</version>
1692 Enables analysis which takes more memory but finds more bugs.
1693 If you run out of memory, changes the value of the effort element
1696 <effort>Max</effort>
1697 <!-- Reports all bugs (other values are medium and max) -->
1698 <threshold>Low</threshold>
1699 <!-- Build doesn't fail if problems are found -->
1700 <failOnError>false</failOnError>
1701 <!-- References the excluded rules -->
1702 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1703 <!-- Produces XML report -->
1704 <xmlOutput>true</xmlOutput>
1705 <!-- Configures the directory in which the XML report is created -->
1706 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1710 Ensures that FindBugs inspects source code when project is compiled.
1713 <id>analyze-compile</id>
1714 <phase>compile</phase>
1722 <groupId>com.github.spotbugs</groupId>
1723 <artifactId>spotbugs-maven-plugin</artifactId>
1724 <version>3.1.0-RC6</version>
1727 <groupId>com.github.spotbugs</groupId>
1728 <artifactId>spotbugs</artifactId>
1729 <version>3.1.0</version>
1732 <groupId>org.opendaylight.odlparent</groupId>
1733 <artifactId>findbugs</artifactId>
1734 <version>3.0.0-SNAPSHOT</version>
1739 Enables analysis which takes more memory but finds more bugs.
1740 If you run out of memory, changes the value of the effort element
1743 <effort>Max</effort>
1744 <!-- Reports all bugs (other values are medium and max) -->
1745 <threshold>Low</threshold>
1746 <!-- Build doesn't fail if problems are found -->
1747 <failOnError>false</failOnError>
1748 <!-- References the excluded rules -->
1749 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1750 <!-- Produces XML report -->
1751 <xmlOutput>true</xmlOutput>
1752 <!-- Configures the directory in which the XML report is created -->
1753 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1757 Ensures that SpotBugs inspects source code when project is compiled.
1760 <id>analyze-compile</id>
1761 <phase>compile</phase>
1769 <groupId>org.codehaus.mojo</groupId>
1770 <artifactId>properties-maven-plugin</artifactId>
1771 <version>${propertymavenplugin.version}</version>
1774 <groupId>org.eclipse.xtend</groupId>
1775 <artifactId>xtend-maven-plugin</artifactId>
1776 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1777 <version>2.12.0</version>
1781 <goal>compile</goal>
1782 <goal>testCompile</goal>
1785 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1786 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1792 <groupId>org.eclipse.m2e</groupId>
1793 <artifactId>lifecycle-mapping</artifactId>
1794 <version>1.0.0</version>
1796 <lifecycleMappingMetadata>
1799 <pluginExecutionFilter>
1800 <groupId>org.apache.felix</groupId>
1801 <artifactId>maven-bundle-plugin</artifactId>
1802 <versionRange>[1.0,)</versionRange>
1804 <goal>manifest</goal>
1806 </pluginExecutionFilter>
1812 <pluginExecutionFilter>
1813 <groupId>org.apache.maven.plugins</groupId>
1814 <artifactId>maven-enforcer-plugin</artifactId>
1815 <versionRange>[1.0.0,)</versionRange>
1817 <goal>enforce</goal>
1819 </pluginExecutionFilter>
1825 <pluginExecutionFilter>
1826 <groupId>org.apache.maven.plugins</groupId>
1827 <artifactId>maven-dependency-plugin</artifactId>
1828 <versionRange>[2.10,)</versionRange>
1832 </pluginExecutionFilter>
1838 <pluginExecutionFilter>
1839 <groupId>org.apache.maven.plugins</groupId>
1840 <artifactId>maven-pmd-plugin</artifactId>
1841 <versionRange>[3.6,)</versionRange>
1843 <goal>cpd-check</goal>
1845 </pluginExecutionFilter>
1850 <!-- The plugin will eventually be removed, remove this too at that point -->
1852 <pluginExecutionFilter>
1853 <groupId>org.apache.maven.plugins</groupId>
1854 <artifactId>maven-antrun-plugin</artifactId>
1855 <versionRange>[1.8,)</versionRange>
1859 </pluginExecutionFilter>
1865 <pluginExecutionFilter>
1866 <groupId>org.apache.servicemix.tooling</groupId>
1867 <artifactId>depends-maven-plugin</artifactId>
1868 <versionRange>[1.2,)</versionRange>
1870 <goal>generate-depends-file</goal>
1872 </pluginExecutionFilter>
1878 <pluginExecutionFilter>
1879 <groupId>org.jacoco</groupId>
1880 <artifactId>jacoco-maven-plugin</artifactId>
1881 <versionRange>[0.7.0,)</versionRange>
1883 <goal>prepare-agent</goal>
1886 </pluginExecutionFilter>
1893 <pluginExecutionFilter>
1894 <groupId>org.ops4j.pax.exam</groupId>
1895 <artifactId>maven-paxexam-plugin</artifactId>
1896 <versionRange>[1.2.4,)</versionRange>
1898 <goal>generate-depends-file</goal>
1900 </pluginExecutionFilter>
1907 </lifecycleMappingMetadata>
1912 <groupId>org.jacoco</groupId>
1913 <artifactId>jacoco-maven-plugin</artifactId>
1914 <version>${jacoco.version}</version>
1916 <!-- Note: This exclusion list should match <sonar.exclusions>
1919 <exclude>**/gen/**</exclude>
1920 <exclude>**/generated-sources/**</exclude>
1921 <exclude>**/generated-test-sources/**</exclude>
1922 <exclude>**/yang-gen/**</exclude>
1923 <exclude>**/yang-gen-config/**</exclude>
1924 <exclude>**/yang-gen-sal/**</exclude>
1925 <exclude>**/yang-gen-code/**</exclude>
1926 <exclude>**/pax/**</exclude>
1932 <groupId>org.ops4j.pax.exam</groupId>
1933 <artifactId>maven-paxexam-plugin</artifactId>
1934 <version>1.2.4</version>
1938 <groupId>org.codehaus.mojo</groupId>
1939 <artifactId>jdepend-maven-plugin</artifactId>
1940 <version>2.0</version>
1945 <goal>generate-no-fork</goal>
1951 <!-- When updating this version, consider antl4-runtime above -->
1953 <groupId>org.antlr</groupId>
1954 <artifactId>antlr4-maven-plugin</artifactId>
1955 <version>4.7</version>
1962 <artifactId>maven-enforcer-plugin</artifactId>
1965 <id>enforce-banned-dependencies</id>
1967 <goal>enforce</goal>
1971 <bannedDependencies>
1972 <message>Please always use mockito-core instead of mockito-all, and findbugs:annotations instead of findbugs:jsr305 (see https://bugs.opendaylight.org/show_bug.cgi?id=7662 & https://bugs.opendaylight.org/show_bug.cgi?id=7663)</message>
1974 <exclude>org.mockito:mockito-all</exclude>
1975 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1976 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1977 <!-- as a dependency then clashes with the dependency checker (because it -->
1978 <!-- is not very good at handling annotations). Use the annotations jar -->
1979 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1981 <exclude>com.google.code.findbugs:jsr305</exclude>
1982 <exclude>net.jcip:jcip-annotations</exclude>
1984 </bannedDependencies>
1992 <artifactId>maven-dependency-plugin</artifactId>
1995 <artifactId>maven-checkstyle-plugin</artifactId>
1998 <artifactId>maven-pmd-plugin</artifactId>
2001 <artifactId>maven-source-plugin</artifactId>
2004 <artifactId>maven-javadoc-plugin</artifactId>
2007 <!-- Jacoco / Sonar -->
2009 <groupId>org.jacoco</groupId>
2010 <artifactId>jacoco-maven-plugin</artifactId>
2013 <id>pre-unit-test</id>
2015 <goal>prepare-agent</goal>
2018 <destFile>${sonar.jacoco.reportPath}</destFile>
2022 <id>post-unit-test</id>
2027 <dataFile>${sonar.jacoco.reportPath}</dataFile>
2034 <groupId>com.alexecollins.maven.plugin</groupId>
2035 <artifactId>script-maven-plugin</artifactId>
2036 <version>1.0.0</version>
2039 <phase>prepare-package</phase>
2041 <goal>execute</goal>
2045 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
2046 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
2047 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
2048 // static class methods only - it will be MUCH easier to write!)
2049 void copy(File root, String glob, File target) {
2050 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
2051 Iterator dirStreamIterator = dirStream.iterator();
2052 while (dirStreamIterator.hasNext()) {
2053 java.nio.file.Path path = dirStreamIterator.next();
2054 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
2055 new java.nio.file.CopyOption[] {
2056 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
2057 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
2064 File gitRepoRootDir = project.basedir;
2065 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
2066 gitRepoRootDir = gitRepoRootDir.getParentFile();
2069 File target = new File(project.build.outputDirectory);
2071 copy(gitRepoRootDir, "README*", target);
2072 copy(gitRepoRootDir, "CONTRIBUTING*", target);
2073 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
2080 <groupId>org.apache-extras.beanshell</groupId>
2081 <artifactId>bsh</artifactId>
2082 <version>2.0b6</version>
2087 <!-- Blueprint dependency injection -->
2088 <!-- Remove when upgrading to plugin 1.5.0, and use
2089 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
2090 See https://issues.apache.org/jira/browse/ARIES-1597
2091 BUT beware that the directory is now conditional... -->
2093 <artifactId>maven-antrun-plugin</artifactId>
2095 <!-- This should only run once, in the process-classes phase; but we need it to run after
2096 process-classes in child projects. Attaching to process-test-classes and prepare-package
2097 ensures that the file will be moved whether tests are skipped or not. -->
2099 <id>move-autowire-test</id>
2100 <phase>process-test-classes</phase>
2106 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2108 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2110 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2111 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2112 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2113 failonerror="false" quiet="true" />
2116 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2123 <id>move-autowire-package</id>
2124 <phase>prepare-package</phase>
2130 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2132 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2134 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2135 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2136 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2137 failonerror="false" quiet="true" />
2140 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2149 <groupId>ant-contrib</groupId>
2150 <artifactId>ant-contrib</artifactId>
2151 <version>1.0b3</version>
2154 <groupId>ant</groupId>
2155 <artifactId>ant</artifactId>
2160 <groupId>org.apache.ant</groupId>
2161 <artifactId>ant-nodeps</artifactId>
2162 <version>1.8.1</version>
2172 <artifactId>maven-checkstyle-plugin</artifactId>
2173 <version>${checkstyle.version}</version>
2176 <!-- FIXME: activate this
2178 <artifactId>maven-project-info-reports-plugin</artifactId>
2179 <version>${projectinfo}</version>
2182 <groupId>org.codehaus.mojo</groupId>
2183 <artifactId>jdepend-maven-plugin</artifactId>
2187 <report>generate-no-fork</report>
2193 <artifactId>maven-javadoc-plugin</artifactId>
2196 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2197 <link>https://google.github.io/guava/releases/23.3-jre/api/docs/</link>
2198 <link>http://netty.io/4.1/api/</link>
2206 Maven Site Configuration
2208 The following configuration is necessary for maven-site-plugin to
2209 correctly identify the correct deployment path for OpenDaylight Maven
2212 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2214 <distributionManagement>
2216 <id>opendaylight-site</id>
2217 <url>${nexus.site.url}/${project.artifactId}/</url>
2219 </distributionManagement>