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>5.0.1-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: remove these in favor of maven.compiler.release once we require JDK9+ -->
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 <!-- Used in openflowplugin -->
51 <enforcer.version>3.0.0-M2</enforcer.version>
52 <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
53 <karaf.version>4.2.2</karaf.version>
54 <!-- Used in bgpcep, lispflowmapping -->
55 <projectinfo>2.8.1</projectinfo>
57 <!-- Supporting Libraries -->
58 <!-- Only used internally -->
59 <bouncycastle.version>1.61</bouncycastle.version>
61 <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
62 to allow projects to report Sonar values from the entire project. -->
63 <jacoco.destFile>${project.build.directory}/code-coverage/jacoco.exec</jacoco.destFile>
65 <!-- Default Sonar configuration -->
66 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
67 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
68 <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
69 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
71 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
72 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
74 <!-- Opt-in code quality checks -->
75 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
76 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
78 <!-- Redirect test output to files (overridable) -->
79 <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
82 <dependencyManagement>
86 <groupId>org.opendaylight.odlparent</groupId>
87 <artifactId>odlparent-artifacts</artifactId>
88 <version>5.0.1-SNAPSHOT</version>
93 <!-- We import Karaf dependencies to ensure we converge by default on the versions used there -->
95 <groupId>org.apache.karaf.features</groupId>
96 <artifactId>framework</artifactId>
97 <version>${karaf.version}</version>
102 <!-- Build tool dependencies (normally not here in <dependencies>,
103 but in a <dependency> in <pluginManagement> but for Checkstyle this
104 is required so that we can share the same version of Checkstyle
105 for both the Maven plugin below as well as for custom Checkstyle
106 check rule projects, such as yangtools' checkstyle-logging) -->
108 <groupId>com.puppycrawl.tools</groupId>
109 <artifactId>checkstyle</artifactId>
110 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
111 <version>8.18</version>
114 <!-- Testing Dependencies -->
115 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
116 <!-- Need to stick to JUnit 4.11 until
117 https://github.com/jayway/powermock/issues/560 is fixed (either in
118 PowerMock or with a new JUnit release) -->
120 <groupId>junit</groupId>
121 <artifactId>junit</artifactId>
122 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
123 <version>4.11</version>
127 <groupId>org.skyscreamer</groupId>
128 <artifactId>jsonassert</artifactId>
129 <version>1.5.0</version>
133 <groupId>org.mockito</groupId>
134 <artifactId>mockito-core</artifactId>
135 <version>2.25.1</version>
139 <groupId>org.mockito</groupId>
140 <artifactId>mockito-inline</artifactId>
141 <version>2.25.1</version>
145 <groupId>org.hamcrest</groupId>
146 <artifactId>hamcrest</artifactId>
147 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
148 <version>2.1</version>
152 <groupId>org.hamcrest</groupId>
153 <artifactId>hamcrest-core</artifactId>
154 <version>2.1</version>
158 <groupId>org.hamcrest</groupId>
159 <artifactId>hamcrest-library</artifactId>
160 <version>2.1</version>
164 <groupId>com.google.truth</groupId>
165 <artifactId>truth</artifactId>
166 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
167 <version>0.43</version>
171 <groupId>com.google.truth.extensions</groupId>
172 <artifactId>truth-java8-extension</artifactId>
173 <version>0.43</version>
177 <groupId>org.awaitility</groupId>
178 <artifactId>awaitility</artifactId>
179 <version>3.0.0</version>
183 <groupId>org.awaitility</groupId>
184 <artifactId>awaitility-proxy</artifactId>
185 <version>3.0.0</version>
189 <groupId>org.powermock</groupId>
190 <artifactId>powermock-api-mockito2</artifactId>
191 <version>2.0.0</version>
195 <groupId>org.powermock</groupId>
196 <artifactId>powermock-api-support</artifactId>
197 <version>2.0.0</version>
201 <groupId>org.powermock</groupId>
202 <artifactId>powermock-core</artifactId>
203 <version>2.0.0</version>
207 <groupId>org.powermock</groupId>
208 <artifactId>powermock-module-junit4</artifactId>
209 <version>2.0.0</version>
213 <groupId>org.powermock</groupId>
214 <artifactId>powermock-reflect</artifactId>
215 <version>2.0.0</version>
220 Annotation Processors
223 <!-- Generates immutable implementations, builders, the works -->
224 <groupId>org.immutables</groupId>
225 <artifactId>value</artifactId>
226 <version>2.7.5</version>
227 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
228 <scope>provided</scope>
231 <!-- Generates META-INF/services entries for ServiceLoader -->
232 <groupId>org.kohsuke.metainf-services</groupId>
233 <artifactId>metainf-services</artifactId>
234 <version>1.8</version>
235 <optional>true</optional>
236 <scope>provided</scope>
243 <groupId>org.slf4j</groupId>
244 <artifactId>jcl-over-slf4j</artifactId>
245 <version>1.7.25</version>
248 <groupId>org.slf4j</groupId>
249 <artifactId>slf4j-api</artifactId>
250 <version>1.7.25</version>
253 <groupId>org.slf4j</groupId>
254 <artifactId>slf4j-log4j12</artifactId>
255 <version>1.7.25</version>
258 <groupId>org.slf4j</groupId>
259 <artifactId>log4j-over-slf4j</artifactId>
260 <version>1.7.25</version>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-simple</artifactId>
265 <version>1.7.25</version>
269 <groupId>ch.qos.logback</groupId>
270 <artifactId>logback-core</artifactId>
271 <version>1.2.3</version>
274 <groupId>ch.qos.logback</groupId>
275 <artifactId>logback-classic</artifactId>
276 <version>1.2.3</version>
281 <groupId>org.apache.logging.log4j</groupId>
282 <artifactId>log4j-bom</artifactId>
283 <version>2.11.2</version>
284 <scope>import</scope>
289 <groupId>com.google.guava</groupId>
290 <artifactId>guava</artifactId>
291 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
292 <version>27.1-jre</version>
295 <!-- Do not leak JSR305 onto the classpath by default -->
296 <groupId>com.google.code.findbugs</groupId>
297 <artifactId>jsr305</artifactId>
302 <groupId>com.google.guava</groupId>
303 <artifactId>guava-testlib</artifactId>
304 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
305 <version>27.1-jre</version>
309 <!-- Do not leak JSR305 onto the classpath by default -->
310 <groupId>com.google.code.findbugs</groupId>
311 <artifactId>jsr305</artifactId>
317 <groupId>com.mycila.guice.extensions</groupId>
318 <artifactId>mycila-guice-jsr250</artifactId>
319 <!-- Make sure this version is in sync with the guice one below -->
320 <version>4.0.rc1</version>
323 <groupId>com.google.inject</groupId>
324 <artifactId>guice</artifactId>
325 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
326 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
327 <version>4.1.0</version>
330 <groupId>commons-beanutils</groupId>
331 <artifactId>commons-beanutils</artifactId>
332 <version>1.9.3</version>
335 <groupId>org.apache.commons</groupId>
336 <artifactId>commons-lang3</artifactId>
337 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
338 <version>3.9</version>
341 <groupId>org.apache.commons</groupId>
342 <artifactId>commons-text</artifactId>
343 <version>1.6</version>
346 <groupId>commons-lang</groupId>
347 <artifactId>commons-lang</artifactId>
348 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
349 <version>2.6</version>
352 <groupId>commons-codec</groupId>
353 <artifactId>commons-codec</artifactId>
354 <version>1.12</version>
356 <!-- Jersey for JAXRS -->
358 <groupId>javax.ws.rs</groupId>
359 <artifactId>javax.ws.rs-api</artifactId>
360 <version>2.0.1</version>
363 <groupId>org.glassfish.jersey</groupId>
364 <artifactId>jersey-bom</artifactId>
365 <version>2.25.1</version>
367 <scope>import</scope>
370 <groupId>org.glassfish</groupId>
371 <artifactId>javax.json</artifactId>
372 <version>1.1.2</version>
376 <groupId>org.checkerframework</groupId>
377 <artifactId>checker-qual</artifactId>
378 <version>2.5.8</version>
381 <groupId>com.google.errorprone</groupId>
382 <artifactId>error_prone_annotations</artifactId>
383 <version>2.3.3</version>
387 <groupId>javax.activation</groupId>
388 <artifactId>activation</artifactId>
389 <version>1.1.1</version>
392 <groupId>javax.annotation</groupId>
393 <artifactId>javax.annotation-api</artifactId>
394 <version>1.2</version>
395 <optional>true</optional>
398 <groupId>xml-apis</groupId>
399 <artifactId>xml-apis</artifactId>
400 <version>1.4.01</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>
431 <!-- These three need to be consistent:
432 jackson-2.9 needs woodstox-5.0.x
433 woodstox-5.0 needs stax2-api-3.1.x
436 <groupId>org.codehaus.woodstox</groupId>
437 <artifactId>stax2-api</artifactId>
438 <version>3.1.4</version>
441 <groupId>com.fasterxml.woodstox</groupId>
442 <artifactId>woodstox-core</artifactId>
443 <version>5.0.3</version>
446 <groupId>com.fasterxml.jackson</groupId>
447 <artifactId>jackson-bom</artifactId>
448 <version>2.9.8</version>
449 <scope>import</scope>
454 <groupId>com.github.spotbugs</groupId>
455 <artifactId>spotbugs-annotations</artifactId>
456 <version>3.1.12</version>
457 <scope>provided</scope>
458 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
459 <optional>true</optional>
462 <groupId>com.google.code.findbugs</groupId>
463 <artifactId>jsr305</artifactId>
469 <groupId>com.google.code.findbugs</groupId>
470 <artifactId>jsr305</artifactId>
471 <version>3.0.2</version>
472 <scope>provided</scope>
473 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
474 <optional>true</optional>
477 <groupId>org.eclipse.jdt</groupId>
478 <artifactId>org.eclipse.jdt.annotation</artifactId>
479 <version>2.2.100</version>
480 <scope>provided</scope>
483 <groupId>com.google.code.gson</groupId>
484 <artifactId>gson</artifactId>
485 <version>2.8.5</version>
488 <groupId>commons-fileupload</groupId>
489 <artifactId>commons-fileupload</artifactId>
490 <version>1.4</version>
493 <groupId>commons-io</groupId>
494 <artifactId>commons-io</artifactId>
495 <version>2.6</version>
498 <groupId>commons-net</groupId>
499 <artifactId>commons-net</artifactId>
500 <version>3.6</version>
505 <groupId>io.netty</groupId>
506 <artifactId>netty-all</artifactId>
507 <!-- If these are updated, the version in features.xml needs to be changed too -->
508 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
509 <version>4.1.34.Final</version>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-buffer</artifactId>
514 <version>4.1.34.Final</version>
517 <groupId>io.netty</groupId>
518 <artifactId>netty-codec</artifactId>
519 <version>4.1.34.Final</version>
522 <groupId>io.netty</groupId>
523 <artifactId>netty-codec-http</artifactId>
524 <version>4.1.34.Final</version>
527 <groupId>io.netty</groupId>
528 <artifactId>netty-common</artifactId>
529 <version>4.1.34.Final</version>
532 <groupId>io.netty</groupId>
533 <artifactId>netty-handler</artifactId>
534 <version>4.1.34.Final</version>
537 <groupId>io.netty</groupId>
538 <artifactId>netty-transport</artifactId>
539 <version>4.1.34.Final</version>
541 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
542 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
544 <groupId>io.netty</groupId>
545 <artifactId>netty-transport-native-epoll</artifactId>
546 <classifier>linux-x86_64</classifier>
547 <version>4.1.34.Final</version>
550 <groupId>javax.ws.rs</groupId>
551 <artifactId>jsr311-api</artifactId>
552 <version>1.1.1</version>
555 <groupId>javax.servlet</groupId>
556 <artifactId>javax.servlet-api</artifactId>
557 <version>3.1.0</version>
560 <groupId>org.apache.felix</groupId>
561 <artifactId>org.apache.felix.dependencymanager</artifactId>
562 <version>4.4.1</version>
565 <groupId>org.apache.felix</groupId>
566 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
567 <version>4.0.6</version>
570 <groupId>org.apache.felix</groupId>
571 <artifactId>org.apache.felix.metatype</artifactId>
572 <version>1.2.2</version>
575 <groupId>org.bouncycastle</groupId>
576 <artifactId>bcpkix-jdk15on</artifactId>
577 <version>${bouncycastle.version}</version>
580 <groupId>org.bouncycastle</groupId>
581 <artifactId>bcprov-jdk15on</artifactId>
582 <version>${bouncycastle.version}</version>
585 <groupId>org.bouncycastle</groupId>
586 <artifactId>bcprov-ext-jdk15on</artifactId>
587 <version>${bouncycastle.version}</version>
591 <groupId>com.webcohesion.enunciate</groupId>
592 <artifactId>enunciate-core-annotations</artifactId>
593 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
594 <version>2.11.1</version>
598 <groupId>org.codehaus.jettison</groupId>
599 <artifactId>jettison</artifactId>
600 <version>1.4.0</version>
602 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
603 pull in javax.validation first:
604 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
606 <groupId>org.eclipse.persistence</groupId>
607 <artifactId>org.eclipse.persistence.antlr</artifactId>
608 <version>2.7.3</version>
611 <groupId>org.eclipse.persistence</groupId>
612 <artifactId>org.eclipse.persistence.core</artifactId>
613 <version>2.7.3</version>
616 <groupId>org.eclipse.persistence</groupId>
617 <artifactId>org.eclipse.persistence.moxy</artifactId>
618 <version>2.7.3</version>
621 <groupId>javax.validation</groupId>
622 <artifactId>validation-api</artifactId>
623 <version>1.1.0.Final</version>
626 <groupId>org.javassist</groupId>
627 <artifactId>javassist</artifactId>
628 <version>3.24.1-GA</version>
631 <groupId>org.jboss.spec.javax.transaction</groupId>
632 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
633 <version>1.0.1.Final</version>
636 <groupId>org.jolokia</groupId>
637 <artifactId>jolokia-osgi</artifactId>
638 <version>1.6.0</version>
641 <groupId>org.osgi</groupId>
642 <artifactId>osgi.cmpn</artifactId>
643 <version>6.0.0</version>
644 <scope>provided</scope>
647 <groupId>org.osgi</groupId>
648 <artifactId>org.osgi.core</artifactId>
649 <version>6.0.0</version>
650 <scope>provided</scope>
653 <groupId>org.osgi</groupId>
654 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
655 <artifactId>org.osgi.service.event</artifactId>
656 <version>1.3.1</version>
659 <groupId>org.apache.aries.quiesce</groupId>
660 <artifactId>org.apache.aries.quiesce.api</artifactId>
661 <version>1.0.0</version>
664 <groupId>org.ow2.asm</groupId>
665 <artifactId>asm</artifactId>
666 <version>7.0</version>
669 <!-- Configuration library -->
670 <!-- This needs to be kept in sync with the version used by akka -->
672 <groupId>com.typesafe</groupId>
673 <artifactId>config</artifactId>
674 <version>1.3.3</version>
677 <!-- Reactive Streams, used by Akka -->
679 <groupId>org.reactivestreams</groupId>
680 <artifactId>reactive-streams</artifactId>
681 <version>1.0.2</version>
686 <groupId>com.typesafe</groupId>
687 <artifactId>ssl-config-core_2.12</artifactId>
688 <version>0.3.7</version>
691 <groupId>com.typesafe.akka</groupId>
692 <artifactId>akka-actor_2.12</artifactId>
693 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
694 <version>2.5.22</version>
697 <groupId>com.typesafe.akka</groupId>
698 <artifactId>akka-cluster_2.12</artifactId>
699 <version>2.5.22</version>
702 <groupId>com.typesafe.akka</groupId>
703 <artifactId>akka-osgi_2.12</artifactId>
704 <version>2.5.22</version>
707 <groupId>com.typesafe.akka</groupId>
708 <artifactId>akka-persistence_2.12</artifactId>
709 <version>2.5.22</version>
712 <groupId>com.typesafe.akka</groupId>
713 <artifactId>akka-persistence-tck_2.12</artifactId>
714 <version>2.5.22</version>
718 <groupId>com.typesafe.akka</groupId>
719 <artifactId>akka-protobuf_2.12</artifactId>
720 <version>2.5.22</version>
723 <groupId>com.typesafe.akka</groupId>
724 <artifactId>akka-remote_2.12</artifactId>
725 <version>2.5.22</version>
728 <groupId>com.typesafe.akka</groupId>
729 <artifactId>akka-slf4j_2.12</artifactId>
730 <version>2.5.22</version>
733 <groupId>com.typesafe.akka</groupId>
734 <artifactId>akka-stream_2.12</artifactId>
735 <version>2.5.22</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-testkit_2.12</artifactId>
740 <version>2.5.22</version>
744 <groupId>org.scala-lang.modules</groupId>
745 <artifactId>scala-java8-compat_2.12</artifactId>
746 <version>0.8.0</version>
749 <groupId>org.scala-lang.modules</groupId>
750 <artifactId>scala-parser-combinators_2.12</artifactId>
751 <version>1.1.2</version>
754 <groupId>org.uncommons.maths</groupId>
755 <artifactId>uncommons-maths</artifactId>
756 <version>1.2.2a</version>
759 <!-- Aeron, required by Akka -->
761 <groupId>org.agrona</groupId>
762 <artifactId>agrona</artifactId>
763 <version>0.9.33</version>
766 <groupId>io.aeron</groupId>
767 <artifactId>aeron-client</artifactId>
768 <version>1.15.3</version>
771 <groupId>io.aeron</groupId>
772 <artifactId>aeron-driver</artifactId>
773 <version>1.15.3</version>
778 <groupId>org.scala-lang</groupId>
779 <artifactId>scala-library</artifactId>
780 <version>2.12.8</version>
783 <groupId>org.scala-lang</groupId>
784 <artifactId>scala-reflect</artifactId>
785 <version>2.12.8</version>
788 <!-- LMAX Disruptor -->
790 <groupId>com.lmax</groupId>
791 <artifactId>disruptor</artifactId>
792 <version>3.4.2</version>
795 <!-- Add Pax Exam -->
797 <groupId>org.ops4j.pax.exam</groupId>
798 <artifactId>pax-exam</artifactId>
799 <version>4.13.1</version>
803 <groupId>org.ops4j.pax.exam</groupId>
804 <artifactId>pax-exam-container-forked</artifactId>
805 <version>4.13.1</version>
809 <groupId>org.ops4j.pax.exam</groupId>
810 <artifactId>pax-exam-container-karaf</artifactId>
811 <version>4.13.1</version>
815 <groupId>org.ops4j.pax.exam</groupId>
816 <artifactId>pax-exam-container-native</artifactId>
817 <version>4.13.1</version>
821 <groupId>org.ops4j.pax.exam</groupId>
822 <artifactId>pax-exam-extender-service</artifactId>
823 <version>4.13.1</version>
827 <groupId>org.ops4j.pax.exam</groupId>
828 <artifactId>pax-exam-inject</artifactId>
829 <version>4.13.1</version>
833 <groupId>org.ops4j.pax.exam</groupId>
834 <artifactId>pax-exam-invoker-junit</artifactId>
835 <version>4.13.1</version>
839 <groupId>org.ops4j.pax.exam</groupId>
840 <artifactId>pax-exam-features</artifactId>
841 <version>4.13.1</version>
846 <groupId>org.ops4j.pax.exam</groupId>
847 <artifactId>pax-exam-junit4</artifactId>
848 <version>4.13.1</version>
852 <groupId>org.ops4j.pax.exam</groupId>
853 <artifactId>pax-exam-link-mvn</artifactId>
854 <version>4.13.1</version>
858 <groupId>org.ops4j.pax.exam</groupId>
859 <artifactId>pax-exam-link-assembly</artifactId>
860 <version>4.13.1</version>
865 <groupId>org.ops4j.pax.url</groupId>
866 <artifactId>pax-url-link</artifactId>
867 <version>2.5.4</version>
871 <groupId>org.ops4j.pax.url</groupId>
872 <artifactId>pax-url-aether</artifactId>
873 <version>2.5.4</version>
877 <groupId>org.ops4j.pax.url</groupId>
878 <artifactId>pax-url-wrap</artifactId>
879 <version>2.5.4</version>
883 <groupId>org.ops4j.pax.web</groupId>
884 <artifactId>pax-web-api</artifactId>
885 <!-- Note: keep this version synchronized with karaf -->
886 <version>7.2.5</version>
890 <groupId>org.springframework.osgi</groupId>
891 <artifactId>spring-osgi-mock</artifactId>
892 <version>1.2.1</version>
897 <groupId>org.xmlunit</groupId>
898 <artifactId>xmlunit-core</artifactId>
899 <version>2.6.2</version>
903 <groupId>org.xmlunit</groupId>
904 <artifactId>xmlunit-matchers</artifactId>
905 <version>2.6.2</version>
908 <!-- FIXME: remove this once we have migrated over -->
910 <groupId>org.xmlunit</groupId>
911 <artifactId>xmlunit-legacy</artifactId>
912 <version>2.6.2</version>
917 <groupId>org.eclipse.jetty</groupId>
918 <artifactId>jetty-bom</artifactId>
919 <version>9.4.12.v20180830</version>
920 <scope>import</scope>
925 <groupId>com.h2database</groupId>
926 <artifactId>h2</artifactId>
927 <version>1.4.199</version>
930 <!-- Xtend http://xtend-lang.org
931 NOTE: When you increase the version here,
932 then remember to also increase it for the
933 xtend-maven-plugin below! (We don't want to
934 use a Maven property, in order not to "leak" that.)
937 <groupId>org.eclipse.xtend</groupId>
938 <artifactId>org.eclipse.xtend.lib</artifactId>
939 <version>2.17.1</version>
942 <groupId>org.eclipse.xtend</groupId>
943 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
944 <version>2.17.1</version>
947 <groupId>org.eclipse.xtext</groupId>
948 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
949 <version>2.17.1</version>
954 <groupId>javax.inject</groupId>
955 <artifactId>javax.inject</artifactId>
957 <optional>true</optional>
960 <!-- jung, a graph library -->
962 <groupId>net.sf.jung</groupId>
963 <artifactId>jung-api</artifactId>
964 <version>2.1.1</version>
967 <groupId>net.sf.jung</groupId>
968 <artifactId>jung-algorithms</artifactId>
969 <version>2.1.1</version>
972 <groupId>net.sf.jung</groupId>
973 <artifactId>jung-graph-impl</artifactId>
974 <version>2.1.1</version>
977 <!-- Karaf console support -->
979 <groupId>org.apache.karaf.shell</groupId>
980 <artifactId>org.apache.karaf.shell.core</artifactId>
981 <version>${karaf.version}</version>
984 <groupId>org.apache.karaf.shell</groupId>
985 <artifactId>org.apache.karaf.shell.console</artifactId>
986 <version>${karaf.version}</version>
989 <!-- ThreeTen-Extra, date/time complements -->
991 <groupId>org.threeten</groupId>
992 <artifactId>threeten-extra</artifactId>
993 <version>1.5.0</version>
996 <!-- When updating this version, consider antl4-maven-plugin below -->
998 <groupId>org.antlr</groupId>
999 <artifactId>antlr4-runtime</artifactId>
1000 <version>4.7.2</version>
1002 <!-- Aries' Blueprint version should be kept in sync to the version actually
1003 used by our ${karaf[4].version} ... please bump this when increasing that.
1004 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1006 <groupId>org.apache.aries.blueprint</groupId>
1007 <artifactId>org.apache.aries.blueprint.core</artifactId>
1008 <version>1.10.1</version>
1011 <groupId>org.apache.aries.blueprint</groupId>
1012 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1013 <version>1.3.0</version>
1014 <optional>true</optional>
1017 <!-- Apache SSHD with netty -->
1019 <groupId>org.apache.sshd</groupId>
1020 <artifactId>sshd-netty</artifactId>
1021 <version>2.2.0</version>
1024 <!-- We provide sshd-osgi instead -->
1025 <groupId>org.apache.sshd</groupId>
1026 <artifactId>sshd-core</artifactId>
1031 <groupId>org.apache.sshd</groupId>
1032 <artifactId>sshd-osgi</artifactId>
1033 <version>2.2.0</version>
1036 <groupId>net.i2p.crypto</groupId>
1037 <artifactId>eddsa</artifactId>
1038 <version>0.3.0</version>
1041 <!-- TrieMap library -->
1043 <groupId>tech.pantheon.triemap</groupId>
1044 <artifactId>bom</artifactId>
1045 <version>1.0.4</version>
1046 <scope>import</scope>
1050 <!-- Dropwizard metrics -->
1052 <groupId>io.dropwizard.metrics</groupId>
1053 <artifactId>metrics-bom</artifactId>
1054 <version>4.0.5</version>
1055 <scope>import</scope>
1059 <!-- JAXB for Java 11+ -->
1061 FIXME: bump this to 2.3.0 once we require Java 9+
1062 FIXME: bump this to whatever karaf provides once we require Java 11+
1065 <groupId>javax.xml.bind</groupId>
1066 <artifactId>jaxb-api</artifactId>
1067 <version>2.2.8</version>
1070 <!-- Provided by JRE -->
1071 <groupId>javax.xml.stream</groupId>
1072 <artifactId>stax-api</artifactId>
1077 <groupId>com.sun.xml.bind</groupId>
1078 <artifactId>jaxb-core</artifactId>
1079 <version>2.2.11</version>
1082 <groupId>com.sun.xml.bind</groupId>
1083 <artifactId>jaxb-impl</artifactId>
1084 <version>2.2.11</version>
1087 </dependencyManagement>
1091 We expect slf4j-api to be provided by the platform.
1092 Karaf provides it, other containers need to provide it themselves.
1095 <groupId>org.slf4j</groupId>
1096 <artifactId>slf4j-api</artifactId>
1097 <scope>provided</scope>
1101 Enable useful code quality annotations everywhere. Since these annotations
1102 are not required at runtime.
1105 <groupId>org.eclipse.jdt</groupId>
1106 <artifactId>org.eclipse.jdt.annotation</artifactId>
1107 <scope>provided</scope>
1110 <groupId>com.github.spotbugs</groupId>
1111 <artifactId>spotbugs-annotations</artifactId>
1112 <scope>provided</scope>
1113 <optional>true</optional>
1117 Testing output should be routed through slf4j-simple.
1120 <groupId>org.slf4j</groupId>
1121 <artifactId>slf4j-simple</artifactId>
1126 Unit tests can use JUnit + Mockito + Hamcrest by default.
1129 <groupId>org.hamcrest</groupId>
1130 <artifactId>hamcrest</artifactId>
1134 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1135 <groupId>org.hamcrest</groupId>
1136 <artifactId>hamcrest-library</artifactId>
1140 <groupId>junit</groupId>
1141 <artifactId>junit</artifactId>
1145 <groupId>org.mockito</groupId>
1146 <artifactId>mockito-core</artifactId>
1154 <!-- Official maven plugins, alpha-sorted by artifactId.
1155 We do not need to specify the groupId. -->
1157 <artifactId>maven-antrun-plugin</artifactId>
1158 <version>1.8</version>
1161 <artifactId>maven-checkstyle-plugin</artifactId>
1162 <version>3.0.0</version>
1165 <groupId>com.puppycrawl.tools</groupId>
1166 <artifactId>checkstyle</artifactId>
1167 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1168 <version>8.18</version>
1171 <groupId>org.opendaylight.odlparent</groupId>
1172 <artifactId>checkstyle</artifactId>
1173 <version>5.0.1-SNAPSHOT</version>
1176 <groupId>org.opendaylight.odlparent</groupId>
1177 <artifactId>odl-license</artifactId>
1178 <version>5.0.1-SNAPSHOT</version>
1181 <groupId>com.github.sevntu-checkstyle</groupId>
1182 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1183 <version>1.33.0</version>
1187 <configLocation>odl_checks.xml</configLocation>
1188 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1189 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1190 generated sources directory -->
1192 <directory>${project.build.sourceDirectory}</directory>
1193 </sourceDirectories>
1194 <includeResources>true</includeResources>
1195 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1196 <includeTestResources>true</includeTestResources>
1197 <includes>**\/*.java, **\/*.xtend</includes>
1199 org/opendaylight/yang/gen/**,
1200 **/protobuff/messages/**,
1201 **/thrift/gen/*.java
1203 <failsOnError>false</failsOnError>
1204 <consoleOutput>true</consoleOutput>
1208 <id>check-license</id>
1212 <phase>process-sources</phase>
1214 <configLocation>check-license.xml</configLocation>
1215 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1216 <includeResources>false</includeResources>
1217 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1218 <includeTestResources>false</includeTestResources>
1220 <directory>${project.build.sourceDirectory}</directory>
1221 </sourceDirectories>
1223 org/opendaylight/yang/gen/**,
1224 **/protobuff/messages/**,
1225 **/thrift/gen/*.java
1227 <failsOnError>false</failsOnError>
1228 <consoleOutput>true</consoleOutput>
1235 <phase>process-sources</phase>
1240 <groupId>org.apache.maven.plugins</groupId>
1241 <artifactId>maven-pmd-plugin</artifactId>
1242 <version>3.11.0</version>
1246 <phase>process-sources</phase>
1248 <goal>cpd-check</goal>
1251 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1252 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1253 <minimumTokens>101</minimumTokens>
1254 <printFailingErrors>true</printFailingErrors>
1256 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1257 not understand path prefixes nor wildcards. Details are available
1258 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1259 Hence people introducing new generated sources have to include
1262 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1263 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1265 <linkXRef>false</linkXRef>
1271 <artifactId>maven-compiler-plugin</artifactId>
1272 <version>3.8.0</version>
1274 <showWarnings>true</showWarnings>
1276 <arg>-parameters</arg>
1277 <arg>-Xlint:deprecation</arg>
1278 <arg>-Xlint:unchecked</arg>
1283 <artifactId>maven-enforcer-plugin</artifactId>
1284 <version>${enforcer.version}</version>
1287 <artifactId>maven-failsafe-plugin</artifactId>
1288 <version>2.22.1</version>
1291 <artifactId>maven-invoker-plugin</artifactId>
1292 <version>3.2.0</version>
1295 <artifactId>maven-jar-plugin</artifactId>
1296 <version>3.1.1</version>
1299 <artifactId>maven-dependency-plugin</artifactId>
1302 <id>unpack-license</id>
1303 <phase>generate-resources</phase>
1304 <goals><goal>unpack</goal></goals>
1308 <groupId>org.opendaylight.odlparent</groupId>
1309 <artifactId>odl-license</artifactId>
1310 <version>5.0.1-SNAPSHOT</version>
1313 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1314 <excludes>META-INF/**</excludes>
1321 <artifactId>maven-plugin-plugin</artifactId>
1322 <version>3.6.0</version>
1326 <artifactId>maven-remote-resources-plugin</artifactId>
1327 <version>1.6.0</version>
1330 <artifactId>maven-resources-plugin</artifactId>
1331 <version>3.1.0</version>
1334 <artifactId>maven-shade-plugin</artifactId>
1335 <version>3.2.1</version>
1338 <artifactId>maven-source-plugin</artifactId>
1339 <version>3.0.1</version>
1342 <id>attach-sources</id>
1343 <phase>verify</phase>
1345 <goal>jar-no-fork</goal>
1351 <artifactId>maven-surefire-plugin</artifactId>
1352 <version>2.22.1</version>
1354 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1355 <trimStackTrace>false</trimStackTrace>
1359 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1361 <!-- Support Blueprint XML construction using annotations -->
1362 <groupId>org.apache.aries.blueprint</groupId>
1363 <artifactId>blueprint-maven-plugin</artifactId>
1364 <version>1.10.0</version>
1365 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1366 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1369 <groupId>org.apache.xbean</groupId>
1370 <artifactId>xbean-finder-shaded</artifactId>
1371 <version>4.13</version>
1376 <scanPath>${project.groupId}</scanPath>
1382 <goal>blueprint-generate</goal>
1389 <groupId>org.apache.felix</groupId>
1390 <artifactId>maven-bundle-plugin</artifactId>
1391 <version>4.1.0</version>
1392 <extensions>true</extensions>
1395 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1396 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1397 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1398 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties,META-INF/services=-${project.build.directory}/classes/META-INF/services</Include-Resource>
1400 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1401 to generate Import-Service and Export-Service headers. -->
1402 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1408 <groupId>org.apache.karaf.tooling</groupId>
1409 <artifactId>karaf-maven-plugin</artifactId>
1410 <version>${karaf.version}</version>
1414 <groupId>org.apache.servicemix.tooling</groupId>
1415 <artifactId>depends-maven-plugin</artifactId>
1416 <version>1.4.0</version>
1419 <id>generate-depends-file</id>
1421 <goal>generate-depends-file</goal>
1428 <groupId>com.webcohesion.enunciate</groupId>
1429 <artifactId>enunciate-maven-plugin</artifactId>
1430 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1431 <version>2.11.1</version>
1435 <groupId>org.codehaus.mojo</groupId>
1436 <artifactId>build-helper-maven-plugin</artifactId>
1437 <version>3.0.0</version>
1440 <groupId>com.github.spotbugs</groupId>
1441 <artifactId>spotbugs-maven-plugin</artifactId>
1442 <version>3.1.11</version>
1445 <groupId>com.github.spotbugs</groupId>
1446 <artifactId>spotbugs</artifactId>
1447 <version>3.1.12</version>
1450 <groupId>org.opendaylight.odlparent</groupId>
1451 <artifactId>spotbugs</artifactId>
1452 <version>5.0.1-SNAPSHOT</version>
1455 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1456 <groupId>org.slf4j</groupId>
1457 <artifactId>slf4j-simple</artifactId>
1458 <version>1.8.0-beta2</version>
1464 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1465 <artifactId>bug-pattern</artifactId>
1466 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1467 <version>1.4.2</version>
1471 Enables analysis which takes more memory but finds more bugs.
1472 If you run out of memory, changes the value of the effort element
1475 <effort>Max</effort>
1476 <!-- Reports all bugs (other values are medium and max) -->
1477 <threshold>Low</threshold>
1478 <!-- Build doesn't fail if problems are found -->
1479 <failOnError>false</failOnError>
1480 <!-- References the excluded rules -->
1481 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1482 <!-- Produces XML report -->
1483 <xmlOutput>true</xmlOutput>
1484 <!-- Configures the directory in which the XML report is created -->
1485 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1489 Ensures that SpotBugs inspects source code when project is compiled.
1492 <id>analyze-compile</id>
1493 <phase>compile</phase>
1501 <groupId>org.codehaus.mojo</groupId>
1502 <artifactId>properties-maven-plugin</artifactId>
1503 <version>1.0.0</version>
1506 <groupId>org.eclipse.xtend</groupId>
1507 <artifactId>xtend-maven-plugin</artifactId>
1508 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1509 <version>2.17.1</version>
1513 <goal>compile</goal>
1514 <goal>testCompile</goal>
1517 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1518 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1524 <groupId>org.eclipse.m2e</groupId>
1525 <artifactId>lifecycle-mapping</artifactId>
1526 <version>1.0.0</version>
1528 <lifecycleMappingMetadata>
1531 <pluginExecutionFilter>
1532 <groupId>org.apache.felix</groupId>
1533 <artifactId>maven-bundle-plugin</artifactId>
1534 <versionRange>[1.0,)</versionRange>
1536 <goal>manifest</goal>
1538 </pluginExecutionFilter>
1544 <pluginExecutionFilter>
1545 <groupId>org.apache.maven.plugins</groupId>
1546 <artifactId>maven-enforcer-plugin</artifactId>
1547 <versionRange>[1.0.0,)</versionRange>
1549 <goal>enforce</goal>
1551 </pluginExecutionFilter>
1557 <pluginExecutionFilter>
1558 <groupId>org.apache.maven.plugins</groupId>
1559 <artifactId>maven-dependency-plugin</artifactId>
1560 <versionRange>[2.10,)</versionRange>
1564 </pluginExecutionFilter>
1570 <pluginExecutionFilter>
1571 <groupId>org.apache.maven.plugins</groupId>
1572 <artifactId>maven-pmd-plugin</artifactId>
1573 <versionRange>[3.6,)</versionRange>
1575 <goal>cpd-check</goal>
1577 </pluginExecutionFilter>
1582 <!-- The plugin will eventually be removed, remove this too at that point -->
1584 <pluginExecutionFilter>
1585 <groupId>org.apache.maven.plugins</groupId>
1586 <artifactId>maven-antrun-plugin</artifactId>
1587 <versionRange>[1.8,)</versionRange>
1591 </pluginExecutionFilter>
1597 <pluginExecutionFilter>
1598 <groupId>org.apache.servicemix.tooling</groupId>
1599 <artifactId>depends-maven-plugin</artifactId>
1600 <versionRange>[1.2,)</versionRange>
1602 <goal>generate-depends-file</goal>
1604 </pluginExecutionFilter>
1610 <pluginExecutionFilter>
1611 <groupId>org.jacoco</groupId>
1612 <artifactId>jacoco-maven-plugin</artifactId>
1613 <versionRange>[0.7.0,)</versionRange>
1615 <goal>prepare-agent</goal>
1617 </pluginExecutionFilter>
1624 <pluginExecutionFilter>
1625 <groupId>org.ops4j.pax.exam</groupId>
1626 <artifactId>maven-paxexam-plugin</artifactId>
1627 <versionRange>[1.2.4,)</versionRange>
1629 <goal>generate-depends-file</goal>
1631 </pluginExecutionFilter>
1638 <pluginExecutionFilter>
1639 <groupId>org.basepom.maven</groupId>
1641 duplicate-finder-maven-plugin
1643 <versionRange>[1.2.1,)</versionRange>
1647 </pluginExecutionFilter>
1653 </lifecycleMappingMetadata>
1658 <groupId>org.jacoco</groupId>
1659 <artifactId>jacoco-maven-plugin</artifactId>
1661 <!-- Note: This exclusion list should match <sonar.exclusions>
1664 <exclude>**/gen/**</exclude>
1665 <exclude>**/generated-sources/**</exclude>
1666 <exclude>**/generated-test-sources/**</exclude>
1667 <exclude>**/yang-gen/**</exclude>
1668 <exclude>**/yang-gen-config/**</exclude>
1669 <exclude>**/yang-gen-sal/**</exclude>
1670 <exclude>**/yang-gen-code/**</exclude>
1671 <exclude>**/pax/**</exclude>
1677 <groupId>org.ops4j.pax.exam</groupId>
1678 <artifactId>maven-paxexam-plugin</artifactId>
1679 <version>1.2.4</version>
1683 <groupId>org.codehaus.mojo</groupId>
1684 <artifactId>jdepend-maven-plugin</artifactId>
1685 <version>2.0</version>
1690 <goal>generate-no-fork</goal>
1696 <!-- When updating this version, consider antl4-runtime above -->
1698 <groupId>org.antlr</groupId>
1699 <artifactId>antlr4-maven-plugin</artifactId>
1700 <version>4.7.2</version>
1707 <artifactId>maven-enforcer-plugin</artifactId>
1710 <id>enforce-banned-dependencies</id>
1712 <goal>enforce</goal>
1716 <bannedDependencies>
1717 <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
1719 <exclude>org.mockito:mockito-all</exclude>
1720 <exclude>com.google.code.findbugs:annotations</exclude>
1722 </bannedDependencies>
1730 <groupId>org.basepom.maven</groupId>
1731 <artifactId>duplicate-finder-maven-plugin</artifactId>
1732 <version>1.3.0</version>
1735 <id>find-duplicate-classpath-entries</id>
1736 <phase>verify</phase>
1743 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1744 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1745 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1746 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1747 <printEqualFiles>false</printEqualFiles>
1749 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1750 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1751 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1753 <ignoredResourcePatterns>
1754 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1755 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1756 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1757 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1758 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1759 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1760 </ignoredResourcePatterns>
1761 <ignoredClassPatterns>
1762 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1763 </ignoredClassPatterns>
1764 <ignoredDependencies>
1766 <groupId>org.slf4j</groupId>
1767 <artifactId>slf4j-simple</artifactId>
1768 </ignoredDependency>
1770 <groupId>org.opendaylight.odlparent</groupId>
1771 <artifactId>opendaylight-karaf-empty</artifactId>
1772 </ignoredDependency>
1773 </ignoredDependencies>
1777 <artifactId>maven-dependency-plugin</artifactId>
1780 <artifactId>maven-checkstyle-plugin</artifactId>
1783 <artifactId>maven-pmd-plugin</artifactId>
1786 <artifactId>maven-source-plugin</artifactId>
1789 <artifactId>maven-javadoc-plugin</artifactId>
1792 <!-- Jacoco / Sonar -->
1794 <groupId>org.jacoco</groupId>
1795 <artifactId>jacoco-maven-plugin</artifactId>
1798 <id>pre-unit-test</id>
1800 <goal>prepare-agent</goal>
1803 <destFile>${jacoco.destFile}</destFile>
1810 <groupId>com.alexecollins.maven.plugin</groupId>
1811 <artifactId>script-maven-plugin</artifactId>
1812 <version>1.0.0</version>
1815 <phase>prepare-package</phase>
1817 <goal>execute</goal>
1821 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1822 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1823 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1824 // static class methods only - it will be MUCH easier to write!)
1825 void copy(File root, String glob, File target) {
1826 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1827 Iterator dirStreamIterator = dirStream.iterator();
1828 while (dirStreamIterator.hasNext()) {
1829 java.nio.file.Path path = dirStreamIterator.next();
1830 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1831 new java.nio.file.CopyOption[] {
1832 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1833 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1840 File gitRepoRootDir = project.basedir;
1841 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1842 gitRepoRootDir = gitRepoRootDir.getParentFile();
1845 File target = new File(project.build.outputDirectory);
1847 copy(gitRepoRootDir, "README*", target);
1848 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1849 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1856 <groupId>org.apache-extras.beanshell</groupId>
1857 <artifactId>bsh</artifactId>
1858 <version>2.0b6</version>
1867 <id>jdk9-compile</id>
1871 <!-- Unless the release is overridden by a system property -->
1872 <name>!maven.compiler.release</name>
1876 <!-- For JDK9+ we want to pass -release to javac -->
1878 <maven.compiler.release>8</maven.compiler.release>
1886 <artifactId>maven-checkstyle-plugin</artifactId>
1887 <version>3.0.0</version>
1890 <!-- FIXME: activate this
1892 <artifactId>maven-project-info-reports-plugin</artifactId>
1893 <version>${projectinfo}</version>
1896 <groupId>org.codehaus.mojo</groupId>
1897 <artifactId>jdepend-maven-plugin</artifactId>
1901 <report>generate-no-fork</report>