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 didm, l2switch, lacp, persistence; see also controller -->
52 <maven.compile.plugin.version>3.7.0</maven.compile.plugin.version>
54 <maven.plugin.version>3.5</maven.plugin.version>
55 <!-- Used in controller, iotdm, neutron, of-config -->
56 <!-- Later versions break tests in downstream projects -->
57 <maven.surefire.version>2.18.1</maven.surefire.version>
59 <!-- Used in packetcable -->
60 <odl.checkstyle.version>3.0.0-SNAPSHOT</odl.checkstyle.version>
61 <!-- Used in l2switch, lacp, netide, ocpplugin, openflowjava, openflowplugin, snbi, tsdr -->
62 <enforcer.version>3.0.0-M1</enforcer.version>
63 <!-- Used in snmp4sdn; see also nemo -->
64 <enunciate.version>1.31</enunciate.version>
65 <!-- Used in controller, infrautils, netide, openflowplugin -->
66 <exam.version>4.12.0</exam.version>
67 <!-- Used in of-config, snmp4sdn -->
68 <failsafe.version>2.20.1</failsafe.version>
69 <!-- Used in genius, neutron, of-config, ovsdb, persistence, snmp4sdn, usc, vtn -->
70 <jacoco.version>0.8.1</jacoco.version>
71 <!-- Used in aaa, alto, bgpcep, bier, controller, coretutorials, genius, infrautils, iotdm,
72 l2switch, lacp, netconf, netide, netvirt, nic, ocpplugin, ovsdb, persistence, snbi, sxp,
74 <karaf.version>4.2.0</karaf.version>
76 <karaf.plugin.version>4.2.0</karaf.plugin.version>
77 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
78 <projectinfo>2.8.1</projectinfo>
79 <!-- Used in of-config; see also snmp4sdn -->
80 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
82 <!-- Supporting Libraries -->
83 <!-- Only used internally -->
84 <bouncycastle.version>1.59</bouncycastle.version>
86 <!-- Used by snbi; see also bier, dlux, iotdm, tsdr, unimgr -->
87 <osgi.core.version>5.0.0</osgi.core.version>
89 <!-- Default Sonar configuration -->
90 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
91 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
92 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
93 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
94 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
95 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
97 <!-- Opt-in code quality checks -->
98 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
99 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
102 <dependencyManagement>
106 <groupId>org.opendaylight.odlparent</groupId>
107 <artifactId>odlparent-artifacts</artifactId>
108 <version>4.0.0-SNAPSHOT</version>
109 <scope>import</scope>
113 <!-- Build tool dependencies (normally not here in <dependencies>,
114 but in a <dependency> in <pluginManagement> but for Checkstyle this
115 is required so that we can share the same version of Checkstyle
116 for both the Maven plugin below as well as for custom Checkstyle
117 check rule projects, such as yangtools' checkstyle-logging) -->
119 <groupId>com.puppycrawl.tools</groupId>
120 <artifactId>checkstyle</artifactId>
121 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
122 <version>8.10</version>
125 <!-- Testing Dependencies -->
126 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
127 <!-- Need to stick to JUnit 4.11 until
128 https://github.com/jayway/powermock/issues/560 is fixed (either in
129 PowerMock or with a new JUnit release) -->
131 <groupId>junit</groupId>
132 <artifactId>junit</artifactId>
133 <version>4.11</version>
137 <groupId>org.skyscreamer</groupId>
138 <artifactId>jsonassert</artifactId>
139 <version>1.5.0</version>
143 <groupId>org.mockito</groupId>
144 <artifactId>mockito-core</artifactId>
145 <version>1.10.19</version>
149 <groupId>org.hamcrest</groupId>
150 <artifactId>hamcrest-core</artifactId>
151 <version>1.3</version>
155 <groupId>org.hamcrest</groupId>
156 <artifactId>hamcrest-library</artifactId>
157 <version>1.3</version>
161 <groupId>com.google.truth</groupId>
162 <artifactId>truth</artifactId>
163 <version>0.42</version>
167 <groupId>com.google.truth.extensions</groupId>
168 <artifactId>truth-java8-extension</artifactId>
169 <version>0.42</version>
173 <groupId>org.awaitility</groupId>
174 <artifactId>awaitility</artifactId>
175 <version>3.0.0</version>
179 <groupId>org.awaitility</groupId>
180 <artifactId>awaitility-proxy</artifactId>
181 <version>3.0.0</version>
185 <groupId>org.powermock</groupId>
186 <artifactId>powermock-api-mockito</artifactId>
187 <version>1.7.4</version>
191 <groupId>org.powermock</groupId>
192 <artifactId>powermock-api-support</artifactId>
193 <version>1.7.4</version>
197 <groupId>org.powermock</groupId>
198 <artifactId>powermock-core</artifactId>
199 <version>1.7.4</version>
203 <groupId>org.powermock</groupId>
204 <artifactId>powermock-module-junit4</artifactId>
205 <version>1.7.4</version>
209 <groupId>org.powermock</groupId>
210 <artifactId>powermock-reflect</artifactId>
211 <version>1.7.4</version>
216 Annotation Processors
219 <!-- Generates immutable implementations, builders, the works -->
220 <groupId>org.immutables</groupId>
221 <artifactId>value</artifactId>
222 <version>2.6.3</version>
223 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
224 <scope>provided</scope>
227 <!-- Generates META-INF/services entries for ServiceLoader -->
228 <groupId>org.kohsuke.metainf-services</groupId>
229 <artifactId>metainf-services</artifactId>
230 <version>1.8</version>
231 <optional>true</optional>
232 <scope>provided</scope>
239 <groupId>org.slf4j</groupId>
240 <artifactId>jcl-over-slf4j</artifactId>
241 <version>1.7.25</version>
244 <groupId>org.slf4j</groupId>
245 <artifactId>slf4j-api</artifactId>
246 <version>1.7.25</version>
249 <groupId>org.slf4j</groupId>
250 <artifactId>slf4j-log4j12</artifactId>
251 <version>1.7.25</version>
254 <groupId>org.slf4j</groupId>
255 <artifactId>log4j-over-slf4j</artifactId>
256 <version>1.7.25</version>
259 <groupId>org.slf4j</groupId>
260 <artifactId>slf4j-simple</artifactId>
261 <version>1.7.25</version>
265 <groupId>ch.qos.logback</groupId>
266 <artifactId>logback-core</artifactId>
267 <version>1.2.3</version>
270 <groupId>ch.qos.logback</groupId>
271 <artifactId>logback-classic</artifactId>
272 <version>1.2.3</version>
275 <groupId>com.google.guava</groupId>
276 <artifactId>guava</artifactId>
277 <version>23.6.1-jre</version>
280 <groupId>com.google.code.findbugs</groupId>
281 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
282 <artifactId>jsr305</artifactId>
287 <groupId>com.google.guava</groupId>
288 <artifactId>guava-testlib</artifactId>
289 <version>23.6.1-jre</version>
293 <groupId>com.google.code.findbugs</groupId>
294 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
295 <artifactId>jsr305</artifactId>
300 <groupId>com.mycila.guice.extensions</groupId>
301 <artifactId>mycila-guice-jsr250</artifactId>
302 <!-- Make sure this version is in sync with the guice one below -->
303 <version>4.0.rc1</version>
306 <groupId>com.google.inject</groupId>
307 <artifactId>guice</artifactId>
308 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
309 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
310 <version>4.1.0</version>
313 <groupId>org.apache.commons</groupId>
314 <artifactId>commons-lang3</artifactId>
315 <version>3.7</version>
318 <groupId>org.apache.commons</groupId>
319 <artifactId>commons-text</artifactId>
320 <version>1.4</version>
323 <groupId>commons-lang</groupId>
324 <artifactId>commons-lang</artifactId>
325 <version>2.6</version>
328 <groupId>commons-codec</groupId>
329 <artifactId>commons-codec</artifactId>
330 <version>1.11</version>
332 <!-- Jersey for JAXRS -->
334 <groupId>javax.ws.rs</groupId>
335 <artifactId>javax.ws.rs-api</artifactId>
336 <version>2.0.1</version>
339 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
340 <artifactId>jersey-guava</artifactId>
341 <version>2.22.2</version>
344 <groupId>org.glassfish</groupId>
345 <artifactId>javax.json</artifactId>
346 <version>1.0.4</version>
349 <groupId>com.eclipsesource.jaxrs</groupId>
350 <artifactId>jersey-all</artifactId>
351 <version>2.22.2</version>
354 <!-- servlet 3.x support -->
356 <groupId>org.glassfish.jersey.containers</groupId>
357 <artifactId>jersey-container-servlet</artifactId>
358 <version>2.8</version>
361 <groupId>org.apache.geronimo.bundles</groupId>
362 <artifactId>json</artifactId>
363 <version>20090211_1</version>
365 <!-- FIXME : remove all dependencies for jersey 1.17 -->
367 <groupId>com.sun.jersey</groupId>
368 <artifactId>jersey-core</artifactId>
369 <version>1.19.4</version>
372 <groupId>com.sun.jersey</groupId>
373 <artifactId>jersey-json</artifactId>
374 <version>1.19.4</version>
377 <groupId>com.sun.jersey</groupId>
378 <artifactId>jersey-server</artifactId>
379 <version>1.19.4</version>
382 <groupId>com.sun.jersey</groupId>
383 <artifactId>jersey-servlet</artifactId>
384 <version>1.19.4</version>
387 <groupId>com.sun.jersey.jersey-test-framework</groupId>
388 <artifactId>jersey-test-framework-grizzly2</artifactId>
389 <version>1.19.4</version>
393 <groupId>com.sun.jersey.jersey-test-framework</groupId>
394 <artifactId>jersey-test-framework-inmemory</artifactId>
395 <version>1.19.4</version>
399 <groupId>com.sun.jersey</groupId>
400 <artifactId>jersey-client</artifactId>
401 <version>1.19.4</version>
404 <groupId>org.apache.shiro</groupId>
405 <artifactId>shiro-core</artifactId>
406 <version>1.3.2</version>
409 <groupId>org.apache.shiro</groupId>
410 <artifactId>shiro-web</artifactId>
411 <version>1.3.2</version>
414 <!-- Plugin integration -->
416 <groupId>net.java.dev.stax-utils</groupId>
417 <artifactId>stax-utils</artifactId>
418 <version>20070216</version>
421 <groupId>org.sonatype.plexus</groupId>
422 <artifactId>plexus-build-api</artifactId>
423 <version>0.0.7</version>
426 <groupId>org.codehaus.plexus</groupId>
427 <artifactId>plexus-slf4j-logging</artifactId>
428 <version>1.1</version>
432 <groupId>org.codehaus.woodstox</groupId>
433 <artifactId>stax2-api</artifactId>
434 <!-- Needs to match jackson's idea of import -->
435 <version>3.1.4</version>
438 <groupId>com.fasterxml.jackson</groupId>
439 <artifactId>jackson-bom</artifactId>
440 <version>2.9.6</version>
441 <scope>import</scope>
445 <!-- TODO do we really need resteasy ? -->
447 <groupId>org.jboss.resteasy</groupId>
448 <artifactId>jaxrs-api</artifactId>
449 <version>3.0.12.Final</version>
453 <groupId>com.google.code.findbugs</groupId>
454 <artifactId>annotations</artifactId>
455 <version>3.0.0</version>
457 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
458 the types of this artifact are already shaded inside the :annotations artifact.
459 This state is a temporary solution to allow all projects to gradually switch over
460 switch their <dependency><groupId>com.google.code.findbugs from
461 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
462 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
465 <groupId>net.jcip</groupId>
466 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
467 <artifactId>jcip-annotations</artifactId>
472 <groupId>org.eclipse.jdt</groupId>
473 <artifactId>org.eclipse.jdt.annotation</artifactId>
474 <version>2.2.0</version>
475 <scope>provided</scope>
478 <groupId>com.google.code.gson</groupId>
479 <artifactId>gson</artifactId>
480 <version>2.8.5</version>
483 <groupId>commons-fileupload</groupId>
484 <artifactId>commons-fileupload</artifactId>
485 <version>1.3.3</version>
488 <groupId>commons-io</groupId>
489 <artifactId>commons-io</artifactId>
490 <version>2.6</version>
493 <groupId>commons-net</groupId>
494 <artifactId>commons-net</artifactId>
495 <version>3.6</version>
500 <groupId>io.netty</groupId>
501 <artifactId>netty-all</artifactId>
502 <!-- If these are updated, the version in features.xml needs to be changed too -->
503 <version>4.1.24.Final</version>
506 <groupId>io.netty</groupId>
507 <artifactId>netty-buffer</artifactId>
508 <version>4.1.24.Final</version>
511 <groupId>io.netty</groupId>
512 <artifactId>netty-codec</artifactId>
513 <version>4.1.24.Final</version>
516 <groupId>io.netty</groupId>
517 <artifactId>netty-codec-http</artifactId>
518 <version>4.1.24.Final</version>
521 <groupId>io.netty</groupId>
522 <artifactId>netty-common</artifactId>
523 <version>4.1.24.Final</version>
526 <groupId>io.netty</groupId>
527 <artifactId>netty-handler</artifactId>
528 <version>4.1.24.Final</version>
531 <groupId>io.netty</groupId>
532 <artifactId>netty-transport</artifactId>
533 <version>4.1.24.Final</version>
535 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
536 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
538 <groupId>io.netty</groupId>
539 <artifactId>netty-transport-native-epoll</artifactId>
540 <classifier>linux-x86_64</classifier>
541 <version>4.1.24.Final</version>
544 <groupId>javax.ws.rs</groupId>
545 <artifactId>jsr311-api</artifactId>
546 <version>1.1.1</version>
549 <groupId>javax.servlet</groupId>
550 <artifactId>javax.servlet-api</artifactId>
551 <version>3.1.0</version>
554 <groupId>org.apache.felix</groupId>
555 <artifactId>org.apache.felix.dependencymanager</artifactId>
556 <version>4.4.1</version>
559 <groupId>org.apache.felix</groupId>
560 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
561 <version>4.0.6</version>
564 <groupId>org.apache.felix</groupId>
565 <artifactId>org.apache.felix.metatype</artifactId>
566 <version>1.1.6</version>
569 <groupId>org.bouncycastle</groupId>
570 <artifactId>bcpkix-jdk15on</artifactId>
571 <version>${bouncycastle.version}</version>
574 <groupId>org.bouncycastle</groupId>
575 <artifactId>bcprov-jdk15on</artifactId>
576 <version>${bouncycastle.version}</version>
579 <groupId>org.bouncycastle</groupId>
580 <artifactId>bcprov-ext-jdk15on</artifactId>
581 <version>${bouncycastle.version}</version>
584 <groupId>org.codehaus.enunciate</groupId>
585 <artifactId>enunciate-core-annotations</artifactId>
586 <version>${enunciate.version}</version>
589 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
590 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
591 and @RunAs and @PermitAll & Co. which we do not require
592 (or at least not from jsr250-api via enunciate) -->
593 <groupId>javax.annotation</groupId>
594 <artifactId>jsr250-api</artifactId>
599 <groupId>com.webcohesion.enunciate</groupId>
600 <artifactId>enunciate-core-annotations</artifactId>
601 <version>2.11.1</version>
605 <groupId>javax.annotation</groupId>
606 <artifactId>jsr250-api</artifactId>
611 <groupId>org.codehaus.jettison</groupId>
612 <artifactId>jettison</artifactId>
613 <version>1.4.0</version>
615 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
616 pull in javax.validation first:
617 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
619 <groupId>org.eclipse.persistence</groupId>
620 <artifactId>org.eclipse.persistence.antlr</artifactId>
621 <version>2.7.1</version>
624 <groupId>org.eclipse.persistence</groupId>
625 <artifactId>org.eclipse.persistence.core</artifactId>
626 <version>2.7.1</version>
629 <groupId>org.eclipse.persistence</groupId>
630 <artifactId>org.eclipse.persistence.moxy</artifactId>
631 <version>2.7.1</version>
634 <groupId>javax.validation</groupId>
635 <artifactId>validation-api</artifactId>
636 <version>1.1.0.Final</version>
639 <groupId>org.javassist</groupId>
640 <artifactId>javassist</artifactId>
641 <version>3.22.0-GA</version>
644 <groupId>org.jboss.spec.javax.transaction</groupId>
645 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
646 <version>1.0.1.Final</version>
649 <groupId>org.jolokia</groupId>
650 <artifactId>jolokia-osgi</artifactId>
651 <version>1.5.0</version>
654 <groupId>org.json</groupId>
655 <artifactId>json</artifactId>
656 <version>20131018</version>
659 <groupId>org.osgi</groupId>
660 <artifactId>org.osgi.compendium</artifactId>
661 <version>${osgi.core.version}</version>
662 <scope>provided</scope>
665 <groupId>org.osgi</groupId>
666 <artifactId>org.osgi.core</artifactId>
667 <version>${osgi.core.version}</version>
668 <scope>provided</scope>
671 <groupId>org.osgi</groupId>
672 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
673 <artifactId>org.osgi.service.event</artifactId>
674 <version>1.3.1</version>
677 <groupId>org.apache.aries.quiesce</groupId>
678 <artifactId>org.apache.aries.quiesce.api</artifactId>
679 <version>1.0.0</version>
682 <groupId>org.ow2.asm</groupId>
683 <artifactId>asm</artifactId>
684 <version>6.0</version>
687 <!-- Configuration library -->
688 <!-- This needs to be kept in sync with the version used by akka -->
690 <groupId>com.typesafe</groupId>
691 <artifactId>config</artifactId>
692 <version>1.3.2</version>
695 <!-- Reactive Streams, used by Akka -->
697 <groupId>org.reactivestreams</groupId>
698 <artifactId>reactive-streams</artifactId>
699 <version>1.0.1</version>
704 <groupId>com.typesafe</groupId>
705 <artifactId>ssl-config-core_2.12</artifactId>
706 <version>0.2.4</version>
709 <groupId>com.typesafe.akka</groupId>
710 <artifactId>akka-actor_2.12</artifactId>
711 <version>2.5.14</version>
714 <groupId>com.typesafe.akka</groupId>
715 <artifactId>akka-cluster_2.12</artifactId>
716 <version>2.5.14</version>
719 <groupId>com.typesafe.akka</groupId>
720 <artifactId>akka-osgi_2.12</artifactId>
721 <version>2.5.14</version>
724 <groupId>com.typesafe.akka</groupId>
725 <artifactId>akka-persistence_2.12</artifactId>
726 <version>2.5.14</version>
729 <groupId>com.typesafe.akka</groupId>
730 <artifactId>akka-persistence-tck_2.12</artifactId>
731 <version>2.5.14</version>
735 <groupId>com.typesafe.akka</groupId>
736 <artifactId>akka-protobuf_2.12</artifactId>
737 <version>2.5.14</version>
740 <groupId>com.typesafe.akka</groupId>
741 <artifactId>akka-remote_2.12</artifactId>
742 <version>2.5.14</version>
745 <groupId>com.typesafe.akka</groupId>
746 <artifactId>akka-slf4j_2.12</artifactId>
747 <version>2.5.14</version>
750 <groupId>com.typesafe.akka</groupId>
751 <artifactId>akka-stream_2.12</artifactId>
752 <version>2.5.14</version>
755 <groupId>com.typesafe.akka</groupId>
756 <artifactId>akka-testkit_2.12</artifactId>
757 <version>2.5.14</version>
761 <groupId>org.scala-lang.modules</groupId>
762 <artifactId>scala-java8-compat_2.12</artifactId>
763 <version>0.8.0</version>
766 <groupId>org.scala-lang.modules</groupId>
767 <artifactId>scala-parser-combinators_2.12</artifactId>
768 <version>1.1.1</version>
771 <groupId>org.iq80.leveldb</groupId>
772 <artifactId>leveldb</artifactId>
773 <version>0.7</version>
776 <groupId>org.fusesource.leveldbjni</groupId>
777 <artifactId>leveldbjni-all</artifactId>
778 <version>1.8-odl</version>
781 <groupId>org.uncommons.maths</groupId>
782 <artifactId>uncommons-maths</artifactId>
783 <version>1.2.2a</version>
786 <groupId>com.google.protobuf</groupId>
787 <artifactId>protobuf-java</artifactId>
788 <version>2.5.0</version>
791 <!-- Aeron, required by Akka -->
793 <groupId>org.agrona</groupId>
794 <artifactId>agrona</artifactId>
795 <version>0.9.21</version>
798 <groupId>io.aeron</groupId>
799 <artifactId>aeron-client</artifactId>
800 <version>1.9.3</version>
803 <groupId>io.aeron</groupId>
804 <artifactId>aeron-driver</artifactId>
805 <version>1.9.3</version>
810 <groupId>org.scala-lang</groupId>
811 <artifactId>scala-library</artifactId>
812 <version>2.12.6</version>
815 <groupId>org.scala-lang</groupId>
816 <artifactId>scala-reflect</artifactId>
817 <version>2.12.6</version>
820 <!-- LMAX Disruptor -->
822 <groupId>com.lmax</groupId>
823 <artifactId>disruptor</artifactId>
824 <version>3.4.1</version>
827 <!-- Add Pax Exam -->
829 <groupId>org.ops4j.pax.exam</groupId>
830 <artifactId>pax-exam</artifactId>
831 <version>${exam.version}</version>
835 <groupId>org.ops4j.pax.exam</groupId>
836 <artifactId>pax-exam-container-forked</artifactId>
837 <version>${exam.version}</version>
841 <groupId>org.ops4j.pax.exam</groupId>
842 <artifactId>pax-exam-container-karaf</artifactId>
843 <version>${exam.version}</version>
847 <groupId>org.ops4j.pax.exam</groupId>
848 <artifactId>pax-exam-container-native</artifactId>
849 <version>${exam.version}</version>
853 <groupId>org.ops4j.pax.exam</groupId>
854 <artifactId>pax-exam-extender-service</artifactId>
855 <version>${exam.version}</version>
859 <groupId>org.ops4j.pax.exam</groupId>
860 <artifactId>pax-exam-inject</artifactId>
861 <version>${exam.version}</version>
865 <groupId>org.ops4j.pax.exam</groupId>
866 <artifactId>pax-exam-invoker-junit</artifactId>
867 <version>${exam.version}</version>
871 <groupId>org.ops4j.pax.exam</groupId>
872 <artifactId>pax-exam-features</artifactId>
873 <version>${exam.version}</version>
878 <groupId>org.ops4j.pax.exam</groupId>
879 <artifactId>pax-exam-junit4</artifactId>
880 <version>${exam.version}</version>
884 <groupId>org.ops4j.pax.exam</groupId>
885 <artifactId>pax-exam-link-mvn</artifactId>
886 <version>${exam.version}</version>
890 <groupId>org.ops4j.pax.exam</groupId>
891 <artifactId>pax-exam-link-assembly</artifactId>
892 <version>${exam.version}</version>
897 <groupId>org.ops4j.pax.url</groupId>
898 <artifactId>pax-url-link</artifactId>
899 <version>2.5.3</version>
903 <groupId>org.ops4j.pax.url</groupId>
904 <artifactId>pax-url-aether</artifactId>
905 <version>2.5.3</version>
909 <groupId>org.ops4j.pax.url</groupId>
910 <artifactId>pax-url-wrap</artifactId>
911 <version>2.5.3</version>
915 <groupId>org.springframework.osgi</groupId>
916 <artifactId>spring-osgi-mock</artifactId>
917 <version>1.2.1</version>
921 <groupId>xmlunit</groupId>
922 <artifactId>xmlunit</artifactId>
923 <version>1.6</version>
928 <groupId>org.eclipse.jetty</groupId>
929 <artifactId>jetty-client</artifactId>
930 <version>9.3.21.v20170918</version>
933 <groupId>org.eclipse.jetty</groupId>
934 <artifactId>jetty-server</artifactId>
935 <version>9.3.21.v20170918</version>
938 <groupId>org.eclipse.jetty</groupId>
939 <artifactId>jetty-servlets</artifactId>
940 <version>9.3.21.v20170918</version>
943 <groupId>org.eclipse.jetty</groupId>
944 <artifactId>jetty-webapp</artifactId>
945 <version>9.3.21.v20170918</version>
949 <groupId>com.h2database</groupId>
950 <artifactId>h2</artifactId>
951 <version>1.4.196</version>
954 <!-- Xtend http://xtend-lang.org
955 NOTE: When you increase the version here,
956 then remember to also increase it for the
957 xtend-maven-plugin below! (We don't want to
958 use a Maven property, in order not to "leak" that.)
961 <groupId>org.eclipse.xtend</groupId>
962 <artifactId>org.eclipse.xtend.lib</artifactId>
963 <version>2.14.0</version>
966 <groupId>org.eclipse.xtend</groupId>
967 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
968 <version>2.14.0</version>
971 <groupId>org.eclipse.xtext</groupId>
972 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
973 <version>2.14.0</version>
978 <groupId>javax.inject</groupId>
979 <artifactId>javax.inject</artifactId>
981 <optional>true</optional>
984 <groupId>org.ops4j.pax.cdi</groupId>
985 <artifactId>pax-cdi-api</artifactId>
986 <version>1.0.0.RC2</version>
987 <optional>true</optional>
992 <groupId>com.datastax.cassandra</groupId>
993 <artifactId>cassandra-driver-core</artifactId>
994 <version>2.1.9</version>
997 <!-- jung, a graph library -->
999 <groupId>net.sf.jung</groupId>
1000 <artifactId>jung-api</artifactId>
1001 <version>2.1.1</version>
1004 <groupId>net.sf.jung</groupId>
1005 <artifactId>jung-algorithms</artifactId>
1006 <version>2.1.1</version>
1009 <groupId>net.sf.jung</groupId>
1010 <artifactId>jung-graph-impl</artifactId>
1011 <version>2.1.1</version>
1014 <!-- Karaf console support -->
1016 <groupId>org.apache.karaf.shell</groupId>
1017 <artifactId>org.apache.karaf.shell.core</artifactId>
1018 <version>${karaf.version}</version>
1021 <groupId>org.apache.karaf.shell</groupId>
1022 <artifactId>org.apache.karaf.shell.console</artifactId>
1023 <version>${karaf.version}</version>
1026 <!-- ThreeTen-Extra, date/time complements -->
1028 <groupId>org.threeten</groupId>
1029 <artifactId>threeten-extra</artifactId>
1030 <version>1.3.2</version>
1033 <!-- When updating this version, consider antl4-maven-plugin below -->
1035 <groupId>org.antlr</groupId>
1036 <artifactId>antlr4-runtime</artifactId>
1037 <version>4.7.1</version>
1039 <!-- Aries' Blueprint version should be kept in sync to the version actually
1040 used by our ${karaf[4].version} ... please bump this when increasing that.
1041 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1043 <groupId>org.apache.aries.blueprint</groupId>
1044 <artifactId>org.apache.aries.blueprint.core</artifactId>
1045 <version>1.9.0</version>
1049 </dependencyManagement>
1053 We expect slf4j-api to be provided by the platform.
1054 Karaf provides it, other containers need to provide it themselves.
1057 <groupId>org.slf4j</groupId>
1058 <artifactId>slf4j-api</artifactId>
1059 <scope>provided</scope>
1063 Enable useful code quality annotations everywhere. Since these annotations
1064 are not required at runtime.
1067 <groupId>com.google.code.findbugs</groupId>
1068 <artifactId>annotations</artifactId>
1069 <scope>provided</scope>
1072 <groupId>org.eclipse.jdt</groupId>
1073 <artifactId>org.eclipse.jdt.annotation</artifactId>
1074 <scope>provided</scope>
1078 Testing output should be routed through slf4j-simple.
1081 <groupId>org.slf4j</groupId>
1082 <artifactId>slf4j-simple</artifactId>
1087 Unit tests can use JUnit + Mockito + Hamcrest by default.
1090 <groupId>junit</groupId>
1091 <artifactId>junit</artifactId>
1095 <groupId>org.mockito</groupId>
1096 <artifactId>mockito-core</artifactId>
1104 <!-- Official maven plugins, alpha-sorted by artifactId.
1105 We do not need to specify the groupId. -->
1107 <artifactId>maven-antrun-plugin</artifactId>
1108 <version>1.8</version>
1111 <artifactId>maven-checkstyle-plugin</artifactId>
1112 <version>3.0.0</version>
1115 <groupId>com.puppycrawl.tools</groupId>
1116 <artifactId>checkstyle</artifactId>
1117 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1118 <version>8.10.1</version>
1121 <groupId>org.opendaylight.odlparent</groupId>
1122 <artifactId>checkstyle</artifactId>
1123 <version>4.0.0-SNAPSHOT</version>
1126 <groupId>org.opendaylight.odlparent</groupId>
1127 <artifactId>odl-license</artifactId>
1128 <version>4.0.0-SNAPSHOT</version>
1131 <groupId>com.github.sevntu-checkstyle</groupId>
1132 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1133 <version>1.29.0</version>
1137 <configLocation>odl_checks.xml</configLocation>
1138 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1139 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1140 generated sources directory -->
1142 <directory>${project.build.sourceDirectory}</directory>
1143 </sourceDirectories>
1144 <includeResources>true</includeResources>
1145 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1146 <includeTestResources>true</includeTestResources>
1147 <includes>**\/*.java, **\/*.xtend</includes>
1149 org/opendaylight/yang/gen/**,
1150 **/protobuff/messages/**,
1151 **/thrift/gen/*.java
1153 <failsOnError>false</failsOnError>
1154 <consoleOutput>true</consoleOutput>
1158 <id>check-license</id>
1162 <phase>process-sources</phase>
1164 <configLocation>check-license.xml</configLocation>
1165 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1166 <includeResources>false</includeResources>
1167 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1168 <includeTestResources>false</includeTestResources>
1170 <directory>${project.build.sourceDirectory}</directory>
1171 </sourceDirectories>
1173 org/opendaylight/yang/gen/**,
1174 **/protobuff/messages/**,
1175 **/thrift/gen/*.java
1177 <failsOnError>false</failsOnError>
1178 <consoleOutput>true</consoleOutput>
1185 <phase>process-sources</phase>
1190 <groupId>org.apache.maven.plugins</groupId>
1191 <artifactId>maven-pmd-plugin</artifactId>
1192 <version>3.10.0</version>
1196 <phase>process-sources</phase>
1198 <goal>cpd-check</goal>
1201 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1202 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1203 <minimumTokens>101</minimumTokens>
1204 <printFailingErrors>true</printFailingErrors>
1206 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1207 not understand path prefixes nor wildcards. Details are available
1208 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1209 Hence people introducing new generated sources have to include
1212 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1213 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1215 <linkXRef>false</linkXRef>
1221 <artifactId>maven-compiler-plugin</artifactId>
1222 <version>${maven.compile.plugin.version}</version>
1224 <source>1.8</source>
1225 <target>1.8</target>
1226 <showWarnings>true</showWarnings>
1228 <arg>-parameters</arg>
1229 <arg>-Xlint:deprecation</arg>
1234 <artifactId>maven-enforcer-plugin</artifactId>
1235 <version>${enforcer.version}</version>
1238 <artifactId>maven-failsafe-plugin</artifactId>
1239 <version>${failsafe.version}</version>
1242 <artifactId>maven-invoker-plugin</artifactId>
1243 <version>2.0.0</version>
1246 <artifactId>maven-jar-plugin</artifactId>
1247 <version>3.0.2</version>
1250 <artifactId>maven-dependency-plugin</artifactId>
1253 <id>unpack-license</id>
1254 <phase>generate-resources</phase>
1255 <goals><goal>unpack</goal></goals>
1259 <groupId>org.opendaylight.odlparent</groupId>
1260 <artifactId>odl-license</artifactId>
1261 <version>4.0.0-SNAPSHOT</version>
1264 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1265 <excludes>META-INF/**</excludes>
1272 <artifactId>maven-plugin-plugin</artifactId>
1273 <version>${maven.plugin.version}</version>
1277 <artifactId>maven-remote-resources-plugin</artifactId>
1278 <version>1.5</version>
1281 <artifactId>maven-resources-plugin</artifactId>
1282 <version>3.0.1</version>
1285 <artifactId>maven-shade-plugin</artifactId>
1286 <version>3.1.0</version>
1289 <artifactId>maven-source-plugin</artifactId>
1290 <version>3.0.1</version>
1293 <id>attach-sources</id>
1294 <phase>verify</phase>
1296 <goal>jar-no-fork</goal>
1302 <artifactId>maven-surefire-plugin</artifactId>
1303 <version>${maven.surefire.version}</version>
1305 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1306 <trimStackTrace>false</trimStackTrace>
1310 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1312 <!-- Support Blueprint XML construction using annotations -->
1313 <groupId>org.apache.aries.blueprint</groupId>
1314 <artifactId>blueprint-maven-plugin</artifactId>
1315 <version>1.10.0</version>
1318 <scanPath>org.opendaylight</scanPath>
1320 <generatedDir>org/opendaylight/blueprint/</generatedDir>
1325 <goal>blueprint-generate</goal>
1332 <groupId>org.apache.felix</groupId>
1333 <artifactId>maven-bundle-plugin</artifactId>
1334 <version>3.5.0</version>
1335 <extensions>true</extensions>
1338 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1339 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1340 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1341 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1347 <groupId>org.apache.karaf.tooling</groupId>
1348 <artifactId>karaf-maven-plugin</artifactId>
1349 <version>${karaf.version}</version>
1353 <groupId>org.apache.servicemix.tooling</groupId>
1354 <artifactId>depends-maven-plugin</artifactId>
1355 <version>1.4.0</version>
1358 <id>generate-depends-file</id>
1360 <goal>generate-depends-file</goal>
1367 <groupId>org.codehaus.enunciate</groupId>
1368 <artifactId>maven-enunciate-plugin</artifactId>
1369 <version>${enunciate.version}</version>
1372 <groupId>org.codehaus.groovy.maven</groupId>
1373 <artifactId>gmaven-plugin</artifactId>
1374 <version>1.0</version>
1377 <groupId>org.codehaus.mojo</groupId>
1378 <artifactId>build-helper-maven-plugin</artifactId>
1379 <version>3.0.0</version>
1382 <groupId>org.codehaus.mojo</groupId>
1383 <artifactId>findbugs-maven-plugin</artifactId>
1384 <version>3.0.5</version>
1387 <groupId>org.opendaylight.odlparent</groupId>
1388 <artifactId>findbugs</artifactId>
1389 <version>4.0.0-SNAPSHOT</version>
1395 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1396 <artifactId>bug-pattern</artifactId>
1397 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1398 but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1399 <version>1.4.0</version>
1403 Enables analysis which takes more memory but finds more bugs.
1404 If you run out of memory, changes the value of the effort element
1407 <effort>Max</effort>
1408 <!-- Reports all bugs (other values are medium and max) -->
1409 <threshold>Low</threshold>
1410 <!-- Build doesn't fail if problems are found -->
1411 <failOnError>false</failOnError>
1412 <!-- References the excluded rules -->
1413 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1414 <!-- Produces XML report -->
1415 <xmlOutput>true</xmlOutput>
1416 <!-- Configures the directory in which the XML report is created -->
1417 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1421 Ensures that FindBugs inspects source code when project is compiled.
1424 <id>analyze-compile</id>
1425 <phase>compile</phase>
1433 <groupId>com.github.spotbugs</groupId>
1434 <artifactId>spotbugs-maven-plugin</artifactId>
1435 <version>3.1.5</version>
1438 <groupId>com.github.spotbugs</groupId>
1439 <artifactId>spotbugs</artifactId>
1440 <version>3.1.5</version>
1443 <groupId>org.opendaylight.odlparent</groupId>
1444 <artifactId>spotbugs</artifactId>
1445 <version>4.0.0-SNAPSHOT</version>
1451 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1452 <artifactId>bug-pattern</artifactId>
1453 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1454 <version>1.4.1</version>
1458 Enables analysis which takes more memory but finds more bugs.
1459 If you run out of memory, changes the value of the effort element
1462 <effort>Max</effort>
1463 <!-- Reports all bugs (other values are medium and max) -->
1464 <threshold>Low</threshold>
1465 <!-- Build doesn't fail if problems are found -->
1466 <failOnError>false</failOnError>
1467 <!-- References the excluded rules -->
1468 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1469 <!-- Produces XML report -->
1470 <xmlOutput>true</xmlOutput>
1471 <!-- Configures the directory in which the XML report is created -->
1472 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1476 Ensures that SpotBugs inspects source code when project is compiled.
1479 <id>analyze-compile</id>
1480 <phase>compile</phase>
1488 <groupId>org.codehaus.mojo</groupId>
1489 <artifactId>properties-maven-plugin</artifactId>
1490 <version>${propertymavenplugin.version}</version>
1493 <groupId>org.eclipse.xtend</groupId>
1494 <artifactId>xtend-maven-plugin</artifactId>
1495 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1496 <version>2.14.0</version>
1500 <goal>compile</goal>
1501 <goal>testCompile</goal>
1504 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1505 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1510 <!-- This is needed because upstream got broken by their inconsistency: pulling in old core,
1511 but using ranges for other components. No wonder it blew up. -->
1514 <groupId>org.eclipse.platform</groupId>
1515 <artifactId>org.eclipse.equinox.common</artifactId>
1516 <version>3.10.0</version>
1521 <groupId>org.eclipse.m2e</groupId>
1522 <artifactId>lifecycle-mapping</artifactId>
1523 <version>1.0.0</version>
1525 <lifecycleMappingMetadata>
1528 <pluginExecutionFilter>
1529 <groupId>org.apache.felix</groupId>
1530 <artifactId>maven-bundle-plugin</artifactId>
1531 <versionRange>[1.0,)</versionRange>
1533 <goal>manifest</goal>
1535 </pluginExecutionFilter>
1541 <pluginExecutionFilter>
1542 <groupId>org.apache.maven.plugins</groupId>
1543 <artifactId>maven-enforcer-plugin</artifactId>
1544 <versionRange>[1.0.0,)</versionRange>
1546 <goal>enforce</goal>
1548 </pluginExecutionFilter>
1554 <pluginExecutionFilter>
1555 <groupId>org.apache.maven.plugins</groupId>
1556 <artifactId>maven-dependency-plugin</artifactId>
1557 <versionRange>[2.10,)</versionRange>
1561 </pluginExecutionFilter>
1567 <pluginExecutionFilter>
1568 <groupId>org.apache.maven.plugins</groupId>
1569 <artifactId>maven-pmd-plugin</artifactId>
1570 <versionRange>[3.6,)</versionRange>
1572 <goal>cpd-check</goal>
1574 </pluginExecutionFilter>
1579 <!-- The plugin will eventually be removed, remove this too at that point -->
1581 <pluginExecutionFilter>
1582 <groupId>org.apache.maven.plugins</groupId>
1583 <artifactId>maven-antrun-plugin</artifactId>
1584 <versionRange>[1.8,)</versionRange>
1588 </pluginExecutionFilter>
1594 <pluginExecutionFilter>
1595 <groupId>org.apache.servicemix.tooling</groupId>
1596 <artifactId>depends-maven-plugin</artifactId>
1597 <versionRange>[1.2,)</versionRange>
1599 <goal>generate-depends-file</goal>
1601 </pluginExecutionFilter>
1607 <pluginExecutionFilter>
1608 <groupId>org.jacoco</groupId>
1609 <artifactId>jacoco-maven-plugin</artifactId>
1610 <versionRange>[0.7.0,)</versionRange>
1612 <goal>prepare-agent</goal>
1615 </pluginExecutionFilter>
1622 <pluginExecutionFilter>
1623 <groupId>org.ops4j.pax.exam</groupId>
1624 <artifactId>maven-paxexam-plugin</artifactId>
1625 <versionRange>[1.2.4,)</versionRange>
1627 <goal>generate-depends-file</goal>
1629 </pluginExecutionFilter>
1636 <pluginExecutionFilter>
1637 <groupId>org.basepom.maven</groupId>
1639 duplicate-finder-maven-plugin
1641 <versionRange>[1.2.1,)</versionRange>
1645 </pluginExecutionFilter>
1651 </lifecycleMappingMetadata>
1656 <groupId>org.jacoco</groupId>
1657 <artifactId>jacoco-maven-plugin</artifactId>
1658 <version>${jacoco.version}</version>
1660 <!-- Note: This exclusion list should match <sonar.exclusions>
1663 <exclude>**/gen/**</exclude>
1664 <exclude>**/generated-sources/**</exclude>
1665 <exclude>**/generated-test-sources/**</exclude>
1666 <exclude>**/yang-gen/**</exclude>
1667 <exclude>**/yang-gen-config/**</exclude>
1668 <exclude>**/yang-gen-sal/**</exclude>
1669 <exclude>**/yang-gen-code/**</exclude>
1670 <exclude>**/pax/**</exclude>
1676 <groupId>org.ops4j.pax.exam</groupId>
1677 <artifactId>maven-paxexam-plugin</artifactId>
1678 <version>1.2.4</version>
1682 <groupId>org.codehaus.mojo</groupId>
1683 <artifactId>jdepend-maven-plugin</artifactId>
1684 <version>2.0</version>
1689 <goal>generate-no-fork</goal>
1695 <!-- When updating this version, consider antl4-runtime above -->
1697 <groupId>org.antlr</groupId>
1698 <artifactId>antlr4-maven-plugin</artifactId>
1699 <version>4.7.1</version>
1706 <artifactId>maven-enforcer-plugin</artifactId>
1709 <id>enforce-banned-dependencies</id>
1711 <goal>enforce</goal>
1715 <bannedDependencies>
1716 <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>
1718 <exclude>org.mockito:mockito-all</exclude>
1719 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1720 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1721 <!-- as a dependency then clashes with the dependency checker (because it -->
1722 <!-- is not very good at handling annotations). Use the annotations jar -->
1723 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1725 <exclude>com.google.code.findbugs:jsr305</exclude>
1726 <exclude>net.jcip:jcip-annotations</exclude>
1728 </bannedDependencies>
1736 <groupId>org.basepom.maven</groupId>
1737 <artifactId>duplicate-finder-maven-plugin</artifactId>
1738 <version>1.3.0</version>
1741 <id>find-duplicate-classpath-entries</id>
1742 <phase>verify</phase>
1749 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1750 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1751 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1752 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1753 <printEqualFiles>false</printEqualFiles>
1755 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1756 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1757 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1759 <ignoredResourcePatterns>
1760 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1761 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1762 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1763 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1764 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1765 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1766 </ignoredResourcePatterns>
1767 <ignoredDependencies>
1769 <groupId>org.slf4j</groupId>
1770 <artifactId>slf4j-simple</artifactId>
1771 </ignoredDependency>
1773 <groupId>org.opendaylight.odlparent</groupId>
1774 <artifactId>opendaylight-karaf-empty</artifactId>
1775 </ignoredDependency>
1776 </ignoredDependencies>
1780 <artifactId>maven-dependency-plugin</artifactId>
1783 <artifactId>maven-checkstyle-plugin</artifactId>
1786 <artifactId>maven-pmd-plugin</artifactId>
1789 <artifactId>maven-source-plugin</artifactId>
1792 <artifactId>maven-javadoc-plugin</artifactId>
1795 <!-- Jacoco / Sonar -->
1797 <groupId>org.jacoco</groupId>
1798 <artifactId>jacoco-maven-plugin</artifactId>
1801 <id>pre-unit-test</id>
1803 <goal>prepare-agent</goal>
1806 <destFile>${sonar.jacoco.reportPath}</destFile>
1810 <id>post-unit-test</id>
1815 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1822 <groupId>com.alexecollins.maven.plugin</groupId>
1823 <artifactId>script-maven-plugin</artifactId>
1824 <version>1.0.0</version>
1827 <phase>prepare-package</phase>
1829 <goal>execute</goal>
1833 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1834 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1835 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1836 // static class methods only - it will be MUCH easier to write!)
1837 void copy(File root, String glob, File target) {
1838 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1839 Iterator dirStreamIterator = dirStream.iterator();
1840 while (dirStreamIterator.hasNext()) {
1841 java.nio.file.Path path = dirStreamIterator.next();
1842 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1843 new java.nio.file.CopyOption[] {
1844 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1845 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1852 File gitRepoRootDir = project.basedir;
1853 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1854 gitRepoRootDir = gitRepoRootDir.getParentFile();
1857 File target = new File(project.build.outputDirectory);
1859 copy(gitRepoRootDir, "README*", target);
1860 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1861 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1868 <groupId>org.apache-extras.beanshell</groupId>
1869 <artifactId>bsh</artifactId>
1870 <version>2.0b6</version>
1880 <artifactId>maven-checkstyle-plugin</artifactId>
1881 <version>3.0.0</version>
1884 <!-- FIXME: activate this
1886 <artifactId>maven-project-info-reports-plugin</artifactId>
1887 <version>${projectinfo}</version>
1890 <groupId>org.codehaus.mojo</groupId>
1891 <artifactId>jdepend-maven-plugin</artifactId>
1895 <report>generate-no-fork</report>
1904 Maven Site Configuration
1906 The following configuration is necessary for maven-site-plugin to
1907 correctly identify the correct deployment path for OpenDaylight Maven
1910 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1912 <distributionManagement>
1914 <id>opendaylight-site</id>
1915 <url>${nexus.site.url}/${project.artifactId}/</url>
1917 </distributionManagement>