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.2-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.1</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.2-SNAPSHOT</version>
93 <!-- Build tool dependencies (normally not here in <dependencies>,
94 but in a <dependency> in <pluginManagement> but for Checkstyle this
95 is required so that we can share the same version of Checkstyle
96 for both the Maven plugin below as well as for custom Checkstyle
97 check rule projects, such as yangtools' checkstyle-logging) -->
99 <groupId>com.puppycrawl.tools</groupId>
100 <artifactId>checkstyle</artifactId>
101 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
102 <version>8.12</version>
105 <!-- Testing Dependencies -->
106 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
107 <!-- Need to stick to JUnit 4.11 until
108 https://github.com/jayway/powermock/issues/560 is fixed (either in
109 PowerMock or with a new JUnit release) -->
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
114 <version>4.11</version>
118 <groupId>org.skyscreamer</groupId>
119 <artifactId>jsonassert</artifactId>
120 <version>1.5.0</version>
124 <groupId>org.mockito</groupId>
125 <artifactId>mockito-core</artifactId>
126 <version>2.20.1</version>
130 <groupId>org.mockito</groupId>
131 <artifactId>mockito-inline</artifactId>
132 <version>2.20.1</version>
136 <groupId>org.hamcrest</groupId>
137 <artifactId>hamcrest-core</artifactId>
138 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
139 <version>1.3</version>
143 <groupId>org.hamcrest</groupId>
144 <artifactId>hamcrest-library</artifactId>
145 <version>1.3</version>
149 <groupId>com.google.truth</groupId>
150 <artifactId>truth</artifactId>
151 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
152 <version>0.42</version>
156 <groupId>com.google.truth.extensions</groupId>
157 <artifactId>truth-java8-extension</artifactId>
158 <version>0.42</version>
162 <groupId>org.awaitility</groupId>
163 <artifactId>awaitility</artifactId>
164 <version>3.0.0</version>
168 <groupId>org.awaitility</groupId>
169 <artifactId>awaitility-proxy</artifactId>
170 <version>3.0.0</version>
174 <groupId>org.powermock</groupId>
175 <artifactId>powermock-api-mockito</artifactId>
176 <version>1.7.4</version>
180 <groupId>org.powermock</groupId>
181 <artifactId>powermock-api-support</artifactId>
182 <version>1.7.4</version>
186 <groupId>org.powermock</groupId>
187 <artifactId>powermock-core</artifactId>
188 <version>1.7.4</version>
192 <groupId>org.powermock</groupId>
193 <artifactId>powermock-module-junit4</artifactId>
194 <version>1.7.4</version>
198 <groupId>org.powermock</groupId>
199 <artifactId>powermock-reflect</artifactId>
200 <version>1.7.4</version>
205 Annotation Processors
208 <!-- Generates immutable implementations, builders, the works -->
209 <groupId>org.immutables</groupId>
210 <artifactId>value</artifactId>
211 <version>2.7.1</version>
212 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
213 <scope>provided</scope>
216 <!-- Generates META-INF/services entries for ServiceLoader -->
217 <groupId>org.kohsuke.metainf-services</groupId>
218 <artifactId>metainf-services</artifactId>
219 <version>1.8</version>
220 <optional>true</optional>
221 <scope>provided</scope>
228 <groupId>org.slf4j</groupId>
229 <artifactId>jcl-over-slf4j</artifactId>
230 <version>1.7.25</version>
233 <groupId>org.slf4j</groupId>
234 <artifactId>slf4j-api</artifactId>
235 <version>1.7.25</version>
238 <groupId>org.slf4j</groupId>
239 <artifactId>slf4j-log4j12</artifactId>
240 <version>1.7.25</version>
243 <groupId>org.slf4j</groupId>
244 <artifactId>log4j-over-slf4j</artifactId>
245 <version>1.7.25</version>
248 <groupId>org.slf4j</groupId>
249 <artifactId>slf4j-simple</artifactId>
250 <version>1.7.25</version>
254 <groupId>ch.qos.logback</groupId>
255 <artifactId>logback-core</artifactId>
256 <version>1.2.3</version>
259 <groupId>ch.qos.logback</groupId>
260 <artifactId>logback-classic</artifactId>
261 <version>1.2.3</version>
266 <groupId>org.apache.logging.log4j</groupId>
267 <artifactId>log4j-bom</artifactId>
268 <version>2.11.1</version>
269 <scope>import</scope>
274 <groupId>com.google.guava</groupId>
275 <artifactId>guava</artifactId>
276 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
277 <version>25.1-jre</version>
280 <groupId>com.google.code.findbugs</groupId>
281 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
282 <artifactId>jsr305</artifactId>
287 <groupId>com.google.guava</groupId>
288 <artifactId>guava-testlib</artifactId>
289 <version>25.1-jre</version>
293 <groupId>com.google.code.findbugs</groupId>
294 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
295 <artifactId>jsr305</artifactId>
300 <groupId>com.mycila.guice.extensions</groupId>
301 <artifactId>mycila-guice-jsr250</artifactId>
302 <!-- Make sure this version is in sync with the guice one below -->
303 <version>4.0.rc1</version>
306 <groupId>com.google.inject</groupId>
307 <artifactId>guice</artifactId>
308 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
309 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
310 <version>4.1.0</version>
313 <groupId>org.apache.commons</groupId>
314 <artifactId>commons-lang3</artifactId>
315 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
316 <version>3.8</version>
319 <groupId>org.apache.commons</groupId>
320 <artifactId>commons-text</artifactId>
321 <version>1.4</version>
324 <groupId>commons-lang</groupId>
325 <artifactId>commons-lang</artifactId>
326 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
327 <version>2.6</version>
330 <groupId>commons-codec</groupId>
331 <artifactId>commons-codec</artifactId>
332 <version>1.11</version>
334 <!-- Jersey for JAXRS -->
336 <groupId>javax.ws.rs</groupId>
337 <artifactId>javax.ws.rs-api</artifactId>
338 <version>2.0.1</version>
341 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
342 <artifactId>jersey-guava</artifactId>
343 <version>2.22.2</version>
346 <groupId>org.glassfish</groupId>
347 <artifactId>javax.json</artifactId>
348 <version>1.0.4</version>
351 <groupId>com.eclipsesource.jaxrs</groupId>
352 <artifactId>jersey-all</artifactId>
353 <version>2.22.2</version>
356 <!-- servlet 3.x support -->
358 <groupId>org.glassfish.jersey.containers</groupId>
359 <artifactId>jersey-container-servlet</artifactId>
360 <version>2.8</version>
363 <groupId>org.apache.geronimo.bundles</groupId>
364 <artifactId>json</artifactId>
365 <version>20090211_1</version>
367 <!-- FIXME : remove all dependencies for jersey 1.17 -->
369 <groupId>com.sun.jersey</groupId>
370 <artifactId>jersey-core</artifactId>
371 <version>1.19.4</version>
374 <groupId>com.sun.jersey</groupId>
375 <artifactId>jersey-json</artifactId>
376 <version>1.19.4</version>
379 <groupId>com.sun.jersey</groupId>
380 <artifactId>jersey-server</artifactId>
381 <version>1.19.4</version>
384 <groupId>com.sun.jersey</groupId>
385 <artifactId>jersey-servlet</artifactId>
386 <version>1.19.4</version>
389 <groupId>com.sun.jersey.jersey-test-framework</groupId>
390 <artifactId>jersey-test-framework-grizzly2</artifactId>
391 <version>1.19.4</version>
395 <groupId>com.sun.jersey.jersey-test-framework</groupId>
396 <artifactId>jersey-test-framework-inmemory</artifactId>
397 <version>1.19.4</version>
401 <groupId>com.sun.jersey</groupId>
402 <artifactId>jersey-client</artifactId>
403 <version>1.19.4</version>
406 <groupId>org.apache.shiro</groupId>
407 <artifactId>shiro-core</artifactId>
408 <version>1.3.2</version>
411 <groupId>org.apache.shiro</groupId>
412 <artifactId>shiro-web</artifactId>
413 <version>1.3.2</version>
416 <!-- Plugin integration -->
418 <groupId>net.java.dev.stax-utils</groupId>
419 <artifactId>stax-utils</artifactId>
420 <version>20070216</version>
423 <groupId>org.sonatype.plexus</groupId>
424 <artifactId>plexus-build-api</artifactId>
425 <version>0.0.7</version>
428 <groupId>org.codehaus.plexus</groupId>
429 <artifactId>plexus-slf4j-logging</artifactId>
430 <version>1.1</version>
434 <groupId>org.codehaus.woodstox</groupId>
435 <artifactId>stax2-api</artifactId>
436 <!-- Needs to match jackson's idea of import -->
437 <version>3.1.4</version>
440 <groupId>com.fasterxml.jackson</groupId>
441 <artifactId>jackson-bom</artifactId>
442 <version>2.9.7</version>
443 <scope>import</scope>
447 <!-- TODO do we really need resteasy ? -->
449 <groupId>org.jboss.resteasy</groupId>
450 <artifactId>jaxrs-api</artifactId>
451 <version>3.0.12.Final</version>
455 <groupId>com.google.code.findbugs</groupId>
456 <artifactId>annotations</artifactId>
457 <version>3.0.0</version>
459 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
460 the types of this artifact are already shaded inside the :annotations artifact.
461 This state is a temporary solution to allow all projects to gradually switch over
462 switch their <dependency><groupId>com.google.code.findbugs from
463 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
464 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
467 <groupId>net.jcip</groupId>
468 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
469 <artifactId>jcip-annotations</artifactId>
474 <groupId>org.eclipse.jdt</groupId>
475 <artifactId>org.eclipse.jdt.annotation</artifactId>
476 <version>2.2.0</version>
477 <scope>provided</scope>
480 <groupId>com.google.code.gson</groupId>
481 <artifactId>gson</artifactId>
482 <version>2.8.5</version>
485 <groupId>commons-fileupload</groupId>
486 <artifactId>commons-fileupload</artifactId>
487 <version>1.3.3</version>
490 <groupId>commons-io</groupId>
491 <artifactId>commons-io</artifactId>
492 <version>2.6</version>
495 <groupId>commons-net</groupId>
496 <artifactId>commons-net</artifactId>
497 <version>3.6</version>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-all</artifactId>
504 <!-- If these are updated, the version in features.xml needs to be changed too -->
505 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
506 <version>4.1.28.Final</version>
509 <groupId>io.netty</groupId>
510 <artifactId>netty-buffer</artifactId>
511 <version>4.1.28.Final</version>
514 <groupId>io.netty</groupId>
515 <artifactId>netty-codec</artifactId>
516 <version>4.1.28.Final</version>
519 <groupId>io.netty</groupId>
520 <artifactId>netty-codec-http</artifactId>
521 <version>4.1.28.Final</version>
524 <groupId>io.netty</groupId>
525 <artifactId>netty-common</artifactId>
526 <version>4.1.28.Final</version>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-handler</artifactId>
531 <version>4.1.28.Final</version>
534 <groupId>io.netty</groupId>
535 <artifactId>netty-transport</artifactId>
536 <version>4.1.28.Final</version>
538 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
539 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
541 <groupId>io.netty</groupId>
542 <artifactId>netty-transport-native-epoll</artifactId>
543 <classifier>linux-x86_64</classifier>
544 <version>4.1.28.Final</version>
547 <groupId>javax.ws.rs</groupId>
548 <artifactId>jsr311-api</artifactId>
549 <version>1.1.1</version>
552 <groupId>javax.servlet</groupId>
553 <artifactId>javax.servlet-api</artifactId>
554 <version>3.1.0</version>
557 <groupId>org.apache.felix</groupId>
558 <artifactId>org.apache.felix.dependencymanager</artifactId>
559 <version>4.4.1</version>
562 <groupId>org.apache.felix</groupId>
563 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
564 <version>4.0.6</version>
567 <groupId>org.apache.felix</groupId>
568 <artifactId>org.apache.felix.metatype</artifactId>
569 <version>1.2.0</version>
572 <groupId>org.bouncycastle</groupId>
573 <artifactId>bcpkix-jdk15on</artifactId>
574 <version>${bouncycastle.version}</version>
577 <groupId>org.bouncycastle</groupId>
578 <artifactId>bcprov-jdk15on</artifactId>
579 <version>${bouncycastle.version}</version>
582 <groupId>org.bouncycastle</groupId>
583 <artifactId>bcprov-ext-jdk15on</artifactId>
584 <version>${bouncycastle.version}</version>
587 <groupId>org.codehaus.enunciate</groupId>
588 <artifactId>enunciate-core-annotations</artifactId>
589 <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
590 <version>1.31</version>
593 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
594 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
595 and @RunAs and @PermitAll & Co. which we do not require
596 (or at least not from jsr250-api via enunciate) -->
597 <groupId>javax.annotation</groupId>
598 <artifactId>jsr250-api</artifactId>
603 <groupId>com.webcohesion.enunciate</groupId>
604 <artifactId>enunciate-core-annotations</artifactId>
605 <version>2.11.1</version>
609 <groupId>javax.annotation</groupId>
610 <artifactId>jsr250-api</artifactId>
615 <groupId>org.codehaus.jettison</groupId>
616 <artifactId>jettison</artifactId>
617 <version>1.4.0</version>
619 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
620 pull in javax.validation first:
621 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
623 <groupId>org.eclipse.persistence</groupId>
624 <artifactId>org.eclipse.persistence.antlr</artifactId>
625 <version>2.7.3</version>
628 <groupId>org.eclipse.persistence</groupId>
629 <artifactId>org.eclipse.persistence.core</artifactId>
630 <version>2.7.3</version>
633 <groupId>org.eclipse.persistence</groupId>
634 <artifactId>org.eclipse.persistence.moxy</artifactId>
635 <version>2.7.3</version>
638 <groupId>javax.validation</groupId>
639 <artifactId>validation-api</artifactId>
640 <version>1.1.0.Final</version>
643 <groupId>org.javassist</groupId>
644 <artifactId>javassist</artifactId>
645 <version>3.23.1-GA</version>
648 <groupId>org.jboss.spec.javax.transaction</groupId>
649 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
650 <version>1.0.1.Final</version>
653 <groupId>org.jolokia</groupId>
654 <artifactId>jolokia-osgi</artifactId>
655 <version>1.6.0</version>
658 <groupId>org.json</groupId>
659 <artifactId>json</artifactId>
660 <version>20131018</version>
663 <groupId>org.osgi</groupId>
664 <artifactId>org.osgi.compendium</artifactId>
665 <version>5.0.0</version>
666 <scope>provided</scope>
669 <groupId>org.osgi</groupId>
670 <artifactId>org.osgi.core</artifactId>
671 <version>5.0.0</version>
672 <scope>provided</scope>
675 <groupId>org.osgi</groupId>
676 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
677 <artifactId>org.osgi.service.event</artifactId>
678 <version>1.3.1</version>
681 <groupId>org.apache.aries.quiesce</groupId>
682 <artifactId>org.apache.aries.quiesce.api</artifactId>
683 <version>1.0.0</version>
686 <groupId>org.ow2.asm</groupId>
687 <artifactId>asm</artifactId>
688 <version>6.2.1</version>
691 <!-- Configuration library -->
692 <!-- This needs to be kept in sync with the version used by akka -->
694 <groupId>com.typesafe</groupId>
695 <artifactId>config</artifactId>
696 <version>1.3.2</version>
699 <!-- Reactive Streams, used by Akka -->
701 <groupId>org.reactivestreams</groupId>
702 <artifactId>reactive-streams</artifactId>
703 <version>1.0.1</version>
708 <groupId>com.typesafe</groupId>
709 <artifactId>ssl-config-core_2.12</artifactId>
710 <version>0.2.4</version>
713 <groupId>com.typesafe.akka</groupId>
714 <artifactId>akka-actor_2.12</artifactId>
715 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
716 <version>2.5.14</version>
719 <groupId>com.typesafe.akka</groupId>
720 <artifactId>akka-cluster_2.12</artifactId>
721 <version>2.5.14</version>
724 <groupId>com.typesafe.akka</groupId>
725 <artifactId>akka-osgi_2.12</artifactId>
726 <version>2.5.14</version>
729 <groupId>com.typesafe.akka</groupId>
730 <artifactId>akka-persistence_2.12</artifactId>
731 <version>2.5.14</version>
734 <groupId>com.typesafe.akka</groupId>
735 <artifactId>akka-persistence-tck_2.12</artifactId>
736 <version>2.5.14</version>
740 <groupId>com.typesafe.akka</groupId>
741 <artifactId>akka-protobuf_2.12</artifactId>
742 <version>2.5.14</version>
745 <groupId>com.typesafe.akka</groupId>
746 <artifactId>akka-remote_2.12</artifactId>
747 <version>2.5.14</version>
750 <groupId>com.typesafe.akka</groupId>
751 <artifactId>akka-slf4j_2.12</artifactId>
752 <version>2.5.14</version>
755 <groupId>com.typesafe.akka</groupId>
756 <artifactId>akka-stream_2.12</artifactId>
757 <version>2.5.14</version>
760 <groupId>com.typesafe.akka</groupId>
761 <artifactId>akka-testkit_2.12</artifactId>
762 <version>2.5.14</version>
766 <groupId>org.scala-lang.modules</groupId>
767 <artifactId>scala-java8-compat_2.12</artifactId>
768 <version>0.8.0</version>
771 <groupId>org.scala-lang.modules</groupId>
772 <artifactId>scala-parser-combinators_2.12</artifactId>
773 <version>1.1.1</version>
776 <groupId>org.uncommons.maths</groupId>
777 <artifactId>uncommons-maths</artifactId>
778 <version>1.2.2a</version>
781 <!-- Aeron, required by Akka -->
783 <groupId>org.agrona</groupId>
784 <artifactId>agrona</artifactId>
785 <version>0.9.21</version>
788 <groupId>io.aeron</groupId>
789 <artifactId>aeron-client</artifactId>
790 <version>1.9.3</version>
793 <groupId>io.aeron</groupId>
794 <artifactId>aeron-driver</artifactId>
795 <version>1.9.3</version>
800 <groupId>org.scala-lang</groupId>
801 <artifactId>scala-library</artifactId>
802 <version>2.12.6</version>
805 <groupId>org.scala-lang</groupId>
806 <artifactId>scala-reflect</artifactId>
807 <version>2.12.6</version>
810 <!-- LMAX Disruptor -->
812 <groupId>com.lmax</groupId>
813 <artifactId>disruptor</artifactId>
814 <version>3.4.1</version>
817 <!-- Add Pax Exam -->
819 <groupId>org.ops4j.pax.exam</groupId>
820 <artifactId>pax-exam</artifactId>
821 <version>4.12.0</version>
825 <groupId>org.ops4j.pax.exam</groupId>
826 <artifactId>pax-exam-container-forked</artifactId>
827 <version>4.12.0</version>
831 <groupId>org.ops4j.pax.exam</groupId>
832 <artifactId>pax-exam-container-karaf</artifactId>
833 <version>4.12.0</version>
837 <groupId>org.ops4j.pax.exam</groupId>
838 <artifactId>pax-exam-container-native</artifactId>
839 <version>4.12.0</version>
843 <groupId>org.ops4j.pax.exam</groupId>
844 <artifactId>pax-exam-extender-service</artifactId>
845 <version>4.12.0</version>
849 <groupId>org.ops4j.pax.exam</groupId>
850 <artifactId>pax-exam-inject</artifactId>
851 <version>4.12.0</version>
855 <groupId>org.ops4j.pax.exam</groupId>
856 <artifactId>pax-exam-invoker-junit</artifactId>
857 <version>4.12.0</version>
861 <groupId>org.ops4j.pax.exam</groupId>
862 <artifactId>pax-exam-features</artifactId>
863 <version>4.12.0</version>
868 <groupId>org.ops4j.pax.exam</groupId>
869 <artifactId>pax-exam-junit4</artifactId>
870 <version>4.12.0</version>
874 <groupId>org.ops4j.pax.exam</groupId>
875 <artifactId>pax-exam-link-mvn</artifactId>
876 <version>4.12.0</version>
880 <groupId>org.ops4j.pax.exam</groupId>
881 <artifactId>pax-exam-link-assembly</artifactId>
882 <version>4.12.0</version>
887 <groupId>org.ops4j.pax.url</groupId>
888 <artifactId>pax-url-link</artifactId>
889 <version>2.5.4</version>
893 <groupId>org.ops4j.pax.url</groupId>
894 <artifactId>pax-url-aether</artifactId>
895 <version>2.5.4</version>
899 <groupId>org.ops4j.pax.url</groupId>
900 <artifactId>pax-url-wrap</artifactId>
901 <version>2.5.4</version>
905 <groupId>org.ops4j.pax.web</groupId>
906 <artifactId>pax-web-api</artifactId>
907 <!-- Note: keep this version synchronized with karaf -->
908 <version>7.2.3</version>
912 <groupId>org.springframework.osgi</groupId>
913 <artifactId>spring-osgi-mock</artifactId>
914 <version>1.2.1</version>
919 <groupId>org.xmlunit</groupId>
920 <artifactId>xmlunit-core</artifactId>
921 <version>2.6.2</version>
925 <groupId>org.xmlunit</groupId>
926 <artifactId>xmlunit-matchers</artifactId>
927 <version>2.6.2</version>
930 <!-- FIXME: remove this once we have migrated over -->
932 <groupId>org.xmlunit</groupId>
933 <artifactId>xmlunit-legacy</artifactId>
934 <version>2.6.2</version>
939 <groupId>org.eclipse.jetty</groupId>
940 <artifactId>jetty-client</artifactId>
941 <version>9.4.11.v20180605</version>
944 <groupId>org.eclipse.jetty</groupId>
945 <artifactId>jetty-server</artifactId>
946 <version>9.4.11.v20180605</version>
949 <groupId>org.eclipse.jetty</groupId>
950 <artifactId>jetty-servlets</artifactId>
951 <version>9.4.11.v20180605</version>
954 <groupId>org.eclipse.jetty</groupId>
955 <artifactId>jetty-webapp</artifactId>
956 <version>9.4.11.v20180605</version>
960 <groupId>com.h2database</groupId>
961 <artifactId>h2</artifactId>
962 <version>1.4.196</version>
965 <!-- Xtend http://xtend-lang.org
966 NOTE: When you increase the version here,
967 then remember to also increase it for the
968 xtend-maven-plugin below! (We don't want to
969 use a Maven property, in order not to "leak" that.)
972 <groupId>org.eclipse.xtend</groupId>
973 <artifactId>org.eclipse.xtend.lib</artifactId>
974 <version>2.14.0</version>
977 <groupId>org.eclipse.xtend</groupId>
978 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
979 <version>2.14.0</version>
982 <groupId>org.eclipse.xtext</groupId>
983 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
984 <version>2.14.0</version>
989 <groupId>javax.inject</groupId>
990 <artifactId>javax.inject</artifactId>
992 <optional>true</optional>
997 <groupId>com.datastax.cassandra</groupId>
998 <artifactId>cassandra-driver-core</artifactId>
999 <version>2.1.9</version>
1002 <!-- jung, a graph library -->
1004 <groupId>net.sf.jung</groupId>
1005 <artifactId>jung-api</artifactId>
1006 <version>2.1.1</version>
1009 <groupId>net.sf.jung</groupId>
1010 <artifactId>jung-algorithms</artifactId>
1011 <version>2.1.1</version>
1014 <groupId>net.sf.jung</groupId>
1015 <artifactId>jung-graph-impl</artifactId>
1016 <version>2.1.1</version>
1019 <!-- Karaf console support -->
1021 <groupId>org.apache.karaf.shell</groupId>
1022 <artifactId>org.apache.karaf.shell.core</artifactId>
1023 <version>${karaf.version}</version>
1026 <groupId>org.apache.karaf.shell</groupId>
1027 <artifactId>org.apache.karaf.shell.console</artifactId>
1028 <version>${karaf.version}</version>
1031 <!-- ThreeTen-Extra, date/time complements -->
1033 <groupId>org.threeten</groupId>
1034 <artifactId>threeten-extra</artifactId>
1035 <version>1.4</version>
1038 <!-- When updating this version, consider antl4-maven-plugin below -->
1040 <groupId>org.antlr</groupId>
1041 <artifactId>antlr4-runtime</artifactId>
1042 <version>4.7.1</version>
1044 <!-- Aries' Blueprint version should be kept in sync to the version actually
1045 used by our ${karaf[4].version} ... please bump this when increasing that.
1046 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1048 <groupId>org.apache.aries.blueprint</groupId>
1049 <artifactId>org.apache.aries.blueprint.core</artifactId>
1050 <version>1.9.0</version>
1053 <groupId>org.apache.aries.blueprint</groupId>
1054 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1055 <version>1.3.0</version>
1056 <optional>true</optional>
1059 <!-- Apache SSHD with netty -->
1061 <groupId>org.apache.sshd</groupId>
1062 <artifactId>sshd-core</artifactId>
1063 <version>2.0.0</version>
1066 <groupId>org.apache.sshd</groupId>
1067 <artifactId>sshd-netty</artifactId>
1068 <version>2.0.0</version>
1071 <groupId>net.i2p.crypto</groupId>
1072 <artifactId>eddsa</artifactId>
1073 <version>0.3.0</version>
1076 </dependencyManagement>
1080 We expect slf4j-api to be provided by the platform.
1081 Karaf provides it, other containers need to provide it themselves.
1084 <groupId>org.slf4j</groupId>
1085 <artifactId>slf4j-api</artifactId>
1086 <scope>provided</scope>
1090 Enable useful code quality annotations everywhere. Since these annotations
1091 are not required at runtime.
1094 <groupId>com.google.code.findbugs</groupId>
1095 <artifactId>annotations</artifactId>
1096 <scope>provided</scope>
1099 <groupId>org.eclipse.jdt</groupId>
1100 <artifactId>org.eclipse.jdt.annotation</artifactId>
1101 <scope>provided</scope>
1105 Testing output should be routed through slf4j-simple.
1108 <groupId>org.slf4j</groupId>
1109 <artifactId>slf4j-simple</artifactId>
1114 Unit tests can use JUnit + Mockito + Hamcrest by default.
1117 <groupId>junit</groupId>
1118 <artifactId>junit</artifactId>
1122 <groupId>org.mockito</groupId>
1123 <artifactId>mockito-core</artifactId>
1131 <!-- Official maven plugins, alpha-sorted by artifactId.
1132 We do not need to specify the groupId. -->
1134 <artifactId>maven-antrun-plugin</artifactId>
1135 <version>1.8</version>
1138 <artifactId>maven-checkstyle-plugin</artifactId>
1139 <version>3.0.0</version>
1142 <groupId>com.puppycrawl.tools</groupId>
1143 <artifactId>checkstyle</artifactId>
1144 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1145 <version>8.12</version>
1148 <groupId>org.opendaylight.odlparent</groupId>
1149 <artifactId>checkstyle</artifactId>
1150 <version>4.0.2-SNAPSHOT</version>
1153 <groupId>org.opendaylight.odlparent</groupId>
1154 <artifactId>odl-license</artifactId>
1155 <version>4.0.2-SNAPSHOT</version>
1158 <groupId>com.github.sevntu-checkstyle</groupId>
1159 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1160 <version>1.32.0</version>
1164 <configLocation>odl_checks.xml</configLocation>
1165 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1166 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1167 generated sources directory -->
1169 <directory>${project.build.sourceDirectory}</directory>
1170 </sourceDirectories>
1171 <includeResources>true</includeResources>
1172 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1173 <includeTestResources>true</includeTestResources>
1174 <includes>**\/*.java, **\/*.xtend</includes>
1176 org/opendaylight/yang/gen/**,
1177 **/protobuff/messages/**,
1178 **/thrift/gen/*.java
1180 <failsOnError>false</failsOnError>
1181 <consoleOutput>true</consoleOutput>
1185 <id>check-license</id>
1189 <phase>process-sources</phase>
1191 <configLocation>check-license.xml</configLocation>
1192 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1193 <includeResources>false</includeResources>
1194 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1195 <includeTestResources>false</includeTestResources>
1197 <directory>${project.build.sourceDirectory}</directory>
1198 </sourceDirectories>
1200 org/opendaylight/yang/gen/**,
1201 **/protobuff/messages/**,
1202 **/thrift/gen/*.java
1204 <failsOnError>false</failsOnError>
1205 <consoleOutput>true</consoleOutput>
1212 <phase>process-sources</phase>
1217 <groupId>org.apache.maven.plugins</groupId>
1218 <artifactId>maven-pmd-plugin</artifactId>
1219 <version>3.10.0</version>
1223 <phase>process-sources</phase>
1225 <goal>cpd-check</goal>
1228 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1229 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1230 <minimumTokens>101</minimumTokens>
1231 <printFailingErrors>true</printFailingErrors>
1233 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1234 not understand path prefixes nor wildcards. Details are available
1235 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1236 Hence people introducing new generated sources have to include
1239 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1240 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1242 <linkXRef>false</linkXRef>
1248 <artifactId>maven-compiler-plugin</artifactId>
1249 <version>3.8.0</version>
1251 <source>1.8</source>
1252 <target>1.8</target>
1253 <showWarnings>true</showWarnings>
1255 <arg>-parameters</arg>
1256 <arg>-Xlint:deprecation</arg>
1257 <arg>-Xlint:unchecked</arg>
1262 <artifactId>maven-enforcer-plugin</artifactId>
1263 <version>${enforcer.version}</version>
1266 <artifactId>maven-failsafe-plugin</artifactId>
1267 <version>2.22.0</version>
1270 <artifactId>maven-invoker-plugin</artifactId>
1271 <version>3.1.0</version>
1274 <artifactId>maven-jar-plugin</artifactId>
1275 <version>3.1.0</version>
1278 <artifactId>maven-dependency-plugin</artifactId>
1281 <id>unpack-license</id>
1282 <phase>generate-resources</phase>
1283 <goals><goal>unpack</goal></goals>
1287 <groupId>org.opendaylight.odlparent</groupId>
1288 <artifactId>odl-license</artifactId>
1289 <version>4.0.2-SNAPSHOT</version>
1292 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1293 <excludes>META-INF/**</excludes>
1300 <artifactId>maven-plugin-plugin</artifactId>
1301 <version>3.5.2</version>
1305 <artifactId>maven-remote-resources-plugin</artifactId>
1306 <version>1.5</version>
1309 <artifactId>maven-resources-plugin</artifactId>
1310 <version>3.1.0</version>
1313 <artifactId>maven-shade-plugin</artifactId>
1314 <version>3.2.0</version>
1317 <artifactId>maven-source-plugin</artifactId>
1318 <version>3.0.1</version>
1321 <id>attach-sources</id>
1322 <phase>verify</phase>
1324 <goal>jar-no-fork</goal>
1330 <artifactId>maven-surefire-plugin</artifactId>
1331 <version>2.22.0</version>
1333 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1334 <trimStackTrace>false</trimStackTrace>
1338 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1340 <!-- Support Blueprint XML construction using annotations -->
1341 <groupId>org.apache.aries.blueprint</groupId>
1342 <artifactId>blueprint-maven-plugin</artifactId>
1343 <version>1.10.0</version>
1344 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1345 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1348 <groupId>org.apache.xbean</groupId>
1349 <artifactId>xbean-finder-shaded</artifactId>
1350 <version>4.9</version>
1355 <scanPath>org.opendaylight</scanPath>
1361 <goal>blueprint-generate</goal>
1368 <groupId>org.apache.felix</groupId>
1369 <artifactId>maven-bundle-plugin</artifactId>
1370 <version>4.0.0</version>
1371 <extensions>true</extensions>
1374 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1375 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1376 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1377 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1379 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1380 to generate Import-Service and Export-Service headers. -->
1381 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1387 <groupId>org.apache.karaf.tooling</groupId>
1388 <artifactId>karaf-maven-plugin</artifactId>
1389 <version>${karaf.version}</version>
1393 <groupId>org.apache.servicemix.tooling</groupId>
1394 <artifactId>depends-maven-plugin</artifactId>
1395 <version>1.4.0</version>
1398 <id>generate-depends-file</id>
1400 <goal>generate-depends-file</goal>
1407 <groupId>org.codehaus.enunciate</groupId>
1408 <artifactId>maven-enunciate-plugin</artifactId>
1409 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1410 <version>1.31</version>
1413 <groupId>org.codehaus.groovy.maven</groupId>
1414 <artifactId>gmaven-plugin</artifactId>
1415 <version>1.0</version>
1418 <groupId>org.codehaus.mojo</groupId>
1419 <artifactId>build-helper-maven-plugin</artifactId>
1420 <version>3.0.0</version>
1423 <groupId>org.codehaus.mojo</groupId>
1424 <artifactId>findbugs-maven-plugin</artifactId>
1425 <version>3.0.5</version>
1428 <groupId>org.opendaylight.odlparent</groupId>
1429 <artifactId>findbugs</artifactId>
1430 <version>4.0.2-SNAPSHOT</version>
1436 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1437 <artifactId>bug-pattern</artifactId>
1438 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1439 but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1440 <version>1.4.0</version>
1444 Enables analysis which takes more memory but finds more bugs.
1445 If you run out of memory, changes the value of the effort element
1448 <effort>Max</effort>
1449 <!-- Reports all bugs (other values are medium and max) -->
1450 <threshold>Low</threshold>
1451 <!-- Build doesn't fail if problems are found -->
1452 <failOnError>false</failOnError>
1453 <!-- References the excluded rules -->
1454 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1455 <!-- Produces XML report -->
1456 <xmlOutput>true</xmlOutput>
1457 <!-- Configures the directory in which the XML report is created -->
1458 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1462 Ensures that FindBugs inspects source code when project is compiled.
1465 <id>analyze-compile</id>
1466 <phase>compile</phase>
1474 <groupId>com.github.spotbugs</groupId>
1475 <artifactId>spotbugs-maven-plugin</artifactId>
1476 <version>3.1.6</version>
1479 <groupId>com.github.spotbugs</groupId>
1480 <artifactId>spotbugs</artifactId>
1481 <version>3.1.7</version>
1484 <groupId>org.opendaylight.odlparent</groupId>
1485 <artifactId>spotbugs</artifactId>
1486 <version>4.0.2-SNAPSHOT</version>
1492 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1493 <artifactId>bug-pattern</artifactId>
1494 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1495 <version>1.4.1</version>
1499 Enables analysis which takes more memory but finds more bugs.
1500 If you run out of memory, changes the value of the effort element
1503 <effort>Max</effort>
1504 <!-- Reports all bugs (other values are medium and max) -->
1505 <threshold>Low</threshold>
1506 <!-- Build doesn't fail if problems are found -->
1507 <failOnError>false</failOnError>
1508 <!-- References the excluded rules -->
1509 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1510 <!-- Produces XML report -->
1511 <xmlOutput>true</xmlOutput>
1512 <!-- Configures the directory in which the XML report is created -->
1513 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1517 Ensures that SpotBugs inspects source code when project is compiled.
1520 <id>analyze-compile</id>
1521 <phase>compile</phase>
1529 <groupId>org.codehaus.mojo</groupId>
1530 <artifactId>properties-maven-plugin</artifactId>
1531 <version>1.0.0</version>
1534 <groupId>org.eclipse.xtend</groupId>
1535 <artifactId>xtend-maven-plugin</artifactId>
1536 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1537 <version>2.14.0</version>
1541 <goal>compile</goal>
1542 <goal>testCompile</goal>
1545 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1546 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1551 <!-- This is needed because upstream got broken by their inconsistency: pulling in old core,
1552 but using ranges for other components. No wonder it blew up. -->
1555 <groupId>org.eclipse.platform</groupId>
1556 <artifactId>org.eclipse.equinox.common</artifactId>
1557 <version>3.10.0</version>
1562 <groupId>org.eclipse.m2e</groupId>
1563 <artifactId>lifecycle-mapping</artifactId>
1564 <version>1.0.0</version>
1566 <lifecycleMappingMetadata>
1569 <pluginExecutionFilter>
1570 <groupId>org.apache.felix</groupId>
1571 <artifactId>maven-bundle-plugin</artifactId>
1572 <versionRange>[1.0,)</versionRange>
1574 <goal>manifest</goal>
1576 </pluginExecutionFilter>
1582 <pluginExecutionFilter>
1583 <groupId>org.apache.maven.plugins</groupId>
1584 <artifactId>maven-enforcer-plugin</artifactId>
1585 <versionRange>[1.0.0,)</versionRange>
1587 <goal>enforce</goal>
1589 </pluginExecutionFilter>
1595 <pluginExecutionFilter>
1596 <groupId>org.apache.maven.plugins</groupId>
1597 <artifactId>maven-dependency-plugin</artifactId>
1598 <versionRange>[2.10,)</versionRange>
1602 </pluginExecutionFilter>
1608 <pluginExecutionFilter>
1609 <groupId>org.apache.maven.plugins</groupId>
1610 <artifactId>maven-pmd-plugin</artifactId>
1611 <versionRange>[3.6,)</versionRange>
1613 <goal>cpd-check</goal>
1615 </pluginExecutionFilter>
1620 <!-- The plugin will eventually be removed, remove this too at that point -->
1622 <pluginExecutionFilter>
1623 <groupId>org.apache.maven.plugins</groupId>
1624 <artifactId>maven-antrun-plugin</artifactId>
1625 <versionRange>[1.8,)</versionRange>
1629 </pluginExecutionFilter>
1635 <pluginExecutionFilter>
1636 <groupId>org.apache.servicemix.tooling</groupId>
1637 <artifactId>depends-maven-plugin</artifactId>
1638 <versionRange>[1.2,)</versionRange>
1640 <goal>generate-depends-file</goal>
1642 </pluginExecutionFilter>
1648 <pluginExecutionFilter>
1649 <groupId>org.jacoco</groupId>
1650 <artifactId>jacoco-maven-plugin</artifactId>
1651 <versionRange>[0.7.0,)</versionRange>
1653 <goal>prepare-agent</goal>
1655 </pluginExecutionFilter>
1662 <pluginExecutionFilter>
1663 <groupId>org.ops4j.pax.exam</groupId>
1664 <artifactId>maven-paxexam-plugin</artifactId>
1665 <versionRange>[1.2.4,)</versionRange>
1667 <goal>generate-depends-file</goal>
1669 </pluginExecutionFilter>
1676 <pluginExecutionFilter>
1677 <groupId>org.basepom.maven</groupId>
1679 duplicate-finder-maven-plugin
1681 <versionRange>[1.2.1,)</versionRange>
1685 </pluginExecutionFilter>
1691 </lifecycleMappingMetadata>
1696 <groupId>org.jacoco</groupId>
1697 <artifactId>jacoco-maven-plugin</artifactId>
1699 <!-- Note: This exclusion list should match <sonar.exclusions>
1702 <exclude>**/gen/**</exclude>
1703 <exclude>**/generated-sources/**</exclude>
1704 <exclude>**/generated-test-sources/**</exclude>
1705 <exclude>**/yang-gen/**</exclude>
1706 <exclude>**/yang-gen-config/**</exclude>
1707 <exclude>**/yang-gen-sal/**</exclude>
1708 <exclude>**/yang-gen-code/**</exclude>
1709 <exclude>**/pax/**</exclude>
1715 <groupId>org.ops4j.pax.exam</groupId>
1716 <artifactId>maven-paxexam-plugin</artifactId>
1717 <version>1.2.4</version>
1721 <groupId>org.codehaus.mojo</groupId>
1722 <artifactId>jdepend-maven-plugin</artifactId>
1723 <version>2.0</version>
1728 <goal>generate-no-fork</goal>
1734 <!-- When updating this version, consider antl4-runtime above -->
1736 <groupId>org.antlr</groupId>
1737 <artifactId>antlr4-maven-plugin</artifactId>
1738 <version>4.7.1</version>
1745 <artifactId>maven-enforcer-plugin</artifactId>
1748 <id>enforce-banned-dependencies</id>
1750 <goal>enforce</goal>
1754 <bannedDependencies>
1755 <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>
1757 <exclude>org.mockito:mockito-all</exclude>
1758 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1759 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1760 <!-- as a dependency then clashes with the dependency checker (because it -->
1761 <!-- is not very good at handling annotations). Use the annotations jar -->
1762 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1764 <exclude>com.google.code.findbugs:jsr305</exclude>
1765 <exclude>net.jcip:jcip-annotations</exclude>
1767 </bannedDependencies>
1775 <groupId>org.basepom.maven</groupId>
1776 <artifactId>duplicate-finder-maven-plugin</artifactId>
1777 <version>1.3.0</version>
1780 <id>find-duplicate-classpath-entries</id>
1781 <phase>verify</phase>
1788 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1789 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1790 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1791 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1792 <printEqualFiles>false</printEqualFiles>
1794 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1795 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1796 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1798 <ignoredResourcePatterns>
1799 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1800 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1801 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1802 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1803 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1804 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1805 </ignoredResourcePatterns>
1806 <ignoredDependencies>
1808 <groupId>org.slf4j</groupId>
1809 <artifactId>slf4j-simple</artifactId>
1810 </ignoredDependency>
1812 <groupId>org.opendaylight.odlparent</groupId>
1813 <artifactId>opendaylight-karaf-empty</artifactId>
1814 </ignoredDependency>
1815 </ignoredDependencies>
1819 <artifactId>maven-dependency-plugin</artifactId>
1822 <artifactId>maven-checkstyle-plugin</artifactId>
1825 <artifactId>maven-pmd-plugin</artifactId>
1828 <artifactId>maven-source-plugin</artifactId>
1831 <artifactId>maven-javadoc-plugin</artifactId>
1834 <!-- Jacoco / Sonar -->
1836 <groupId>org.jacoco</groupId>
1837 <artifactId>jacoco-maven-plugin</artifactId>
1840 <id>pre-unit-test</id>
1842 <goal>prepare-agent</goal>
1845 <destFile>${jacoco.destFile}</destFile>
1852 <groupId>com.alexecollins.maven.plugin</groupId>
1853 <artifactId>script-maven-plugin</artifactId>
1854 <version>1.0.0</version>
1857 <phase>prepare-package</phase>
1859 <goal>execute</goal>
1863 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1864 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1865 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1866 // static class methods only - it will be MUCH easier to write!)
1867 void copy(File root, String glob, File target) {
1868 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1869 Iterator dirStreamIterator = dirStream.iterator();
1870 while (dirStreamIterator.hasNext()) {
1871 java.nio.file.Path path = dirStreamIterator.next();
1872 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1873 new java.nio.file.CopyOption[] {
1874 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1875 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1882 File gitRepoRootDir = project.basedir;
1883 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1884 gitRepoRootDir = gitRepoRootDir.getParentFile();
1887 File target = new File(project.build.outputDirectory);
1889 copy(gitRepoRootDir, "README*", target);
1890 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1891 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1898 <groupId>org.apache-extras.beanshell</groupId>
1899 <artifactId>bsh</artifactId>
1900 <version>2.0b6</version>
1910 <artifactId>maven-checkstyle-plugin</artifactId>
1911 <version>3.0.0</version>
1914 <!-- FIXME: activate this
1916 <artifactId>maven-project-info-reports-plugin</artifactId>
1917 <version>${projectinfo}</version>
1920 <groupId>org.codehaus.mojo</groupId>
1921 <artifactId>jdepend-maven-plugin</artifactId>
1925 <report>generate-no-fork</report>
1935 <!-- On JDK9-and-later findbugs fails -->
1936 <id>jdk9-findbugs</id>
1944 <groupId>org.codehaus.mojo</groupId>
1945 <artifactId>findbugs-maven-plugin</artifactId>
1946 <configuration combine.children="append">