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 <maven.compiler.release>11</maven.compiler.release>
46 <!-- Used in openflowplugin -->
47 <enforcer.version>3.0.0-M2</enforcer.version>
48 <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
49 <karaf.version>4.2.2</karaf.version>
50 <!-- Used in bgpcep, lispflowmapping -->
51 <projectinfo>2.8.1</projectinfo>
53 <!-- Supporting Libraries -->
54 <!-- Only used internally -->
55 <bouncycastle.version>1.62</bouncycastle.version>
57 <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
58 to allow projects to report Sonar values from the entire project. -->
59 <jacoco.destFile>${project.build.directory}/code-coverage/jacoco.exec</jacoco.destFile>
61 <!-- Default Sonar configuration -->
62 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
63 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
64 <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
65 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
67 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
68 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
70 <!-- Opt-in code quality checks -->
71 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
72 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
74 <!-- Redirect test output to files (overridable) -->
75 <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
78 <dependencyManagement>
82 <groupId>org.opendaylight.odlparent</groupId>
83 <artifactId>odlparent-artifacts</artifactId>
84 <version>6.0.0-SNAPSHOT</version>
89 <!-- We import Karaf dependencies to ensure we converge by default on the versions used there -->
91 <groupId>org.apache.karaf.features</groupId>
92 <artifactId>framework</artifactId>
93 <version>${karaf.version}</version>
98 <!-- Build tool dependencies (normally not here in <dependencies>,
99 but in a <dependency> in <pluginManagement> but for Checkstyle this
100 is required so that we can share the same version of Checkstyle
101 for both the Maven plugin below as well as for custom Checkstyle
102 check rule projects, such as yangtools' checkstyle-logging) -->
104 <groupId>com.puppycrawl.tools</groupId>
105 <artifactId>checkstyle</artifactId>
106 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
107 <version>8.20</version>
110 <!-- Testing Dependencies -->
111 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
112 <!-- Need to stick to JUnit 4.11 until
113 https://github.com/jayway/powermock/issues/560 is fixed (either in
114 PowerMock or with a new JUnit release) -->
116 <groupId>junit</groupId>
117 <artifactId>junit</artifactId>
118 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
119 <version>4.11</version>
123 <groupId>org.skyscreamer</groupId>
124 <artifactId>jsonassert</artifactId>
125 <version>1.5.0</version>
129 <groupId>org.mockito</groupId>
130 <artifactId>mockito-core</artifactId>
131 <version>2.25.1</version>
135 <groupId>org.mockito</groupId>
136 <artifactId>mockito-inline</artifactId>
137 <version>2.25.1</version>
141 <groupId>org.hamcrest</groupId>
142 <artifactId>hamcrest</artifactId>
143 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
144 <version>2.1</version>
148 <groupId>org.hamcrest</groupId>
149 <artifactId>hamcrest-core</artifactId>
150 <version>2.1</version>
154 <groupId>org.hamcrest</groupId>
155 <artifactId>hamcrest-library</artifactId>
156 <version>2.1</version>
160 <groupId>com.google.truth</groupId>
161 <artifactId>truth</artifactId>
162 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
163 <version>0.43</version>
167 <groupId>com.google.truth.extensions</groupId>
168 <artifactId>truth-java8-extension</artifactId>
169 <version>0.43</version>
173 <groupId>org.awaitility</groupId>
174 <artifactId>awaitility</artifactId>
175 <version>3.0.0</version>
179 <groupId>org.awaitility</groupId>
180 <artifactId>awaitility-proxy</artifactId>
181 <version>3.0.0</version>
185 <groupId>org.powermock</groupId>
186 <artifactId>powermock-api-mockito2</artifactId>
187 <version>2.0.2</version>
191 <groupId>org.powermock</groupId>
192 <artifactId>powermock-api-support</artifactId>
193 <version>2.0.2</version>
197 <groupId>org.powermock</groupId>
198 <artifactId>powermock-core</artifactId>
199 <version>2.0.2</version>
203 <groupId>org.powermock</groupId>
204 <artifactId>powermock-module-junit4</artifactId>
205 <version>2.0.2</version>
209 <groupId>org.powermock</groupId>
210 <artifactId>powermock-reflect</artifactId>
211 <version>2.0.2</version>
216 Annotation Processors
219 <!-- Generates immutable implementations, builders, the works -->
220 <groupId>org.immutables</groupId>
221 <artifactId>value</artifactId>
222 <version>2.7.5</version>
223 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
224 <scope>provided</scope>
227 <!-- Generates META-INF/services entries for ServiceLoader -->
228 <groupId>org.kohsuke.metainf-services</groupId>
229 <artifactId>metainf-services</artifactId>
230 <version>1.8</version>
231 <optional>true</optional>
232 <scope>provided</scope>
239 <groupId>org.slf4j</groupId>
240 <artifactId>jcl-over-slf4j</artifactId>
241 <version>1.7.25</version>
244 <groupId>org.slf4j</groupId>
245 <artifactId>slf4j-api</artifactId>
246 <version>1.7.25</version>
249 <groupId>org.slf4j</groupId>
250 <artifactId>slf4j-log4j12</artifactId>
251 <version>1.7.25</version>
254 <groupId>org.slf4j</groupId>
255 <artifactId>log4j-over-slf4j</artifactId>
256 <version>1.7.25</version>
259 <groupId>org.slf4j</groupId>
260 <artifactId>slf4j-simple</artifactId>
261 <version>1.7.25</version>
265 <groupId>ch.qos.logback</groupId>
266 <artifactId>logback-core</artifactId>
267 <version>1.2.3</version>
270 <groupId>ch.qos.logback</groupId>
271 <artifactId>logback-classic</artifactId>
272 <version>1.2.3</version>
277 <groupId>org.apache.logging.log4j</groupId>
278 <artifactId>log4j-bom</artifactId>
279 <version>2.11.2</version>
280 <scope>import</scope>
285 <groupId>com.google.guava</groupId>
286 <artifactId>guava</artifactId>
287 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
288 <version>27.1-jre</version>
291 <!-- Do not leak JSR305 onto the classpath by default -->
292 <groupId>com.google.code.findbugs</groupId>
293 <artifactId>jsr305</artifactId>
298 <groupId>com.google.guava</groupId>
299 <artifactId>guava-testlib</artifactId>
300 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
301 <version>27.1-jre</version>
305 <!-- Do not leak JSR305 onto the classpath by default -->
306 <groupId>com.google.code.findbugs</groupId>
307 <artifactId>jsr305</artifactId>
312 <!-- Caffeine plus bridges to Guava and JCache -->
314 <groupId>com.github.ben-manes.caffeine</groupId>
315 <artifactId>caffeine</artifactId>
316 <version>2.7.0</version>
319 <groupId>com.github.ben-manes.caffeine</groupId>
320 <artifactId>guava</artifactId>
321 <version>2.7.0</version>
325 <groupId>com.mycila.guice.extensions</groupId>
326 <artifactId>mycila-guice-jsr250</artifactId>
327 <!-- Make sure this version is in sync with the guice one below -->
328 <version>4.0.rc1</version>
331 <groupId>com.google.inject</groupId>
332 <artifactId>guice</artifactId>
333 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
334 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
335 <version>4.1.0</version>
338 <groupId>commons-beanutils</groupId>
339 <artifactId>commons-beanutils</artifactId>
340 <version>1.9.3</version>
343 <groupId>org.apache.commons</groupId>
344 <artifactId>commons-lang3</artifactId>
345 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
346 <version>3.9</version>
349 <groupId>org.apache.commons</groupId>
350 <artifactId>commons-text</artifactId>
351 <version>1.7</version>
354 <groupId>commons-lang</groupId>
355 <artifactId>commons-lang</artifactId>
356 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
357 <version>2.6</version>
360 <groupId>commons-codec</groupId>
361 <artifactId>commons-codec</artifactId>
362 <version>1.12</version>
364 <!-- Jersey for JAXRS -->
366 <groupId>javax.ws.rs</groupId>
367 <artifactId>javax.ws.rs-api</artifactId>
368 <version>2.0.1</version>
371 <groupId>org.glassfish.jersey</groupId>
372 <artifactId>jersey-bom</artifactId>
373 <version>2.25.1</version>
375 <scope>import</scope>
378 <groupId>org.glassfish</groupId>
379 <artifactId>javax.json</artifactId>
380 <version>1.1.2</version>
384 <groupId>org.checkerframework</groupId>
385 <artifactId>checker-qual</artifactId>
386 <version>2.5.8</version>
389 <groupId>com.google.errorprone</groupId>
390 <artifactId>error_prone_annotations</artifactId>
391 <version>2.3.3</version>
395 <groupId>javax.activation</groupId>
396 <artifactId>activation</artifactId>
397 <version>1.1.1</version>
400 <groupId>javax.annotation</groupId>
401 <artifactId>javax.annotation-api</artifactId>
402 <version>1.2</version>
403 <optional>true</optional>
406 <groupId>xml-apis</groupId>
407 <artifactId>xml-apis</artifactId>
408 <version>1.4.01</version>
412 <groupId>org.apache.shiro</groupId>
413 <artifactId>shiro-core</artifactId>
414 <version>1.3.2</version>
417 <groupId>org.apache.shiro</groupId>
418 <artifactId>shiro-web</artifactId>
419 <version>1.3.2</version>
422 <!-- Plugin integration -->
424 <groupId>net.java.dev.stax-utils</groupId>
425 <artifactId>stax-utils</artifactId>
426 <version>20070216</version>
429 <groupId>org.sonatype.plexus</groupId>
430 <artifactId>plexus-build-api</artifactId>
431 <version>0.0.7</version>
434 <groupId>org.codehaus.plexus</groupId>
435 <artifactId>plexus-slf4j-logging</artifactId>
436 <version>1.1</version>
439 <!-- These three need to be consistent:
440 jackson-2.9 needs woodstox-5.0.x
441 woodstox-5.0 needs stax2-api-3.1.x
444 <groupId>org.codehaus.woodstox</groupId>
445 <artifactId>stax2-api</artifactId>
446 <version>3.1.4</version>
449 <groupId>com.fasterxml.woodstox</groupId>
450 <artifactId>woodstox-core</artifactId>
451 <version>5.0.3</version>
454 <groupId>com.fasterxml.jackson</groupId>
455 <artifactId>jackson-bom</artifactId>
456 <version>2.9.9</version>
457 <scope>import</scope>
462 <groupId>com.github.spotbugs</groupId>
463 <artifactId>spotbugs-annotations</artifactId>
464 <version>3.1.12</version>
465 <scope>provided</scope>
466 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
467 <optional>true</optional>
470 <groupId>com.google.code.findbugs</groupId>
471 <artifactId>jsr305</artifactId>
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.36.Final</version>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-buffer</artifactId>
514 <version>4.1.36.Final</version>
517 <groupId>io.netty</groupId>
518 <artifactId>netty-codec</artifactId>
519 <version>4.1.36.Final</version>
522 <groupId>io.netty</groupId>
523 <artifactId>netty-codec-http</artifactId>
524 <version>4.1.36.Final</version>
527 <groupId>io.netty</groupId>
528 <artifactId>netty-common</artifactId>
529 <version>4.1.36.Final</version>
532 <groupId>io.netty</groupId>
533 <artifactId>netty-handler</artifactId>
534 <version>4.1.36.Final</version>
537 <groupId>io.netty</groupId>
538 <artifactId>netty-transport</artifactId>
539 <version>4.1.36.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.36.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.2</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.23</version>
697 <groupId>com.typesafe.akka</groupId>
698 <artifactId>akka-cluster_2.12</artifactId>
699 <version>2.5.23</version>
702 <groupId>com.typesafe.akka</groupId>
703 <artifactId>akka-osgi_2.12</artifactId>
704 <version>2.5.23</version>
707 <groupId>com.typesafe.akka</groupId>
708 <artifactId>akka-persistence_2.12</artifactId>
709 <version>2.5.23</version>
712 <groupId>com.typesafe.akka</groupId>
713 <artifactId>akka-persistence-tck_2.12</artifactId>
714 <version>2.5.23</version>
718 <groupId>com.typesafe.akka</groupId>
719 <artifactId>akka-protobuf_2.12</artifactId>
720 <version>2.5.23</version>
723 <groupId>com.typesafe.akka</groupId>
724 <artifactId>akka-remote_2.12</artifactId>
725 <version>2.5.23</version>
728 <groupId>com.typesafe.akka</groupId>
729 <artifactId>akka-slf4j_2.12</artifactId>
730 <version>2.5.23</version>
733 <groupId>com.typesafe.akka</groupId>
734 <artifactId>akka-stream_2.12</artifactId>
735 <version>2.5.23</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-testkit_2.12</artifactId>
740 <version>2.5.23</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.9</version>
783 <groupId>org.scala-lang</groupId>
784 <artifactId>scala-reflect</artifactId>
785 <version>2.12.9</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.3</version>
903 <groupId>org.xmlunit</groupId>
904 <artifactId>xmlunit-assertj</artifactId>
905 <version>2.6.3</version>
909 <groupId>org.xmlunit</groupId>
910 <artifactId>xmlunit-matchers</artifactId>
911 <version>2.6.3</version>
914 <!-- FIXME: remove this once we have migrated over -->
916 <groupId>org.xmlunit</groupId>
917 <artifactId>xmlunit-legacy</artifactId>
918 <version>2.6.3</version>
922 <!-- Annotations for modernizer-maven-plugin -->
924 <groupId>org.gaul</groupId>
925 <artifactId>modernizer-maven-annotations</artifactId>
926 <!-- This should match the plugin version below -->
927 <version>1.8.0</version>
928 <scope>provided</scope>
932 <groupId>org.eclipse.jetty</groupId>
933 <artifactId>jetty-bom</artifactId>
934 <version>9.4.12.v20180830</version>
935 <scope>import</scope>
940 <groupId>com.h2database</groupId>
941 <artifactId>h2</artifactId>
942 <version>1.4.199</version>
945 <!-- Xtend http://xtend-lang.org
946 NOTE: When you increase the version here,
947 then remember to also increase it for the
948 xtend-maven-plugin below! (We don't want to
949 use a Maven property, in order not to "leak" that.)
952 <groupId>org.eclipse.xtend</groupId>
953 <artifactId>org.eclipse.xtend.lib</artifactId>
954 <version>2.17.1</version>
957 <groupId>org.eclipse.xtend</groupId>
958 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
959 <version>2.17.1</version>
962 <groupId>org.eclipse.xtext</groupId>
963 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
964 <version>2.17.1</version>
969 <groupId>javax.inject</groupId>
970 <artifactId>javax.inject</artifactId>
972 <optional>true</optional>
975 <!-- jung, a graph library -->
977 <groupId>net.sf.jung</groupId>
978 <artifactId>jung-api</artifactId>
979 <version>2.1.1</version>
982 <groupId>net.sf.jung</groupId>
983 <artifactId>jung-algorithms</artifactId>
984 <version>2.1.1</version>
987 <groupId>net.sf.jung</groupId>
988 <artifactId>jung-graph-impl</artifactId>
989 <version>2.1.1</version>
992 <!-- Karaf console support -->
994 <groupId>org.apache.karaf.shell</groupId>
995 <artifactId>org.apache.karaf.shell.core</artifactId>
996 <version>${karaf.version}</version>
999 <groupId>org.apache.karaf.shell</groupId>
1000 <artifactId>org.apache.karaf.shell.console</artifactId>
1001 <version>${karaf.version}</version>
1004 <!-- ThreeTen-Extra, date/time complements -->
1006 <groupId>org.threeten</groupId>
1007 <artifactId>threeten-extra</artifactId>
1008 <version>1.5.0</version>
1011 <!-- When updating this version, consider antl4-maven-plugin below -->
1013 <groupId>org.antlr</groupId>
1014 <artifactId>antlr4-runtime</artifactId>
1015 <version>4.7.2</version>
1017 <!-- Aries' Blueprint version should be kept in sync to the version actually
1018 used by our ${karaf[4].version} ... please bump this when increasing that.
1019 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1021 <groupId>org.apache.aries.blueprint</groupId>
1022 <artifactId>org.apache.aries.blueprint.core</artifactId>
1023 <version>1.10.1</version>
1026 <groupId>org.apache.aries.blueprint</groupId>
1027 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1028 <version>1.3.0</version>
1029 <optional>true</optional>
1032 <!-- Apache SSHD with netty -->
1034 <groupId>org.apache.sshd</groupId>
1035 <artifactId>sshd-netty</artifactId>
1036 <version>2.2.0</version>
1039 <!-- We provide sshd-osgi instead -->
1040 <groupId>org.apache.sshd</groupId>
1041 <artifactId>sshd-core</artifactId>
1046 <groupId>org.apache.sshd</groupId>
1047 <artifactId>sshd-osgi</artifactId>
1048 <version>2.2.0</version>
1051 <groupId>net.i2p.crypto</groupId>
1052 <artifactId>eddsa</artifactId>
1053 <version>0.3.0</version>
1056 <!-- TrieMap library -->
1058 <groupId>tech.pantheon.triemap</groupId>
1059 <artifactId>bom</artifactId>
1060 <version>1.0.6</version>
1061 <scope>import</scope>
1065 <!-- Dropwizard metrics -->
1067 <groupId>io.dropwizard.metrics</groupId>
1068 <artifactId>metrics-bom</artifactId>
1069 <version>4.0.5</version>
1070 <scope>import</scope>
1074 <!-- JAXB for Java 11+ -->
1076 FIXME: bump this to 2.3.0 once we require Java 9+
1077 FIXME: bump this to whatever karaf provides once we require Java 11+
1080 <groupId>javax.xml.bind</groupId>
1081 <artifactId>jaxb-api</artifactId>
1082 <version>2.2.8</version>
1085 <!-- Provided by JRE -->
1086 <groupId>javax.xml.stream</groupId>
1087 <artifactId>stax-api</artifactId>
1092 <groupId>com.sun.xml.bind</groupId>
1093 <artifactId>jaxb-core</artifactId>
1094 <version>2.2.11</version>
1097 <groupId>com.sun.xml.bind</groupId>
1098 <artifactId>jaxb-impl</artifactId>
1099 <version>2.2.11</version>
1102 </dependencyManagement>
1106 We expect slf4j-api to be provided by the platform.
1107 Karaf provides it, other containers need to provide it themselves.
1110 <groupId>org.slf4j</groupId>
1111 <artifactId>slf4j-api</artifactId>
1112 <scope>provided</scope>
1116 Enable useful code quality annotations everywhere. Since these annotations
1117 are not required at runtime.
1120 <groupId>org.eclipse.jdt</groupId>
1121 <artifactId>org.eclipse.jdt.annotation</artifactId>
1122 <scope>provided</scope>
1125 <groupId>com.github.spotbugs</groupId>
1126 <artifactId>spotbugs-annotations</artifactId>
1127 <scope>provided</scope>
1128 <optional>true</optional>
1131 <groupId>org.gaul</groupId>
1132 <artifactId>modernizer-maven-annotations</artifactId>
1133 <scope>provided</scope>
1137 Testing output should be routed through slf4j-simple.
1140 <groupId>org.slf4j</groupId>
1141 <artifactId>slf4j-simple</artifactId>
1146 Unit tests can use JUnit + Mockito + Hamcrest by default.
1149 <groupId>org.hamcrest</groupId>
1150 <artifactId>hamcrest</artifactId>
1154 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1155 <groupId>org.hamcrest</groupId>
1156 <artifactId>hamcrest-library</artifactId>
1160 <groupId>junit</groupId>
1161 <artifactId>junit</artifactId>
1165 <groupId>org.mockito</groupId>
1166 <artifactId>mockito-core</artifactId>
1174 <!-- Official maven plugins, alpha-sorted by artifactId.
1175 We do not need to specify the groupId. -->
1177 <artifactId>maven-antrun-plugin</artifactId>
1178 <version>1.8</version>
1181 <artifactId>maven-checkstyle-plugin</artifactId>
1182 <version>3.1.0</version>
1185 <groupId>com.puppycrawl.tools</groupId>
1186 <artifactId>checkstyle</artifactId>
1187 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1188 <version>8.20</version>
1191 <groupId>org.opendaylight.odlparent</groupId>
1192 <artifactId>checkstyle</artifactId>
1193 <version>6.0.0-SNAPSHOT</version>
1196 <groupId>org.opendaylight.odlparent</groupId>
1197 <artifactId>odl-license</artifactId>
1198 <version>6.0.0-SNAPSHOT</version>
1201 <groupId>com.github.sevntu-checkstyle</groupId>
1202 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1203 <version>1.34.1</version>
1207 <configLocation>odl_checks.xml</configLocation>
1208 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1209 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1210 generated sources directory -->
1212 <directory>${project.build.sourceDirectory}</directory>
1213 </sourceDirectories>
1214 <includeResources>true</includeResources>
1215 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1216 <includeTestResources>true</includeTestResources>
1217 <includes>**\/*.java, **\/*.xtend</includes>
1219 org/opendaylight/yang/gen/**,
1220 **/protobuff/messages/**,
1221 **/thrift/gen/*.java,
1224 <failsOnError>false</failsOnError>
1225 <consoleOutput>true</consoleOutput>
1229 <id>check-license</id>
1233 <phase>process-sources</phase>
1235 <configLocation>check-license.xml</configLocation>
1236 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1237 <includeResources>false</includeResources>
1238 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1239 <includeTestResources>false</includeTestResources>
1241 <directory>${project.build.sourceDirectory}</directory>
1242 </sourceDirectories>
1244 org/opendaylight/yang/gen/**,
1245 **/protobuff/messages/**,
1246 **/thrift/gen/*.java
1248 <failsOnError>false</failsOnError>
1249 <consoleOutput>true</consoleOutput>
1256 <phase>process-sources</phase>
1261 <groupId>org.apache.maven.plugins</groupId>
1262 <artifactId>maven-pmd-plugin</artifactId>
1263 <version>3.11.0</version>
1267 <phase>process-sources</phase>
1269 <goal>cpd-check</goal>
1272 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1273 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1274 <minimumTokens>101</minimumTokens>
1275 <printFailingErrors>true</printFailingErrors>
1277 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1278 not understand path prefixes nor wildcards. Details are available
1279 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1280 Hence people introducing new generated sources have to include
1283 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1284 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1286 <linkXRef>false</linkXRef>
1292 <artifactId>maven-compiler-plugin</artifactId>
1293 <version>3.8.1</version>
1295 <showWarnings>true</showWarnings>
1297 <arg>-parameters</arg>
1298 <arg>-Xlint:deprecation</arg>
1299 <arg>-Xlint:unchecked</arg>
1304 <artifactId>maven-enforcer-plugin</artifactId>
1305 <version>${enforcer.version}</version>
1308 <artifactId>maven-failsafe-plugin</artifactId>
1309 <version>2.22.2</version>
1312 <artifactId>maven-invoker-plugin</artifactId>
1313 <version>3.2.0</version>
1316 <artifactId>maven-jar-plugin</artifactId>
1317 <version>3.1.2</version>
1320 <artifactId>maven-dependency-plugin</artifactId>
1323 <id>unpack-license</id>
1324 <phase>generate-resources</phase>
1325 <goals><goal>unpack</goal></goals>
1329 <groupId>org.opendaylight.odlparent</groupId>
1330 <artifactId>odl-license</artifactId>
1331 <version>6.0.0-SNAPSHOT</version>
1334 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1335 <excludes>META-INF/**</excludes>
1342 <artifactId>maven-plugin-plugin</artifactId>
1343 <version>3.6.0</version>
1347 <artifactId>maven-remote-resources-plugin</artifactId>
1348 <version>1.6.0</version>
1351 <artifactId>maven-resources-plugin</artifactId>
1352 <version>3.1.0</version>
1355 <artifactId>maven-shade-plugin</artifactId>
1356 <version>3.2.1</version>
1359 <artifactId>maven-source-plugin</artifactId>
1360 <version>3.1.0</version>
1363 <id>attach-sources</id>
1364 <phase>verify</phase>
1366 <goal>jar-no-fork</goal>
1372 <artifactId>maven-surefire-plugin</artifactId>
1373 <version>2.22.2</version>
1375 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1376 <trimStackTrace>false</trimStackTrace>
1380 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1382 <!-- Support Blueprint XML construction using annotations -->
1383 <groupId>org.apache.aries.blueprint</groupId>
1384 <artifactId>blueprint-maven-plugin</artifactId>
1385 <version>1.10.0</version>
1386 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1387 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1390 <groupId>org.apache.xbean</groupId>
1391 <artifactId>xbean-finder-shaded</artifactId>
1392 <version>4.14</version>
1397 <scanPath>${project.groupId}</scanPath>
1403 <goal>blueprint-generate</goal>
1410 <groupId>org.apache.felix</groupId>
1411 <artifactId>maven-bundle-plugin</artifactId>
1412 <version>4.2.0</version>
1413 <extensions>true</extensions>
1416 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1417 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1418 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1419 <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>
1421 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1422 to generate Import-Service and Export-Service headers. -->
1423 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1429 <groupId>org.apache.karaf.tooling</groupId>
1430 <artifactId>karaf-maven-plugin</artifactId>
1431 <version>${karaf.version}</version>
1435 <groupId>org.apache.servicemix.tooling</groupId>
1436 <artifactId>depends-maven-plugin</artifactId>
1437 <version>1.4.0</version>
1440 <id>generate-depends-file</id>
1442 <goal>generate-depends-file</goal>
1449 <groupId>com.webcohesion.enunciate</groupId>
1450 <artifactId>enunciate-maven-plugin</artifactId>
1451 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1452 <version>2.11.1</version>
1456 <groupId>org.gaul</groupId>
1457 <artifactId>modernizer-maven-plugin</artifactId>
1458 <version>1.8.0</version>
1460 <javaVersion>1.8</javaVersion>
1466 <phase>verify</phase>
1468 <goal>modernizer</goal>
1475 <groupId>org.codehaus.mojo</groupId>
1476 <artifactId>build-helper-maven-plugin</artifactId>
1477 <version>3.0.0</version>
1480 <groupId>com.github.spotbugs</groupId>
1481 <artifactId>spotbugs-maven-plugin</artifactId>
1482 <version>3.1.12.2</version>
1485 <groupId>com.github.spotbugs</groupId>
1486 <artifactId>spotbugs</artifactId>
1487 <version>3.1.12</version>
1490 <groupId>org.opendaylight.odlparent</groupId>
1491 <artifactId>spotbugs</artifactId>
1492 <version>6.0.0-SNAPSHOT</version>
1495 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1496 <groupId>org.slf4j</groupId>
1497 <artifactId>slf4j-simple</artifactId>
1498 <version>1.8.0-beta2</version>
1504 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1505 <artifactId>bug-pattern</artifactId>
1506 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1507 <version>1.4.2</version>
1511 Enables analysis which takes more memory but finds more bugs.
1512 If you run out of memory, changes the value of the effort element
1515 <effort>Max</effort>
1516 <!-- Reports all bugs (other values are medium and max) -->
1517 <threshold>Low</threshold>
1518 <!-- Build doesn't fail if problems are found -->
1519 <failOnError>false</failOnError>
1520 <!-- References the excluded rules -->
1521 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1522 <!-- Produces XML report -->
1523 <xmlOutput>true</xmlOutput>
1524 <!-- Configures the directory in which the XML report is created -->
1525 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1529 Ensures that SpotBugs inspects source code when project is compiled.
1532 <id>analyze-compile</id>
1533 <phase>compile</phase>
1541 <groupId>org.codehaus.mojo</groupId>
1542 <artifactId>properties-maven-plugin</artifactId>
1543 <version>1.0.0</version>
1546 <groupId>org.eclipse.xtend</groupId>
1547 <artifactId>xtend-maven-plugin</artifactId>
1548 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1549 <version>2.17.1</version>
1553 <goal>compile</goal>
1554 <goal>testCompile</goal>
1557 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1558 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1564 <groupId>org.eclipse.m2e</groupId>
1565 <artifactId>lifecycle-mapping</artifactId>
1566 <version>1.0.0</version>
1568 <lifecycleMappingMetadata>
1571 <pluginExecutionFilter>
1572 <groupId>org.apache.felix</groupId>
1573 <artifactId>maven-bundle-plugin</artifactId>
1574 <versionRange>[1.0,)</versionRange>
1576 <goal>manifest</goal>
1578 </pluginExecutionFilter>
1584 <pluginExecutionFilter>
1585 <groupId>org.apache.maven.plugins</groupId>
1586 <artifactId>maven-enforcer-plugin</artifactId>
1587 <versionRange>[1.0.0,)</versionRange>
1589 <goal>enforce</goal>
1591 </pluginExecutionFilter>
1597 <pluginExecutionFilter>
1598 <groupId>org.apache.maven.plugins</groupId>
1599 <artifactId>maven-dependency-plugin</artifactId>
1600 <versionRange>[2.10,)</versionRange>
1604 </pluginExecutionFilter>
1610 <pluginExecutionFilter>
1611 <groupId>org.apache.maven.plugins</groupId>
1612 <artifactId>maven-pmd-plugin</artifactId>
1613 <versionRange>[3.6,)</versionRange>
1615 <goal>cpd-check</goal>
1617 </pluginExecutionFilter>
1622 <!-- The plugin will eventually be removed, remove this too at that point -->
1624 <pluginExecutionFilter>
1625 <groupId>org.apache.maven.plugins</groupId>
1626 <artifactId>maven-antrun-plugin</artifactId>
1627 <versionRange>[1.8,)</versionRange>
1631 </pluginExecutionFilter>
1637 <pluginExecutionFilter>
1638 <groupId>org.apache.servicemix.tooling</groupId>
1639 <artifactId>depends-maven-plugin</artifactId>
1640 <versionRange>[1.2,)</versionRange>
1642 <goal>generate-depends-file</goal>
1644 </pluginExecutionFilter>
1650 <pluginExecutionFilter>
1651 <groupId>org.jacoco</groupId>
1652 <artifactId>jacoco-maven-plugin</artifactId>
1653 <versionRange>[0.7.0,)</versionRange>
1655 <goal>prepare-agent</goal>
1657 </pluginExecutionFilter>
1664 <pluginExecutionFilter>
1665 <groupId>org.ops4j.pax.exam</groupId>
1666 <artifactId>maven-paxexam-plugin</artifactId>
1667 <versionRange>[1.2.4,)</versionRange>
1669 <goal>generate-depends-file</goal>
1671 </pluginExecutionFilter>
1678 <pluginExecutionFilter>
1679 <groupId>org.basepom.maven</groupId>
1681 duplicate-finder-maven-plugin
1683 <versionRange>[1.2.1,)</versionRange>
1687 </pluginExecutionFilter>
1693 </lifecycleMappingMetadata>
1698 <groupId>org.jacoco</groupId>
1699 <artifactId>jacoco-maven-plugin</artifactId>
1701 <!-- Note: This exclusion list should match <sonar.exclusions>
1704 <exclude>**/gen/**</exclude>
1705 <exclude>**/generated-sources/**</exclude>
1706 <exclude>**/generated-test-sources/**</exclude>
1707 <exclude>**/yang-gen/**</exclude>
1708 <exclude>**/yang-gen-config/**</exclude>
1709 <exclude>**/yang-gen-sal/**</exclude>
1710 <exclude>**/yang-gen-code/**</exclude>
1711 <exclude>**/pax/**</exclude>
1717 <groupId>org.ops4j.pax.exam</groupId>
1718 <artifactId>maven-paxexam-plugin</artifactId>
1719 <version>1.2.4</version>
1723 <groupId>org.codehaus.mojo</groupId>
1724 <artifactId>jdepend-maven-plugin</artifactId>
1725 <version>2.0</version>
1730 <goal>generate-no-fork</goal>
1736 <!-- When updating this version, consider antl4-runtime above -->
1738 <groupId>org.antlr</groupId>
1739 <artifactId>antlr4-maven-plugin</artifactId>
1740 <version>4.7.2</version>
1747 <artifactId>maven-enforcer-plugin</artifactId>
1750 <id>enforce-banned-dependencies</id>
1752 <goal>enforce</goal>
1756 <bannedDependencies>
1757 <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>
1759 <exclude>org.mockito:mockito-all</exclude>
1760 <exclude>com.google.code.findbugs:annotations</exclude>
1762 </bannedDependencies>
1770 <groupId>org.basepom.maven</groupId>
1771 <artifactId>duplicate-finder-maven-plugin</artifactId>
1772 <version>1.3.0</version>
1775 <id>find-duplicate-classpath-entries</id>
1776 <phase>verify</phase>
1783 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1784 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1785 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1786 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1787 <printEqualFiles>false</printEqualFiles>
1789 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1790 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1791 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1793 <ignoredResourcePatterns>
1794 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1795 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1796 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1797 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1798 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1799 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1800 </ignoredResourcePatterns>
1801 <ignoredClassPatterns>
1802 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1803 </ignoredClassPatterns>
1804 <ignoredDependencies>
1806 <groupId>org.slf4j</groupId>
1807 <artifactId>slf4j-simple</artifactId>
1808 </ignoredDependency>
1810 <groupId>org.opendaylight.odlparent</groupId>
1811 <artifactId>opendaylight-karaf-empty</artifactId>
1812 </ignoredDependency>
1813 </ignoredDependencies>
1817 <artifactId>maven-dependency-plugin</artifactId>
1820 <artifactId>maven-checkstyle-plugin</artifactId>
1823 <artifactId>maven-pmd-plugin</artifactId>
1826 <artifactId>maven-source-plugin</artifactId>
1829 <artifactId>maven-javadoc-plugin</artifactId>
1832 <groupId>org.gaul</groupId>
1833 <artifactId>modernizer-maven-plugin</artifactId>
1836 <!-- Jacoco / Sonar -->
1838 <groupId>org.jacoco</groupId>
1839 <artifactId>jacoco-maven-plugin</artifactId>
1842 <id>pre-unit-test</id>
1844 <goal>prepare-agent</goal>
1847 <destFile>${jacoco.destFile}</destFile>
1854 <groupId>com.alexecollins.maven.plugin</groupId>
1855 <artifactId>script-maven-plugin</artifactId>
1856 <version>1.0.0</version>
1859 <phase>prepare-package</phase>
1861 <goal>execute</goal>
1865 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1866 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1867 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1868 // static class methods only - it will be MUCH easier to write!)
1869 void copy(File root, String glob, File target) {
1870 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1871 Iterator dirStreamIterator = dirStream.iterator();
1872 while (dirStreamIterator.hasNext()) {
1873 java.nio.file.Path path = dirStreamIterator.next();
1874 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1875 new java.nio.file.CopyOption[] {
1876 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1877 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1884 File gitRepoRootDir = project.basedir;
1885 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1886 gitRepoRootDir = gitRepoRootDir.getParentFile();
1889 File target = new File(project.build.outputDirectory);
1891 copy(gitRepoRootDir, "README*", target);
1892 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1893 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1900 <groupId>org.apache-extras.beanshell</groupId>
1901 <artifactId>bsh</artifactId>
1902 <version>2.0b6</version>
1912 <artifactId>maven-checkstyle-plugin</artifactId>
1913 <version>3.1.0</version>
1916 <!-- FIXME: activate this
1918 <artifactId>maven-project-info-reports-plugin</artifactId>
1919 <version>${projectinfo}</version>
1922 <groupId>org.codehaus.mojo</groupId>
1923 <artifactId>jdepend-maven-plugin</artifactId>
1927 <report>generate-no-fork</report>