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.9-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.9-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.1</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>
469 <groupId>org.codehaus.woodstox</groupId>
470 <artifactId>stax2-api</artifactId>
471 <!-- Needs to match jackson's idea of import -->
472 <version>3.1.4</version>
475 <groupId>com.fasterxml.jackson</groupId>
476 <artifactId>jackson-bom</artifactId>
477 <version>2.9.8</version>
478 <scope>import</scope>
482 <!-- TODO do we really need resteasy ? -->
484 <groupId>org.jboss.resteasy</groupId>
485 <artifactId>jaxrs-api</artifactId>
486 <version>3.0.12.Final</version>
490 <groupId>com.google.code.findbugs</groupId>
491 <artifactId>annotations</artifactId>
492 <version>3.0.0</version>
494 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
495 the types of this artifact are already shaded inside the :annotations artifact.
496 This state is a temporary solution to allow all projects to gradually switch over
497 switch their <dependency><groupId>com.google.code.findbugs from
498 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
499 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
502 <groupId>net.jcip</groupId>
503 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
504 <artifactId>jcip-annotations</artifactId>
509 <groupId>org.eclipse.jdt</groupId>
510 <artifactId>org.eclipse.jdt.annotation</artifactId>
511 <version>2.2.100</version>
512 <scope>provided</scope>
515 <groupId>com.google.code.gson</groupId>
516 <artifactId>gson</artifactId>
517 <version>2.8.5</version>
520 <groupId>commons-fileupload</groupId>
521 <artifactId>commons-fileupload</artifactId>
522 <version>1.4</version>
525 <groupId>commons-io</groupId>
526 <artifactId>commons-io</artifactId>
527 <version>2.6</version>
530 <groupId>commons-net</groupId>
531 <artifactId>commons-net</artifactId>
532 <version>3.6</version>
537 <groupId>io.netty</groupId>
538 <artifactId>netty-all</artifactId>
539 <!-- If these are updated, the version in features.xml needs to be changed too -->
540 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
541 <version>4.1.31.Final</version>
544 <groupId>io.netty</groupId>
545 <artifactId>netty-buffer</artifactId>
546 <version>4.1.31.Final</version>
549 <groupId>io.netty</groupId>
550 <artifactId>netty-codec</artifactId>
551 <version>4.1.31.Final</version>
554 <groupId>io.netty</groupId>
555 <artifactId>netty-codec-http</artifactId>
556 <version>4.1.31.Final</version>
559 <groupId>io.netty</groupId>
560 <artifactId>netty-common</artifactId>
561 <version>4.1.31.Final</version>
564 <groupId>io.netty</groupId>
565 <artifactId>netty-handler</artifactId>
566 <version>4.1.31.Final</version>
569 <groupId>io.netty</groupId>
570 <artifactId>netty-transport</artifactId>
571 <version>4.1.31.Final</version>
573 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
574 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
576 <groupId>io.netty</groupId>
577 <artifactId>netty-transport-native-epoll</artifactId>
578 <classifier>linux-x86_64</classifier>
579 <version>4.1.31.Final</version>
582 <groupId>javax.ws.rs</groupId>
583 <artifactId>jsr311-api</artifactId>
584 <version>1.1.1</version>
587 <groupId>javax.servlet</groupId>
588 <artifactId>javax.servlet-api</artifactId>
589 <version>3.1.0</version>
592 <groupId>org.apache.felix</groupId>
593 <artifactId>org.apache.felix.dependencymanager</artifactId>
594 <version>4.4.1</version>
597 <groupId>org.apache.felix</groupId>
598 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
599 <version>4.0.6</version>
602 <groupId>org.apache.felix</groupId>
603 <artifactId>org.apache.felix.metatype</artifactId>
604 <version>1.2.2</version>
607 <groupId>org.bouncycastle</groupId>
608 <artifactId>bcpkix-jdk15on</artifactId>
609 <version>${bouncycastle.version}</version>
612 <groupId>org.bouncycastle</groupId>
613 <artifactId>bcprov-jdk15on</artifactId>
614 <version>${bouncycastle.version}</version>
617 <groupId>org.bouncycastle</groupId>
618 <artifactId>bcprov-ext-jdk15on</artifactId>
619 <version>${bouncycastle.version}</version>
622 <!-- FIXME: ODLPARENT-190: remove this declaration -->
624 <groupId>org.codehaus.enunciate</groupId>
625 <artifactId>enunciate-core-annotations</artifactId>
626 <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
627 <version>1.31</version>
630 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
631 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
632 and @RunAs and @PermitAll & Co. which we do not require
633 (or at least not from jsr250-api via enunciate) -->
634 <groupId>javax.annotation</groupId>
635 <artifactId>jsr250-api</artifactId>
640 <groupId>com.webcohesion.enunciate</groupId>
641 <artifactId>enunciate-core-annotations</artifactId>
642 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
643 <version>2.11.1</version>
647 <groupId>org.codehaus.jettison</groupId>
648 <artifactId>jettison</artifactId>
649 <version>1.4.0</version>
651 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
652 pull in javax.validation first:
653 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
655 <groupId>org.eclipse.persistence</groupId>
656 <artifactId>org.eclipse.persistence.antlr</artifactId>
657 <version>2.7.3</version>
660 <groupId>org.eclipse.persistence</groupId>
661 <artifactId>org.eclipse.persistence.core</artifactId>
662 <version>2.7.3</version>
665 <groupId>org.eclipse.persistence</groupId>
666 <artifactId>org.eclipse.persistence.moxy</artifactId>
667 <version>2.7.3</version>
670 <groupId>javax.validation</groupId>
671 <artifactId>validation-api</artifactId>
672 <version>1.1.0.Final</version>
675 <groupId>org.javassist</groupId>
676 <artifactId>javassist</artifactId>
677 <version>3.24.0-GA</version>
680 <groupId>org.jboss.spec.javax.transaction</groupId>
681 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
682 <version>1.0.1.Final</version>
685 <groupId>org.jolokia</groupId>
686 <artifactId>jolokia-osgi</artifactId>
687 <version>1.6.0</version>
690 <groupId>org.json</groupId>
691 <artifactId>json</artifactId>
692 <version>20131018</version>
695 <groupId>org.osgi</groupId>
696 <artifactId>org.osgi.compendium</artifactId>
697 <version>5.0.0</version>
698 <scope>provided</scope>
701 <groupId>org.osgi</groupId>
702 <artifactId>org.osgi.core</artifactId>
703 <version>5.0.0</version>
704 <scope>provided</scope>
707 <groupId>org.osgi</groupId>
708 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
709 <artifactId>org.osgi.service.event</artifactId>
710 <version>1.3.1</version>
713 <groupId>org.apache.aries.quiesce</groupId>
714 <artifactId>org.apache.aries.quiesce.api</artifactId>
715 <version>1.0.0</version>
718 <groupId>org.ow2.asm</groupId>
719 <artifactId>asm</artifactId>
720 <version>7.0</version>
723 <!-- Configuration library -->
724 <!-- This needs to be kept in sync with the version used by akka -->
726 <groupId>com.typesafe</groupId>
727 <artifactId>config</artifactId>
728 <version>1.3.2</version>
731 <!-- Reactive Streams, used by Akka -->
733 <groupId>org.reactivestreams</groupId>
734 <artifactId>reactive-streams</artifactId>
735 <version>1.0.1</version>
740 <groupId>com.typesafe</groupId>
741 <artifactId>ssl-config-core_2.12</artifactId>
742 <version>0.3.6</version>
745 <groupId>com.typesafe.akka</groupId>
746 <artifactId>akka-actor_2.12</artifactId>
747 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
748 <version>2.5.19</version>
751 <groupId>com.typesafe.akka</groupId>
752 <artifactId>akka-cluster_2.12</artifactId>
753 <version>2.5.19</version>
756 <groupId>com.typesafe.akka</groupId>
757 <artifactId>akka-osgi_2.12</artifactId>
758 <version>2.5.19</version>
761 <groupId>com.typesafe.akka</groupId>
762 <artifactId>akka-persistence_2.12</artifactId>
763 <version>2.5.19</version>
766 <groupId>com.typesafe.akka</groupId>
767 <artifactId>akka-persistence-tck_2.12</artifactId>
768 <version>2.5.19</version>
772 <groupId>com.typesafe.akka</groupId>
773 <artifactId>akka-protobuf_2.12</artifactId>
774 <version>2.5.19</version>
777 <groupId>com.typesafe.akka</groupId>
778 <artifactId>akka-remote_2.12</artifactId>
779 <version>2.5.19</version>
782 <groupId>com.typesafe.akka</groupId>
783 <artifactId>akka-slf4j_2.12</artifactId>
784 <version>2.5.19</version>
787 <groupId>com.typesafe.akka</groupId>
788 <artifactId>akka-stream_2.12</artifactId>
789 <version>2.5.19</version>
792 <groupId>com.typesafe.akka</groupId>
793 <artifactId>akka-testkit_2.12</artifactId>
794 <version>2.5.19</version>
798 <groupId>org.scala-lang.modules</groupId>
799 <artifactId>scala-java8-compat_2.12</artifactId>
800 <version>0.8.0</version>
803 <groupId>org.scala-lang.modules</groupId>
804 <artifactId>scala-parser-combinators_2.12</artifactId>
805 <version>1.1.1</version>
808 <groupId>org.uncommons.maths</groupId>
809 <artifactId>uncommons-maths</artifactId>
810 <version>1.2.2a</version>
813 <!-- Aeron, required by Akka -->
815 <groupId>org.agrona</groupId>
816 <artifactId>agrona</artifactId>
817 <version>0.9.27</version>
820 <groupId>io.aeron</groupId>
821 <artifactId>aeron-client</artifactId>
822 <version>1.12.0</version>
825 <groupId>io.aeron</groupId>
826 <artifactId>aeron-driver</artifactId>
827 <version>1.12.0</version>
832 <groupId>org.scala-lang</groupId>
833 <artifactId>scala-library</artifactId>
834 <version>2.12.8</version>
837 <groupId>org.scala-lang</groupId>
838 <artifactId>scala-reflect</artifactId>
839 <version>2.12.8</version>
842 <!-- LMAX Disruptor -->
844 <groupId>com.lmax</groupId>
845 <artifactId>disruptor</artifactId>
846 <version>3.4.2</version>
849 <!-- Add Pax Exam -->
851 <groupId>org.ops4j.pax.exam</groupId>
852 <artifactId>pax-exam</artifactId>
853 <version>4.13.1</version>
857 <groupId>org.ops4j.pax.exam</groupId>
858 <artifactId>pax-exam-container-forked</artifactId>
859 <version>4.13.1</version>
863 <groupId>org.ops4j.pax.exam</groupId>
864 <artifactId>pax-exam-container-karaf</artifactId>
865 <version>4.13.1</version>
869 <groupId>org.ops4j.pax.exam</groupId>
870 <artifactId>pax-exam-container-native</artifactId>
871 <version>4.13.1</version>
875 <groupId>org.ops4j.pax.exam</groupId>
876 <artifactId>pax-exam-extender-service</artifactId>
877 <version>4.13.1</version>
881 <groupId>org.ops4j.pax.exam</groupId>
882 <artifactId>pax-exam-inject</artifactId>
883 <version>4.13.1</version>
887 <groupId>org.ops4j.pax.exam</groupId>
888 <artifactId>pax-exam-invoker-junit</artifactId>
889 <version>4.13.1</version>
893 <groupId>org.ops4j.pax.exam</groupId>
894 <artifactId>pax-exam-features</artifactId>
895 <version>4.13.1</version>
900 <groupId>org.ops4j.pax.exam</groupId>
901 <artifactId>pax-exam-junit4</artifactId>
902 <version>4.13.1</version>
906 <groupId>org.ops4j.pax.exam</groupId>
907 <artifactId>pax-exam-link-mvn</artifactId>
908 <version>4.13.1</version>
912 <groupId>org.ops4j.pax.exam</groupId>
913 <artifactId>pax-exam-link-assembly</artifactId>
914 <version>4.13.1</version>
919 <groupId>org.ops4j.pax.url</groupId>
920 <artifactId>pax-url-link</artifactId>
921 <version>2.5.4</version>
925 <groupId>org.ops4j.pax.url</groupId>
926 <artifactId>pax-url-aether</artifactId>
927 <version>2.5.4</version>
931 <groupId>org.ops4j.pax.url</groupId>
932 <artifactId>pax-url-wrap</artifactId>
933 <version>2.5.4</version>
937 <groupId>org.ops4j.pax.web</groupId>
938 <artifactId>pax-web-api</artifactId>
939 <!-- Note: keep this version synchronized with karaf -->
940 <version>7.2.5</version>
944 <groupId>org.springframework.osgi</groupId>
945 <artifactId>spring-osgi-mock</artifactId>
946 <version>1.2.1</version>
951 <groupId>org.xmlunit</groupId>
952 <artifactId>xmlunit-core</artifactId>
953 <version>2.6.2</version>
957 <groupId>org.xmlunit</groupId>
958 <artifactId>xmlunit-matchers</artifactId>
959 <version>2.6.2</version>
962 <!-- FIXME: remove this once we have migrated over -->
964 <groupId>org.xmlunit</groupId>
965 <artifactId>xmlunit-legacy</artifactId>
966 <version>2.6.2</version>
971 <groupId>org.eclipse.jetty</groupId>
972 <artifactId>jetty-client</artifactId>
973 <version>9.4.12.v20180830</version>
976 <groupId>org.eclipse.jetty</groupId>
977 <artifactId>jetty-server</artifactId>
978 <version>9.4.12.v20180830</version>
981 <groupId>org.eclipse.jetty</groupId>
982 <artifactId>jetty-servlets</artifactId>
983 <version>9.4.12.v20180830</version>
986 <groupId>org.eclipse.jetty</groupId>
987 <artifactId>jetty-webapp</artifactId>
988 <version>9.4.12.v20180830</version>
992 <groupId>com.h2database</groupId>
993 <artifactId>h2</artifactId>
994 <version>1.4.196</version>
997 <!-- Xtend http://xtend-lang.org
998 NOTE: When you increase the version here,
999 then remember to also increase it for the
1000 xtend-maven-plugin below! (We don't want to
1001 use a Maven property, in order not to "leak" that.)
1004 <groupId>org.eclipse.xtend</groupId>
1005 <artifactId>org.eclipse.xtend.lib</artifactId>
1006 <version>2.16.0</version>
1009 <groupId>org.eclipse.xtend</groupId>
1010 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1011 <version>2.16.0</version>
1014 <groupId>org.eclipse.xtext</groupId>
1015 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1016 <version>2.16.0</version>
1019 <!-- Annotations -->
1021 <groupId>javax.inject</groupId>
1022 <artifactId>javax.inject</artifactId>
1023 <version>1</version>
1024 <optional>true</optional>
1029 <groupId>com.datastax.cassandra</groupId>
1030 <artifactId>cassandra-driver-core</artifactId>
1031 <version>2.1.9</version>
1034 <!-- jung, a graph library -->
1036 <groupId>net.sf.jung</groupId>
1037 <artifactId>jung-api</artifactId>
1038 <version>2.1.1</version>
1041 <groupId>net.sf.jung</groupId>
1042 <artifactId>jung-algorithms</artifactId>
1043 <version>2.1.1</version>
1046 <groupId>net.sf.jung</groupId>
1047 <artifactId>jung-graph-impl</artifactId>
1048 <version>2.1.1</version>
1051 <!-- Karaf console support -->
1053 <groupId>org.apache.karaf.shell</groupId>
1054 <artifactId>org.apache.karaf.shell.core</artifactId>
1055 <version>${karaf.version}</version>
1058 <groupId>org.apache.karaf.shell</groupId>
1059 <artifactId>org.apache.karaf.shell.console</artifactId>
1060 <version>${karaf.version}</version>
1063 <!-- ThreeTen-Extra, date/time complements -->
1065 <groupId>org.threeten</groupId>
1066 <artifactId>threeten-extra</artifactId>
1067 <version>1.4</version>
1070 <!-- When updating this version, consider antl4-maven-plugin below -->
1072 <groupId>org.antlr</groupId>
1073 <artifactId>antlr4-runtime</artifactId>
1074 <version>4.7.1</version>
1076 <!-- Aries' Blueprint version should be kept in sync to the version actually
1077 used by our ${karaf[4].version} ... please bump this when increasing that.
1078 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1080 <groupId>org.apache.aries.blueprint</groupId>
1081 <artifactId>org.apache.aries.blueprint.core</artifactId>
1082 <version>1.10.1</version>
1085 <groupId>org.apache.aries.blueprint</groupId>
1086 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1087 <version>1.3.0</version>
1088 <optional>true</optional>
1091 <!-- Apache SSHD with netty -->
1093 <groupId>org.apache.sshd</groupId>
1094 <artifactId>sshd-core</artifactId>
1095 <version>2.0.0</version>
1098 <groupId>org.apache.sshd</groupId>
1099 <artifactId>sshd-netty</artifactId>
1100 <version>2.0.0</version>
1103 <groupId>net.i2p.crypto</groupId>
1104 <artifactId>eddsa</artifactId>
1105 <version>0.3.0</version>
1108 <!-- TrieMap library -->
1110 <groupId>tech.pantheon.triemap</groupId>
1111 <artifactId>bom</artifactId>
1112 <version>1.0.4</version>
1113 <scope>import</scope>
1117 <!-- Dropwizard metrics -->
1119 <groupId>io.dropwizard.metrics</groupId>
1120 <artifactId>metrics-bom</artifactId>
1121 <version>4.0.5</version>
1122 <scope>import</scope>
1126 <!-- JAXB for Java 11+ -->
1128 FIXME: bump this to 2.3.0 once we require Java 9+
1129 FIXME: bump this to whatever karaf provides once we require Java 11+
1132 <groupId>javax.xml.bind</groupId>
1133 <artifactId>jaxb-api</artifactId>
1134 <version>2.2.8</version>
1137 <!-- Provided by JRE -->
1138 <groupId>javax.xml.stream</groupId>
1139 <artifactId>stax-api</artifactId>
1144 <groupId>com.sun.xml.bind</groupId>
1145 <artifactId>jaxb-core</artifactId>
1146 <version>2.2.11</version>
1149 <groupId>com.sun.xml.bind</groupId>
1150 <artifactId>jaxb-impl</artifactId>
1151 <version>2.2.11</version>
1154 </dependencyManagement>
1158 We expect slf4j-api to be provided by the platform.
1159 Karaf provides it, other containers need to provide it themselves.
1162 <groupId>org.slf4j</groupId>
1163 <artifactId>slf4j-api</artifactId>
1164 <scope>provided</scope>
1168 Enable useful code quality annotations everywhere. Since these annotations
1169 are not required at runtime.
1172 <groupId>com.google.code.findbugs</groupId>
1173 <artifactId>annotations</artifactId>
1174 <scope>provided</scope>
1175 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
1176 <optional>true</optional>
1179 <groupId>org.eclipse.jdt</groupId>
1180 <artifactId>org.eclipse.jdt.annotation</artifactId>
1181 <scope>provided</scope>
1185 Testing output should be routed through slf4j-simple.
1188 <groupId>org.slf4j</groupId>
1189 <artifactId>slf4j-simple</artifactId>
1194 Unit tests can use JUnit + Mockito + Hamcrest by default.
1197 <groupId>junit</groupId>
1198 <artifactId>junit</artifactId>
1202 <groupId>org.mockito</groupId>
1203 <artifactId>mockito-core</artifactId>
1211 <!-- Official maven plugins, alpha-sorted by artifactId.
1212 We do not need to specify the groupId. -->
1214 <artifactId>maven-antrun-plugin</artifactId>
1215 <version>1.8</version>
1218 <artifactId>maven-checkstyle-plugin</artifactId>
1219 <version>3.0.0</version>
1222 <groupId>com.puppycrawl.tools</groupId>
1223 <artifactId>checkstyle</artifactId>
1224 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1225 <version>8.16</version>
1228 <groupId>org.opendaylight.odlparent</groupId>
1229 <artifactId>checkstyle</artifactId>
1230 <version>4.0.9-SNAPSHOT</version>
1233 <groupId>org.opendaylight.odlparent</groupId>
1234 <artifactId>odl-license</artifactId>
1235 <version>4.0.9-SNAPSHOT</version>
1238 <groupId>com.github.sevntu-checkstyle</groupId>
1239 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1240 <version>1.32.0</version>
1244 <configLocation>odl_checks.xml</configLocation>
1245 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1246 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1247 generated sources directory -->
1249 <directory>${project.build.sourceDirectory}</directory>
1250 </sourceDirectories>
1251 <includeResources>true</includeResources>
1252 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1253 <includeTestResources>true</includeTestResources>
1254 <includes>**\/*.java, **\/*.xtend</includes>
1256 org/opendaylight/yang/gen/**,
1257 **/protobuff/messages/**,
1258 **/thrift/gen/*.java
1260 <failsOnError>false</failsOnError>
1261 <consoleOutput>true</consoleOutput>
1265 <id>check-license</id>
1269 <phase>process-sources</phase>
1271 <configLocation>check-license.xml</configLocation>
1272 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1273 <includeResources>false</includeResources>
1274 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1275 <includeTestResources>false</includeTestResources>
1277 <directory>${project.build.sourceDirectory}</directory>
1278 </sourceDirectories>
1280 org/opendaylight/yang/gen/**,
1281 **/protobuff/messages/**,
1282 **/thrift/gen/*.java
1284 <failsOnError>false</failsOnError>
1285 <consoleOutput>true</consoleOutput>
1292 <phase>process-sources</phase>
1297 <groupId>org.apache.maven.plugins</groupId>
1298 <artifactId>maven-pmd-plugin</artifactId>
1299 <version>3.11.0</version>
1303 <phase>process-sources</phase>
1305 <goal>cpd-check</goal>
1308 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1309 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1310 <minimumTokens>101</minimumTokens>
1311 <printFailingErrors>true</printFailingErrors>
1313 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1314 not understand path prefixes nor wildcards. Details are available
1315 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1316 Hence people introducing new generated sources have to include
1319 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1320 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1322 <linkXRef>false</linkXRef>
1328 <artifactId>maven-compiler-plugin</artifactId>
1329 <version>3.8.0</version>
1331 <source>1.8</source>
1332 <target>1.8</target>
1333 <showWarnings>true</showWarnings>
1335 <arg>-parameters</arg>
1336 <arg>-Xlint:deprecation</arg>
1337 <arg>-Xlint:unchecked</arg>
1342 <artifactId>maven-enforcer-plugin</artifactId>
1343 <version>${enforcer.version}</version>
1346 <artifactId>maven-failsafe-plugin</artifactId>
1347 <version>2.22.1</version>
1350 <artifactId>maven-invoker-plugin</artifactId>
1351 <version>3.1.0</version>
1354 <artifactId>maven-jar-plugin</artifactId>
1355 <version>3.1.1</version>
1358 <artifactId>maven-dependency-plugin</artifactId>
1361 <id>unpack-license</id>
1362 <phase>generate-resources</phase>
1363 <goals><goal>unpack</goal></goals>
1367 <groupId>org.opendaylight.odlparent</groupId>
1368 <artifactId>odl-license</artifactId>
1369 <version>4.0.9-SNAPSHOT</version>
1372 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1373 <excludes>META-INF/**</excludes>
1380 <artifactId>maven-plugin-plugin</artifactId>
1381 <version>3.5.2</version>
1385 <artifactId>maven-remote-resources-plugin</artifactId>
1386 <version>1.6.0</version>
1389 <artifactId>maven-resources-plugin</artifactId>
1390 <version>3.1.0</version>
1393 <artifactId>maven-shade-plugin</artifactId>
1394 <version>3.2.1</version>
1397 <artifactId>maven-source-plugin</artifactId>
1398 <version>3.0.1</version>
1401 <id>attach-sources</id>
1402 <phase>verify</phase>
1404 <goal>jar-no-fork</goal>
1410 <artifactId>maven-surefire-plugin</artifactId>
1411 <version>2.22.1</version>
1413 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1414 <trimStackTrace>false</trimStackTrace>
1418 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1420 <!-- Support Blueprint XML construction using annotations -->
1421 <groupId>org.apache.aries.blueprint</groupId>
1422 <artifactId>blueprint-maven-plugin</artifactId>
1423 <version>1.10.0</version>
1424 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1425 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1428 <groupId>org.apache.xbean</groupId>
1429 <artifactId>xbean-finder-shaded</artifactId>
1430 <version>4.12</version>
1435 <scanPath>org.opendaylight</scanPath>
1441 <goal>blueprint-generate</goal>
1448 <groupId>org.apache.felix</groupId>
1449 <artifactId>maven-bundle-plugin</artifactId>
1450 <version>4.1.0</version>
1451 <extensions>true</extensions>
1454 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1455 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1456 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1457 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1459 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1460 to generate Import-Service and Export-Service headers. -->
1461 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1467 <groupId>org.apache.karaf.tooling</groupId>
1468 <artifactId>karaf-maven-plugin</artifactId>
1469 <version>${karaf.version}</version>
1473 <groupId>org.apache.servicemix.tooling</groupId>
1474 <artifactId>depends-maven-plugin</artifactId>
1475 <version>1.4.0</version>
1478 <id>generate-depends-file</id>
1480 <goal>generate-depends-file</goal>
1486 <!-- FIXME: ODLPARENT-190: remove this plugin declaration -->
1488 <groupId>org.codehaus.enunciate</groupId>
1489 <artifactId>maven-enunciate-plugin</artifactId>
1490 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1491 <version>1.31</version>
1494 <groupId>com.webcohesion.enunciate</groupId>
1495 <artifactId>enunciate-maven-plugin</artifactId>
1496 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1497 <version>2.11.1</version>
1501 <groupId>org.codehaus.groovy.maven</groupId>
1502 <artifactId>gmaven-plugin</artifactId>
1503 <version>1.0</version>
1506 <groupId>org.codehaus.mojo</groupId>
1507 <artifactId>build-helper-maven-plugin</artifactId>
1508 <version>3.0.0</version>
1511 <groupId>org.codehaus.mojo</groupId>
1512 <artifactId>findbugs-maven-plugin</artifactId>
1513 <version>3.0.5</version>
1516 <groupId>org.opendaylight.odlparent</groupId>
1517 <artifactId>findbugs</artifactId>
1518 <version>4.0.9-SNAPSHOT</version>
1524 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1525 <artifactId>bug-pattern</artifactId>
1526 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1527 but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1528 <version>1.4.0</version>
1532 Enables analysis which takes more memory but finds more bugs.
1533 If you run out of memory, changes the value of the effort element
1536 <effort>Max</effort>
1537 <!-- Reports all bugs (other values are medium and max) -->
1538 <threshold>Low</threshold>
1539 <!-- Build doesn't fail if problems are found -->
1540 <failOnError>false</failOnError>
1541 <!-- References the excluded rules -->
1542 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1543 <!-- Produces XML report -->
1544 <xmlOutput>true</xmlOutput>
1545 <!-- Configures the directory in which the XML report is created -->
1546 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1550 Ensures that FindBugs inspects source code when project is compiled.
1553 <id>analyze-compile</id>
1554 <phase>compile</phase>
1562 <groupId>com.github.spotbugs</groupId>
1563 <artifactId>spotbugs-maven-plugin</artifactId>
1564 <version>3.1.8</version>
1567 <groupId>com.github.spotbugs</groupId>
1568 <artifactId>spotbugs</artifactId>
1569 <version>3.1.9</version>
1572 <groupId>org.opendaylight.odlparent</groupId>
1573 <artifactId>spotbugs</artifactId>
1574 <version>4.0.9-SNAPSHOT</version>
1580 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1581 <artifactId>bug-pattern</artifactId>
1582 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1583 <version>1.4.1</version>
1587 Enables analysis which takes more memory but finds more bugs.
1588 If you run out of memory, changes the value of the effort element
1591 <effort>Max</effort>
1592 <!-- Reports all bugs (other values are medium and max) -->
1593 <threshold>Low</threshold>
1594 <!-- Build doesn't fail if problems are found -->
1595 <failOnError>false</failOnError>
1596 <!-- References the excluded rules -->
1597 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1598 <!-- Produces XML report -->
1599 <xmlOutput>true</xmlOutput>
1600 <!-- Configures the directory in which the XML report is created -->
1601 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1605 Ensures that SpotBugs inspects source code when project is compiled.
1608 <id>analyze-compile</id>
1609 <phase>compile</phase>
1617 <groupId>org.codehaus.mojo</groupId>
1618 <artifactId>properties-maven-plugin</artifactId>
1619 <version>1.0.0</version>
1622 <groupId>org.eclipse.xtend</groupId>
1623 <artifactId>xtend-maven-plugin</artifactId>
1624 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1625 <version>2.16.0</version>
1629 <goal>compile</goal>
1630 <goal>testCompile</goal>
1633 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1634 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1640 <groupId>org.eclipse.m2e</groupId>
1641 <artifactId>lifecycle-mapping</artifactId>
1642 <version>1.0.0</version>
1644 <lifecycleMappingMetadata>
1647 <pluginExecutionFilter>
1648 <groupId>org.apache.felix</groupId>
1649 <artifactId>maven-bundle-plugin</artifactId>
1650 <versionRange>[1.0,)</versionRange>
1652 <goal>manifest</goal>
1654 </pluginExecutionFilter>
1660 <pluginExecutionFilter>
1661 <groupId>org.apache.maven.plugins</groupId>
1662 <artifactId>maven-enforcer-plugin</artifactId>
1663 <versionRange>[1.0.0,)</versionRange>
1665 <goal>enforce</goal>
1667 </pluginExecutionFilter>
1673 <pluginExecutionFilter>
1674 <groupId>org.apache.maven.plugins</groupId>
1675 <artifactId>maven-dependency-plugin</artifactId>
1676 <versionRange>[2.10,)</versionRange>
1680 </pluginExecutionFilter>
1686 <pluginExecutionFilter>
1687 <groupId>org.apache.maven.plugins</groupId>
1688 <artifactId>maven-pmd-plugin</artifactId>
1689 <versionRange>[3.6,)</versionRange>
1691 <goal>cpd-check</goal>
1693 </pluginExecutionFilter>
1698 <!-- The plugin will eventually be removed, remove this too at that point -->
1700 <pluginExecutionFilter>
1701 <groupId>org.apache.maven.plugins</groupId>
1702 <artifactId>maven-antrun-plugin</artifactId>
1703 <versionRange>[1.8,)</versionRange>
1707 </pluginExecutionFilter>
1713 <pluginExecutionFilter>
1714 <groupId>org.apache.servicemix.tooling</groupId>
1715 <artifactId>depends-maven-plugin</artifactId>
1716 <versionRange>[1.2,)</versionRange>
1718 <goal>generate-depends-file</goal>
1720 </pluginExecutionFilter>
1726 <pluginExecutionFilter>
1727 <groupId>org.jacoco</groupId>
1728 <artifactId>jacoco-maven-plugin</artifactId>
1729 <versionRange>[0.7.0,)</versionRange>
1731 <goal>prepare-agent</goal>
1733 </pluginExecutionFilter>
1740 <pluginExecutionFilter>
1741 <groupId>org.ops4j.pax.exam</groupId>
1742 <artifactId>maven-paxexam-plugin</artifactId>
1743 <versionRange>[1.2.4,)</versionRange>
1745 <goal>generate-depends-file</goal>
1747 </pluginExecutionFilter>
1754 <pluginExecutionFilter>
1755 <groupId>org.basepom.maven</groupId>
1757 duplicate-finder-maven-plugin
1759 <versionRange>[1.2.1,)</versionRange>
1763 </pluginExecutionFilter>
1769 </lifecycleMappingMetadata>
1774 <groupId>org.jacoco</groupId>
1775 <artifactId>jacoco-maven-plugin</artifactId>
1777 <!-- Note: This exclusion list should match <sonar.exclusions>
1780 <exclude>**/gen/**</exclude>
1781 <exclude>**/generated-sources/**</exclude>
1782 <exclude>**/generated-test-sources/**</exclude>
1783 <exclude>**/yang-gen/**</exclude>
1784 <exclude>**/yang-gen-config/**</exclude>
1785 <exclude>**/yang-gen-sal/**</exclude>
1786 <exclude>**/yang-gen-code/**</exclude>
1787 <exclude>**/pax/**</exclude>
1793 <groupId>org.ops4j.pax.exam</groupId>
1794 <artifactId>maven-paxexam-plugin</artifactId>
1795 <version>1.2.4</version>
1799 <groupId>org.codehaus.mojo</groupId>
1800 <artifactId>jdepend-maven-plugin</artifactId>
1801 <version>2.0</version>
1806 <goal>generate-no-fork</goal>
1812 <!-- When updating this version, consider antl4-runtime above -->
1814 <groupId>org.antlr</groupId>
1815 <artifactId>antlr4-maven-plugin</artifactId>
1816 <version>4.7.1</version>
1823 <artifactId>maven-enforcer-plugin</artifactId>
1826 <id>enforce-banned-dependencies</id>
1828 <goal>enforce</goal>
1832 <bannedDependencies>
1833 <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>
1835 <exclude>org.mockito:mockito-all</exclude>
1836 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1837 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1838 <!-- as a dependency then clashes with the dependency checker (because it -->
1839 <!-- is not very good at handling annotations). Use the annotations jar -->
1840 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1842 <exclude>com.google.code.findbugs:jsr305</exclude>
1843 <exclude>net.jcip:jcip-annotations</exclude>
1845 </bannedDependencies>
1853 <groupId>org.basepom.maven</groupId>
1854 <artifactId>duplicate-finder-maven-plugin</artifactId>
1855 <version>1.3.0</version>
1858 <id>find-duplicate-classpath-entries</id>
1859 <phase>verify</phase>
1866 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1867 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1868 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1869 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1870 <printEqualFiles>false</printEqualFiles>
1872 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1873 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1874 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1876 <ignoredResourcePatterns>
1877 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1878 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1879 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1880 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1881 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1882 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1883 </ignoredResourcePatterns>
1884 <ignoredClassPatterns>
1885 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1886 </ignoredClassPatterns>
1887 <ignoredDependencies>
1889 <groupId>org.slf4j</groupId>
1890 <artifactId>slf4j-simple</artifactId>
1891 </ignoredDependency>
1893 <groupId>org.opendaylight.odlparent</groupId>
1894 <artifactId>opendaylight-karaf-empty</artifactId>
1895 </ignoredDependency>
1896 </ignoredDependencies>
1900 <artifactId>maven-dependency-plugin</artifactId>
1903 <artifactId>maven-checkstyle-plugin</artifactId>
1906 <artifactId>maven-pmd-plugin</artifactId>
1909 <artifactId>maven-source-plugin</artifactId>
1912 <artifactId>maven-javadoc-plugin</artifactId>
1915 <!-- Jacoco / Sonar -->
1917 <groupId>org.jacoco</groupId>
1918 <artifactId>jacoco-maven-plugin</artifactId>
1921 <id>pre-unit-test</id>
1923 <goal>prepare-agent</goal>
1926 <destFile>${jacoco.destFile}</destFile>
1933 <groupId>com.alexecollins.maven.plugin</groupId>
1934 <artifactId>script-maven-plugin</artifactId>
1935 <version>1.0.0</version>
1938 <phase>prepare-package</phase>
1940 <goal>execute</goal>
1944 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1945 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1946 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1947 // static class methods only - it will be MUCH easier to write!)
1948 void copy(File root, String glob, File target) {
1949 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1950 Iterator dirStreamIterator = dirStream.iterator();
1951 while (dirStreamIterator.hasNext()) {
1952 java.nio.file.Path path = dirStreamIterator.next();
1953 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1954 new java.nio.file.CopyOption[] {
1955 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1956 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1963 File gitRepoRootDir = project.basedir;
1964 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1965 gitRepoRootDir = gitRepoRootDir.getParentFile();
1968 File target = new File(project.build.outputDirectory);
1970 copy(gitRepoRootDir, "README*", target);
1971 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1972 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1979 <groupId>org.apache-extras.beanshell</groupId>
1980 <artifactId>bsh</artifactId>
1981 <version>2.0b6</version>
1991 <artifactId>maven-checkstyle-plugin</artifactId>
1992 <version>3.0.0</version>
1995 <!-- FIXME: activate this
1997 <artifactId>maven-project-info-reports-plugin</artifactId>
1998 <version>${projectinfo}</version>
2001 <groupId>org.codehaus.mojo</groupId>
2002 <artifactId>jdepend-maven-plugin</artifactId>
2006 <report>generate-no-fork</report>
2016 <!-- On JDK9-and-later findbugs fails -->
2017 <id>jdk9-findbugs</id>
2022 <findbugs.skip>true</findbugs.skip>