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>4.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>3.0.0</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.9</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.1.4</karaf.version>
91 <karaf.plugin.version>4.1.4</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.9</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 <!-- Opt-in code quality checks -->
118 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
119 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
122 <dependencyManagement>
126 <groupId>org.opendaylight.odlparent</groupId>
127 <artifactId>odlparent-artifacts</artifactId>
128 <version>4.0.0-SNAPSHOT</version>
129 <scope>import</scope>
133 <!-- Build tool dependencies (normally not here in <dependencies>,
134 but in a <dependency> in <pluginManagement> but for Checkstyle this
135 is required so that we can share the same version of Checkstyle
136 for both the Maven plugin below as well as for custom Checkstyle
137 check rule projects, such as yangtools' checkstyle-logging) -->
139 <groupId>com.puppycrawl.tools</groupId>
140 <artifactId>checkstyle</artifactId>
141 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
142 <version>8.4</version>
145 <!-- Testing Dependencies -->
146 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
147 <!-- Need to stick to JUnit 4.11 until
148 https://github.com/jayway/powermock/issues/560 is fixed (either in
149 PowerMock or with a new JUnit release) -->
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.11</version>
157 <groupId>junit</groupId>
158 <artifactId>junit-dep</artifactId>
159 <version>4.11</version>
163 <groupId>org.skyscreamer</groupId>
164 <artifactId>jsonassert</artifactId>
165 <version>1.5.0</version>
169 <groupId>org.mockito</groupId>
170 <artifactId>mockito-core</artifactId>
171 <version>1.10.19</version>
175 <groupId>org.hamcrest</groupId>
176 <artifactId>hamcrest-core</artifactId>
177 <version>1.3</version>
181 <groupId>org.hamcrest</groupId>
182 <artifactId>hamcrest-library</artifactId>
183 <version>1.3</version>
187 <groupId>com.google.truth</groupId>
188 <artifactId>truth</artifactId>
189 <version>0.36</version>
193 <groupId>com.google.truth.extensions</groupId>
194 <artifactId>truth-java8-extension</artifactId>
195 <version>0.36</version>
199 <groupId>org.awaitility</groupId>
200 <artifactId>awaitility</artifactId>
201 <version>3.0.0</version>
205 <groupId>org.awaitility</groupId>
206 <artifactId>awaitility-proxy</artifactId>
207 <version>3.0.0</version>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-api-mockito</artifactId>
213 <version>1.6.4</version>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-api-support</artifactId>
219 <version>1.6.4</version>
223 <groupId>org.powermock</groupId>
224 <artifactId>powermock-core</artifactId>
225 <version>1.6.4</version>
229 <groupId>org.powermock</groupId>
230 <artifactId>powermock-module-junit4</artifactId>
231 <version>1.6.4</version>
235 <groupId>org.powermock</groupId>
236 <artifactId>powermock-reflect</artifactId>
237 <version>1.6.4</version>
242 Annotation Processors
245 <!-- Generates immutable implementations, builders, the works -->
246 <groupId>org.immutables</groupId>
247 <artifactId>value</artifactId>
248 <version>2.5.6</version>
249 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
250 <scope>provided</scope>
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 <scope>provided</scope>
265 <groupId>org.slf4j</groupId>
266 <artifactId>jcl-over-slf4j</artifactId>
267 <version>1.7.25</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-api</artifactId>
272 <version>1.7.25</version>
275 <groupId>org.slf4j</groupId>
276 <artifactId>slf4j-log4j12</artifactId>
277 <version>1.7.25</version>
280 <groupId>org.slf4j</groupId>
281 <artifactId>log4j-over-slf4j</artifactId>
282 <version>1.7.25</version>
285 <groupId>org.slf4j</groupId>
286 <artifactId>slf4j-simple</artifactId>
287 <version>1.7.25</version>
291 <groupId>ch.qos.logback</groupId>
292 <artifactId>logback-core</artifactId>
293 <version>1.2.3</version>
296 <groupId>ch.qos.logback</groupId>
297 <artifactId>logback-classic</artifactId>
298 <version>1.2.3</version>
301 <groupId>com.google.guava</groupId>
302 <artifactId>guava</artifactId>
303 <version>23.6-jre</version>
306 <groupId>com.google.code.findbugs</groupId>
307 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
308 <artifactId>jsr305</artifactId>
313 <groupId>com.google.guava</groupId>
314 <artifactId>guava-testlib</artifactId>
315 <version>23.6-jre</version>
319 <groupId>com.google.code.findbugs</groupId>
320 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
321 <artifactId>jsr305</artifactId>
326 <groupId>com.mycila.guice.extensions</groupId>
327 <artifactId>mycila-guice-jsr250</artifactId>
328 <!-- Make sure this version is in sync with the guice one below -->
329 <version>4.0.rc1</version>
333 <groupId>com.google.inject</groupId>
334 <artifactId>guice</artifactId>
335 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
336 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
337 <version>4.1.0</version>
340 <groupId>org.apache.commons</groupId>
341 <artifactId>commons-lang3</artifactId>
342 <version>3.7</version>
345 <groupId>org.apache.commons</groupId>
346 <artifactId>commons-text</artifactId>
347 <version>1.1</version>
350 <groupId>commons-lang</groupId>
351 <artifactId>commons-lang</artifactId>
352 <version>2.6</version>
355 <groupId>commons-codec</groupId>
356 <artifactId>commons-codec</artifactId>
357 <version>1.11</version>
359 <!-- Jersey for JAXRS -->
361 <groupId>javax.ws.rs</groupId>
362 <artifactId>javax.ws.rs-api</artifactId>
363 <version>2.0.1</version>
366 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
367 <artifactId>jersey-guava</artifactId>
368 <version>2.22.2</version>
371 <groupId>org.glassfish</groupId>
372 <artifactId>javax.json</artifactId>
373 <version>1.0.4</version>
376 <groupId>com.eclipsesource.jaxrs</groupId>
377 <artifactId>jersey-all</artifactId>
378 <version>2.22.2</version>
381 <!-- servlet 3.x support -->
383 <groupId>org.glassfish.jersey.containers</groupId>
384 <artifactId>jersey-container-servlet</artifactId>
385 <version>2.8</version>
388 <groupId>org.apache.geronimo.bundles</groupId>
389 <artifactId>json</artifactId>
390 <version>20090211_1</version>
392 <!-- FIXME : remove all dependencies for jersey 1.17 -->
394 <groupId>com.sun.jersey</groupId>
395 <artifactId>jersey-core</artifactId>
396 <version>1.19.4</version>
399 <groupId>com.sun.jersey</groupId>
400 <artifactId>jersey-json</artifactId>
401 <version>1.19.4</version>
404 <groupId>com.sun.jersey</groupId>
405 <artifactId>jersey-server</artifactId>
406 <version>1.19.4</version>
409 <groupId>com.sun.jersey</groupId>
410 <artifactId>jersey-servlet</artifactId>
411 <version>1.19.4</version>
414 <groupId>com.sun.jersey.jersey-test-framework</groupId>
415 <artifactId>jersey-test-framework-grizzly2</artifactId>
416 <version>1.19.4</version>
420 <groupId>com.sun.jersey.jersey-test-framework</groupId>
421 <artifactId>jersey-test-framework-inmemory</artifactId>
422 <version>1.19.4</version>
426 <groupId>com.sun.jersey</groupId>
427 <artifactId>jersey-client</artifactId>
428 <version>1.19.4</version>
431 <groupId>org.opendaylight.controller.thirdparty</groupId>
432 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
433 <version>1.17</version>
436 <groupId>org.apache.shiro</groupId>
437 <artifactId>shiro-core</artifactId>
438 <version>1.3.2</version>
441 <groupId>org.apache.shiro</groupId>
442 <artifactId>shiro-web</artifactId>
443 <version>1.3.2</version>
446 <!-- Plugin integration -->
448 <groupId>net.java.dev.stax-utils</groupId>
449 <artifactId>stax-utils</artifactId>
450 <version>20070216</version>
453 <groupId>org.sonatype.plexus</groupId>
454 <artifactId>plexus-build-api</artifactId>
455 <version>0.0.7</version>
458 <groupId>org.codehaus.plexus</groupId>
459 <artifactId>plexus-slf4j-logging</artifactId>
460 <version>1.1</version>
464 <groupId>org.codehaus.woodstox</groupId>
465 <artifactId>stax2-api</artifactId>
466 <!-- Needs to match jackson's idea of import -->
467 <version>3.1.4</version>
470 <groupId>com.fasterxml.jackson</groupId>
471 <artifactId>jackson-bom</artifactId>
472 <version>2.8.9</version>
473 <scope>import</scope>
477 <!-- TODO do we really need resteasy ? -->
479 <groupId>org.jboss.resteasy</groupId>
480 <artifactId>jaxrs-api</artifactId>
481 <version>3.0.12.Final</version>
485 <groupId>com.google.code.findbugs</groupId>
486 <artifactId>annotations</artifactId>
487 <version>3.0.0</version>
489 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
490 the types of this artifact are already shaded inside the :annotations artifact.
491 This state is a temporary solution to allow all projects to gradually switch over
492 switch their <dependency><groupId>com.google.code.findbugs from
493 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
494 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
497 <groupId>net.jcip</groupId>
498 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
499 <artifactId>jcip-annotations</artifactId>
504 <groupId>org.eclipse.jdt</groupId>
505 <artifactId>org.eclipse.jdt.annotation</artifactId>
506 <version>2.1.0</version>
507 <scope>provided</scope>
510 <groupId>com.google.code.gson</groupId>
511 <artifactId>gson</artifactId>
512 <version>2.8.2</version>
515 <groupId>commons-fileupload</groupId>
516 <artifactId>commons-fileupload</artifactId>
517 <version>1.3.3</version>
520 <groupId>commons-io</groupId>
521 <artifactId>commons-io</artifactId>
522 <version>2.6</version>
525 <groupId>commons-net</groupId>
526 <artifactId>commons-net</artifactId>
527 <version>3.6</version>
532 <groupId>io.netty</groupId>
533 <artifactId>netty-all</artifactId>
534 <!-- If these are updated, the version in features.xml needs to be changed too -->
535 <version>4.1.20.Final</version>
538 <groupId>io.netty</groupId>
539 <artifactId>netty-buffer</artifactId>
540 <version>4.1.20.Final</version>
543 <groupId>io.netty</groupId>
544 <artifactId>netty-codec</artifactId>
545 <version>4.1.20.Final</version>
548 <groupId>io.netty</groupId>
549 <artifactId>netty-codec-http</artifactId>
550 <version>4.1.20.Final</version>
553 <groupId>io.netty</groupId>
554 <artifactId>netty-common</artifactId>
555 <version>4.1.20.Final</version>
558 <groupId>io.netty</groupId>
559 <artifactId>netty-handler</artifactId>
560 <version>4.1.20.Final</version>
563 <groupId>io.netty</groupId>
564 <artifactId>netty-transport</artifactId>
565 <version>4.1.20.Final</version>
567 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
568 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
570 <groupId>io.netty</groupId>
571 <artifactId>netty-transport-native-epoll</artifactId>
572 <classifier>linux-x86_64</classifier>
573 <version>4.1.20.Final</version>
576 <groupId>javax.ws.rs</groupId>
577 <artifactId>jsr311-api</artifactId>
578 <version>1.1.1</version>
581 <groupId>javax.servlet</groupId>
582 <artifactId>javax.servlet-api</artifactId>
583 <version>3.1.0</version>
586 <groupId>org.apache.felix</groupId>
587 <artifactId>org.apache.felix.dependencymanager</artifactId>
588 <version>4.4.1</version>
591 <groupId>org.apache.felix</groupId>
592 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
593 <version>4.0.6</version>
596 <groupId>org.apache.felix</groupId>
597 <artifactId>org.apache.felix.metatype</artifactId>
598 <version>1.1.6</version>
601 <groupId>org.bouncycastle</groupId>
602 <artifactId>bcpkix-jdk15on</artifactId>
603 <version>${bouncycastle.version}</version>
606 <groupId>org.bouncycastle</groupId>
607 <artifactId>bcprov-jdk15on</artifactId>
608 <version>${bouncycastle.version}</version>
611 <groupId>org.bouncycastle</groupId>
612 <artifactId>bcprov-ext-jdk15on</artifactId>
613 <version>${bouncycastle.version}</version>
616 <groupId>org.codehaus.enunciate</groupId>
617 <artifactId>enunciate-core-annotations</artifactId>
618 <version>${enunciate.version}</version>
621 <groupId>com.webcohesion.enunciate</groupId>
622 <artifactId>enunciate-core-annotations</artifactId>
623 <version>2.10.1</version>
626 <groupId>org.codehaus.jettison</groupId>
627 <artifactId>jettison</artifactId>
628 <version>1.3.8</version>
630 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
631 pull in javax.validation first:
632 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
634 <groupId>org.eclipse.persistence</groupId>
635 <artifactId>org.eclipse.persistence.antlr</artifactId>
636 <version>2.6.2</version>
639 <groupId>org.eclipse.persistence</groupId>
640 <artifactId>org.eclipse.persistence.core</artifactId>
641 <version>2.6.2</version>
644 <groupId>org.eclipse.persistence</groupId>
645 <artifactId>org.eclipse.persistence.moxy</artifactId>
646 <version>2.6.2</version>
649 <groupId>javax.validation</groupId>
650 <artifactId>validation-api</artifactId>
651 <version>1.1.0.Final</version>
654 <groupId>org.javassist</groupId>
655 <artifactId>javassist</artifactId>
656 <version>3.21.0-GA</version>
659 <groupId>org.jboss.spec.javax.transaction</groupId>
660 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
661 <version>1.0.1.Final</version>
664 <groupId>org.jolokia</groupId>
665 <artifactId>jolokia-osgi</artifactId>
666 <version>1.3.7</version>
669 <groupId>org.json</groupId>
670 <artifactId>json</artifactId>
671 <version>20131018</version>
674 <groupId>org.osgi</groupId>
675 <artifactId>org.osgi.compendium</artifactId>
676 <version>${osgi.core.version}</version>
677 <scope>provided</scope>
680 <groupId>org.osgi</groupId>
681 <artifactId>org.osgi.core</artifactId>
682 <version>${osgi.core.version}</version>
683 <scope>provided</scope>
686 <groupId>org.osgi</groupId>
687 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
688 <artifactId>org.osgi.service.event</artifactId>
689 <version>1.3.1</version>
692 <groupId>org.apache.aries.quiesce</groupId>
693 <artifactId>org.apache.aries.quiesce.api</artifactId>
694 <version>1.0.0</version>
697 <groupId>org.ow2.asm</groupId>
698 <artifactId>asm-all</artifactId>
699 <version>5.1</version>
702 <!-- Configuration library -->
703 <!-- This needs to be kept in sync with the version used by akka -->
705 <groupId>com.typesafe</groupId>
706 <artifactId>config</artifactId>
707 <version>1.3.2</version>
710 <!-- Reactive Streams, used by Akka -->
712 <groupId>org.reactivestreams</groupId>
713 <artifactId>reactive-streams</artifactId>
714 <version>1.0.1</version>
719 <groupId>com.typesafe</groupId>
720 <artifactId>ssl-config-core_2.12</artifactId>
721 <version>0.2.2</version>
724 <groupId>com.typesafe.akka</groupId>
725 <artifactId>akka-actor_2.12</artifactId>
726 <version>${akka.version}</version>
729 <groupId>com.typesafe.akka</groupId>
730 <artifactId>akka-cluster_2.12</artifactId>
731 <version>${akka.version}</version>
734 <groupId>com.typesafe.akka</groupId>
735 <artifactId>akka-osgi_2.12</artifactId>
736 <version>${akka.version}</version>
739 <groupId>com.typesafe.akka</groupId>
740 <artifactId>akka-persistence_2.12</artifactId>
741 <version>${akka.version}</version>
744 <groupId>com.typesafe.akka</groupId>
745 <artifactId>akka-persistence-tck_2.12</artifactId>
746 <version>${akka.version}</version>
750 <groupId>com.typesafe.akka</groupId>
751 <artifactId>akka-protobuf_2.12</artifactId>
752 <version>${akka.version}</version>
755 <groupId>com.typesafe.akka</groupId>
756 <artifactId>akka-remote_2.12</artifactId>
757 <version>${akka.version}</version>
760 <groupId>com.typesafe.akka</groupId>
761 <artifactId>akka-slf4j_2.12</artifactId>
762 <version>${akka.version}</version>
765 <groupId>com.typesafe.akka</groupId>
766 <artifactId>akka-stream_2.12</artifactId>
767 <version>${akka.version}</version>
770 <groupId>com.typesafe.akka</groupId>
771 <artifactId>akka-testkit_2.12</artifactId>
772 <version>${akka.version}</version>
776 <groupId>org.scala-lang.modules</groupId>
777 <artifactId>scala-java8-compat_2.12</artifactId>
778 <version>0.8.0</version>
781 <groupId>org.scala-lang.modules</groupId>
782 <artifactId>scala-parser-combinators_2.12</artifactId>
783 <version>1.0.6</version>
786 <groupId>org.iq80.leveldb</groupId>
787 <artifactId>leveldb</artifactId>
788 <version>${leveldb.version}</version>
791 <groupId>org.fusesource.leveldbjni</groupId>
792 <artifactId>leveldbjni-all</artifactId>
793 <version>1.8-odl</version>
796 <groupId>org.uncommons.maths</groupId>
797 <artifactId>uncommons-maths</artifactId>
798 <version>1.2.2a</version>
801 <groupId>com.google.protobuf</groupId>
802 <artifactId>protobuf-java</artifactId>
803 <version>2.5.0</version>
806 <!-- Aeron, required by Akka -->
808 <groupId>org.agrona</groupId>
809 <artifactId>agrona</artifactId>
810 <version>0.9.12</version>
813 <groupId>io.aeron</groupId>
814 <artifactId>aeron-client</artifactId>
815 <version>1.7.0</version>
818 <groupId>io.aeron</groupId>
819 <artifactId>aeron-driver</artifactId>
820 <version>1.7.0</version>
825 <groupId>org.scala-lang</groupId>
826 <artifactId>scala-library</artifactId>
827 <version>2.12.4</version>
830 <groupId>org.scala-lang</groupId>
831 <artifactId>scala-reflect</artifactId>
832 <version>2.12.4</version>
835 <!-- LMAX Disruptor -->
837 <groupId>com.lmax</groupId>
838 <artifactId>disruptor</artifactId>
839 <version>3.3.7</version>
842 <!-- Add Pax Exam -->
844 <groupId>org.ops4j.pax.exam</groupId>
845 <artifactId>pax-exam</artifactId>
846 <version>${exam.version}</version>
850 <groupId>org.ops4j.pax.exam</groupId>
851 <artifactId>pax-exam-container-forked</artifactId>
852 <version>${exam.version}</version>
856 <groupId>org.ops4j.pax.exam</groupId>
857 <artifactId>pax-exam-container-karaf</artifactId>
858 <version>${exam.version}</version>
862 <groupId>org.ops4j.pax.exam</groupId>
863 <artifactId>pax-exam-container-native</artifactId>
864 <version>${exam.version}</version>
868 <groupId>org.ops4j.pax.exam</groupId>
869 <artifactId>pax-exam-extender-service</artifactId>
870 <version>${exam.version}</version>
874 <groupId>org.ops4j.pax.exam</groupId>
875 <artifactId>pax-exam-inject</artifactId>
876 <version>${exam.version}</version>
880 <groupId>org.ops4j.pax.exam</groupId>
881 <artifactId>pax-exam-invoker-junit</artifactId>
882 <version>${exam.version}</version>
886 <groupId>org.ops4j.pax.exam</groupId>
887 <artifactId>pax-exam-features</artifactId>
888 <version>${exam.version}</version>
893 <groupId>org.ops4j.pax.exam</groupId>
894 <artifactId>pax-exam-junit4</artifactId>
895 <version>${exam.version}</version>
899 <groupId>org.ops4j.pax.exam</groupId>
900 <artifactId>pax-exam-link-mvn</artifactId>
901 <version>${exam.version}</version>
905 <groupId>org.ops4j.pax.exam</groupId>
906 <artifactId>pax-exam-link-assembly</artifactId>
907 <version>${exam.version}</version>
912 <groupId>org.ops4j.pax.url</groupId>
913 <artifactId>pax-url-link</artifactId>
914 <version>2.5.3</version>
918 <groupId>org.ops4j.pax.url</groupId>
919 <artifactId>pax-url-aether</artifactId>
920 <version>2.5.3</version>
924 <groupId>org.ops4j.pax.url</groupId>
925 <artifactId>pax-url-wrap</artifactId>
926 <version>2.5.3</version>
930 <groupId>org.springframework.osgi</groupId>
931 <artifactId>spring-osgi-mock</artifactId>
932 <version>1.2.1</version>
936 <groupId>xmlunit</groupId>
937 <artifactId>xmlunit</artifactId>
938 <version>1.6</version>
943 <groupId>org.eclipse.jetty</groupId>
944 <artifactId>jetty-client</artifactId>
945 <version>9.3.21.v20170918</version>
948 <groupId>org.eclipse.jetty</groupId>
949 <artifactId>jetty-server</artifactId>
950 <version>9.3.21.v20170918</version>
953 <groupId>org.eclipse.jetty</groupId>
954 <artifactId>jetty-servlets</artifactId>
955 <version>9.3.21.v20170918</version>
958 <groupId>org.eclipse.jetty</groupId>
959 <artifactId>jetty-webapp</artifactId>
960 <version>9.3.21.v20170918</version>
964 <groupId>com.h2database</groupId>
965 <artifactId>h2</artifactId>
966 <version>1.4.196</version>
969 <!-- Xtend http://xtend-lang.org
970 NOTE: When you increase the version here,
971 then remember to also increase it for the
972 xtend-maven-plugin below! (We don't want to
973 use a Maven property, in order not to "leak" that.)
976 <groupId>org.eclipse.xtend</groupId>
977 <artifactId>org.eclipse.xtend.lib</artifactId>
978 <version>2.13.0</version>
981 <groupId>org.eclipse.xtend</groupId>
982 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
983 <version>2.13.0</version>
986 <groupId>org.eclipse.xtext</groupId>
987 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
988 <version>2.13.0</version>
993 <groupId>javax.inject</groupId>
994 <artifactId>javax.inject</artifactId>
996 <optional>true</optional>
999 <groupId>org.ops4j.pax.cdi</groupId>
1000 <artifactId>pax-cdi-api</artifactId>
1001 <version>1.0.0.RC2</version>
1002 <optional>true</optional>
1007 <groupId>com.datastax.cassandra</groupId>
1008 <artifactId>cassandra-driver-core</artifactId>
1009 <version>2.1.9</version>
1012 <!-- jung, a graph library -->
1014 <groupId>net.sf.jung</groupId>
1015 <artifactId>jung-api</artifactId>
1016 <version>2.1.1</version>
1019 <groupId>net.sf.jung</groupId>
1020 <artifactId>jung-algorithms</artifactId>
1021 <version>2.1.1</version>
1024 <groupId>net.sf.jung</groupId>
1025 <artifactId>jung-graph-impl</artifactId>
1026 <version>2.1.1</version>
1029 <!-- Karaf console support -->
1031 <groupId>org.apache.karaf.shell</groupId>
1032 <artifactId>org.apache.karaf.shell.core</artifactId>
1033 <version>${karaf.version}</version>
1036 <groupId>org.apache.karaf.shell</groupId>
1037 <artifactId>org.apache.karaf.shell.console</artifactId>
1038 <version>${karaf.version}</version>
1041 <!-- When updating this version, consider antl4-maven-plugin below -->
1043 <groupId>org.antlr</groupId>
1044 <artifactId>antlr4-runtime</artifactId>
1045 <version>4.7.1</version>
1047 <!-- Aries' Blueprint version should be kept in sync to the version actually
1048 used by our ${karaf[4].version} ... please bump this when increasing that.
1049 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1051 <groupId>org.apache.aries.blueprint</groupId>
1052 <artifactId>org.apache.aries.blueprint.core</artifactId>
1053 <version>1.7.1</version>
1057 </dependencyManagement>
1060 <!-- Karaf provides SL4FJ encapsulation -->
1062 <groupId>org.slf4j</groupId>
1063 <artifactId>slf4j-api</artifactId>
1064 <scope>provided</scope>
1068 <groupId>org.slf4j</groupId>
1069 <artifactId>slf4j-simple</artifactId>
1073 <!-- Enable useful code quality annotations everywhere -->
1075 <groupId>com.google.code.findbugs</groupId>
1076 <artifactId>annotations</artifactId>
1077 <scope>provided</scope>
1080 <groupId>org.eclipse.jdt</groupId>
1081 <artifactId>org.eclipse.jdt.annotation</artifactId>
1082 <scope>provided</scope>
1089 <!-- Official maven plugins, alpha-sorted by artifactId.
1090 We do not need to specify the groupId. -->
1092 <artifactId>maven-antrun-plugin</artifactId>
1093 <version>1.8</version>
1096 <artifactId>maven-checkstyle-plugin</artifactId>
1097 <version>${checkstyle.version}</version>
1100 <groupId>com.puppycrawl.tools</groupId>
1101 <artifactId>checkstyle</artifactId>
1102 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1103 <version>8.4</version>
1106 <groupId>org.opendaylight.odlparent</groupId>
1107 <artifactId>checkstyle</artifactId>
1108 <version>4.0.0-SNAPSHOT</version>
1111 <groupId>org.opendaylight.odlparent</groupId>
1112 <artifactId>odl-license</artifactId>
1113 <version>4.0.0-SNAPSHOT</version>
1116 <groupId>com.github.sevntu-checkstyle</groupId>
1117 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1118 <version>1.24.2</version>
1122 <configLocation>odl_checks.xml</configLocation>
1123 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1124 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1125 generated sources directory -->
1126 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1127 <includeResources>true</includeResources>
1128 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1129 <includeTestResources>true</includeTestResources>
1130 <includes>**\/*.java, **\/*.xtend</includes>
1132 org/opendaylight/yang/gen/**,
1133 **/protobuff/messages/**,
1134 **/thrift/gen/*.java
1136 <failsOnError>false</failsOnError>
1137 <consoleOutput>true</consoleOutput>
1141 <id>check-license</id>
1145 <phase>process-sources</phase>
1147 <configLocation>check-license.xml</configLocation>
1148 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1149 <includeResources>false</includeResources>
1150 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1151 <includeTestResources>false</includeTestResources>
1152 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1154 org/opendaylight/yang/gen/**,
1155 **/protobuff/messages/**,
1156 **/thrift/gen/*.java
1158 <failsOnError>false</failsOnError>
1159 <consoleOutput>true</consoleOutput>
1166 <phase>process-sources</phase>
1171 <groupId>org.apache.maven.plugins</groupId>
1172 <artifactId>maven-pmd-plugin</artifactId>
1173 <version>3.8</version>
1177 <phase>process-sources</phase>
1179 <goal>cpd-check</goal>
1182 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1183 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1184 <minimumTokens>101</minimumTokens>
1185 <printFailingErrors>true</printFailingErrors>
1187 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1188 not understand path prefixes nor wildcards. Details are available
1189 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1190 Hence people introducing new generated sources have to include
1193 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1194 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1196 <linkXRef>false</linkXRef>
1202 <artifactId>maven-compiler-plugin</artifactId>
1203 <version>${maven.compile.plugin.version}</version>
1205 <source>1.8</source>
1206 <target>1.8</target>
1207 <showWarnings>true</showWarnings>
1209 <arg>-parameters</arg>
1210 <arg>-Xlint:deprecation</arg>
1215 <artifactId>maven-enforcer-plugin</artifactId>
1216 <version>${enforcer.version}</version>
1219 <artifactId>maven-failsafe-plugin</artifactId>
1220 <version>${failsafe.version}</version>
1223 <artifactId>maven-invoker-plugin</artifactId>
1224 <version>2.0.0</version>
1227 <artifactId>maven-jar-plugin</artifactId>
1228 <version>3.0.2</version>
1231 <artifactId>maven-dependency-plugin</artifactId>
1234 <id>unpack-license</id>
1235 <phase>generate-resources</phase>
1236 <goals><goal>unpack</goal></goals>
1240 <groupId>org.opendaylight.odlparent</groupId>
1241 <artifactId>odl-license</artifactId>
1242 <version>4.0.0-SNAPSHOT</version>
1245 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1246 <excludes>META-INF/**</excludes>
1253 <artifactId>maven-plugin-plugin</artifactId>
1254 <version>${maven.plugin.version}</version>
1258 <artifactId>maven-remote-resources-plugin</artifactId>
1259 <version>1.5</version>
1262 <artifactId>maven-resources-plugin</artifactId>
1263 <version>3.0.1</version>
1266 <artifactId>maven-shade-plugin</artifactId>
1267 <version>3.1.0</version>
1270 <artifactId>maven-source-plugin</artifactId>
1271 <version>3.0.1</version>
1274 <id>attach-sources</id>
1275 <phase>verify</phase>
1277 <goal>jar-no-fork</goal>
1283 <artifactId>maven-surefire-plugin</artifactId>
1284 <version>${maven.surefire.version}</version>
1286 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1287 <trimStackTrace>false</trimStackTrace>
1291 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1293 <!-- Support Blueprint XML construction using annotations -->
1294 <groupId>org.apache.aries.blueprint</groupId>
1295 <artifactId>blueprint-maven-plugin</artifactId>
1296 <version>1.4.0</version>
1299 <scanPath>org.opendaylight</scanPath>
1304 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1305 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1306 <groupId>org.apache.xbean</groupId>
1307 <artifactId>xbean-finder-shaded</artifactId>
1308 <version>4.5</version>
1314 <goal>blueprint-generate</goal>
1321 <groupId>org.apache.felix</groupId>
1322 <artifactId>maven-bundle-plugin</artifactId>
1323 <version>${maven.bundle.version}</version>
1324 <extensions>true</extensions>
1327 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1328 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1329 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1330 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1336 <groupId>org.apache.karaf.tooling</groupId>
1337 <artifactId>karaf-maven-plugin</artifactId>
1338 <version>${karaf.version}</version>
1342 <groupId>org.apache.servicemix.tooling</groupId>
1343 <artifactId>depends-maven-plugin</artifactId>
1344 <version>1.4.0</version>
1347 <id>generate-depends-file</id>
1349 <goal>generate-depends-file</goal>
1356 <groupId>org.codehaus.enunciate</groupId>
1357 <artifactId>maven-enunciate-plugin</artifactId>
1358 <version>${enunciate.version}</version>
1361 <groupId>org.codehaus.groovy.maven</groupId>
1362 <artifactId>gmaven-plugin</artifactId>
1363 <version>1.0</version>
1366 <groupId>org.codehaus.mojo</groupId>
1367 <artifactId>build-helper-maven-plugin</artifactId>
1368 <version>1.12</version>
1371 <groupId>org.codehaus.mojo</groupId>
1372 <artifactId>findbugs-maven-plugin</artifactId>
1373 <version>3.0.5</version>
1376 <groupId>org.opendaylight.odlparent</groupId>
1377 <artifactId>findbugs</artifactId>
1378 <version>4.0.0-SNAPSHOT</version>
1383 Enables analysis which takes more memory but finds more bugs.
1384 If you run out of memory, changes the value of the effort element
1387 <effort>Max</effort>
1388 <!-- Reports all bugs (other values are medium and max) -->
1389 <threshold>Low</threshold>
1390 <!-- Build doesn't fail if problems are found -->
1391 <failOnError>false</failOnError>
1392 <!-- References the excluded rules -->
1393 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1394 <!-- Produces XML report -->
1395 <xmlOutput>true</xmlOutput>
1396 <!-- Configures the directory in which the XML report is created -->
1397 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1401 Ensures that FindBugs inspects source code when project is compiled.
1404 <id>analyze-compile</id>
1405 <phase>compile</phase>
1413 <groupId>com.github.spotbugs</groupId>
1414 <artifactId>spotbugs-maven-plugin</artifactId>
1415 <version>3.1.1</version>
1418 <groupId>com.github.spotbugs</groupId>
1419 <artifactId>spotbugs</artifactId>
1420 <version>3.1.1</version>
1423 <groupId>org.opendaylight.odlparent</groupId>
1424 <artifactId>findbugs</artifactId>
1425 <version>4.0.0-SNAPSHOT</version>
1430 Enables analysis which takes more memory but finds more bugs.
1431 If you run out of memory, changes the value of the effort element
1434 <effort>Max</effort>
1435 <!-- Reports all bugs (other values are medium and max) -->
1436 <threshold>Low</threshold>
1437 <!-- Build doesn't fail if problems are found -->
1438 <failOnError>false</failOnError>
1439 <!-- References the excluded rules -->
1440 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1441 <!-- Produces XML report -->
1442 <xmlOutput>true</xmlOutput>
1443 <!-- Configures the directory in which the XML report is created -->
1444 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1448 Ensures that SpotBugs inspects source code when project is compiled.
1451 <id>analyze-compile</id>
1452 <phase>compile</phase>
1460 <groupId>org.codehaus.mojo</groupId>
1461 <artifactId>properties-maven-plugin</artifactId>
1462 <version>${propertymavenplugin.version}</version>
1465 <groupId>org.eclipse.xtend</groupId>
1466 <artifactId>xtend-maven-plugin</artifactId>
1467 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1468 <version>2.13.0</version>
1472 <goal>compile</goal>
1473 <goal>testCompile</goal>
1476 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1477 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1483 <groupId>org.eclipse.m2e</groupId>
1484 <artifactId>lifecycle-mapping</artifactId>
1485 <version>1.0.0</version>
1487 <lifecycleMappingMetadata>
1490 <pluginExecutionFilter>
1491 <groupId>org.apache.felix</groupId>
1492 <artifactId>maven-bundle-plugin</artifactId>
1493 <versionRange>[1.0,)</versionRange>
1495 <goal>manifest</goal>
1497 </pluginExecutionFilter>
1503 <pluginExecutionFilter>
1504 <groupId>org.apache.maven.plugins</groupId>
1505 <artifactId>maven-enforcer-plugin</artifactId>
1506 <versionRange>[1.0.0,)</versionRange>
1508 <goal>enforce</goal>
1510 </pluginExecutionFilter>
1516 <pluginExecutionFilter>
1517 <groupId>org.apache.maven.plugins</groupId>
1518 <artifactId>maven-dependency-plugin</artifactId>
1519 <versionRange>[2.10,)</versionRange>
1523 </pluginExecutionFilter>
1529 <pluginExecutionFilter>
1530 <groupId>org.apache.maven.plugins</groupId>
1531 <artifactId>maven-pmd-plugin</artifactId>
1532 <versionRange>[3.6,)</versionRange>
1534 <goal>cpd-check</goal>
1536 </pluginExecutionFilter>
1541 <!-- The plugin will eventually be removed, remove this too at that point -->
1543 <pluginExecutionFilter>
1544 <groupId>org.apache.maven.plugins</groupId>
1545 <artifactId>maven-antrun-plugin</artifactId>
1546 <versionRange>[1.8,)</versionRange>
1550 </pluginExecutionFilter>
1556 <pluginExecutionFilter>
1557 <groupId>org.apache.servicemix.tooling</groupId>
1558 <artifactId>depends-maven-plugin</artifactId>
1559 <versionRange>[1.2,)</versionRange>
1561 <goal>generate-depends-file</goal>
1563 </pluginExecutionFilter>
1569 <pluginExecutionFilter>
1570 <groupId>org.jacoco</groupId>
1571 <artifactId>jacoco-maven-plugin</artifactId>
1572 <versionRange>[0.7.0,)</versionRange>
1574 <goal>prepare-agent</goal>
1577 </pluginExecutionFilter>
1584 <pluginExecutionFilter>
1585 <groupId>org.ops4j.pax.exam</groupId>
1586 <artifactId>maven-paxexam-plugin</artifactId>
1587 <versionRange>[1.2.4,)</versionRange>
1589 <goal>generate-depends-file</goal>
1591 </pluginExecutionFilter>
1598 <pluginExecutionFilter>
1599 <groupId>org.basepom.maven</groupId>
1601 duplicate-finder-maven-plugin
1603 <versionRange>[1.2.1,)</versionRange>
1607 </pluginExecutionFilter>
1613 </lifecycleMappingMetadata>
1618 <groupId>org.jacoco</groupId>
1619 <artifactId>jacoco-maven-plugin</artifactId>
1620 <version>${jacoco.version}</version>
1622 <!-- Note: This exclusion list should match <sonar.exclusions>
1625 <exclude>**/gen/**</exclude>
1626 <exclude>**/generated-sources/**</exclude>
1627 <exclude>**/generated-test-sources/**</exclude>
1628 <exclude>**/yang-gen/**</exclude>
1629 <exclude>**/yang-gen-config/**</exclude>
1630 <exclude>**/yang-gen-sal/**</exclude>
1631 <exclude>**/yang-gen-code/**</exclude>
1632 <exclude>**/pax/**</exclude>
1638 <groupId>org.ops4j.pax.exam</groupId>
1639 <artifactId>maven-paxexam-plugin</artifactId>
1640 <version>1.2.4</version>
1644 <groupId>org.codehaus.mojo</groupId>
1645 <artifactId>jdepend-maven-plugin</artifactId>
1646 <version>2.0</version>
1651 <goal>generate-no-fork</goal>
1657 <!-- When updating this version, consider antl4-runtime above -->
1659 <groupId>org.antlr</groupId>
1660 <artifactId>antlr4-maven-plugin</artifactId>
1661 <version>4.7.1</version>
1668 <artifactId>maven-enforcer-plugin</artifactId>
1671 <id>enforce-banned-dependencies</id>
1673 <goal>enforce</goal>
1677 <bannedDependencies>
1678 <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>
1680 <exclude>org.mockito:mockito-all</exclude>
1681 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1682 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1683 <!-- as a dependency then clashes with the dependency checker (because it -->
1684 <!-- is not very good at handling annotations). Use the annotations jar -->
1685 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1687 <exclude>com.google.code.findbugs:jsr305</exclude>
1688 <exclude>net.jcip:jcip-annotations</exclude>
1690 </bannedDependencies>
1698 <groupId>org.basepom.maven</groupId>
1699 <artifactId>duplicate-finder-maven-plugin</artifactId>
1700 <version>1.2.1</version>
1703 <id>find-duplicate-classpath-entries</id>
1704 <phase>verify</phase>
1711 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1712 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1713 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1714 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1715 <printEqualFiles>false</printEqualFiles>
1717 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1718 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1719 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1721 <ignoredResourcePatterns>
1722 <ignoredResourcePattern>org/opendaylight/blueprint/autowire.xml$</ignoredResourcePattern>
1723 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1724 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1725 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1726 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1727 </ignoredResourcePatterns>
1728 <ignoredDependencies>
1730 <groupId>org.slf4j</groupId>
1731 <artifactId>slf4j-simple</artifactId>
1732 </ignoredDependency>
1734 <groupId>org.opendaylight.odlparent</groupId>
1735 <artifactId>opendaylight-karaf-empty</artifactId>
1736 </ignoredDependency>
1737 </ignoredDependencies>
1741 <artifactId>maven-dependency-plugin</artifactId>
1744 <artifactId>maven-checkstyle-plugin</artifactId>
1747 <artifactId>maven-pmd-plugin</artifactId>
1750 <artifactId>maven-source-plugin</artifactId>
1753 <artifactId>maven-javadoc-plugin</artifactId>
1756 <!-- Jacoco / Sonar -->
1758 <groupId>org.jacoco</groupId>
1759 <artifactId>jacoco-maven-plugin</artifactId>
1762 <id>pre-unit-test</id>
1764 <goal>prepare-agent</goal>
1767 <destFile>${sonar.jacoco.reportPath}</destFile>
1771 <id>post-unit-test</id>
1776 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1783 <groupId>com.alexecollins.maven.plugin</groupId>
1784 <artifactId>script-maven-plugin</artifactId>
1785 <version>1.0.0</version>
1788 <phase>prepare-package</phase>
1790 <goal>execute</goal>
1794 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1795 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1796 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1797 // static class methods only - it will be MUCH easier to write!)
1798 void copy(File root, String glob, File target) {
1799 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1800 Iterator dirStreamIterator = dirStream.iterator();
1801 while (dirStreamIterator.hasNext()) {
1802 java.nio.file.Path path = dirStreamIterator.next();
1803 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1804 new java.nio.file.CopyOption[] {
1805 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1806 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1813 File gitRepoRootDir = project.basedir;
1814 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1815 gitRepoRootDir = gitRepoRootDir.getParentFile();
1818 File target = new File(project.build.outputDirectory);
1820 copy(gitRepoRootDir, "README*", target);
1821 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1822 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1829 <groupId>org.apache-extras.beanshell</groupId>
1830 <artifactId>bsh</artifactId>
1831 <version>2.0b6</version>
1836 <!-- Blueprint dependency injection -->
1837 <!-- Remove when upgrading to plugin 1.5.0, and use
1838 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
1839 See https://issues.apache.org/jira/browse/ARIES-1597
1840 BUT beware that the directory is now conditional... -->
1842 <artifactId>maven-antrun-plugin</artifactId>
1844 <!-- This should only run once, in the process-classes phase; but we need it to run after
1845 process-classes in child projects. Attaching to process-test-classes and prepare-package
1846 ensures that the file will be moved whether tests are skipped or not. -->
1848 <id>move-autowire-test</id>
1849 <phase>process-test-classes</phase>
1855 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1857 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1859 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1860 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1861 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1862 failonerror="false" quiet="true" />
1865 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1872 <id>move-autowire-package</id>
1873 <phase>prepare-package</phase>
1879 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1881 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1883 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1884 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1885 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1886 failonerror="false" quiet="true" />
1889 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1898 <groupId>ant-contrib</groupId>
1899 <artifactId>ant-contrib</artifactId>
1900 <version>1.0b3</version>
1903 <groupId>ant</groupId>
1904 <artifactId>ant</artifactId>
1909 <groupId>org.apache.ant</groupId>
1910 <artifactId>ant-nodeps</artifactId>
1911 <version>1.8.1</version>
1921 <artifactId>maven-checkstyle-plugin</artifactId>
1922 <version>${checkstyle.version}</version>
1925 <!-- FIXME: activate this
1927 <artifactId>maven-project-info-reports-plugin</artifactId>
1928 <version>${projectinfo}</version>
1931 <groupId>org.codehaus.mojo</groupId>
1932 <artifactId>jdepend-maven-plugin</artifactId>
1936 <report>generate-no-fork</report>
1945 Maven Site Configuration
1947 The following configuration is necessary for maven-site-plugin to
1948 correctly identify the correct deployment path for OpenDaylight Maven
1951 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1953 <distributionManagement>
1955 <id>opendaylight-site</id>
1956 <url>${nexus.site.url}/${project.artifactId}/</url>
1958 </distributionManagement>