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>6.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: 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.62</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>6.0.0-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.20</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.2</version>
195 <groupId>org.powermock</groupId>
196 <artifactId>powermock-api-support</artifactId>
197 <version>2.0.2</version>
201 <groupId>org.powermock</groupId>
202 <artifactId>powermock-core</artifactId>
203 <version>2.0.2</version>
207 <groupId>org.powermock</groupId>
208 <artifactId>powermock-module-junit4</artifactId>
209 <version>2.0.2</version>
213 <groupId>org.powermock</groupId>
214 <artifactId>powermock-reflect</artifactId>
215 <version>2.0.2</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>
316 <!-- Caffeine plus bridges to Guava and JCache -->
318 <groupId>com.github.ben-manes.caffeine</groupId>
319 <artifactId>caffeine</artifactId>
320 <version>2.7.0</version>
323 <groupId>com.github.ben-manes.caffeine</groupId>
324 <artifactId>guava</artifactId>
325 <version>2.7.0</version>
329 <groupId>com.mycila.guice.extensions</groupId>
330 <artifactId>mycila-guice-jsr250</artifactId>
331 <!-- Make sure this version is in sync with the guice one below -->
332 <version>4.0.rc1</version>
335 <groupId>com.google.inject</groupId>
336 <artifactId>guice</artifactId>
337 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
338 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
339 <version>4.1.0</version>
342 <groupId>commons-beanutils</groupId>
343 <artifactId>commons-beanutils</artifactId>
344 <version>1.9.3</version>
347 <groupId>org.apache.commons</groupId>
348 <artifactId>commons-lang3</artifactId>
349 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
350 <version>3.9</version>
353 <groupId>org.apache.commons</groupId>
354 <artifactId>commons-text</artifactId>
355 <version>1.7</version>
358 <groupId>commons-lang</groupId>
359 <artifactId>commons-lang</artifactId>
360 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
361 <version>2.6</version>
364 <groupId>commons-codec</groupId>
365 <artifactId>commons-codec</artifactId>
366 <version>1.12</version>
368 <!-- Jersey for JAXRS -->
370 <groupId>javax.ws.rs</groupId>
371 <artifactId>javax.ws.rs-api</artifactId>
372 <version>2.0.1</version>
375 <groupId>org.glassfish.jersey</groupId>
376 <artifactId>jersey-bom</artifactId>
377 <version>2.25.1</version>
379 <scope>import</scope>
382 <groupId>org.glassfish</groupId>
383 <artifactId>javax.json</artifactId>
384 <version>1.1.2</version>
388 <groupId>org.checkerframework</groupId>
389 <artifactId>checker-qual</artifactId>
390 <version>2.5.8</version>
393 <groupId>com.google.errorprone</groupId>
394 <artifactId>error_prone_annotations</artifactId>
395 <version>2.3.3</version>
399 <groupId>javax.activation</groupId>
400 <artifactId>activation</artifactId>
401 <version>1.1.1</version>
404 <groupId>javax.annotation</groupId>
405 <artifactId>javax.annotation-api</artifactId>
406 <version>1.2</version>
407 <optional>true</optional>
410 <groupId>xml-apis</groupId>
411 <artifactId>xml-apis</artifactId>
412 <version>1.4.01</version>
416 <groupId>org.apache.shiro</groupId>
417 <artifactId>shiro-core</artifactId>
418 <version>1.3.2</version>
421 <groupId>org.apache.shiro</groupId>
422 <artifactId>shiro-web</artifactId>
423 <version>1.3.2</version>
426 <!-- Plugin integration -->
428 <groupId>net.java.dev.stax-utils</groupId>
429 <artifactId>stax-utils</artifactId>
430 <version>20070216</version>
433 <groupId>org.sonatype.plexus</groupId>
434 <artifactId>plexus-build-api</artifactId>
435 <version>0.0.7</version>
438 <groupId>org.codehaus.plexus</groupId>
439 <artifactId>plexus-slf4j-logging</artifactId>
440 <version>1.1</version>
443 <!-- These three need to be consistent:
444 jackson-2.9 needs woodstox-5.0.x
445 woodstox-5.0 needs stax2-api-3.1.x
448 <groupId>org.codehaus.woodstox</groupId>
449 <artifactId>stax2-api</artifactId>
450 <version>3.1.4</version>
453 <groupId>com.fasterxml.woodstox</groupId>
454 <artifactId>woodstox-core</artifactId>
455 <version>5.0.3</version>
458 <groupId>com.fasterxml.jackson</groupId>
459 <artifactId>jackson-bom</artifactId>
460 <version>2.9.9</version>
461 <scope>import</scope>
466 <groupId>com.github.spotbugs</groupId>
467 <artifactId>spotbugs-annotations</artifactId>
468 <version>3.1.12</version>
469 <scope>provided</scope>
470 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
471 <optional>true</optional>
474 <groupId>com.google.code.findbugs</groupId>
475 <artifactId>jsr305</artifactId>
481 <groupId>org.eclipse.jdt</groupId>
482 <artifactId>org.eclipse.jdt.annotation</artifactId>
483 <version>2.2.100</version>
484 <scope>provided</scope>
487 <groupId>com.google.code.gson</groupId>
488 <artifactId>gson</artifactId>
489 <version>2.8.5</version>
492 <groupId>commons-fileupload</groupId>
493 <artifactId>commons-fileupload</artifactId>
494 <version>1.4</version>
497 <groupId>commons-io</groupId>
498 <artifactId>commons-io</artifactId>
499 <version>2.6</version>
502 <groupId>commons-net</groupId>
503 <artifactId>commons-net</artifactId>
504 <version>3.6</version>
509 <groupId>io.netty</groupId>
510 <artifactId>netty-all</artifactId>
511 <!-- If these are updated, the version in features.xml needs to be changed too -->
512 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
513 <version>4.1.36.Final</version>
516 <groupId>io.netty</groupId>
517 <artifactId>netty-buffer</artifactId>
518 <version>4.1.36.Final</version>
521 <groupId>io.netty</groupId>
522 <artifactId>netty-codec</artifactId>
523 <version>4.1.36.Final</version>
526 <groupId>io.netty</groupId>
527 <artifactId>netty-codec-http</artifactId>
528 <version>4.1.36.Final</version>
531 <groupId>io.netty</groupId>
532 <artifactId>netty-common</artifactId>
533 <version>4.1.36.Final</version>
536 <groupId>io.netty</groupId>
537 <artifactId>netty-handler</artifactId>
538 <version>4.1.36.Final</version>
541 <groupId>io.netty</groupId>
542 <artifactId>netty-transport</artifactId>
543 <version>4.1.36.Final</version>
545 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
546 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
548 <groupId>io.netty</groupId>
549 <artifactId>netty-transport-native-epoll</artifactId>
550 <classifier>linux-x86_64</classifier>
551 <version>4.1.36.Final</version>
554 <groupId>javax.ws.rs</groupId>
555 <artifactId>jsr311-api</artifactId>
556 <version>1.1.1</version>
559 <groupId>javax.servlet</groupId>
560 <artifactId>javax.servlet-api</artifactId>
561 <version>3.1.0</version>
564 <groupId>org.apache.felix</groupId>
565 <artifactId>org.apache.felix.dependencymanager</artifactId>
566 <version>4.4.1</version>
569 <groupId>org.apache.felix</groupId>
570 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
571 <version>4.0.6</version>
574 <groupId>org.apache.felix</groupId>
575 <artifactId>org.apache.felix.metatype</artifactId>
576 <version>1.2.2</version>
579 <groupId>org.bouncycastle</groupId>
580 <artifactId>bcpkix-jdk15on</artifactId>
581 <version>${bouncycastle.version}</version>
584 <groupId>org.bouncycastle</groupId>
585 <artifactId>bcprov-jdk15on</artifactId>
586 <version>${bouncycastle.version}</version>
589 <groupId>org.bouncycastle</groupId>
590 <artifactId>bcprov-ext-jdk15on</artifactId>
591 <version>${bouncycastle.version}</version>
595 <groupId>com.webcohesion.enunciate</groupId>
596 <artifactId>enunciate-core-annotations</artifactId>
597 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
598 <version>2.11.1</version>
602 <groupId>org.codehaus.jettison</groupId>
603 <artifactId>jettison</artifactId>
604 <version>1.4.0</version>
606 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
607 pull in javax.validation first:
608 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
610 <groupId>org.eclipse.persistence</groupId>
611 <artifactId>org.eclipse.persistence.antlr</artifactId>
612 <version>2.7.3</version>
615 <groupId>org.eclipse.persistence</groupId>
616 <artifactId>org.eclipse.persistence.core</artifactId>
617 <version>2.7.3</version>
620 <groupId>org.eclipse.persistence</groupId>
621 <artifactId>org.eclipse.persistence.moxy</artifactId>
622 <version>2.7.3</version>
625 <groupId>javax.validation</groupId>
626 <artifactId>validation-api</artifactId>
627 <version>1.1.0.Final</version>
630 <groupId>org.javassist</groupId>
631 <artifactId>javassist</artifactId>
632 <version>3.24.1-GA</version>
635 <groupId>org.jboss.spec.javax.transaction</groupId>
636 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
637 <version>1.0.1.Final</version>
640 <groupId>org.jolokia</groupId>
641 <artifactId>jolokia-osgi</artifactId>
642 <version>1.6.2</version>
645 <groupId>org.osgi</groupId>
646 <artifactId>osgi.cmpn</artifactId>
647 <version>6.0.0</version>
648 <scope>provided</scope>
651 <groupId>org.osgi</groupId>
652 <artifactId>org.osgi.core</artifactId>
653 <version>6.0.0</version>
654 <scope>provided</scope>
657 <groupId>org.osgi</groupId>
658 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
659 <artifactId>org.osgi.service.event</artifactId>
660 <version>1.3.1</version>
663 <groupId>org.apache.aries.quiesce</groupId>
664 <artifactId>org.apache.aries.quiesce.api</artifactId>
665 <version>1.0.0</version>
668 <groupId>org.ow2.asm</groupId>
669 <artifactId>asm</artifactId>
670 <version>7.0</version>
673 <!-- Configuration library -->
674 <!-- This needs to be kept in sync with the version used by akka -->
676 <groupId>com.typesafe</groupId>
677 <artifactId>config</artifactId>
678 <version>1.3.3</version>
681 <!-- Reactive Streams, used by Akka -->
683 <groupId>org.reactivestreams</groupId>
684 <artifactId>reactive-streams</artifactId>
685 <version>1.0.2</version>
690 <groupId>com.typesafe</groupId>
691 <artifactId>ssl-config-core_2.12</artifactId>
692 <version>0.3.7</version>
695 <groupId>com.typesafe.akka</groupId>
696 <artifactId>akka-actor_2.12</artifactId>
697 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
698 <version>2.5.23</version>
701 <groupId>com.typesafe.akka</groupId>
702 <artifactId>akka-cluster_2.12</artifactId>
703 <version>2.5.23</version>
706 <groupId>com.typesafe.akka</groupId>
707 <artifactId>akka-osgi_2.12</artifactId>
708 <version>2.5.23</version>
711 <groupId>com.typesafe.akka</groupId>
712 <artifactId>akka-persistence_2.12</artifactId>
713 <version>2.5.23</version>
716 <groupId>com.typesafe.akka</groupId>
717 <artifactId>akka-persistence-tck_2.12</artifactId>
718 <version>2.5.23</version>
722 <groupId>com.typesafe.akka</groupId>
723 <artifactId>akka-protobuf_2.12</artifactId>
724 <version>2.5.23</version>
727 <groupId>com.typesafe.akka</groupId>
728 <artifactId>akka-remote_2.12</artifactId>
729 <version>2.5.23</version>
732 <groupId>com.typesafe.akka</groupId>
733 <artifactId>akka-slf4j_2.12</artifactId>
734 <version>2.5.23</version>
737 <groupId>com.typesafe.akka</groupId>
738 <artifactId>akka-stream_2.12</artifactId>
739 <version>2.5.23</version>
742 <groupId>com.typesafe.akka</groupId>
743 <artifactId>akka-testkit_2.12</artifactId>
744 <version>2.5.23</version>
748 <groupId>org.scala-lang.modules</groupId>
749 <artifactId>scala-java8-compat_2.12</artifactId>
750 <version>0.8.0</version>
753 <groupId>org.scala-lang.modules</groupId>
754 <artifactId>scala-parser-combinators_2.12</artifactId>
755 <version>1.1.2</version>
758 <groupId>org.uncommons.maths</groupId>
759 <artifactId>uncommons-maths</artifactId>
760 <version>1.2.2a</version>
763 <!-- Aeron, required by Akka -->
765 <groupId>org.agrona</groupId>
766 <artifactId>agrona</artifactId>
767 <version>0.9.33</version>
770 <groupId>io.aeron</groupId>
771 <artifactId>aeron-client</artifactId>
772 <version>1.15.3</version>
775 <groupId>io.aeron</groupId>
776 <artifactId>aeron-driver</artifactId>
777 <version>1.15.3</version>
782 <groupId>org.scala-lang</groupId>
783 <artifactId>scala-library</artifactId>
784 <version>2.12.8</version>
787 <groupId>org.scala-lang</groupId>
788 <artifactId>scala-reflect</artifactId>
789 <version>2.12.8</version>
792 <!-- LMAX Disruptor -->
794 <groupId>com.lmax</groupId>
795 <artifactId>disruptor</artifactId>
796 <version>3.4.2</version>
799 <!-- Add Pax Exam -->
801 <groupId>org.ops4j.pax.exam</groupId>
802 <artifactId>pax-exam</artifactId>
803 <version>4.13.1</version>
807 <groupId>org.ops4j.pax.exam</groupId>
808 <artifactId>pax-exam-container-forked</artifactId>
809 <version>4.13.1</version>
813 <groupId>org.ops4j.pax.exam</groupId>
814 <artifactId>pax-exam-container-karaf</artifactId>
815 <version>4.13.1</version>
819 <groupId>org.ops4j.pax.exam</groupId>
820 <artifactId>pax-exam-container-native</artifactId>
821 <version>4.13.1</version>
825 <groupId>org.ops4j.pax.exam</groupId>
826 <artifactId>pax-exam-extender-service</artifactId>
827 <version>4.13.1</version>
831 <groupId>org.ops4j.pax.exam</groupId>
832 <artifactId>pax-exam-inject</artifactId>
833 <version>4.13.1</version>
837 <groupId>org.ops4j.pax.exam</groupId>
838 <artifactId>pax-exam-invoker-junit</artifactId>
839 <version>4.13.1</version>
843 <groupId>org.ops4j.pax.exam</groupId>
844 <artifactId>pax-exam-features</artifactId>
845 <version>4.13.1</version>
850 <groupId>org.ops4j.pax.exam</groupId>
851 <artifactId>pax-exam-junit4</artifactId>
852 <version>4.13.1</version>
856 <groupId>org.ops4j.pax.exam</groupId>
857 <artifactId>pax-exam-link-mvn</artifactId>
858 <version>4.13.1</version>
862 <groupId>org.ops4j.pax.exam</groupId>
863 <artifactId>pax-exam-link-assembly</artifactId>
864 <version>4.13.1</version>
869 <groupId>org.ops4j.pax.url</groupId>
870 <artifactId>pax-url-link</artifactId>
871 <version>2.5.4</version>
875 <groupId>org.ops4j.pax.url</groupId>
876 <artifactId>pax-url-aether</artifactId>
877 <version>2.5.4</version>
881 <groupId>org.ops4j.pax.url</groupId>
882 <artifactId>pax-url-wrap</artifactId>
883 <version>2.5.4</version>
887 <groupId>org.ops4j.pax.web</groupId>
888 <artifactId>pax-web-api</artifactId>
889 <!-- Note: keep this version synchronized with karaf -->
890 <version>7.2.5</version>
894 <groupId>org.springframework.osgi</groupId>
895 <artifactId>spring-osgi-mock</artifactId>
896 <version>1.2.1</version>
901 <groupId>org.xmlunit</groupId>
902 <artifactId>xmlunit-core</artifactId>
903 <version>2.6.3</version>
907 <groupId>org.xmlunit</groupId>
908 <artifactId>xmlunit-assertj</artifactId>
909 <version>2.6.3</version>
913 <groupId>org.xmlunit</groupId>
914 <artifactId>xmlunit-matchers</artifactId>
915 <version>2.6.3</version>
918 <!-- FIXME: remove this once we have migrated over -->
920 <groupId>org.xmlunit</groupId>
921 <artifactId>xmlunit-legacy</artifactId>
922 <version>2.6.3</version>
927 <groupId>org.eclipse.jetty</groupId>
928 <artifactId>jetty-bom</artifactId>
929 <version>9.4.12.v20180830</version>
930 <scope>import</scope>
935 <groupId>com.h2database</groupId>
936 <artifactId>h2</artifactId>
937 <version>1.4.199</version>
940 <!-- Xtend http://xtend-lang.org
941 NOTE: When you increase the version here,
942 then remember to also increase it for the
943 xtend-maven-plugin below! (We don't want to
944 use a Maven property, in order not to "leak" that.)
947 <groupId>org.eclipse.xtend</groupId>
948 <artifactId>org.eclipse.xtend.lib</artifactId>
949 <version>2.17.1</version>
952 <groupId>org.eclipse.xtend</groupId>
953 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
954 <version>2.17.1</version>
957 <groupId>org.eclipse.xtext</groupId>
958 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
959 <version>2.17.1</version>
964 <groupId>javax.inject</groupId>
965 <artifactId>javax.inject</artifactId>
967 <optional>true</optional>
970 <!-- jung, a graph library -->
972 <groupId>net.sf.jung</groupId>
973 <artifactId>jung-api</artifactId>
974 <version>2.1.1</version>
977 <groupId>net.sf.jung</groupId>
978 <artifactId>jung-algorithms</artifactId>
979 <version>2.1.1</version>
982 <groupId>net.sf.jung</groupId>
983 <artifactId>jung-graph-impl</artifactId>
984 <version>2.1.1</version>
987 <!-- Karaf console support -->
989 <groupId>org.apache.karaf.shell</groupId>
990 <artifactId>org.apache.karaf.shell.core</artifactId>
991 <version>${karaf.version}</version>
994 <groupId>org.apache.karaf.shell</groupId>
995 <artifactId>org.apache.karaf.shell.console</artifactId>
996 <version>${karaf.version}</version>
999 <!-- ThreeTen-Extra, date/time complements -->
1001 <groupId>org.threeten</groupId>
1002 <artifactId>threeten-extra</artifactId>
1003 <version>1.5.0</version>
1006 <!-- When updating this version, consider antl4-maven-plugin below -->
1008 <groupId>org.antlr</groupId>
1009 <artifactId>antlr4-runtime</artifactId>
1010 <version>4.7.2</version>
1012 <!-- Aries' Blueprint version should be kept in sync to the version actually
1013 used by our ${karaf[4].version} ... please bump this when increasing that.
1014 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1016 <groupId>org.apache.aries.blueprint</groupId>
1017 <artifactId>org.apache.aries.blueprint.core</artifactId>
1018 <version>1.10.1</version>
1021 <groupId>org.apache.aries.blueprint</groupId>
1022 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1023 <version>1.3.0</version>
1024 <optional>true</optional>
1027 <!-- Apache SSHD with netty -->
1029 <groupId>org.apache.sshd</groupId>
1030 <artifactId>sshd-netty</artifactId>
1031 <version>2.2.0</version>
1034 <!-- We provide sshd-osgi instead -->
1035 <groupId>org.apache.sshd</groupId>
1036 <artifactId>sshd-core</artifactId>
1041 <groupId>org.apache.sshd</groupId>
1042 <artifactId>sshd-osgi</artifactId>
1043 <version>2.2.0</version>
1046 <groupId>net.i2p.crypto</groupId>
1047 <artifactId>eddsa</artifactId>
1048 <version>0.3.0</version>
1051 <!-- TrieMap library -->
1053 <groupId>tech.pantheon.triemap</groupId>
1054 <artifactId>bom</artifactId>
1055 <version>1.0.6</version>
1056 <scope>import</scope>
1060 <!-- Dropwizard metrics -->
1062 <groupId>io.dropwizard.metrics</groupId>
1063 <artifactId>metrics-bom</artifactId>
1064 <version>4.0.5</version>
1065 <scope>import</scope>
1069 <!-- JAXB for Java 11+ -->
1071 FIXME: bump this to 2.3.0 once we require Java 9+
1072 FIXME: bump this to whatever karaf provides once we require Java 11+
1075 <groupId>javax.xml.bind</groupId>
1076 <artifactId>jaxb-api</artifactId>
1077 <version>2.2.8</version>
1080 <!-- Provided by JRE -->
1081 <groupId>javax.xml.stream</groupId>
1082 <artifactId>stax-api</artifactId>
1087 <groupId>com.sun.xml.bind</groupId>
1088 <artifactId>jaxb-core</artifactId>
1089 <version>2.2.11</version>
1092 <groupId>com.sun.xml.bind</groupId>
1093 <artifactId>jaxb-impl</artifactId>
1094 <version>2.2.11</version>
1097 </dependencyManagement>
1101 We expect slf4j-api to be provided by the platform.
1102 Karaf provides it, other containers need to provide it themselves.
1105 <groupId>org.slf4j</groupId>
1106 <artifactId>slf4j-api</artifactId>
1107 <scope>provided</scope>
1111 Enable useful code quality annotations everywhere. Since these annotations
1112 are not required at runtime.
1115 <groupId>org.eclipse.jdt</groupId>
1116 <artifactId>org.eclipse.jdt.annotation</artifactId>
1117 <scope>provided</scope>
1120 <groupId>com.github.spotbugs</groupId>
1121 <artifactId>spotbugs-annotations</artifactId>
1122 <scope>provided</scope>
1123 <optional>true</optional>
1127 Testing output should be routed through slf4j-simple.
1130 <groupId>org.slf4j</groupId>
1131 <artifactId>slf4j-simple</artifactId>
1136 Unit tests can use JUnit + Mockito + Hamcrest by default.
1139 <groupId>org.hamcrest</groupId>
1140 <artifactId>hamcrest</artifactId>
1144 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1145 <groupId>org.hamcrest</groupId>
1146 <artifactId>hamcrest-library</artifactId>
1150 <groupId>junit</groupId>
1151 <artifactId>junit</artifactId>
1155 <groupId>org.mockito</groupId>
1156 <artifactId>mockito-core</artifactId>
1164 <!-- Official maven plugins, alpha-sorted by artifactId.
1165 We do not need to specify the groupId. -->
1167 <artifactId>maven-antrun-plugin</artifactId>
1168 <version>1.8</version>
1171 <artifactId>maven-checkstyle-plugin</artifactId>
1172 <version>3.1.0</version>
1175 <groupId>com.puppycrawl.tools</groupId>
1176 <artifactId>checkstyle</artifactId>
1177 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1178 <version>8.20</version>
1181 <groupId>org.opendaylight.odlparent</groupId>
1182 <artifactId>checkstyle</artifactId>
1183 <version>6.0.0-SNAPSHOT</version>
1186 <groupId>org.opendaylight.odlparent</groupId>
1187 <artifactId>odl-license</artifactId>
1188 <version>6.0.0-SNAPSHOT</version>
1191 <groupId>com.github.sevntu-checkstyle</groupId>
1192 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1193 <version>1.34.1</version>
1197 <configLocation>odl_checks.xml</configLocation>
1198 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1199 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1200 generated sources directory -->
1202 <directory>${project.build.sourceDirectory}</directory>
1203 </sourceDirectories>
1204 <includeResources>true</includeResources>
1205 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1206 <includeTestResources>true</includeTestResources>
1207 <includes>**\/*.java, **\/*.xtend</includes>
1209 org/opendaylight/yang/gen/**,
1210 **/protobuff/messages/**,
1211 **/thrift/gen/*.java
1213 <failsOnError>false</failsOnError>
1214 <consoleOutput>true</consoleOutput>
1218 <id>check-license</id>
1222 <phase>process-sources</phase>
1224 <configLocation>check-license.xml</configLocation>
1225 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1226 <includeResources>false</includeResources>
1227 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1228 <includeTestResources>false</includeTestResources>
1230 <directory>${project.build.sourceDirectory}</directory>
1231 </sourceDirectories>
1233 org/opendaylight/yang/gen/**,
1234 **/protobuff/messages/**,
1235 **/thrift/gen/*.java
1237 <failsOnError>false</failsOnError>
1238 <consoleOutput>true</consoleOutput>
1245 <phase>process-sources</phase>
1250 <groupId>org.apache.maven.plugins</groupId>
1251 <artifactId>maven-pmd-plugin</artifactId>
1252 <version>3.11.0</version>
1256 <phase>process-sources</phase>
1258 <goal>cpd-check</goal>
1261 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1262 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1263 <minimumTokens>101</minimumTokens>
1264 <printFailingErrors>true</printFailingErrors>
1266 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1267 not understand path prefixes nor wildcards. Details are available
1268 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1269 Hence people introducing new generated sources have to include
1272 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1273 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1275 <linkXRef>false</linkXRef>
1281 <artifactId>maven-compiler-plugin</artifactId>
1282 <version>3.8.1</version>
1284 <showWarnings>true</showWarnings>
1286 <arg>-parameters</arg>
1287 <arg>-Xlint:deprecation</arg>
1288 <arg>-Xlint:unchecked</arg>
1293 <artifactId>maven-enforcer-plugin</artifactId>
1294 <version>${enforcer.version}</version>
1297 <artifactId>maven-failsafe-plugin</artifactId>
1298 <version>2.22.2</version>
1301 <artifactId>maven-invoker-plugin</artifactId>
1302 <version>3.2.0</version>
1305 <artifactId>maven-jar-plugin</artifactId>
1306 <version>3.1.2</version>
1309 <artifactId>maven-dependency-plugin</artifactId>
1312 <id>unpack-license</id>
1313 <phase>generate-resources</phase>
1314 <goals><goal>unpack</goal></goals>
1318 <groupId>org.opendaylight.odlparent</groupId>
1319 <artifactId>odl-license</artifactId>
1320 <version>6.0.0-SNAPSHOT</version>
1323 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1324 <excludes>META-INF/**</excludes>
1331 <artifactId>maven-plugin-plugin</artifactId>
1332 <version>3.6.0</version>
1336 <artifactId>maven-remote-resources-plugin</artifactId>
1337 <version>1.6.0</version>
1340 <artifactId>maven-resources-plugin</artifactId>
1341 <version>3.1.0</version>
1344 <artifactId>maven-shade-plugin</artifactId>
1345 <version>3.2.1</version>
1348 <artifactId>maven-source-plugin</artifactId>
1349 <version>3.1.0</version>
1352 <id>attach-sources</id>
1353 <phase>verify</phase>
1355 <goal>jar-no-fork</goal>
1361 <artifactId>maven-surefire-plugin</artifactId>
1362 <version>2.22.2</version>
1364 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1365 <trimStackTrace>false</trimStackTrace>
1369 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1371 <!-- Support Blueprint XML construction using annotations -->
1372 <groupId>org.apache.aries.blueprint</groupId>
1373 <artifactId>blueprint-maven-plugin</artifactId>
1374 <version>1.10.0</version>
1375 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1376 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1379 <groupId>org.apache.xbean</groupId>
1380 <artifactId>xbean-finder-shaded</artifactId>
1381 <version>4.14</version>
1386 <scanPath>${project.groupId}</scanPath>
1392 <goal>blueprint-generate</goal>
1399 <groupId>org.apache.felix</groupId>
1400 <artifactId>maven-bundle-plugin</artifactId>
1401 <version>4.2.0</version>
1402 <extensions>true</extensions>
1405 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1406 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1407 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1408 <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>
1410 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1411 to generate Import-Service and Export-Service headers. -->
1412 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1418 <groupId>org.apache.karaf.tooling</groupId>
1419 <artifactId>karaf-maven-plugin</artifactId>
1420 <version>${karaf.version}</version>
1424 <groupId>org.apache.servicemix.tooling</groupId>
1425 <artifactId>depends-maven-plugin</artifactId>
1426 <version>1.4.0</version>
1429 <id>generate-depends-file</id>
1431 <goal>generate-depends-file</goal>
1438 <groupId>com.webcohesion.enunciate</groupId>
1439 <artifactId>enunciate-maven-plugin</artifactId>
1440 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1441 <version>2.11.1</version>
1445 <groupId>org.gaul</groupId>
1446 <artifactId>modernizer-maven-plugin</artifactId>
1447 <version>1.8.0</version>
1449 <javaVersion>1.8</javaVersion>
1455 <phase>verify</phase>
1457 <goal>modernizer</goal>
1464 <groupId>org.codehaus.mojo</groupId>
1465 <artifactId>build-helper-maven-plugin</artifactId>
1466 <version>3.0.0</version>
1469 <groupId>com.github.spotbugs</groupId>
1470 <artifactId>spotbugs-maven-plugin</artifactId>
1471 <version>3.1.12</version>
1474 <groupId>com.github.spotbugs</groupId>
1475 <artifactId>spotbugs</artifactId>
1476 <version>3.1.12</version>
1479 <groupId>org.opendaylight.odlparent</groupId>
1480 <artifactId>spotbugs</artifactId>
1481 <version>6.0.0-SNAPSHOT</version>
1484 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1485 <groupId>org.slf4j</groupId>
1486 <artifactId>slf4j-simple</artifactId>
1487 <version>1.8.0-beta2</version>
1493 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1494 <artifactId>bug-pattern</artifactId>
1495 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1496 <version>1.4.2</version>
1500 Enables analysis which takes more memory but finds more bugs.
1501 If you run out of memory, changes the value of the effort element
1504 <effort>Max</effort>
1505 <!-- Reports all bugs (other values are medium and max) -->
1506 <threshold>Low</threshold>
1507 <!-- Build doesn't fail if problems are found -->
1508 <failOnError>false</failOnError>
1509 <!-- References the excluded rules -->
1510 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1511 <!-- Produces XML report -->
1512 <xmlOutput>true</xmlOutput>
1513 <!-- Configures the directory in which the XML report is created -->
1514 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1518 Ensures that SpotBugs inspects source code when project is compiled.
1521 <id>analyze-compile</id>
1522 <phase>compile</phase>
1530 <groupId>org.codehaus.mojo</groupId>
1531 <artifactId>properties-maven-plugin</artifactId>
1532 <version>1.0.0</version>
1535 <groupId>org.eclipse.xtend</groupId>
1536 <artifactId>xtend-maven-plugin</artifactId>
1537 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1538 <version>2.17.1</version>
1542 <goal>compile</goal>
1543 <goal>testCompile</goal>
1546 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1547 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1553 <groupId>org.eclipse.m2e</groupId>
1554 <artifactId>lifecycle-mapping</artifactId>
1555 <version>1.0.0</version>
1557 <lifecycleMappingMetadata>
1560 <pluginExecutionFilter>
1561 <groupId>org.apache.felix</groupId>
1562 <artifactId>maven-bundle-plugin</artifactId>
1563 <versionRange>[1.0,)</versionRange>
1565 <goal>manifest</goal>
1567 </pluginExecutionFilter>
1573 <pluginExecutionFilter>
1574 <groupId>org.apache.maven.plugins</groupId>
1575 <artifactId>maven-enforcer-plugin</artifactId>
1576 <versionRange>[1.0.0,)</versionRange>
1578 <goal>enforce</goal>
1580 </pluginExecutionFilter>
1586 <pluginExecutionFilter>
1587 <groupId>org.apache.maven.plugins</groupId>
1588 <artifactId>maven-dependency-plugin</artifactId>
1589 <versionRange>[2.10,)</versionRange>
1593 </pluginExecutionFilter>
1599 <pluginExecutionFilter>
1600 <groupId>org.apache.maven.plugins</groupId>
1601 <artifactId>maven-pmd-plugin</artifactId>
1602 <versionRange>[3.6,)</versionRange>
1604 <goal>cpd-check</goal>
1606 </pluginExecutionFilter>
1611 <!-- The plugin will eventually be removed, remove this too at that point -->
1613 <pluginExecutionFilter>
1614 <groupId>org.apache.maven.plugins</groupId>
1615 <artifactId>maven-antrun-plugin</artifactId>
1616 <versionRange>[1.8,)</versionRange>
1620 </pluginExecutionFilter>
1626 <pluginExecutionFilter>
1627 <groupId>org.apache.servicemix.tooling</groupId>
1628 <artifactId>depends-maven-plugin</artifactId>
1629 <versionRange>[1.2,)</versionRange>
1631 <goal>generate-depends-file</goal>
1633 </pluginExecutionFilter>
1639 <pluginExecutionFilter>
1640 <groupId>org.jacoco</groupId>
1641 <artifactId>jacoco-maven-plugin</artifactId>
1642 <versionRange>[0.7.0,)</versionRange>
1644 <goal>prepare-agent</goal>
1646 </pluginExecutionFilter>
1653 <pluginExecutionFilter>
1654 <groupId>org.ops4j.pax.exam</groupId>
1655 <artifactId>maven-paxexam-plugin</artifactId>
1656 <versionRange>[1.2.4,)</versionRange>
1658 <goal>generate-depends-file</goal>
1660 </pluginExecutionFilter>
1667 <pluginExecutionFilter>
1668 <groupId>org.basepom.maven</groupId>
1670 duplicate-finder-maven-plugin
1672 <versionRange>[1.2.1,)</versionRange>
1676 </pluginExecutionFilter>
1682 </lifecycleMappingMetadata>
1687 <groupId>org.jacoco</groupId>
1688 <artifactId>jacoco-maven-plugin</artifactId>
1690 <!-- Note: This exclusion list should match <sonar.exclusions>
1693 <exclude>**/gen/**</exclude>
1694 <exclude>**/generated-sources/**</exclude>
1695 <exclude>**/generated-test-sources/**</exclude>
1696 <exclude>**/yang-gen/**</exclude>
1697 <exclude>**/yang-gen-config/**</exclude>
1698 <exclude>**/yang-gen-sal/**</exclude>
1699 <exclude>**/yang-gen-code/**</exclude>
1700 <exclude>**/pax/**</exclude>
1706 <groupId>org.ops4j.pax.exam</groupId>
1707 <artifactId>maven-paxexam-plugin</artifactId>
1708 <version>1.2.4</version>
1712 <groupId>org.codehaus.mojo</groupId>
1713 <artifactId>jdepend-maven-plugin</artifactId>
1714 <version>2.0</version>
1719 <goal>generate-no-fork</goal>
1725 <!-- When updating this version, consider antl4-runtime above -->
1727 <groupId>org.antlr</groupId>
1728 <artifactId>antlr4-maven-plugin</artifactId>
1729 <version>4.7.2</version>
1736 <artifactId>maven-enforcer-plugin</artifactId>
1739 <id>enforce-banned-dependencies</id>
1741 <goal>enforce</goal>
1745 <bannedDependencies>
1746 <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>
1748 <exclude>org.mockito:mockito-all</exclude>
1749 <exclude>com.google.code.findbugs:annotations</exclude>
1751 </bannedDependencies>
1759 <groupId>org.basepom.maven</groupId>
1760 <artifactId>duplicate-finder-maven-plugin</artifactId>
1761 <version>1.3.0</version>
1764 <id>find-duplicate-classpath-entries</id>
1765 <phase>verify</phase>
1772 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1773 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1774 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1775 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1776 <printEqualFiles>false</printEqualFiles>
1778 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1779 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1780 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1782 <ignoredResourcePatterns>
1783 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1784 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1785 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1786 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1787 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1788 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1789 </ignoredResourcePatterns>
1790 <ignoredClassPatterns>
1791 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1792 </ignoredClassPatterns>
1793 <ignoredDependencies>
1795 <groupId>org.slf4j</groupId>
1796 <artifactId>slf4j-simple</artifactId>
1797 </ignoredDependency>
1799 <groupId>org.opendaylight.odlparent</groupId>
1800 <artifactId>opendaylight-karaf-empty</artifactId>
1801 </ignoredDependency>
1802 </ignoredDependencies>
1806 <artifactId>maven-dependency-plugin</artifactId>
1809 <artifactId>maven-checkstyle-plugin</artifactId>
1812 <artifactId>maven-pmd-plugin</artifactId>
1815 <artifactId>maven-source-plugin</artifactId>
1818 <artifactId>maven-javadoc-plugin</artifactId>
1821 <!-- Jacoco / Sonar -->
1823 <groupId>org.jacoco</groupId>
1824 <artifactId>jacoco-maven-plugin</artifactId>
1827 <id>pre-unit-test</id>
1829 <goal>prepare-agent</goal>
1832 <destFile>${jacoco.destFile}</destFile>
1839 <groupId>com.alexecollins.maven.plugin</groupId>
1840 <artifactId>script-maven-plugin</artifactId>
1841 <version>1.0.0</version>
1844 <phase>prepare-package</phase>
1846 <goal>execute</goal>
1850 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1851 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1852 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1853 // static class methods only - it will be MUCH easier to write!)
1854 void copy(File root, String glob, File target) {
1855 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1856 Iterator dirStreamIterator = dirStream.iterator();
1857 while (dirStreamIterator.hasNext()) {
1858 java.nio.file.Path path = dirStreamIterator.next();
1859 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1860 new java.nio.file.CopyOption[] {
1861 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1862 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1869 File gitRepoRootDir = project.basedir;
1870 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1871 gitRepoRootDir = gitRepoRootDir.getParentFile();
1874 File target = new File(project.build.outputDirectory);
1876 copy(gitRepoRootDir, "README*", target);
1877 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1878 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1885 <groupId>org.apache-extras.beanshell</groupId>
1886 <artifactId>bsh</artifactId>
1887 <version>2.0b6</version>
1896 <id>jdk9-compile</id>
1900 <!-- Unless the release is overridden by a system property -->
1901 <name>!maven.compiler.release</name>
1905 <!-- For JDK9+ we want to pass -release to javac -->
1907 <maven.compiler.release>8</maven.compiler.release>
1915 <artifactId>maven-checkstyle-plugin</artifactId>
1916 <version>3.1.0</version>
1919 <!-- FIXME: activate this
1921 <artifactId>maven-project-info-reports-plugin</artifactId>
1922 <version>${projectinfo}</version>
1925 <groupId>org.codehaus.mojo</groupId>
1926 <artifactId>jdepend-maven-plugin</artifactId>
1930 <report>generate-no-fork</report>