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.0-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
31 <!-- Variables should only be used where genuinely useful (to avoid
32 repetition); in general versions should be specified in the
33 corresponding dependencyManagement or pluginManagement element, not as
34 a variable. Duplication within odlparent doesn't count if it can be
35 managed using maven-versions-plugin. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <!-- Java Versions -->
44 <!-- FIXME: 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-M1</enforcer.version>
52 <!-- Used in neutron, ovsdb -->
53 <jacoco.version>0.8.2</jacoco.version>
54 <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
55 <karaf.version>4.2.1</karaf.version>
56 <!-- Used in bgpcep, lispflowmapping -->
57 <projectinfo>2.8.1</projectinfo>
59 <!-- Supporting Libraries -->
60 <!-- Only used internally -->
61 <bouncycastle.version>1.60</bouncycastle.version>
63 <!-- Default Sonar configuration -->
64 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
65 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
66 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
67 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
68 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
69 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
71 <!-- Opt-in code quality checks -->
72 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
73 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
76 <dependencyManagement>
80 <groupId>org.opendaylight.odlparent</groupId>
81 <artifactId>odlparent-artifacts</artifactId>
82 <version>4.0.0-SNAPSHOT</version>
87 <!-- Build tool dependencies (normally not here in <dependencies>,
88 but in a <dependency> in <pluginManagement> but for Checkstyle this
89 is required so that we can share the same version of Checkstyle
90 for both the Maven plugin below as well as for custom Checkstyle
91 check rule projects, such as yangtools' checkstyle-logging) -->
93 <groupId>com.puppycrawl.tools</groupId>
94 <artifactId>checkstyle</artifactId>
95 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
96 <version>8.12</version>
99 <!-- Testing Dependencies -->
100 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
101 <!-- Need to stick to JUnit 4.11 until
102 https://github.com/jayway/powermock/issues/560 is fixed (either in
103 PowerMock or with a new JUnit release) -->
105 <groupId>junit</groupId>
106 <artifactId>junit</artifactId>
107 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
108 <version>4.11</version>
112 <groupId>org.skyscreamer</groupId>
113 <artifactId>jsonassert</artifactId>
114 <version>1.5.0</version>
118 <groupId>org.mockito</groupId>
119 <artifactId>mockito-core</artifactId>
120 <version>2.20.1</version>
124 <groupId>org.hamcrest</groupId>
125 <artifactId>hamcrest-core</artifactId>
126 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
127 <version>1.3</version>
131 <groupId>org.hamcrest</groupId>
132 <artifactId>hamcrest-library</artifactId>
133 <version>1.3</version>
137 <groupId>com.google.truth</groupId>
138 <artifactId>truth</artifactId>
139 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
140 <version>0.42</version>
144 <groupId>com.google.truth.extensions</groupId>
145 <artifactId>truth-java8-extension</artifactId>
146 <version>0.42</version>
150 <groupId>org.awaitility</groupId>
151 <artifactId>awaitility</artifactId>
152 <version>3.0.0</version>
156 <groupId>org.awaitility</groupId>
157 <artifactId>awaitility-proxy</artifactId>
158 <version>3.0.0</version>
162 <groupId>org.powermock</groupId>
163 <artifactId>powermock-api-mockito</artifactId>
164 <version>1.7.4</version>
168 <groupId>org.powermock</groupId>
169 <artifactId>powermock-api-support</artifactId>
170 <version>1.7.4</version>
174 <groupId>org.powermock</groupId>
175 <artifactId>powermock-core</artifactId>
176 <version>1.7.4</version>
180 <groupId>org.powermock</groupId>
181 <artifactId>powermock-module-junit4</artifactId>
182 <version>1.7.4</version>
186 <groupId>org.powermock</groupId>
187 <artifactId>powermock-reflect</artifactId>
188 <version>1.7.4</version>
193 Annotation Processors
196 <!-- Generates immutable implementations, builders, the works -->
197 <groupId>org.immutables</groupId>
198 <artifactId>value</artifactId>
199 <version>2.6.3</version>
200 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
201 <scope>provided</scope>
204 <!-- Generates META-INF/services entries for ServiceLoader -->
205 <groupId>org.kohsuke.metainf-services</groupId>
206 <artifactId>metainf-services</artifactId>
207 <version>1.8</version>
208 <optional>true</optional>
209 <scope>provided</scope>
216 <groupId>org.slf4j</groupId>
217 <artifactId>jcl-over-slf4j</artifactId>
218 <version>1.7.25</version>
221 <groupId>org.slf4j</groupId>
222 <artifactId>slf4j-api</artifactId>
223 <version>1.7.25</version>
226 <groupId>org.slf4j</groupId>
227 <artifactId>slf4j-log4j12</artifactId>
228 <version>1.7.25</version>
231 <groupId>org.slf4j</groupId>
232 <artifactId>log4j-over-slf4j</artifactId>
233 <version>1.7.25</version>
236 <groupId>org.slf4j</groupId>
237 <artifactId>slf4j-simple</artifactId>
238 <version>1.7.25</version>
242 <groupId>ch.qos.logback</groupId>
243 <artifactId>logback-core</artifactId>
244 <version>1.2.3</version>
247 <groupId>ch.qos.logback</groupId>
248 <artifactId>logback-classic</artifactId>
249 <version>1.2.3</version>
252 <groupId>com.google.guava</groupId>
253 <artifactId>guava</artifactId>
254 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
255 <version>25.1-jre</version>
258 <groupId>com.google.code.findbugs</groupId>
259 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
260 <artifactId>jsr305</artifactId>
265 <groupId>com.google.guava</groupId>
266 <artifactId>guava-testlib</artifactId>
267 <version>25.1-jre</version>
271 <groupId>com.google.code.findbugs</groupId>
272 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
273 <artifactId>jsr305</artifactId>
278 <groupId>com.mycila.guice.extensions</groupId>
279 <artifactId>mycila-guice-jsr250</artifactId>
280 <!-- Make sure this version is in sync with the guice one below -->
281 <version>4.0.rc1</version>
284 <groupId>com.google.inject</groupId>
285 <artifactId>guice</artifactId>
286 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
287 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
288 <version>4.1.0</version>
291 <groupId>org.apache.commons</groupId>
292 <artifactId>commons-lang3</artifactId>
293 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
294 <version>3.8</version>
297 <groupId>org.apache.commons</groupId>
298 <artifactId>commons-text</artifactId>
299 <version>1.4</version>
302 <groupId>commons-lang</groupId>
303 <artifactId>commons-lang</artifactId>
304 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
305 <version>2.6</version>
308 <groupId>commons-codec</groupId>
309 <artifactId>commons-codec</artifactId>
310 <version>1.11</version>
312 <!-- Jersey for JAXRS -->
314 <groupId>javax.ws.rs</groupId>
315 <artifactId>javax.ws.rs-api</artifactId>
316 <version>2.0.1</version>
319 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
320 <artifactId>jersey-guava</artifactId>
321 <version>2.22.2</version>
324 <groupId>org.glassfish</groupId>
325 <artifactId>javax.json</artifactId>
326 <version>1.0.4</version>
329 <groupId>com.eclipsesource.jaxrs</groupId>
330 <artifactId>jersey-all</artifactId>
331 <version>2.22.2</version>
334 <!-- servlet 3.x support -->
336 <groupId>org.glassfish.jersey.containers</groupId>
337 <artifactId>jersey-container-servlet</artifactId>
338 <version>2.8</version>
341 <groupId>org.apache.geronimo.bundles</groupId>
342 <artifactId>json</artifactId>
343 <version>20090211_1</version>
345 <!-- FIXME : remove all dependencies for jersey 1.17 -->
347 <groupId>com.sun.jersey</groupId>
348 <artifactId>jersey-core</artifactId>
349 <version>1.19.4</version>
352 <groupId>com.sun.jersey</groupId>
353 <artifactId>jersey-json</artifactId>
354 <version>1.19.4</version>
357 <groupId>com.sun.jersey</groupId>
358 <artifactId>jersey-server</artifactId>
359 <version>1.19.4</version>
362 <groupId>com.sun.jersey</groupId>
363 <artifactId>jersey-servlet</artifactId>
364 <version>1.19.4</version>
367 <groupId>com.sun.jersey.jersey-test-framework</groupId>
368 <artifactId>jersey-test-framework-grizzly2</artifactId>
369 <version>1.19.4</version>
373 <groupId>com.sun.jersey.jersey-test-framework</groupId>
374 <artifactId>jersey-test-framework-inmemory</artifactId>
375 <version>1.19.4</version>
379 <groupId>com.sun.jersey</groupId>
380 <artifactId>jersey-client</artifactId>
381 <version>1.19.4</version>
384 <groupId>org.apache.shiro</groupId>
385 <artifactId>shiro-core</artifactId>
386 <version>1.3.2</version>
389 <groupId>org.apache.shiro</groupId>
390 <artifactId>shiro-web</artifactId>
391 <version>1.3.2</version>
394 <!-- Plugin integration -->
396 <groupId>net.java.dev.stax-utils</groupId>
397 <artifactId>stax-utils</artifactId>
398 <version>20070216</version>
401 <groupId>org.sonatype.plexus</groupId>
402 <artifactId>plexus-build-api</artifactId>
403 <version>0.0.7</version>
406 <groupId>org.codehaus.plexus</groupId>
407 <artifactId>plexus-slf4j-logging</artifactId>
408 <version>1.1</version>
412 <groupId>org.codehaus.woodstox</groupId>
413 <artifactId>stax2-api</artifactId>
414 <!-- Needs to match jackson's idea of import -->
415 <version>3.1.4</version>
418 <groupId>com.fasterxml.jackson</groupId>
419 <artifactId>jackson-bom</artifactId>
420 <version>2.9.6</version>
421 <scope>import</scope>
425 <!-- TODO do we really need resteasy ? -->
427 <groupId>org.jboss.resteasy</groupId>
428 <artifactId>jaxrs-api</artifactId>
429 <version>3.0.12.Final</version>
433 <groupId>com.google.code.findbugs</groupId>
434 <artifactId>annotations</artifactId>
435 <version>3.0.0</version>
437 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
438 the types of this artifact are already shaded inside the :annotations artifact.
439 This state is a temporary solution to allow all projects to gradually switch over
440 switch their <dependency><groupId>com.google.code.findbugs from
441 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
442 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
445 <groupId>net.jcip</groupId>
446 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
447 <artifactId>jcip-annotations</artifactId>
452 <groupId>org.eclipse.jdt</groupId>
453 <artifactId>org.eclipse.jdt.annotation</artifactId>
454 <version>2.2.0</version>
455 <scope>provided</scope>
458 <groupId>com.google.code.gson</groupId>
459 <artifactId>gson</artifactId>
460 <version>2.8.5</version>
463 <groupId>commons-fileupload</groupId>
464 <artifactId>commons-fileupload</artifactId>
465 <version>1.3.3</version>
468 <groupId>commons-io</groupId>
469 <artifactId>commons-io</artifactId>
470 <version>2.6</version>
473 <groupId>commons-net</groupId>
474 <artifactId>commons-net</artifactId>
475 <version>3.6</version>
480 <groupId>io.netty</groupId>
481 <artifactId>netty-all</artifactId>
482 <!-- If these are updated, the version in features.xml needs to be changed too -->
483 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
484 <version>4.1.28.Final</version>
487 <groupId>io.netty</groupId>
488 <artifactId>netty-buffer</artifactId>
489 <version>4.1.28.Final</version>
492 <groupId>io.netty</groupId>
493 <artifactId>netty-codec</artifactId>
494 <version>4.1.28.Final</version>
497 <groupId>io.netty</groupId>
498 <artifactId>netty-codec-http</artifactId>
499 <version>4.1.28.Final</version>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-common</artifactId>
504 <version>4.1.28.Final</version>
507 <groupId>io.netty</groupId>
508 <artifactId>netty-handler</artifactId>
509 <version>4.1.28.Final</version>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-transport</artifactId>
514 <version>4.1.28.Final</version>
516 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
517 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
519 <groupId>io.netty</groupId>
520 <artifactId>netty-transport-native-epoll</artifactId>
521 <classifier>linux-x86_64</classifier>
522 <version>4.1.28.Final</version>
525 <groupId>javax.ws.rs</groupId>
526 <artifactId>jsr311-api</artifactId>
527 <version>1.1.1</version>
530 <groupId>javax.servlet</groupId>
531 <artifactId>javax.servlet-api</artifactId>
532 <version>3.1.0</version>
535 <groupId>org.apache.felix</groupId>
536 <artifactId>org.apache.felix.dependencymanager</artifactId>
537 <version>4.4.1</version>
540 <groupId>org.apache.felix</groupId>
541 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
542 <version>4.0.6</version>
545 <groupId>org.apache.felix</groupId>
546 <artifactId>org.apache.felix.metatype</artifactId>
547 <version>1.2.0</version>
550 <groupId>org.bouncycastle</groupId>
551 <artifactId>bcpkix-jdk15on</artifactId>
552 <version>${bouncycastle.version}</version>
555 <groupId>org.bouncycastle</groupId>
556 <artifactId>bcprov-jdk15on</artifactId>
557 <version>${bouncycastle.version}</version>
560 <groupId>org.bouncycastle</groupId>
561 <artifactId>bcprov-ext-jdk15on</artifactId>
562 <version>${bouncycastle.version}</version>
565 <groupId>org.codehaus.enunciate</groupId>
566 <artifactId>enunciate-core-annotations</artifactId>
567 <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
568 <version>1.31</version>
571 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
572 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
573 and @RunAs and @PermitAll & Co. which we do not require
574 (or at least not from jsr250-api via enunciate) -->
575 <groupId>javax.annotation</groupId>
576 <artifactId>jsr250-api</artifactId>
581 <groupId>com.webcohesion.enunciate</groupId>
582 <artifactId>enunciate-core-annotations</artifactId>
583 <version>2.11.1</version>
587 <groupId>javax.annotation</groupId>
588 <artifactId>jsr250-api</artifactId>
593 <groupId>org.codehaus.jettison</groupId>
594 <artifactId>jettison</artifactId>
595 <version>1.4.0</version>
597 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
598 pull in javax.validation first:
599 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
601 <groupId>org.eclipse.persistence</groupId>
602 <artifactId>org.eclipse.persistence.antlr</artifactId>
603 <version>2.7.1</version>
606 <groupId>org.eclipse.persistence</groupId>
607 <artifactId>org.eclipse.persistence.core</artifactId>
608 <version>2.7.1</version>
611 <groupId>org.eclipse.persistence</groupId>
612 <artifactId>org.eclipse.persistence.moxy</artifactId>
613 <version>2.7.1</version>
616 <groupId>javax.validation</groupId>
617 <artifactId>validation-api</artifactId>
618 <version>1.1.0.Final</version>
621 <groupId>org.javassist</groupId>
622 <artifactId>javassist</artifactId>
623 <version>3.23.1-GA</version>
626 <groupId>org.jboss.spec.javax.transaction</groupId>
627 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
628 <version>1.0.1.Final</version>
631 <groupId>org.jolokia</groupId>
632 <artifactId>jolokia-osgi</artifactId>
633 <version>1.6.0</version>
636 <groupId>org.json</groupId>
637 <artifactId>json</artifactId>
638 <version>20131018</version>
641 <groupId>org.osgi</groupId>
642 <artifactId>org.osgi.compendium</artifactId>
643 <version>5.0.0</version>
644 <scope>provided</scope>
647 <groupId>org.osgi</groupId>
648 <artifactId>org.osgi.core</artifactId>
649 <version>5.0.0</version>
650 <scope>provided</scope>
653 <groupId>org.osgi</groupId>
654 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
655 <artifactId>org.osgi.service.event</artifactId>
656 <version>1.3.1</version>
659 <groupId>org.apache.aries.quiesce</groupId>
660 <artifactId>org.apache.aries.quiesce.api</artifactId>
661 <version>1.0.0</version>
664 <groupId>org.ow2.asm</groupId>
665 <artifactId>asm</artifactId>
666 <version>6.2.1</version>
669 <!-- Configuration library -->
670 <!-- This needs to be kept in sync with the version used by akka -->
672 <groupId>com.typesafe</groupId>
673 <artifactId>config</artifactId>
674 <version>1.3.2</version>
677 <!-- Reactive Streams, used by Akka -->
679 <groupId>org.reactivestreams</groupId>
680 <artifactId>reactive-streams</artifactId>
681 <version>1.0.1</version>
686 <groupId>com.typesafe</groupId>
687 <artifactId>ssl-config-core_2.12</artifactId>
688 <version>0.2.4</version>
691 <groupId>com.typesafe.akka</groupId>
692 <artifactId>akka-actor_2.12</artifactId>
693 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
694 <version>2.5.14</version>
697 <groupId>com.typesafe.akka</groupId>
698 <artifactId>akka-cluster_2.12</artifactId>
699 <version>2.5.14</version>
702 <groupId>com.typesafe.akka</groupId>
703 <artifactId>akka-osgi_2.12</artifactId>
704 <version>2.5.14</version>
707 <groupId>com.typesafe.akka</groupId>
708 <artifactId>akka-persistence_2.12</artifactId>
709 <version>2.5.14</version>
712 <groupId>com.typesafe.akka</groupId>
713 <artifactId>akka-persistence-tck_2.12</artifactId>
714 <version>2.5.14</version>
718 <groupId>com.typesafe.akka</groupId>
719 <artifactId>akka-protobuf_2.12</artifactId>
720 <version>2.5.14</version>
723 <groupId>com.typesafe.akka</groupId>
724 <artifactId>akka-remote_2.12</artifactId>
725 <version>2.5.14</version>
728 <groupId>com.typesafe.akka</groupId>
729 <artifactId>akka-slf4j_2.12</artifactId>
730 <version>2.5.14</version>
733 <groupId>com.typesafe.akka</groupId>
734 <artifactId>akka-stream_2.12</artifactId>
735 <version>2.5.14</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-testkit_2.12</artifactId>
740 <version>2.5.14</version>
744 <groupId>org.scala-lang.modules</groupId>
745 <artifactId>scala-java8-compat_2.12</artifactId>
746 <version>0.8.0</version>
749 <groupId>org.scala-lang.modules</groupId>
750 <artifactId>scala-parser-combinators_2.12</artifactId>
751 <version>1.1.1</version>
754 <groupId>org.uncommons.maths</groupId>
755 <artifactId>uncommons-maths</artifactId>
756 <version>1.2.2a</version>
759 <groupId>com.google.protobuf</groupId>
760 <artifactId>protobuf-java</artifactId>
761 <version>2.5.0</version>
764 <!-- Aeron, required by Akka -->
766 <groupId>org.agrona</groupId>
767 <artifactId>agrona</artifactId>
768 <version>0.9.21</version>
771 <groupId>io.aeron</groupId>
772 <artifactId>aeron-client</artifactId>
773 <version>1.9.3</version>
776 <groupId>io.aeron</groupId>
777 <artifactId>aeron-driver</artifactId>
778 <version>1.9.3</version>
783 <groupId>org.scala-lang</groupId>
784 <artifactId>scala-library</artifactId>
785 <version>2.12.6</version>
788 <groupId>org.scala-lang</groupId>
789 <artifactId>scala-reflect</artifactId>
790 <version>2.12.6</version>
793 <!-- LMAX Disruptor -->
795 <groupId>com.lmax</groupId>
796 <artifactId>disruptor</artifactId>
797 <version>3.4.1</version>
800 <!-- Add Pax Exam -->
802 <groupId>org.ops4j.pax.exam</groupId>
803 <artifactId>pax-exam</artifactId>
804 <version>4.12.0</version>
808 <groupId>org.ops4j.pax.exam</groupId>
809 <artifactId>pax-exam-container-forked</artifactId>
810 <version>4.12.0</version>
814 <groupId>org.ops4j.pax.exam</groupId>
815 <artifactId>pax-exam-container-karaf</artifactId>
816 <version>4.12.0</version>
820 <groupId>org.ops4j.pax.exam</groupId>
821 <artifactId>pax-exam-container-native</artifactId>
822 <version>4.12.0</version>
826 <groupId>org.ops4j.pax.exam</groupId>
827 <artifactId>pax-exam-extender-service</artifactId>
828 <version>4.12.0</version>
832 <groupId>org.ops4j.pax.exam</groupId>
833 <artifactId>pax-exam-inject</artifactId>
834 <version>4.12.0</version>
838 <groupId>org.ops4j.pax.exam</groupId>
839 <artifactId>pax-exam-invoker-junit</artifactId>
840 <version>4.12.0</version>
844 <groupId>org.ops4j.pax.exam</groupId>
845 <artifactId>pax-exam-features</artifactId>
846 <version>4.12.0</version>
851 <groupId>org.ops4j.pax.exam</groupId>
852 <artifactId>pax-exam-junit4</artifactId>
853 <version>4.12.0</version>
857 <groupId>org.ops4j.pax.exam</groupId>
858 <artifactId>pax-exam-link-mvn</artifactId>
859 <version>4.12.0</version>
863 <groupId>org.ops4j.pax.exam</groupId>
864 <artifactId>pax-exam-link-assembly</artifactId>
865 <version>4.12.0</version>
870 <groupId>org.ops4j.pax.url</groupId>
871 <artifactId>pax-url-link</artifactId>
872 <version>2.5.4</version>
876 <groupId>org.ops4j.pax.url</groupId>
877 <artifactId>pax-url-aether</artifactId>
878 <version>2.5.4</version>
882 <groupId>org.ops4j.pax.url</groupId>
883 <artifactId>pax-url-wrap</artifactId>
884 <version>2.5.4</version>
888 <groupId>org.ops4j.pax.web</groupId>
889 <artifactId>pax-web-api</artifactId>
890 <!-- Note: keep this version synchronized with karaf -->
891 <version>7.2.3</version>
895 <groupId>org.springframework.osgi</groupId>
896 <artifactId>spring-osgi-mock</artifactId>
897 <version>1.2.1</version>
902 <groupId>org.xmlunit</groupId>
903 <artifactId>xmlunit-core</artifactId>
904 <version>2.6.1</version>
908 <groupId>org.xmlunit</groupId>
909 <artifactId>xmlunit-matchers</artifactId>
910 <version>2.6.1</version>
913 <!-- FIXME: remove this once we have migrated over -->
915 <groupId>org.xmlunit</groupId>
916 <artifactId>xmlunit-legacy</artifactId>
917 <version>2.6.1</version>
922 <groupId>org.eclipse.jetty</groupId>
923 <artifactId>jetty-client</artifactId>
924 <version>9.4.11.v20180605</version>
927 <groupId>org.eclipse.jetty</groupId>
928 <artifactId>jetty-server</artifactId>
929 <version>9.4.11.v20180605</version>
932 <groupId>org.eclipse.jetty</groupId>
933 <artifactId>jetty-servlets</artifactId>
934 <version>9.4.11.v20180605</version>
937 <groupId>org.eclipse.jetty</groupId>
938 <artifactId>jetty-webapp</artifactId>
939 <version>9.4.11.v20180605</version>
943 <groupId>com.h2database</groupId>
944 <artifactId>h2</artifactId>
945 <version>1.4.196</version>
948 <!-- Xtend http://xtend-lang.org
949 NOTE: When you increase the version here,
950 then remember to also increase it for the
951 xtend-maven-plugin below! (We don't want to
952 use a Maven property, in order not to "leak" that.)
955 <groupId>org.eclipse.xtend</groupId>
956 <artifactId>org.eclipse.xtend.lib</artifactId>
957 <version>2.14.0</version>
960 <groupId>org.eclipse.xtend</groupId>
961 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
962 <version>2.14.0</version>
965 <groupId>org.eclipse.xtext</groupId>
966 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
967 <version>2.14.0</version>
972 <groupId>javax.inject</groupId>
973 <artifactId>javax.inject</artifactId>
975 <optional>true</optional>
978 <groupId>org.ops4j.pax.cdi</groupId>
979 <artifactId>pax-cdi-api</artifactId>
980 <version>1.0.0</version>
981 <optional>true</optional>
986 <groupId>com.datastax.cassandra</groupId>
987 <artifactId>cassandra-driver-core</artifactId>
988 <version>2.1.9</version>
991 <!-- jung, a graph library -->
993 <groupId>net.sf.jung</groupId>
994 <artifactId>jung-api</artifactId>
995 <version>2.1.1</version>
998 <groupId>net.sf.jung</groupId>
999 <artifactId>jung-algorithms</artifactId>
1000 <version>2.1.1</version>
1003 <groupId>net.sf.jung</groupId>
1004 <artifactId>jung-graph-impl</artifactId>
1005 <version>2.1.1</version>
1008 <!-- Karaf console support -->
1010 <groupId>org.apache.karaf.shell</groupId>
1011 <artifactId>org.apache.karaf.shell.core</artifactId>
1012 <version>${karaf.version}</version>
1015 <groupId>org.apache.karaf.shell</groupId>
1016 <artifactId>org.apache.karaf.shell.console</artifactId>
1017 <version>${karaf.version}</version>
1020 <!-- ThreeTen-Extra, date/time complements -->
1022 <groupId>org.threeten</groupId>
1023 <artifactId>threeten-extra</artifactId>
1024 <version>1.4</version>
1027 <!-- When updating this version, consider antl4-maven-plugin below -->
1029 <groupId>org.antlr</groupId>
1030 <artifactId>antlr4-runtime</artifactId>
1031 <version>4.7.1</version>
1033 <!-- Aries' Blueprint version should be kept in sync to the version actually
1034 used by our ${karaf[4].version} ... please bump this when increasing that.
1035 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1037 <groupId>org.apache.aries.blueprint</groupId>
1038 <artifactId>org.apache.aries.blueprint.core</artifactId>
1039 <version>1.9.0</version>
1042 <!-- Apache SSHD with netty -->
1044 <groupId>org.apache.sshd</groupId>
1045 <artifactId>sshd-core</artifactId>
1046 <version>2.0.0</version>
1049 <groupId>org.apache.sshd</groupId>
1050 <artifactId>sshd-netty</artifactId>
1051 <version>2.0.0</version>
1054 <groupId>net.i2p.crypto</groupId>
1055 <artifactId>eddsa</artifactId>
1056 <version>0.3.0</version>
1059 </dependencyManagement>
1063 We expect slf4j-api to be provided by the platform.
1064 Karaf provides it, other containers need to provide it themselves.
1067 <groupId>org.slf4j</groupId>
1068 <artifactId>slf4j-api</artifactId>
1069 <scope>provided</scope>
1073 Enable useful code quality annotations everywhere. Since these annotations
1074 are not required at runtime.
1077 <groupId>com.google.code.findbugs</groupId>
1078 <artifactId>annotations</artifactId>
1079 <scope>provided</scope>
1082 <groupId>org.eclipse.jdt</groupId>
1083 <artifactId>org.eclipse.jdt.annotation</artifactId>
1084 <scope>provided</scope>
1088 Testing output should be routed through slf4j-simple.
1091 <groupId>org.slf4j</groupId>
1092 <artifactId>slf4j-simple</artifactId>
1097 Unit tests can use JUnit + Mockito + Hamcrest by default.
1100 <groupId>junit</groupId>
1101 <artifactId>junit</artifactId>
1105 <groupId>org.mockito</groupId>
1106 <artifactId>mockito-core</artifactId>
1114 <!-- Official maven plugins, alpha-sorted by artifactId.
1115 We do not need to specify the groupId. -->
1117 <artifactId>maven-antrun-plugin</artifactId>
1118 <version>1.8</version>
1121 <artifactId>maven-checkstyle-plugin</artifactId>
1122 <version>3.0.0</version>
1125 <groupId>com.puppycrawl.tools</groupId>
1126 <artifactId>checkstyle</artifactId>
1127 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1128 <version>8.12</version>
1131 <groupId>org.opendaylight.odlparent</groupId>
1132 <artifactId>checkstyle</artifactId>
1133 <version>4.0.0-SNAPSHOT</version>
1136 <groupId>org.opendaylight.odlparent</groupId>
1137 <artifactId>odl-license</artifactId>
1138 <version>4.0.0-SNAPSHOT</version>
1141 <groupId>com.github.sevntu-checkstyle</groupId>
1142 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1143 <version>1.32.0</version>
1147 <configLocation>odl_checks.xml</configLocation>
1148 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1149 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1150 generated sources directory -->
1152 <directory>${project.build.sourceDirectory}</directory>
1153 </sourceDirectories>
1154 <includeResources>true</includeResources>
1155 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1156 <includeTestResources>true</includeTestResources>
1157 <includes>**\/*.java, **\/*.xtend</includes>
1159 org/opendaylight/yang/gen/**,
1160 **/protobuff/messages/**,
1161 **/thrift/gen/*.java
1163 <failsOnError>false</failsOnError>
1164 <consoleOutput>true</consoleOutput>
1168 <id>check-license</id>
1172 <phase>process-sources</phase>
1174 <configLocation>check-license.xml</configLocation>
1175 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1176 <includeResources>false</includeResources>
1177 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1178 <includeTestResources>false</includeTestResources>
1180 <directory>${project.build.sourceDirectory}</directory>
1181 </sourceDirectories>
1183 org/opendaylight/yang/gen/**,
1184 **/protobuff/messages/**,
1185 **/thrift/gen/*.java
1187 <failsOnError>false</failsOnError>
1188 <consoleOutput>true</consoleOutput>
1195 <phase>process-sources</phase>
1200 <groupId>org.apache.maven.plugins</groupId>
1201 <artifactId>maven-pmd-plugin</artifactId>
1202 <version>3.10.0</version>
1206 <phase>process-sources</phase>
1208 <goal>cpd-check</goal>
1211 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1212 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1213 <minimumTokens>101</minimumTokens>
1214 <printFailingErrors>true</printFailingErrors>
1216 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1217 not understand path prefixes nor wildcards. Details are available
1218 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1219 Hence people introducing new generated sources have to include
1222 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1223 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1225 <linkXRef>false</linkXRef>
1231 <artifactId>maven-compiler-plugin</artifactId>
1232 <version>3.7.0</version>
1234 <source>1.8</source>
1235 <target>1.8</target>
1236 <showWarnings>true</showWarnings>
1238 <arg>-parameters</arg>
1239 <arg>-Xlint:deprecation</arg>
1244 <artifactId>maven-enforcer-plugin</artifactId>
1245 <version>${enforcer.version}</version>
1248 <artifactId>maven-failsafe-plugin</artifactId>
1249 <version>2.20.1</version>
1252 <artifactId>maven-invoker-plugin</artifactId>
1253 <version>2.0.0</version>
1256 <artifactId>maven-jar-plugin</artifactId>
1257 <version>3.0.2</version>
1260 <artifactId>maven-dependency-plugin</artifactId>
1263 <id>unpack-license</id>
1264 <phase>generate-resources</phase>
1265 <goals><goal>unpack</goal></goals>
1269 <groupId>org.opendaylight.odlparent</groupId>
1270 <artifactId>odl-license</artifactId>
1271 <version>4.0.0-SNAPSHOT</version>
1274 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1275 <excludes>META-INF/**</excludes>
1282 <artifactId>maven-plugin-plugin</artifactId>
1283 <version>3.5</version>
1287 <artifactId>maven-remote-resources-plugin</artifactId>
1288 <version>1.5</version>
1291 <artifactId>maven-resources-plugin</artifactId>
1292 <version>3.0.1</version>
1295 <artifactId>maven-shade-plugin</artifactId>
1296 <version>3.1.0</version>
1299 <artifactId>maven-source-plugin</artifactId>
1300 <version>3.0.1</version>
1303 <id>attach-sources</id>
1304 <phase>verify</phase>
1306 <goal>jar-no-fork</goal>
1312 <artifactId>maven-surefire-plugin</artifactId>
1313 <version>2.18.1</version>
1315 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1316 <trimStackTrace>false</trimStackTrace>
1320 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1322 <!-- Support Blueprint XML construction using annotations -->
1323 <groupId>org.apache.aries.blueprint</groupId>
1324 <artifactId>blueprint-maven-plugin</artifactId>
1325 <version>1.10.0</version>
1328 <scanPath>org.opendaylight</scanPath>
1330 <generatedDir>org/opendaylight/blueprint/</generatedDir>
1335 <goal>blueprint-generate</goal>
1342 <groupId>org.apache.felix</groupId>
1343 <artifactId>maven-bundle-plugin</artifactId>
1344 <version>3.5.0</version>
1345 <extensions>true</extensions>
1348 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1349 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1350 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1351 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1357 <groupId>org.apache.karaf.tooling</groupId>
1358 <artifactId>karaf-maven-plugin</artifactId>
1359 <version>${karaf.version}</version>
1363 <groupId>org.apache.servicemix.tooling</groupId>
1364 <artifactId>depends-maven-plugin</artifactId>
1365 <version>1.4.0</version>
1368 <id>generate-depends-file</id>
1370 <goal>generate-depends-file</goal>
1377 <groupId>org.codehaus.enunciate</groupId>
1378 <artifactId>maven-enunciate-plugin</artifactId>
1379 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1380 <version>1.31</version>
1383 <groupId>org.codehaus.groovy.maven</groupId>
1384 <artifactId>gmaven-plugin</artifactId>
1385 <version>1.0</version>
1388 <groupId>org.codehaus.mojo</groupId>
1389 <artifactId>build-helper-maven-plugin</artifactId>
1390 <version>3.0.0</version>
1393 <groupId>org.codehaus.mojo</groupId>
1394 <artifactId>findbugs-maven-plugin</artifactId>
1395 <version>3.0.5</version>
1398 <groupId>org.opendaylight.odlparent</groupId>
1399 <artifactId>findbugs</artifactId>
1400 <version>4.0.0-SNAPSHOT</version>
1406 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1407 <artifactId>bug-pattern</artifactId>
1408 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1409 but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1410 <version>1.4.0</version>
1414 Enables analysis which takes more memory but finds more bugs.
1415 If you run out of memory, changes the value of the effort element
1418 <effort>Max</effort>
1419 <!-- Reports all bugs (other values are medium and max) -->
1420 <threshold>Low</threshold>
1421 <!-- Build doesn't fail if problems are found -->
1422 <failOnError>false</failOnError>
1423 <!-- References the excluded rules -->
1424 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1425 <!-- Produces XML report -->
1426 <xmlOutput>true</xmlOutput>
1427 <!-- Configures the directory in which the XML report is created -->
1428 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1432 Ensures that FindBugs inspects source code when project is compiled.
1435 <id>analyze-compile</id>
1436 <phase>compile</phase>
1444 <groupId>com.github.spotbugs</groupId>
1445 <artifactId>spotbugs-maven-plugin</artifactId>
1446 <version>3.1.6</version>
1449 <groupId>com.github.spotbugs</groupId>
1450 <artifactId>spotbugs</artifactId>
1451 <version>3.1.6</version>
1454 <groupId>org.opendaylight.odlparent</groupId>
1455 <artifactId>spotbugs</artifactId>
1456 <version>4.0.0-SNAPSHOT</version>
1462 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1463 <artifactId>bug-pattern</artifactId>
1464 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1465 <version>1.4.1</version>
1469 Enables analysis which takes more memory but finds more bugs.
1470 If you run out of memory, changes the value of the effort element
1473 <effort>Max</effort>
1474 <!-- Reports all bugs (other values are medium and max) -->
1475 <threshold>Low</threshold>
1476 <!-- Build doesn't fail if problems are found -->
1477 <failOnError>false</failOnError>
1478 <!-- References the excluded rules -->
1479 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1480 <!-- Produces XML report -->
1481 <xmlOutput>true</xmlOutput>
1482 <!-- Configures the directory in which the XML report is created -->
1483 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1487 Ensures that SpotBugs inspects source code when project is compiled.
1490 <id>analyze-compile</id>
1491 <phase>compile</phase>
1499 <groupId>org.codehaus.mojo</groupId>
1500 <artifactId>properties-maven-plugin</artifactId>
1501 <version>1.0.0</version>
1504 <groupId>org.eclipse.xtend</groupId>
1505 <artifactId>xtend-maven-plugin</artifactId>
1506 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1507 <version>2.14.0</version>
1511 <goal>compile</goal>
1512 <goal>testCompile</goal>
1515 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1516 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1521 <!-- This is needed because upstream got broken by their inconsistency: pulling in old core,
1522 but using ranges for other components. No wonder it blew up. -->
1525 <groupId>org.eclipse.platform</groupId>
1526 <artifactId>org.eclipse.equinox.common</artifactId>
1527 <version>3.10.0</version>
1532 <groupId>org.eclipse.m2e</groupId>
1533 <artifactId>lifecycle-mapping</artifactId>
1534 <version>1.0.0</version>
1536 <lifecycleMappingMetadata>
1539 <pluginExecutionFilter>
1540 <groupId>org.apache.felix</groupId>
1541 <artifactId>maven-bundle-plugin</artifactId>
1542 <versionRange>[1.0,)</versionRange>
1544 <goal>manifest</goal>
1546 </pluginExecutionFilter>
1552 <pluginExecutionFilter>
1553 <groupId>org.apache.maven.plugins</groupId>
1554 <artifactId>maven-enforcer-plugin</artifactId>
1555 <versionRange>[1.0.0,)</versionRange>
1557 <goal>enforce</goal>
1559 </pluginExecutionFilter>
1565 <pluginExecutionFilter>
1566 <groupId>org.apache.maven.plugins</groupId>
1567 <artifactId>maven-dependency-plugin</artifactId>
1568 <versionRange>[2.10,)</versionRange>
1572 </pluginExecutionFilter>
1578 <pluginExecutionFilter>
1579 <groupId>org.apache.maven.plugins</groupId>
1580 <artifactId>maven-pmd-plugin</artifactId>
1581 <versionRange>[3.6,)</versionRange>
1583 <goal>cpd-check</goal>
1585 </pluginExecutionFilter>
1590 <!-- The plugin will eventually be removed, remove this too at that point -->
1592 <pluginExecutionFilter>
1593 <groupId>org.apache.maven.plugins</groupId>
1594 <artifactId>maven-antrun-plugin</artifactId>
1595 <versionRange>[1.8,)</versionRange>
1599 </pluginExecutionFilter>
1605 <pluginExecutionFilter>
1606 <groupId>org.apache.servicemix.tooling</groupId>
1607 <artifactId>depends-maven-plugin</artifactId>
1608 <versionRange>[1.2,)</versionRange>
1610 <goal>generate-depends-file</goal>
1612 </pluginExecutionFilter>
1618 <pluginExecutionFilter>
1619 <groupId>org.jacoco</groupId>
1620 <artifactId>jacoco-maven-plugin</artifactId>
1621 <versionRange>[0.7.0,)</versionRange>
1623 <goal>prepare-agent</goal>
1626 </pluginExecutionFilter>
1633 <pluginExecutionFilter>
1634 <groupId>org.ops4j.pax.exam</groupId>
1635 <artifactId>maven-paxexam-plugin</artifactId>
1636 <versionRange>[1.2.4,)</versionRange>
1638 <goal>generate-depends-file</goal>
1640 </pluginExecutionFilter>
1647 <pluginExecutionFilter>
1648 <groupId>org.basepom.maven</groupId>
1650 duplicate-finder-maven-plugin
1652 <versionRange>[1.2.1,)</versionRange>
1656 </pluginExecutionFilter>
1662 </lifecycleMappingMetadata>
1667 <groupId>org.jacoco</groupId>
1668 <artifactId>jacoco-maven-plugin</artifactId>
1669 <version>${jacoco.version}</version>
1671 <!-- Note: This exclusion list should match <sonar.exclusions>
1674 <exclude>**/gen/**</exclude>
1675 <exclude>**/generated-sources/**</exclude>
1676 <exclude>**/generated-test-sources/**</exclude>
1677 <exclude>**/yang-gen/**</exclude>
1678 <exclude>**/yang-gen-config/**</exclude>
1679 <exclude>**/yang-gen-sal/**</exclude>
1680 <exclude>**/yang-gen-code/**</exclude>
1681 <exclude>**/pax/**</exclude>
1687 <groupId>org.ops4j.pax.exam</groupId>
1688 <artifactId>maven-paxexam-plugin</artifactId>
1689 <version>1.2.4</version>
1693 <groupId>org.codehaus.mojo</groupId>
1694 <artifactId>jdepend-maven-plugin</artifactId>
1695 <version>2.0</version>
1700 <goal>generate-no-fork</goal>
1706 <!-- When updating this version, consider antl4-runtime above -->
1708 <groupId>org.antlr</groupId>
1709 <artifactId>antlr4-maven-plugin</artifactId>
1710 <version>4.7.1</version>
1717 <artifactId>maven-enforcer-plugin</artifactId>
1720 <id>enforce-banned-dependencies</id>
1722 <goal>enforce</goal>
1726 <bannedDependencies>
1727 <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>
1729 <exclude>org.mockito:mockito-all</exclude>
1730 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1731 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1732 <!-- as a dependency then clashes with the dependency checker (because it -->
1733 <!-- is not very good at handling annotations). Use the annotations jar -->
1734 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1736 <exclude>com.google.code.findbugs:jsr305</exclude>
1737 <exclude>net.jcip:jcip-annotations</exclude>
1739 </bannedDependencies>
1747 <groupId>org.basepom.maven</groupId>
1748 <artifactId>duplicate-finder-maven-plugin</artifactId>
1749 <version>1.3.0</version>
1752 <id>find-duplicate-classpath-entries</id>
1753 <phase>verify</phase>
1760 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1761 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1762 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1763 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1764 <printEqualFiles>false</printEqualFiles>
1766 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1767 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1768 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1770 <ignoredResourcePatterns>
1771 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1772 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1773 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1774 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1775 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1776 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1777 </ignoredResourcePatterns>
1778 <ignoredDependencies>
1780 <groupId>org.slf4j</groupId>
1781 <artifactId>slf4j-simple</artifactId>
1782 </ignoredDependency>
1784 <groupId>org.opendaylight.odlparent</groupId>
1785 <artifactId>opendaylight-karaf-empty</artifactId>
1786 </ignoredDependency>
1787 </ignoredDependencies>
1791 <artifactId>maven-dependency-plugin</artifactId>
1794 <artifactId>maven-checkstyle-plugin</artifactId>
1797 <artifactId>maven-pmd-plugin</artifactId>
1800 <artifactId>maven-source-plugin</artifactId>
1803 <artifactId>maven-javadoc-plugin</artifactId>
1806 <!-- Jacoco / Sonar -->
1808 <groupId>org.jacoco</groupId>
1809 <artifactId>jacoco-maven-plugin</artifactId>
1812 <id>pre-unit-test</id>
1814 <goal>prepare-agent</goal>
1817 <destFile>${sonar.jacoco.reportPath}</destFile>
1821 <id>post-unit-test</id>
1826 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1833 <groupId>com.alexecollins.maven.plugin</groupId>
1834 <artifactId>script-maven-plugin</artifactId>
1835 <version>1.0.0</version>
1838 <phase>prepare-package</phase>
1840 <goal>execute</goal>
1844 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1845 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1846 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1847 // static class methods only - it will be MUCH easier to write!)
1848 void copy(File root, String glob, File target) {
1849 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1850 Iterator dirStreamIterator = dirStream.iterator();
1851 while (dirStreamIterator.hasNext()) {
1852 java.nio.file.Path path = dirStreamIterator.next();
1853 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1854 new java.nio.file.CopyOption[] {
1855 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1856 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1863 File gitRepoRootDir = project.basedir;
1864 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1865 gitRepoRootDir = gitRepoRootDir.getParentFile();
1868 File target = new File(project.build.outputDirectory);
1870 copy(gitRepoRootDir, "README*", target);
1871 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1872 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1879 <groupId>org.apache-extras.beanshell</groupId>
1880 <artifactId>bsh</artifactId>
1881 <version>2.0b6</version>
1891 <artifactId>maven-checkstyle-plugin</artifactId>
1892 <version>3.0.0</version>
1895 <!-- FIXME: activate this
1897 <artifactId>maven-project-info-reports-plugin</artifactId>
1898 <version>${projectinfo}</version>
1901 <groupId>org.codehaus.mojo</groupId>
1902 <artifactId>jdepend-maven-plugin</artifactId>
1906 <report>generate-no-fork</report>
1916 <!-- On JDK9-and-later findbugs fails -->
1917 <id>jdk9-findbugs</id>
1925 <groupId>org.codehaus.mojo</groupId>
1926 <artifactId>findbugs-maven-plugin</artifactId>
1927 <configuration combine.children="append">