1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>odlparent-lite</artifactId>
16 <version>4.0.10-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
31 <!-- Variables should only be used where genuinely useful (to avoid
32 repetition); in general versions should be specified in the
33 corresponding dependencyManagement or pluginManagement element, not as
34 a variable. Duplication within odlparent doesn't count if it can be
35 managed using maven-versions-plugin. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <!-- Java Versions -->
44 <!-- FIXME: confirm these two are picked by maven-compiler-plugin -->
45 <maven.compiler.source>1.8</maven.compiler.source>
46 <maven.compiler.target>1.8</maven.compiler.target>
47 <java.version.source>${maven.compiler.source}</java.version.source>
48 <java.version.target>${maven.compiler.target}</java.version.target>
50 <!-- 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.60</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>4.0.10-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.16</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.23.4</version>
139 <groupId>org.mockito</groupId>
140 <artifactId>mockito-inline</artifactId>
141 <version>2.23.4</version>
145 <groupId>org.hamcrest</groupId>
146 <artifactId>hamcrest-core</artifactId>
147 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
148 <version>1.3</version>
152 <groupId>org.hamcrest</groupId>
153 <artifactId>hamcrest-library</artifactId>
154 <version>1.3</version>
158 <groupId>com.google.truth</groupId>
159 <artifactId>truth</artifactId>
160 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
161 <version>0.42</version>
165 <groupId>com.google.truth.extensions</groupId>
166 <artifactId>truth-java8-extension</artifactId>
167 <version>0.42</version>
171 <groupId>org.awaitility</groupId>
172 <artifactId>awaitility</artifactId>
173 <version>3.0.0</version>
177 <groupId>org.awaitility</groupId>
178 <artifactId>awaitility-proxy</artifactId>
179 <version>3.0.0</version>
183 <groupId>org.powermock</groupId>
184 <artifactId>powermock-api-mockito</artifactId>
185 <version>1.7.4</version>
189 <groupId>org.powermock</groupId>
190 <artifactId>powermock-api-mockito2</artifactId>
191 <version>1.7.4</version>
195 <groupId>org.powermock</groupId>
196 <artifactId>powermock-api-support</artifactId>
197 <version>1.7.4</version>
201 <groupId>org.powermock</groupId>
202 <artifactId>powermock-core</artifactId>
203 <version>1.7.4</version>
207 <groupId>org.powermock</groupId>
208 <artifactId>powermock-module-junit4</artifactId>
209 <version>1.7.4</version>
213 <groupId>org.powermock</groupId>
214 <artifactId>powermock-reflect</artifactId>
215 <version>1.7.4</version>
220 Annotation Processors
223 <!-- Generates immutable implementations, builders, the works -->
224 <groupId>org.immutables</groupId>
225 <artifactId>value</artifactId>
226 <version>2.7.3</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>25.1-jre</version>
295 <groupId>com.google.code.findbugs</groupId>
296 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
297 <artifactId>jsr305</artifactId>
302 <groupId>com.google.guava</groupId>
303 <artifactId>guava-testlib</artifactId>
304 <version>25.1-jre</version>
308 <groupId>com.google.code.findbugs</groupId>
309 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
310 <artifactId>jsr305</artifactId>
315 <groupId>com.mycila.guice.extensions</groupId>
316 <artifactId>mycila-guice-jsr250</artifactId>
317 <!-- Make sure this version is in sync with the guice one below -->
318 <version>4.0.rc1</version>
321 <groupId>com.google.inject</groupId>
322 <artifactId>guice</artifactId>
323 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
324 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
325 <version>4.1.0</version>
328 <groupId>commons-beanutils</groupId>
329 <artifactId>commons-beanutils</artifactId>
330 <version>1.9.3</version>
333 <groupId>org.apache.commons</groupId>
334 <artifactId>commons-lang3</artifactId>
335 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
336 <version>3.8.1</version>
339 <groupId>org.apache.commons</groupId>
340 <artifactId>commons-text</artifactId>
341 <version>1.6</version>
344 <groupId>commons-lang</groupId>
345 <artifactId>commons-lang</artifactId>
346 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
347 <version>2.6</version>
350 <groupId>commons-codec</groupId>
351 <artifactId>commons-codec</artifactId>
352 <version>1.11</version>
354 <!-- Jersey for JAXRS -->
356 <groupId>javax.ws.rs</groupId>
357 <artifactId>javax.ws.rs-api</artifactId>
358 <version>2.0.1</version>
361 <groupId>org.glassfish.jersey</groupId>
362 <artifactId>jersey-bom</artifactId>
363 <version>2.25.1</version>
365 <scope>import</scope>
368 <groupId>org.glassfish</groupId>
369 <artifactId>javax.json</artifactId>
370 <version>1.1.2</version>
374 <groupId>org.checkerframework</groupId>
375 <artifactId>checker-qual</artifactId>
376 <version>2.5.8</version>
379 <groupId>com.google.errorprone</groupId>
380 <artifactId>error_prone_annotations</artifactId>
381 <version>2.3.2</version>
385 <groupId>javax.activation</groupId>
386 <artifactId>activation</artifactId>
387 <version>1.1.1</version>
390 <groupId>javax.annotation</groupId>
391 <artifactId>javax.annotation-api</artifactId>
392 <version>1.2</version>
393 <optional>true</optional>
396 <groupId>xml-apis</groupId>
397 <artifactId>xml-apis</artifactId>
398 <version>1.4.01</version>
401 <!-- servlet 3.x support -->
402 <!-- FIXME : remove all dependencies for jersey 1.17 -->
404 <groupId>com.sun.jersey</groupId>
405 <artifactId>jersey-core</artifactId>
406 <version>1.19.4</version>
409 <groupId>com.sun.jersey</groupId>
410 <artifactId>jersey-json</artifactId>
411 <version>1.19.4</version>
414 <groupId>com.sun.jersey</groupId>
415 <artifactId>jersey-server</artifactId>
416 <version>1.19.4</version>
419 <groupId>com.sun.jersey</groupId>
420 <artifactId>jersey-servlet</artifactId>
421 <version>1.19.4</version>
424 <groupId>com.sun.jersey.jersey-test-framework</groupId>
425 <artifactId>jersey-test-framework-grizzly2</artifactId>
426 <version>1.19.4</version>
430 <groupId>com.sun.jersey.jersey-test-framework</groupId>
431 <artifactId>jersey-test-framework-inmemory</artifactId>
432 <version>1.19.4</version>
436 <groupId>com.sun.jersey</groupId>
437 <artifactId>jersey-client</artifactId>
438 <version>1.19.4</version>
441 <groupId>org.apache.shiro</groupId>
442 <artifactId>shiro-core</artifactId>
443 <version>1.3.2</version>
446 <groupId>org.apache.shiro</groupId>
447 <artifactId>shiro-web</artifactId>
448 <version>1.3.2</version>
451 <!-- Plugin integration -->
453 <groupId>net.java.dev.stax-utils</groupId>
454 <artifactId>stax-utils</artifactId>
455 <version>20070216</version>
458 <groupId>org.sonatype.plexus</groupId>
459 <artifactId>plexus-build-api</artifactId>
460 <version>0.0.7</version>
463 <groupId>org.codehaus.plexus</groupId>
464 <artifactId>plexus-slf4j-logging</artifactId>
465 <version>1.1</version>
468 <!-- These three need to be consistent:
469 jackson-2.9 needs woodstox-5.0.x
470 woodstox-5.0 needs stax2-api-3.1.x
473 <groupId>org.codehaus.woodstox</groupId>
474 <artifactId>stax2-api</artifactId>
475 <version>3.1.4</version>
478 <groupId>com.fasterxml.woodstox</groupId>
479 <artifactId>woodstox-core</artifactId>
480 <version>5.0.3</version>
483 <groupId>com.fasterxml.jackson</groupId>
484 <artifactId>jackson-bom</artifactId>
485 <version>2.9.8</version>
486 <scope>import</scope>
490 <!-- TODO do we really need resteasy ? -->
492 <groupId>org.jboss.resteasy</groupId>
493 <artifactId>jaxrs-api</artifactId>
494 <version>3.0.12.Final</version>
498 <groupId>com.google.code.findbugs</groupId>
499 <artifactId>annotations</artifactId>
500 <version>3.0.0</version>
502 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
503 the types of this artifact are already shaded inside the :annotations artifact.
504 This state is a temporary solution to allow all projects to gradually switch over
505 switch their <dependency><groupId>com.google.code.findbugs from
506 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
507 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
510 <groupId>net.jcip</groupId>
511 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
512 <artifactId>jcip-annotations</artifactId>
517 <groupId>org.eclipse.jdt</groupId>
518 <artifactId>org.eclipse.jdt.annotation</artifactId>
519 <version>2.2.100</version>
520 <scope>provided</scope>
523 <groupId>com.google.code.gson</groupId>
524 <artifactId>gson</artifactId>
525 <version>2.8.5</version>
528 <groupId>commons-fileupload</groupId>
529 <artifactId>commons-fileupload</artifactId>
530 <version>1.4</version>
533 <groupId>commons-io</groupId>
534 <artifactId>commons-io</artifactId>
535 <version>2.6</version>
538 <groupId>commons-net</groupId>
539 <artifactId>commons-net</artifactId>
540 <version>3.6</version>
545 <groupId>io.netty</groupId>
546 <artifactId>netty-all</artifactId>
547 <!-- If these are updated, the version in features.xml needs to be changed too -->
548 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
549 <version>4.1.33.Final</version>
552 <groupId>io.netty</groupId>
553 <artifactId>netty-buffer</artifactId>
554 <version>4.1.33.Final</version>
557 <groupId>io.netty</groupId>
558 <artifactId>netty-codec</artifactId>
559 <version>4.1.33.Final</version>
562 <groupId>io.netty</groupId>
563 <artifactId>netty-codec-http</artifactId>
564 <version>4.1.33.Final</version>
567 <groupId>io.netty</groupId>
568 <artifactId>netty-common</artifactId>
569 <version>4.1.33.Final</version>
572 <groupId>io.netty</groupId>
573 <artifactId>netty-handler</artifactId>
574 <version>4.1.33.Final</version>
577 <groupId>io.netty</groupId>
578 <artifactId>netty-transport</artifactId>
579 <version>4.1.33.Final</version>
581 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
582 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
584 <groupId>io.netty</groupId>
585 <artifactId>netty-transport-native-epoll</artifactId>
586 <classifier>linux-x86_64</classifier>
587 <version>4.1.33.Final</version>
590 <groupId>javax.ws.rs</groupId>
591 <artifactId>jsr311-api</artifactId>
592 <version>1.1.1</version>
595 <groupId>javax.servlet</groupId>
596 <artifactId>javax.servlet-api</artifactId>
597 <version>3.1.0</version>
600 <groupId>org.apache.felix</groupId>
601 <artifactId>org.apache.felix.dependencymanager</artifactId>
602 <version>4.4.1</version>
605 <groupId>org.apache.felix</groupId>
606 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
607 <version>4.0.6</version>
610 <groupId>org.apache.felix</groupId>
611 <artifactId>org.apache.felix.metatype</artifactId>
612 <version>1.2.2</version>
615 <groupId>org.bouncycastle</groupId>
616 <artifactId>bcpkix-jdk15on</artifactId>
617 <version>${bouncycastle.version}</version>
620 <groupId>org.bouncycastle</groupId>
621 <artifactId>bcprov-jdk15on</artifactId>
622 <version>${bouncycastle.version}</version>
625 <groupId>org.bouncycastle</groupId>
626 <artifactId>bcprov-ext-jdk15on</artifactId>
627 <version>${bouncycastle.version}</version>
630 <!-- FIXME: ODLPARENT-190: remove this declaration -->
632 <groupId>org.codehaus.enunciate</groupId>
633 <artifactId>enunciate-core-annotations</artifactId>
634 <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
635 <version>1.31</version>
638 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
639 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
640 and @RunAs and @PermitAll & Co. which we do not require
641 (or at least not from jsr250-api via enunciate) -->
642 <groupId>javax.annotation</groupId>
643 <artifactId>jsr250-api</artifactId>
648 <groupId>com.webcohesion.enunciate</groupId>
649 <artifactId>enunciate-core-annotations</artifactId>
650 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
651 <version>2.11.1</version>
655 <groupId>org.codehaus.jettison</groupId>
656 <artifactId>jettison</artifactId>
657 <version>1.4.0</version>
659 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
660 pull in javax.validation first:
661 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
663 <groupId>org.eclipse.persistence</groupId>
664 <artifactId>org.eclipse.persistence.antlr</artifactId>
665 <version>2.7.3</version>
668 <groupId>org.eclipse.persistence</groupId>
669 <artifactId>org.eclipse.persistence.core</artifactId>
670 <version>2.7.3</version>
673 <groupId>org.eclipse.persistence</groupId>
674 <artifactId>org.eclipse.persistence.moxy</artifactId>
675 <version>2.7.3</version>
678 <groupId>javax.validation</groupId>
679 <artifactId>validation-api</artifactId>
680 <version>1.1.0.Final</version>
683 <groupId>org.javassist</groupId>
684 <artifactId>javassist</artifactId>
685 <version>3.24.0-GA</version>
688 <groupId>org.jboss.spec.javax.transaction</groupId>
689 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
690 <version>1.0.1.Final</version>
693 <groupId>org.jolokia</groupId>
694 <artifactId>jolokia-osgi</artifactId>
695 <version>1.6.0</version>
698 <groupId>org.json</groupId>
699 <artifactId>json</artifactId>
700 <version>20131018</version>
703 <groupId>org.osgi</groupId>
704 <artifactId>org.osgi.compendium</artifactId>
705 <version>5.0.0</version>
706 <scope>provided</scope>
709 <groupId>org.osgi</groupId>
710 <artifactId>org.osgi.core</artifactId>
711 <version>5.0.0</version>
712 <scope>provided</scope>
715 <groupId>org.osgi</groupId>
716 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
717 <artifactId>org.osgi.service.event</artifactId>
718 <version>1.3.1</version>
721 <groupId>org.apache.aries.quiesce</groupId>
722 <artifactId>org.apache.aries.quiesce.api</artifactId>
723 <version>1.0.0</version>
726 <groupId>org.ow2.asm</groupId>
727 <artifactId>asm</artifactId>
728 <version>7.0</version>
731 <!-- Configuration library -->
732 <!-- This needs to be kept in sync with the version used by akka -->
734 <groupId>com.typesafe</groupId>
735 <artifactId>config</artifactId>
736 <version>1.3.2</version>
739 <!-- Reactive Streams, used by Akka -->
741 <groupId>org.reactivestreams</groupId>
742 <artifactId>reactive-streams</artifactId>
743 <version>1.0.1</version>
748 <groupId>com.typesafe</groupId>
749 <artifactId>ssl-config-core_2.12</artifactId>
750 <version>0.3.6</version>
753 <groupId>com.typesafe.akka</groupId>
754 <artifactId>akka-actor_2.12</artifactId>
755 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
756 <version>2.5.19</version>
759 <groupId>com.typesafe.akka</groupId>
760 <artifactId>akka-cluster_2.12</artifactId>
761 <version>2.5.19</version>
764 <groupId>com.typesafe.akka</groupId>
765 <artifactId>akka-osgi_2.12</artifactId>
766 <version>2.5.19</version>
769 <groupId>com.typesafe.akka</groupId>
770 <artifactId>akka-persistence_2.12</artifactId>
771 <version>2.5.19</version>
774 <groupId>com.typesafe.akka</groupId>
775 <artifactId>akka-persistence-tck_2.12</artifactId>
776 <version>2.5.19</version>
780 <groupId>com.typesafe.akka</groupId>
781 <artifactId>akka-protobuf_2.12</artifactId>
782 <version>2.5.19</version>
785 <groupId>com.typesafe.akka</groupId>
786 <artifactId>akka-remote_2.12</artifactId>
787 <version>2.5.19</version>
790 <groupId>com.typesafe.akka</groupId>
791 <artifactId>akka-slf4j_2.12</artifactId>
792 <version>2.5.19</version>
795 <groupId>com.typesafe.akka</groupId>
796 <artifactId>akka-stream_2.12</artifactId>
797 <version>2.5.19</version>
800 <groupId>com.typesafe.akka</groupId>
801 <artifactId>akka-testkit_2.12</artifactId>
802 <version>2.5.19</version>
806 <groupId>org.scala-lang.modules</groupId>
807 <artifactId>scala-java8-compat_2.12</artifactId>
808 <version>0.8.0</version>
811 <groupId>org.scala-lang.modules</groupId>
812 <artifactId>scala-parser-combinators_2.12</artifactId>
813 <version>1.1.1</version>
816 <groupId>org.uncommons.maths</groupId>
817 <artifactId>uncommons-maths</artifactId>
818 <version>1.2.2a</version>
821 <!-- Aeron, required by Akka -->
823 <groupId>org.agrona</groupId>
824 <artifactId>agrona</artifactId>
825 <version>0.9.27</version>
828 <groupId>io.aeron</groupId>
829 <artifactId>aeron-client</artifactId>
830 <version>1.12.0</version>
833 <groupId>io.aeron</groupId>
834 <artifactId>aeron-driver</artifactId>
835 <version>1.12.0</version>
840 <groupId>org.scala-lang</groupId>
841 <artifactId>scala-library</artifactId>
842 <version>2.12.8</version>
845 <groupId>org.scala-lang</groupId>
846 <artifactId>scala-reflect</artifactId>
847 <version>2.12.8</version>
850 <!-- LMAX Disruptor -->
852 <groupId>com.lmax</groupId>
853 <artifactId>disruptor</artifactId>
854 <version>3.4.2</version>
857 <!-- Add Pax Exam -->
859 <groupId>org.ops4j.pax.exam</groupId>
860 <artifactId>pax-exam</artifactId>
861 <version>4.13.1</version>
865 <groupId>org.ops4j.pax.exam</groupId>
866 <artifactId>pax-exam-container-forked</artifactId>
867 <version>4.13.1</version>
871 <groupId>org.ops4j.pax.exam</groupId>
872 <artifactId>pax-exam-container-karaf</artifactId>
873 <version>4.13.1</version>
877 <groupId>org.ops4j.pax.exam</groupId>
878 <artifactId>pax-exam-container-native</artifactId>
879 <version>4.13.1</version>
883 <groupId>org.ops4j.pax.exam</groupId>
884 <artifactId>pax-exam-extender-service</artifactId>
885 <version>4.13.1</version>
889 <groupId>org.ops4j.pax.exam</groupId>
890 <artifactId>pax-exam-inject</artifactId>
891 <version>4.13.1</version>
895 <groupId>org.ops4j.pax.exam</groupId>
896 <artifactId>pax-exam-invoker-junit</artifactId>
897 <version>4.13.1</version>
901 <groupId>org.ops4j.pax.exam</groupId>
902 <artifactId>pax-exam-features</artifactId>
903 <version>4.13.1</version>
908 <groupId>org.ops4j.pax.exam</groupId>
909 <artifactId>pax-exam-junit4</artifactId>
910 <version>4.13.1</version>
914 <groupId>org.ops4j.pax.exam</groupId>
915 <artifactId>pax-exam-link-mvn</artifactId>
916 <version>4.13.1</version>
920 <groupId>org.ops4j.pax.exam</groupId>
921 <artifactId>pax-exam-link-assembly</artifactId>
922 <version>4.13.1</version>
927 <groupId>org.ops4j.pax.url</groupId>
928 <artifactId>pax-url-link</artifactId>
929 <version>2.5.4</version>
933 <groupId>org.ops4j.pax.url</groupId>
934 <artifactId>pax-url-aether</artifactId>
935 <version>2.5.4</version>
939 <groupId>org.ops4j.pax.url</groupId>
940 <artifactId>pax-url-wrap</artifactId>
941 <version>2.5.4</version>
945 <groupId>org.ops4j.pax.web</groupId>
946 <artifactId>pax-web-api</artifactId>
947 <!-- Note: keep this version synchronized with karaf -->
948 <version>7.2.5</version>
952 <groupId>org.springframework.osgi</groupId>
953 <artifactId>spring-osgi-mock</artifactId>
954 <version>1.2.1</version>
959 <groupId>org.xmlunit</groupId>
960 <artifactId>xmlunit-core</artifactId>
961 <version>2.6.2</version>
965 <groupId>org.xmlunit</groupId>
966 <artifactId>xmlunit-matchers</artifactId>
967 <version>2.6.2</version>
970 <!-- FIXME: remove this once we have migrated over -->
972 <groupId>org.xmlunit</groupId>
973 <artifactId>xmlunit-legacy</artifactId>
974 <version>2.6.2</version>
979 <groupId>org.eclipse.jetty</groupId>
980 <artifactId>jetty-client</artifactId>
981 <version>9.4.12.v20180830</version>
984 <groupId>org.eclipse.jetty</groupId>
985 <artifactId>jetty-server</artifactId>
986 <version>9.4.12.v20180830</version>
989 <groupId>org.eclipse.jetty</groupId>
990 <artifactId>jetty-servlets</artifactId>
991 <version>9.4.12.v20180830</version>
994 <groupId>org.eclipse.jetty</groupId>
995 <artifactId>jetty-webapp</artifactId>
996 <version>9.4.12.v20180830</version>
1000 <groupId>com.h2database</groupId>
1001 <artifactId>h2</artifactId>
1002 <version>1.4.197</version>
1005 <!-- Xtend http://xtend-lang.org
1006 NOTE: When you increase the version here,
1007 then remember to also increase it for the
1008 xtend-maven-plugin below! (We don't want to
1009 use a Maven property, in order not to "leak" that.)
1012 <groupId>org.eclipse.xtend</groupId>
1013 <artifactId>org.eclipse.xtend.lib</artifactId>
1014 <version>2.16.0</version>
1017 <groupId>org.eclipse.xtend</groupId>
1018 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1019 <version>2.16.0</version>
1022 <groupId>org.eclipse.xtext</groupId>
1023 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1024 <version>2.16.0</version>
1027 <!-- Annotations -->
1029 <groupId>javax.inject</groupId>
1030 <artifactId>javax.inject</artifactId>
1031 <version>1</version>
1032 <optional>true</optional>
1037 <groupId>com.datastax.cassandra</groupId>
1038 <artifactId>cassandra-driver-core</artifactId>
1039 <version>2.1.9</version>
1042 <!-- jung, a graph library -->
1044 <groupId>net.sf.jung</groupId>
1045 <artifactId>jung-api</artifactId>
1046 <version>2.1.1</version>
1049 <groupId>net.sf.jung</groupId>
1050 <artifactId>jung-algorithms</artifactId>
1051 <version>2.1.1</version>
1054 <groupId>net.sf.jung</groupId>
1055 <artifactId>jung-graph-impl</artifactId>
1056 <version>2.1.1</version>
1059 <!-- Karaf console support -->
1061 <groupId>org.apache.karaf.shell</groupId>
1062 <artifactId>org.apache.karaf.shell.core</artifactId>
1063 <version>${karaf.version}</version>
1066 <groupId>org.apache.karaf.shell</groupId>
1067 <artifactId>org.apache.karaf.shell.console</artifactId>
1068 <version>${karaf.version}</version>
1071 <!-- ThreeTen-Extra, date/time complements -->
1073 <groupId>org.threeten</groupId>
1074 <artifactId>threeten-extra</artifactId>
1075 <version>1.4</version>
1078 <!-- When updating this version, consider antl4-maven-plugin below -->
1080 <groupId>org.antlr</groupId>
1081 <artifactId>antlr4-runtime</artifactId>
1082 <version>4.7.1</version>
1084 <!-- Aries' Blueprint version should be kept in sync to the version actually
1085 used by our ${karaf[4].version} ... please bump this when increasing that.
1086 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1088 <groupId>org.apache.aries.blueprint</groupId>
1089 <artifactId>org.apache.aries.blueprint.core</artifactId>
1090 <version>1.10.1</version>
1093 <groupId>org.apache.aries.blueprint</groupId>
1094 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1095 <version>1.3.0</version>
1096 <optional>true</optional>
1099 <!-- Apache SSHD with netty -->
1101 <groupId>org.apache.sshd</groupId>
1102 <artifactId>sshd-core</artifactId>
1103 <version>2.0.0</version>
1106 <groupId>org.apache.sshd</groupId>
1107 <artifactId>sshd-netty</artifactId>
1108 <version>2.0.0</version>
1111 <groupId>net.i2p.crypto</groupId>
1112 <artifactId>eddsa</artifactId>
1113 <version>0.3.0</version>
1116 <!-- TrieMap library -->
1118 <groupId>tech.pantheon.triemap</groupId>
1119 <artifactId>bom</artifactId>
1120 <version>1.0.4</version>
1121 <scope>import</scope>
1125 <!-- Dropwizard metrics -->
1127 <groupId>io.dropwizard.metrics</groupId>
1128 <artifactId>metrics-bom</artifactId>
1129 <version>4.0.5</version>
1130 <scope>import</scope>
1134 <!-- JAXB for Java 11+ -->
1136 FIXME: bump this to 2.3.0 once we require Java 9+
1137 FIXME: bump this to whatever karaf provides once we require Java 11+
1140 <groupId>javax.xml.bind</groupId>
1141 <artifactId>jaxb-api</artifactId>
1142 <version>2.2.8</version>
1145 <!-- Provided by JRE -->
1146 <groupId>javax.xml.stream</groupId>
1147 <artifactId>stax-api</artifactId>
1152 <groupId>com.sun.xml.bind</groupId>
1153 <artifactId>jaxb-core</artifactId>
1154 <version>2.2.11</version>
1157 <groupId>com.sun.xml.bind</groupId>
1158 <artifactId>jaxb-impl</artifactId>
1159 <version>2.2.11</version>
1162 </dependencyManagement>
1166 We expect slf4j-api to be provided by the platform.
1167 Karaf provides it, other containers need to provide it themselves.
1170 <groupId>org.slf4j</groupId>
1171 <artifactId>slf4j-api</artifactId>
1172 <scope>provided</scope>
1176 Enable useful code quality annotations everywhere. Since these annotations
1177 are not required at runtime.
1180 <groupId>com.google.code.findbugs</groupId>
1181 <artifactId>annotations</artifactId>
1182 <scope>provided</scope>
1183 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
1184 <optional>true</optional>
1187 <groupId>org.eclipse.jdt</groupId>
1188 <artifactId>org.eclipse.jdt.annotation</artifactId>
1189 <scope>provided</scope>
1193 Testing output should be routed through slf4j-simple.
1196 <groupId>org.slf4j</groupId>
1197 <artifactId>slf4j-simple</artifactId>
1202 Unit tests can use JUnit + Mockito + Hamcrest by default.
1205 <groupId>junit</groupId>
1206 <artifactId>junit</artifactId>
1210 <groupId>org.mockito</groupId>
1211 <artifactId>mockito-core</artifactId>
1219 <!-- Official maven plugins, alpha-sorted by artifactId.
1220 We do not need to specify the groupId. -->
1222 <artifactId>maven-antrun-plugin</artifactId>
1223 <version>1.8</version>
1226 <artifactId>maven-checkstyle-plugin</artifactId>
1227 <version>3.0.0</version>
1230 <groupId>com.puppycrawl.tools</groupId>
1231 <artifactId>checkstyle</artifactId>
1232 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1233 <version>8.16</version>
1236 <groupId>org.opendaylight.odlparent</groupId>
1237 <artifactId>checkstyle</artifactId>
1238 <version>4.0.10-SNAPSHOT</version>
1241 <groupId>org.opendaylight.odlparent</groupId>
1242 <artifactId>odl-license</artifactId>
1243 <version>4.0.10-SNAPSHOT</version>
1246 <groupId>com.github.sevntu-checkstyle</groupId>
1247 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1248 <version>1.32.0</version>
1252 <configLocation>odl_checks.xml</configLocation>
1253 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1254 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1255 generated sources directory -->
1257 <directory>${project.build.sourceDirectory}</directory>
1258 </sourceDirectories>
1259 <includeResources>true</includeResources>
1260 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1261 <includeTestResources>true</includeTestResources>
1262 <includes>**\/*.java, **\/*.xtend</includes>
1264 org/opendaylight/yang/gen/**,
1265 **/protobuff/messages/**,
1266 **/thrift/gen/*.java
1268 <failsOnError>false</failsOnError>
1269 <consoleOutput>true</consoleOutput>
1273 <id>check-license</id>
1277 <phase>process-sources</phase>
1279 <configLocation>check-license.xml</configLocation>
1280 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1281 <includeResources>false</includeResources>
1282 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1283 <includeTestResources>false</includeTestResources>
1285 <directory>${project.build.sourceDirectory}</directory>
1286 </sourceDirectories>
1288 org/opendaylight/yang/gen/**,
1289 **/protobuff/messages/**,
1290 **/thrift/gen/*.java
1292 <failsOnError>false</failsOnError>
1293 <consoleOutput>true</consoleOutput>
1300 <phase>process-sources</phase>
1305 <groupId>org.apache.maven.plugins</groupId>
1306 <artifactId>maven-pmd-plugin</artifactId>
1307 <version>3.11.0</version>
1311 <phase>process-sources</phase>
1313 <goal>cpd-check</goal>
1316 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1317 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1318 <minimumTokens>101</minimumTokens>
1319 <printFailingErrors>true</printFailingErrors>
1321 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1322 not understand path prefixes nor wildcards. Details are available
1323 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1324 Hence people introducing new generated sources have to include
1327 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1328 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1330 <linkXRef>false</linkXRef>
1336 <artifactId>maven-compiler-plugin</artifactId>
1337 <version>3.8.0</version>
1339 <source>1.8</source>
1340 <target>1.8</target>
1341 <showWarnings>true</showWarnings>
1343 <arg>-parameters</arg>
1344 <arg>-Xlint:deprecation</arg>
1345 <arg>-Xlint:unchecked</arg>
1350 <artifactId>maven-enforcer-plugin</artifactId>
1351 <version>${enforcer.version}</version>
1354 <artifactId>maven-failsafe-plugin</artifactId>
1355 <version>2.22.1</version>
1358 <artifactId>maven-invoker-plugin</artifactId>
1359 <version>3.2.0</version>
1362 <artifactId>maven-jar-plugin</artifactId>
1363 <version>3.1.1</version>
1366 <artifactId>maven-dependency-plugin</artifactId>
1369 <id>unpack-license</id>
1370 <phase>generate-resources</phase>
1371 <goals><goal>unpack</goal></goals>
1375 <groupId>org.opendaylight.odlparent</groupId>
1376 <artifactId>odl-license</artifactId>
1377 <version>4.0.10-SNAPSHOT</version>
1380 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1381 <excludes>META-INF/**</excludes>
1388 <artifactId>maven-plugin-plugin</artifactId>
1389 <version>3.5.2</version>
1393 <artifactId>maven-remote-resources-plugin</artifactId>
1394 <version>1.6.0</version>
1397 <artifactId>maven-resources-plugin</artifactId>
1398 <version>3.1.0</version>
1401 <artifactId>maven-shade-plugin</artifactId>
1402 <version>3.2.1</version>
1405 <artifactId>maven-source-plugin</artifactId>
1406 <version>3.0.1</version>
1409 <id>attach-sources</id>
1410 <phase>verify</phase>
1412 <goal>jar-no-fork</goal>
1418 <artifactId>maven-surefire-plugin</artifactId>
1419 <version>2.22.1</version>
1421 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1422 <trimStackTrace>false</trimStackTrace>
1426 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1428 <!-- Support Blueprint XML construction using annotations -->
1429 <groupId>org.apache.aries.blueprint</groupId>
1430 <artifactId>blueprint-maven-plugin</artifactId>
1431 <version>1.10.0</version>
1432 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1433 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1436 <groupId>org.apache.xbean</groupId>
1437 <artifactId>xbean-finder-shaded</artifactId>
1438 <version>4.12</version>
1443 <scanPath>org.opendaylight</scanPath>
1449 <goal>blueprint-generate</goal>
1456 <groupId>org.apache.felix</groupId>
1457 <artifactId>maven-bundle-plugin</artifactId>
1458 <version>4.1.0</version>
1459 <extensions>true</extensions>
1462 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1463 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1464 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1465 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1467 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1468 to generate Import-Service and Export-Service headers. -->
1469 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1475 <groupId>org.apache.karaf.tooling</groupId>
1476 <artifactId>karaf-maven-plugin</artifactId>
1477 <version>${karaf.version}</version>
1481 <groupId>org.apache.servicemix.tooling</groupId>
1482 <artifactId>depends-maven-plugin</artifactId>
1483 <version>1.4.0</version>
1486 <id>generate-depends-file</id>
1488 <goal>generate-depends-file</goal>
1494 <!-- FIXME: ODLPARENT-190: remove this plugin declaration -->
1496 <groupId>org.codehaus.enunciate</groupId>
1497 <artifactId>maven-enunciate-plugin</artifactId>
1498 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1499 <version>1.31</version>
1502 <groupId>com.webcohesion.enunciate</groupId>
1503 <artifactId>enunciate-maven-plugin</artifactId>
1504 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1505 <version>2.11.1</version>
1509 <groupId>org.codehaus.groovy.maven</groupId>
1510 <artifactId>gmaven-plugin</artifactId>
1511 <version>1.0</version>
1514 <groupId>org.codehaus.mojo</groupId>
1515 <artifactId>build-helper-maven-plugin</artifactId>
1516 <version>3.0.0</version>
1519 <groupId>org.codehaus.mojo</groupId>
1520 <artifactId>findbugs-maven-plugin</artifactId>
1521 <version>3.0.5</version>
1524 <groupId>org.opendaylight.odlparent</groupId>
1525 <artifactId>findbugs</artifactId>
1526 <version>4.0.10-SNAPSHOT</version>
1532 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1533 <artifactId>bug-pattern</artifactId>
1534 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1535 but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1536 <version>1.4.0</version>
1540 Enables analysis which takes more memory but finds more bugs.
1541 If you run out of memory, changes the value of the effort element
1544 <effort>Max</effort>
1545 <!-- Reports all bugs (other values are medium and max) -->
1546 <threshold>Low</threshold>
1547 <!-- Build doesn't fail if problems are found -->
1548 <failOnError>false</failOnError>
1549 <!-- References the excluded rules -->
1550 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1551 <!-- Produces XML report -->
1552 <xmlOutput>true</xmlOutput>
1553 <!-- Configures the directory in which the XML report is created -->
1554 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1558 Ensures that FindBugs inspects source code when project is compiled.
1561 <id>analyze-compile</id>
1562 <phase>compile</phase>
1570 <groupId>com.github.spotbugs</groupId>
1571 <artifactId>spotbugs-maven-plugin</artifactId>
1572 <version>3.1.8</version>
1575 <groupId>com.github.spotbugs</groupId>
1576 <artifactId>spotbugs</artifactId>
1577 <version>3.1.9</version>
1580 <groupId>org.opendaylight.odlparent</groupId>
1581 <artifactId>spotbugs</artifactId>
1582 <version>4.0.10-SNAPSHOT</version>
1585 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1586 <groupId>org.slf4j</groupId>
1587 <artifactId>slf4j-simple</artifactId>
1588 <version>1.8.0-beta2</version>
1594 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1595 <artifactId>bug-pattern</artifactId>
1596 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1597 <version>1.4.1</version>
1601 Enables analysis which takes more memory but finds more bugs.
1602 If you run out of memory, changes the value of the effort element
1605 <effort>Max</effort>
1606 <!-- Reports all bugs (other values are medium and max) -->
1607 <threshold>Low</threshold>
1608 <!-- Build doesn't fail if problems are found -->
1609 <failOnError>false</failOnError>
1610 <!-- References the excluded rules -->
1611 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1612 <!-- Produces XML report -->
1613 <xmlOutput>true</xmlOutput>
1614 <!-- Configures the directory in which the XML report is created -->
1615 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1619 Ensures that SpotBugs inspects source code when project is compiled.
1622 <id>analyze-compile</id>
1623 <phase>compile</phase>
1631 <groupId>org.codehaus.mojo</groupId>
1632 <artifactId>properties-maven-plugin</artifactId>
1633 <version>1.0.0</version>
1636 <groupId>org.eclipse.xtend</groupId>
1637 <artifactId>xtend-maven-plugin</artifactId>
1638 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1639 <version>2.16.0</version>
1643 <goal>compile</goal>
1644 <goal>testCompile</goal>
1647 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1648 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1654 <groupId>org.eclipse.m2e</groupId>
1655 <artifactId>lifecycle-mapping</artifactId>
1656 <version>1.0.0</version>
1658 <lifecycleMappingMetadata>
1661 <pluginExecutionFilter>
1662 <groupId>org.apache.felix</groupId>
1663 <artifactId>maven-bundle-plugin</artifactId>
1664 <versionRange>[1.0,)</versionRange>
1666 <goal>manifest</goal>
1668 </pluginExecutionFilter>
1674 <pluginExecutionFilter>
1675 <groupId>org.apache.maven.plugins</groupId>
1676 <artifactId>maven-enforcer-plugin</artifactId>
1677 <versionRange>[1.0.0,)</versionRange>
1679 <goal>enforce</goal>
1681 </pluginExecutionFilter>
1687 <pluginExecutionFilter>
1688 <groupId>org.apache.maven.plugins</groupId>
1689 <artifactId>maven-dependency-plugin</artifactId>
1690 <versionRange>[2.10,)</versionRange>
1694 </pluginExecutionFilter>
1700 <pluginExecutionFilter>
1701 <groupId>org.apache.maven.plugins</groupId>
1702 <artifactId>maven-pmd-plugin</artifactId>
1703 <versionRange>[3.6,)</versionRange>
1705 <goal>cpd-check</goal>
1707 </pluginExecutionFilter>
1712 <!-- The plugin will eventually be removed, remove this too at that point -->
1714 <pluginExecutionFilter>
1715 <groupId>org.apache.maven.plugins</groupId>
1716 <artifactId>maven-antrun-plugin</artifactId>
1717 <versionRange>[1.8,)</versionRange>
1721 </pluginExecutionFilter>
1727 <pluginExecutionFilter>
1728 <groupId>org.apache.servicemix.tooling</groupId>
1729 <artifactId>depends-maven-plugin</artifactId>
1730 <versionRange>[1.2,)</versionRange>
1732 <goal>generate-depends-file</goal>
1734 </pluginExecutionFilter>
1740 <pluginExecutionFilter>
1741 <groupId>org.jacoco</groupId>
1742 <artifactId>jacoco-maven-plugin</artifactId>
1743 <versionRange>[0.7.0,)</versionRange>
1745 <goal>prepare-agent</goal>
1747 </pluginExecutionFilter>
1754 <pluginExecutionFilter>
1755 <groupId>org.ops4j.pax.exam</groupId>
1756 <artifactId>maven-paxexam-plugin</artifactId>
1757 <versionRange>[1.2.4,)</versionRange>
1759 <goal>generate-depends-file</goal>
1761 </pluginExecutionFilter>
1768 <pluginExecutionFilter>
1769 <groupId>org.basepom.maven</groupId>
1771 duplicate-finder-maven-plugin
1773 <versionRange>[1.2.1,)</versionRange>
1777 </pluginExecutionFilter>
1783 </lifecycleMappingMetadata>
1788 <groupId>org.jacoco</groupId>
1789 <artifactId>jacoco-maven-plugin</artifactId>
1791 <!-- Note: This exclusion list should match <sonar.exclusions>
1794 <exclude>**/gen/**</exclude>
1795 <exclude>**/generated-sources/**</exclude>
1796 <exclude>**/generated-test-sources/**</exclude>
1797 <exclude>**/yang-gen/**</exclude>
1798 <exclude>**/yang-gen-config/**</exclude>
1799 <exclude>**/yang-gen-sal/**</exclude>
1800 <exclude>**/yang-gen-code/**</exclude>
1801 <exclude>**/pax/**</exclude>
1807 <groupId>org.ops4j.pax.exam</groupId>
1808 <artifactId>maven-paxexam-plugin</artifactId>
1809 <version>1.2.4</version>
1813 <groupId>org.codehaus.mojo</groupId>
1814 <artifactId>jdepend-maven-plugin</artifactId>
1815 <version>2.0</version>
1820 <goal>generate-no-fork</goal>
1826 <!-- When updating this version, consider antl4-runtime above -->
1828 <groupId>org.antlr</groupId>
1829 <artifactId>antlr4-maven-plugin</artifactId>
1830 <version>4.7.1</version>
1837 <artifactId>maven-enforcer-plugin</artifactId>
1840 <id>enforce-banned-dependencies</id>
1842 <goal>enforce</goal>
1846 <bannedDependencies>
1847 <message>Please always use mockito-core instead of mockito-all, and findbugs:annotations instead of findbugs:jsr305 (see https://bugs.opendaylight.org/show_bug.cgi?id=7662 & https://bugs.opendaylight.org/show_bug.cgi?id=7663)</message>
1849 <exclude>org.mockito:mockito-all</exclude>
1850 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1851 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1852 <!-- as a dependency then clashes with the dependency checker (because it -->
1853 <!-- is not very good at handling annotations). Use the annotations jar -->
1854 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1856 <exclude>com.google.code.findbugs:jsr305</exclude>
1857 <exclude>net.jcip:jcip-annotations</exclude>
1859 </bannedDependencies>
1867 <groupId>org.basepom.maven</groupId>
1868 <artifactId>duplicate-finder-maven-plugin</artifactId>
1869 <version>1.3.0</version>
1872 <id>find-duplicate-classpath-entries</id>
1873 <phase>verify</phase>
1880 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1881 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1882 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1883 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1884 <printEqualFiles>false</printEqualFiles>
1886 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1887 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1888 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1890 <ignoredResourcePatterns>
1891 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1892 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1893 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1894 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1895 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1896 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1897 </ignoredResourcePatterns>
1898 <ignoredClassPatterns>
1899 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1900 </ignoredClassPatterns>
1901 <ignoredDependencies>
1903 <groupId>org.slf4j</groupId>
1904 <artifactId>slf4j-simple</artifactId>
1905 </ignoredDependency>
1907 <groupId>org.opendaylight.odlparent</groupId>
1908 <artifactId>opendaylight-karaf-empty</artifactId>
1909 </ignoredDependency>
1910 </ignoredDependencies>
1914 <artifactId>maven-dependency-plugin</artifactId>
1917 <artifactId>maven-checkstyle-plugin</artifactId>
1920 <artifactId>maven-pmd-plugin</artifactId>
1923 <artifactId>maven-source-plugin</artifactId>
1926 <artifactId>maven-javadoc-plugin</artifactId>
1929 <!-- Jacoco / Sonar -->
1931 <groupId>org.jacoco</groupId>
1932 <artifactId>jacoco-maven-plugin</artifactId>
1935 <id>pre-unit-test</id>
1937 <goal>prepare-agent</goal>
1940 <destFile>${jacoco.destFile}</destFile>
1947 <groupId>com.alexecollins.maven.plugin</groupId>
1948 <artifactId>script-maven-plugin</artifactId>
1949 <version>1.0.0</version>
1952 <phase>prepare-package</phase>
1954 <goal>execute</goal>
1958 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1959 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1960 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1961 // static class methods only - it will be MUCH easier to write!)
1962 void copy(File root, String glob, File target) {
1963 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1964 Iterator dirStreamIterator = dirStream.iterator();
1965 while (dirStreamIterator.hasNext()) {
1966 java.nio.file.Path path = dirStreamIterator.next();
1967 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1968 new java.nio.file.CopyOption[] {
1969 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1970 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1977 File gitRepoRootDir = project.basedir;
1978 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1979 gitRepoRootDir = gitRepoRootDir.getParentFile();
1982 File target = new File(project.build.outputDirectory);
1984 copy(gitRepoRootDir, "README*", target);
1985 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1986 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1993 <groupId>org.apache-extras.beanshell</groupId>
1994 <artifactId>bsh</artifactId>
1995 <version>2.0b6</version>
2005 <artifactId>maven-checkstyle-plugin</artifactId>
2006 <version>3.0.0</version>
2009 <!-- FIXME: activate this
2011 <artifactId>maven-project-info-reports-plugin</artifactId>
2012 <version>${projectinfo}</version>
2015 <groupId>org.codehaus.mojo</groupId>
2016 <artifactId>jdepend-maven-plugin</artifactId>
2020 <report>generate-no-fork</report>
2030 <!-- On JDK9-and-later findbugs fails -->
2031 <id>jdk9-findbugs</id>
2036 <findbugs.skip>true</findbugs.skip>