1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>odlparent-lite</artifactId>
16 <version>6.0.0-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
31 <!-- Variables should only be used where genuinely useful (to avoid
32 repetition); in general versions should be specified in the
33 corresponding dependencyManagement or pluginManagement element, not as
34 a variable. Duplication within odlparent doesn't count if it can be
35 managed using maven-versions-plugin. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <!-- Java Versions -->
44 <maven.compiler.release>11</maven.compiler.release>
46 <!-- Used in openflowplugin -->
47 <enforcer.version>3.0.0-M2</enforcer.version>
48 <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
49 <karaf.version>4.2.2</karaf.version>
50 <!-- Used in bgpcep, lispflowmapping -->
51 <projectinfo>2.8.1</projectinfo>
53 <!-- Supporting Libraries -->
54 <!-- Only used internally -->
55 <bouncycastle.version>1.62</bouncycastle.version>
57 <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
58 to allow projects to report Sonar values from the entire project. -->
59 <jacoco.destFile>${project.build.directory}/code-coverage/jacoco.exec</jacoco.destFile>
61 <!-- Default Sonar configuration -->
62 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
63 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
64 <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
65 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
67 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
68 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
70 <!-- Opt-in code quality checks -->
71 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
72 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
74 <!-- Redirect test output to files (overridable) -->
75 <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
77 <!-- Opt-out from maven-checkstyle-plugin failing the build on violations. Defaults
78 to true. Set to 'false' in pom.xml of project which desires to not enforce
79 no reported violations. -->
80 <odlparent.checkstyle.enforce>true</odlparent.checkstyle.enforce>
82 <!-- Opt-in into modernizer-maven-plugin failing the build on violations. Defaults
83 to false. Set to 'true' in pom.xml of project which desires to enforce
84 no reported violations. -->
85 <odlparent.modernizer.enforce>false</odlparent.modernizer.enforce>
87 <!-- Target release for modernizer-maven-plugin. It defaults to '1.8',
88 meaning Java 8, but can be set to any version in pom.xml of project
89 which desires to override it (such as '1.11' for Java 11). -->
90 <odlparent.modernizer.target>1.8</odlparent.modernizer.target>
92 <!-- Opt-out from spotbugs-maven-plugin failing the build on violations. Defaults
93 to true. Set to 'false' in pom.xml of project which desires to not enforce
94 no reported violations. -->
95 <odlparent.spotbugs.enforce>true</odlparent.spotbugs.enforce>
98 <dependencyManagement>
102 <groupId>org.opendaylight.odlparent</groupId>
103 <artifactId>odlparent-artifacts</artifactId>
104 <version>6.0.0-SNAPSHOT</version>
105 <scope>import</scope>
109 <!-- We import Karaf dependencies to ensure we converge by default on the versions used there -->
111 <groupId>org.apache.karaf.features</groupId>
112 <artifactId>framework</artifactId>
113 <version>${karaf.version}</version>
114 <scope>import</scope>
118 <!-- Build tool dependencies (normally not here in <dependencies>,
119 but in a <dependency> in <pluginManagement> but for Checkstyle this
120 is required so that we can share the same version of Checkstyle
121 for both the Maven plugin below as well as for custom Checkstyle
122 check rule projects, such as yangtools' checkstyle-logging) -->
124 <groupId>com.puppycrawl.tools</groupId>
125 <artifactId>checkstyle</artifactId>
126 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
127 <version>8.20</version>
130 <!-- Testing Dependencies -->
131 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
132 <!-- Need to stick to JUnit 4.11 until
133 https://github.com/jayway/powermock/issues/560 is fixed (either in
134 PowerMock or with a new JUnit release) -->
136 <groupId>junit</groupId>
137 <artifactId>junit</artifactId>
138 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
139 <version>4.11</version>
143 <groupId>org.skyscreamer</groupId>
144 <artifactId>jsonassert</artifactId>
145 <version>1.5.0</version>
149 <groupId>org.mockito</groupId>
150 <artifactId>mockito-core</artifactId>
151 <version>2.25.1</version>
155 <groupId>org.mockito</groupId>
156 <artifactId>mockito-inline</artifactId>
157 <version>2.25.1</version>
161 <groupId>org.hamcrest</groupId>
162 <artifactId>hamcrest</artifactId>
163 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
164 <version>2.1</version>
168 <groupId>org.hamcrest</groupId>
169 <artifactId>hamcrest-core</artifactId>
170 <version>2.1</version>
174 <groupId>org.hamcrest</groupId>
175 <artifactId>hamcrest-library</artifactId>
176 <version>2.1</version>
180 <groupId>com.google.truth</groupId>
181 <artifactId>truth</artifactId>
182 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
183 <version>0.43</version>
187 <groupId>com.google.truth.extensions</groupId>
188 <artifactId>truth-java8-extension</artifactId>
189 <version>0.43</version>
193 <groupId>org.awaitility</groupId>
194 <artifactId>awaitility</artifactId>
195 <version>3.0.0</version>
199 <groupId>org.awaitility</groupId>
200 <artifactId>awaitility-proxy</artifactId>
201 <version>3.0.0</version>
205 <groupId>org.powermock</groupId>
206 <artifactId>powermock-api-mockito2</artifactId>
207 <version>2.0.2</version>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-api-support</artifactId>
213 <version>2.0.2</version>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-core</artifactId>
219 <version>2.0.2</version>
223 <groupId>org.powermock</groupId>
224 <artifactId>powermock-module-junit4</artifactId>
225 <version>2.0.2</version>
229 <groupId>org.powermock</groupId>
230 <artifactId>powermock-reflect</artifactId>
231 <version>2.0.2</version>
236 Annotation Processors
239 <!-- Generates immutable implementations, builders, the works -->
240 <groupId>org.immutables</groupId>
241 <artifactId>value</artifactId>
242 <version>2.7.5</version>
243 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
244 <scope>provided</scope>
247 <!-- Generates META-INF/services entries for ServiceLoader -->
248 <groupId>org.kohsuke.metainf-services</groupId>
249 <artifactId>metainf-services</artifactId>
250 <version>1.8</version>
251 <optional>true</optional>
252 <scope>provided</scope>
259 <groupId>org.slf4j</groupId>
260 <artifactId>jcl-over-slf4j</artifactId>
261 <version>1.7.28</version>
264 <groupId>org.slf4j</groupId>
265 <artifactId>slf4j-api</artifactId>
266 <version>1.7.28</version>
269 <groupId>org.slf4j</groupId>
270 <artifactId>slf4j-log4j12</artifactId>
271 <version>1.7.28</version>
274 <groupId>org.slf4j</groupId>
275 <artifactId>log4j-over-slf4j</artifactId>
276 <version>1.7.28</version>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-simple</artifactId>
281 <version>1.7.28</version>
285 <groupId>ch.qos.logback</groupId>
286 <artifactId>logback-core</artifactId>
287 <version>1.2.3</version>
290 <groupId>ch.qos.logback</groupId>
291 <artifactId>logback-classic</artifactId>
292 <version>1.2.3</version>
297 <groupId>org.apache.logging.log4j</groupId>
298 <artifactId>log4j-bom</artifactId>
299 <version>2.11.2</version>
300 <scope>import</scope>
305 <groupId>com.google.guava</groupId>
306 <artifactId>guava</artifactId>
307 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
308 <version>27.1-jre</version>
311 <!-- Do not leak JSR305 onto the classpath by default -->
312 <groupId>com.google.code.findbugs</groupId>
313 <artifactId>jsr305</artifactId>
318 <groupId>com.google.guava</groupId>
319 <artifactId>guava-testlib</artifactId>
320 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
321 <version>27.1-jre</version>
325 <!-- Do not leak JSR305 onto the classpath by default -->
326 <groupId>com.google.code.findbugs</groupId>
327 <artifactId>jsr305</artifactId>
332 <!-- Caffeine plus bridges to Guava and JCache -->
334 <groupId>com.github.ben-manes.caffeine</groupId>
335 <artifactId>caffeine</artifactId>
336 <version>2.7.0</version>
339 <groupId>com.github.ben-manes.caffeine</groupId>
340 <artifactId>guava</artifactId>
341 <version>2.7.0</version>
345 <groupId>com.mycila.guice.extensions</groupId>
346 <artifactId>mycila-guice-jsr250</artifactId>
347 <!-- Make sure this version is in sync with the guice one below -->
348 <version>4.0.rc1</version>
351 <groupId>com.google.inject</groupId>
352 <artifactId>guice</artifactId>
353 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
354 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
355 <version>4.1.0</version>
358 <groupId>commons-beanutils</groupId>
359 <artifactId>commons-beanutils</artifactId>
360 <version>1.9.4</version>
363 <groupId>org.apache.commons</groupId>
364 <artifactId>commons-lang3</artifactId>
365 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
366 <version>3.9</version>
369 <groupId>org.apache.commons</groupId>
370 <artifactId>commons-text</artifactId>
371 <version>1.8</version>
374 <groupId>commons-lang</groupId>
375 <artifactId>commons-lang</artifactId>
376 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
377 <version>2.6</version>
380 <groupId>commons-codec</groupId>
381 <artifactId>commons-codec</artifactId>
382 <version>1.13</version>
384 <!-- Jersey for JAXRS -->
386 <groupId>javax.ws.rs</groupId>
387 <artifactId>javax.ws.rs-api</artifactId>
388 <version>2.0.1</version>
391 <groupId>org.glassfish.jersey</groupId>
392 <artifactId>jersey-bom</artifactId>
393 <version>2.25.1</version>
395 <scope>import</scope>
398 <groupId>org.glassfish</groupId>
399 <artifactId>javax.json</artifactId>
400 <version>1.1.2</version>
404 <groupId>org.checkerframework</groupId>
405 <artifactId>checker-qual</artifactId>
406 <version>2.5.8</version>
409 <groupId>com.google.errorprone</groupId>
410 <artifactId>error_prone_annotations</artifactId>
411 <version>2.3.3</version>
415 <groupId>javax.activation</groupId>
416 <artifactId>activation</artifactId>
417 <version>1.1.1</version>
420 <groupId>javax.annotation</groupId>
421 <artifactId>javax.annotation-api</artifactId>
422 <version>1.2</version>
423 <optional>true</optional>
426 <groupId>xml-apis</groupId>
427 <artifactId>xml-apis</artifactId>
428 <version>1.4.01</version>
432 <groupId>org.apache.shiro</groupId>
433 <artifactId>shiro-core</artifactId>
434 <version>1.3.2</version>
437 <groupId>org.apache.shiro</groupId>
438 <artifactId>shiro-web</artifactId>
439 <version>1.3.2</version>
442 <!-- Plugin integration -->
444 <groupId>net.java.dev.stax-utils</groupId>
445 <artifactId>stax-utils</artifactId>
446 <version>20070216</version>
449 <groupId>org.sonatype.plexus</groupId>
450 <artifactId>plexus-build-api</artifactId>
451 <version>0.0.7</version>
454 <groupId>org.codehaus.plexus</groupId>
455 <artifactId>plexus-slf4j-logging</artifactId>
456 <version>1.1</version>
459 <!-- These three need to be consistent:
460 jackson-2.9 needs woodstox-5.0.x
461 woodstox-5.0 needs stax2-api-3.1.x
464 <groupId>org.codehaus.woodstox</groupId>
465 <artifactId>stax2-api</artifactId>
466 <version>3.1.4</version>
469 <groupId>com.fasterxml.woodstox</groupId>
470 <artifactId>woodstox-core</artifactId>
471 <version>5.0.3</version>
474 <groupId>com.fasterxml.jackson</groupId>
475 <artifactId>jackson-bom</artifactId>
476 <version>2.9.9.20190807</version>
477 <scope>import</scope>
482 <groupId>com.github.spotbugs</groupId>
483 <artifactId>spotbugs-annotations</artifactId>
484 <version>3.1.12</version>
485 <scope>provided</scope>
486 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
487 <optional>true</optional>
490 <groupId>com.google.code.findbugs</groupId>
491 <artifactId>jsr305</artifactId>
497 <groupId>org.eclipse.jdt</groupId>
498 <artifactId>org.eclipse.jdt.annotation</artifactId>
499 <version>2.2.100</version>
500 <scope>provided</scope>
503 <groupId>com.google.code.gson</groupId>
504 <artifactId>gson</artifactId>
505 <version>2.8.5</version>
508 <groupId>commons-fileupload</groupId>
509 <artifactId>commons-fileupload</artifactId>
510 <version>1.4</version>
513 <groupId>commons-io</groupId>
514 <artifactId>commons-io</artifactId>
515 <version>2.6</version>
518 <groupId>commons-net</groupId>
519 <artifactId>commons-net</artifactId>
520 <version>3.6</version>
525 <groupId>io.netty</groupId>
526 <artifactId>netty-all</artifactId>
527 <!-- If these are updated, the version in features.xml needs to be changed too -->
528 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
529 <version>4.1.39.Final</version>
532 <groupId>io.netty</groupId>
533 <artifactId>netty-buffer</artifactId>
534 <version>4.1.39.Final</version>
537 <groupId>io.netty</groupId>
538 <artifactId>netty-codec</artifactId>
539 <version>4.1.39.Final</version>
542 <groupId>io.netty</groupId>
543 <artifactId>netty-codec-http</artifactId>
544 <version>4.1.39.Final</version>
547 <groupId>io.netty</groupId>
548 <artifactId>netty-common</artifactId>
549 <version>4.1.39.Final</version>
552 <groupId>io.netty</groupId>
553 <artifactId>netty-handler</artifactId>
554 <version>4.1.39.Final</version>
557 <groupId>io.netty</groupId>
558 <artifactId>netty-transport</artifactId>
559 <version>4.1.39.Final</version>
561 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
562 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
564 <groupId>io.netty</groupId>
565 <artifactId>netty-transport-native-epoll</artifactId>
566 <classifier>linux-x86_64</classifier>
567 <version>4.1.39.Final</version>
570 <groupId>javax.ws.rs</groupId>
571 <artifactId>jsr311-api</artifactId>
572 <version>1.1.1</version>
575 <groupId>javax.servlet</groupId>
576 <artifactId>javax.servlet-api</artifactId>
577 <version>3.1.0</version>
580 <groupId>org.apache.felix</groupId>
581 <artifactId>org.apache.felix.dependencymanager</artifactId>
582 <version>4.4.1</version>
585 <groupId>org.apache.felix</groupId>
586 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
587 <version>4.0.6</version>
590 <groupId>org.apache.felix</groupId>
591 <artifactId>org.apache.felix.metatype</artifactId>
592 <version>1.2.2</version>
595 <groupId>org.bouncycastle</groupId>
596 <artifactId>bcpkix-jdk15on</artifactId>
597 <version>${bouncycastle.version}</version>
600 <groupId>org.bouncycastle</groupId>
601 <artifactId>bcprov-jdk15on</artifactId>
602 <version>${bouncycastle.version}</version>
605 <groupId>org.bouncycastle</groupId>
606 <artifactId>bcprov-ext-jdk15on</artifactId>
607 <version>${bouncycastle.version}</version>
611 <groupId>com.webcohesion.enunciate</groupId>
612 <artifactId>enunciate-core-annotations</artifactId>
613 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
614 <version>2.11.1</version>
618 <groupId>org.codehaus.jettison</groupId>
619 <artifactId>jettison</artifactId>
620 <version>1.4.0</version>
622 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
623 pull in javax.validation first:
624 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
626 <groupId>org.eclipse.persistence</groupId>
627 <artifactId>org.eclipse.persistence.antlr</artifactId>
628 <version>2.7.3</version>
631 <groupId>org.eclipse.persistence</groupId>
632 <artifactId>org.eclipse.persistence.core</artifactId>
633 <version>2.7.3</version>
636 <groupId>org.eclipse.persistence</groupId>
637 <artifactId>org.eclipse.persistence.moxy</artifactId>
638 <version>2.7.3</version>
641 <groupId>javax.validation</groupId>
642 <artifactId>validation-api</artifactId>
643 <version>1.1.0.Final</version>
646 <groupId>org.javassist</groupId>
647 <artifactId>javassist</artifactId>
648 <version>3.24.1-GA</version>
651 <groupId>org.jboss.spec.javax.transaction</groupId>
652 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
653 <version>1.0.1.Final</version>
656 <groupId>org.jolokia</groupId>
657 <artifactId>jolokia-osgi</artifactId>
658 <version>1.6.2</version>
661 <groupId>org.osgi</groupId>
662 <artifactId>osgi.cmpn</artifactId>
663 <version>6.0.0</version>
664 <scope>provided</scope>
667 <groupId>org.osgi</groupId>
668 <artifactId>org.osgi.core</artifactId>
669 <version>6.0.0</version>
670 <scope>provided</scope>
673 <groupId>org.osgi</groupId>
674 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
675 <artifactId>org.osgi.service.event</artifactId>
676 <version>1.3.1</version>
679 <groupId>org.apache.aries.quiesce</groupId>
680 <artifactId>org.apache.aries.quiesce.api</artifactId>
681 <version>1.0.0</version>
684 <groupId>org.ow2.asm</groupId>
685 <artifactId>asm</artifactId>
686 <version>7.0</version>
689 <!-- Configuration library -->
690 <!-- This needs to be kept in sync with the version used by akka -->
692 <groupId>com.typesafe</groupId>
693 <artifactId>config</artifactId>
694 <version>1.3.3</version>
697 <!-- Reactive Streams, used by Akka -->
699 <groupId>org.reactivestreams</groupId>
700 <artifactId>reactive-streams</artifactId>
701 <version>1.0.2</version>
706 <groupId>com.typesafe</groupId>
707 <artifactId>ssl-config-core_2.12</artifactId>
708 <version>0.3.8</version>
711 <groupId>com.typesafe.akka</groupId>
712 <artifactId>akka-actor_2.12</artifactId>
713 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
714 <version>2.5.25</version>
717 <groupId>com.typesafe.akka</groupId>
718 <artifactId>akka-cluster_2.12</artifactId>
719 <version>2.5.25</version>
722 <groupId>com.typesafe.akka</groupId>
723 <artifactId>akka-osgi_2.12</artifactId>
724 <version>2.5.25</version>
727 <groupId>com.typesafe.akka</groupId>
728 <artifactId>akka-persistence_2.12</artifactId>
729 <version>2.5.25</version>
732 <groupId>com.typesafe.akka</groupId>
733 <artifactId>akka-persistence-tck_2.12</artifactId>
734 <version>2.5.25</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-protobuf_2.12</artifactId>
740 <version>2.5.25</version>
743 <groupId>com.typesafe.akka</groupId>
744 <artifactId>akka-remote_2.12</artifactId>
745 <version>2.5.25</version>
748 <groupId>com.typesafe.akka</groupId>
749 <artifactId>akka-slf4j_2.12</artifactId>
750 <version>2.5.25</version>
753 <groupId>com.typesafe.akka</groupId>
754 <artifactId>akka-stream_2.12</artifactId>
755 <version>2.5.25</version>
758 <groupId>com.typesafe.akka</groupId>
759 <artifactId>akka-testkit_2.12</artifactId>
760 <version>2.5.25</version>
764 <groupId>org.scala-lang.modules</groupId>
765 <artifactId>scala-java8-compat_2.12</artifactId>
766 <version>0.8.0</version>
769 <groupId>org.scala-lang.modules</groupId>
770 <artifactId>scala-parser-combinators_2.12</artifactId>
771 <version>1.1.2</version>
774 <groupId>org.uncommons.maths</groupId>
775 <artifactId>uncommons-maths</artifactId>
776 <version>1.2.2a</version>
779 <!-- Aeron, required by Akka -->
781 <groupId>org.agrona</groupId>
782 <artifactId>agrona</artifactId>
783 <version>0.9.33</version>
786 <groupId>io.aeron</groupId>
787 <artifactId>aeron-client</artifactId>
788 <version>1.15.3</version>
791 <groupId>io.aeron</groupId>
792 <artifactId>aeron-driver</artifactId>
793 <version>1.15.3</version>
798 <groupId>org.scala-lang</groupId>
799 <artifactId>scala-library</artifactId>
800 <version>2.12.10</version>
803 <groupId>org.scala-lang</groupId>
804 <artifactId>scala-reflect</artifactId>
805 <version>2.12.10</version>
808 <!-- LMAX Disruptor -->
810 <groupId>com.lmax</groupId>
811 <artifactId>disruptor</artifactId>
812 <version>3.4.2</version>
815 <!-- Add Pax Exam -->
817 <groupId>org.ops4j.pax.exam</groupId>
818 <artifactId>pax-exam</artifactId>
819 <version>4.13.1</version>
823 <groupId>org.ops4j.pax.exam</groupId>
824 <artifactId>pax-exam-container-forked</artifactId>
825 <version>4.13.1</version>
829 <groupId>org.ops4j.pax.exam</groupId>
830 <artifactId>pax-exam-container-karaf</artifactId>
831 <version>4.13.1</version>
835 <groupId>org.ops4j.pax.exam</groupId>
836 <artifactId>pax-exam-container-native</artifactId>
837 <version>4.13.1</version>
841 <groupId>org.ops4j.pax.exam</groupId>
842 <artifactId>pax-exam-extender-service</artifactId>
843 <version>4.13.1</version>
847 <groupId>org.ops4j.pax.exam</groupId>
848 <artifactId>pax-exam-inject</artifactId>
849 <version>4.13.1</version>
853 <groupId>org.ops4j.pax.exam</groupId>
854 <artifactId>pax-exam-invoker-junit</artifactId>
855 <version>4.13.1</version>
859 <groupId>org.ops4j.pax.exam</groupId>
860 <artifactId>pax-exam-features</artifactId>
861 <version>4.13.1</version>
866 <groupId>org.ops4j.pax.exam</groupId>
867 <artifactId>pax-exam-junit4</artifactId>
868 <version>4.13.1</version>
872 <groupId>org.ops4j.pax.exam</groupId>
873 <artifactId>pax-exam-link-mvn</artifactId>
874 <version>4.13.1</version>
878 <groupId>org.ops4j.pax.exam</groupId>
879 <artifactId>pax-exam-link-assembly</artifactId>
880 <version>4.13.1</version>
885 <groupId>org.ops4j.pax.url</groupId>
886 <artifactId>pax-url-link</artifactId>
887 <version>2.5.4</version>
891 <groupId>org.ops4j.pax.url</groupId>
892 <artifactId>pax-url-aether</artifactId>
893 <version>2.5.4</version>
897 <groupId>org.ops4j.pax.url</groupId>
898 <artifactId>pax-url-wrap</artifactId>
899 <version>2.5.4</version>
903 <groupId>org.ops4j.pax.web</groupId>
904 <artifactId>pax-web-api</artifactId>
905 <!-- Note: keep this version synchronized with karaf -->
906 <version>7.2.5</version>
910 <groupId>org.springframework.osgi</groupId>
911 <artifactId>spring-osgi-mock</artifactId>
912 <version>1.2.1</version>
917 <groupId>org.xmlunit</groupId>
918 <artifactId>xmlunit-core</artifactId>
919 <version>2.6.3</version>
923 <groupId>org.xmlunit</groupId>
924 <artifactId>xmlunit-assertj</artifactId>
925 <version>2.6.3</version>
929 <groupId>org.xmlunit</groupId>
930 <artifactId>xmlunit-matchers</artifactId>
931 <version>2.6.3</version>
934 <!-- FIXME: remove this once we have migrated over -->
936 <groupId>org.xmlunit</groupId>
937 <artifactId>xmlunit-legacy</artifactId>
938 <version>2.6.3</version>
942 <!-- Annotations for modernizer-maven-plugin -->
944 <groupId>org.gaul</groupId>
945 <artifactId>modernizer-maven-annotations</artifactId>
946 <!-- This should match the plugin version below -->
947 <version>1.9.0</version>
948 <scope>provided</scope>
952 <groupId>org.eclipse.jetty</groupId>
953 <artifactId>jetty-bom</artifactId>
954 <version>9.4.12.v20180830</version>
955 <scope>import</scope>
960 <groupId>com.h2database</groupId>
961 <artifactId>h2</artifactId>
962 <version>1.4.199</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.19.0</version>
977 <groupId>org.eclipse.xtend</groupId>
978 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
979 <version>2.19.0</version>
982 <groupId>org.eclipse.xtext</groupId>
983 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
984 <version>2.19.0</version>
989 <groupId>javax.inject</groupId>
990 <artifactId>javax.inject</artifactId>
992 <optional>true</optional>
995 <!-- jung, a graph library -->
997 <groupId>net.sf.jung</groupId>
998 <artifactId>jung-api</artifactId>
999 <version>2.1.1</version>
1002 <groupId>net.sf.jung</groupId>
1003 <artifactId>jung-algorithms</artifactId>
1004 <version>2.1.1</version>
1007 <groupId>net.sf.jung</groupId>
1008 <artifactId>jung-graph-impl</artifactId>
1009 <version>2.1.1</version>
1012 <!-- Karaf console support -->
1014 <groupId>org.apache.karaf.shell</groupId>
1015 <artifactId>org.apache.karaf.shell.core</artifactId>
1016 <version>${karaf.version}</version>
1019 <groupId>org.apache.karaf.shell</groupId>
1020 <artifactId>org.apache.karaf.shell.console</artifactId>
1021 <version>${karaf.version}</version>
1024 <!-- ThreeTen-Extra, date/time complements -->
1026 <groupId>org.threeten</groupId>
1027 <artifactId>threeten-extra</artifactId>
1028 <version>1.5.0</version>
1031 <!-- When updating this version, consider antl4-maven-plugin below -->
1033 <groupId>org.antlr</groupId>
1034 <artifactId>antlr4-runtime</artifactId>
1035 <version>4.7.2</version>
1037 <!-- Aries' Blueprint version should be kept in sync to the version actually
1038 used by our ${karaf[4].version} ... please bump this when increasing that.
1039 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1041 <groupId>org.apache.aries.blueprint</groupId>
1042 <artifactId>org.apache.aries.blueprint.core</artifactId>
1043 <version>1.10.1</version>
1046 <groupId>org.apache.aries.blueprint</groupId>
1047 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1048 <version>1.3.0</version>
1049 <optional>true</optional>
1052 <!-- Apache SSHD with netty -->
1054 <groupId>org.apache.sshd</groupId>
1055 <artifactId>sshd-netty</artifactId>
1056 <version>2.3.0</version>
1059 <!-- We provide sshd-osgi instead -->
1060 <groupId>org.apache.sshd</groupId>
1061 <artifactId>sshd-core</artifactId>
1066 <groupId>org.apache.sshd</groupId>
1067 <artifactId>sshd-osgi</artifactId>
1068 <version>2.3.0</version>
1071 <groupId>net.i2p.crypto</groupId>
1072 <artifactId>eddsa</artifactId>
1073 <version>0.3.0</version>
1076 <!-- TrieMap library -->
1078 <groupId>tech.pantheon.triemap</groupId>
1079 <artifactId>bom</artifactId>
1080 <version>1.0.6</version>
1081 <scope>import</scope>
1085 <!-- Dropwizard metrics -->
1087 <groupId>io.dropwizard.metrics</groupId>
1088 <artifactId>metrics-bom</artifactId>
1089 <version>4.0.5</version>
1090 <scope>import</scope>
1094 <!-- JAXB for Java 11+, match this with Karaf -->
1096 <groupId>javax.xml.bind</groupId>
1097 <artifactId>jaxb-api</artifactId>
1098 <version>2.3.0</version>
1101 <groupId>org.glassfish.jaxb</groupId>
1102 <artifactId>jaxb-runtime</artifactId>
1103 <version>2.3.1</version>
1106 </dependencyManagement>
1110 We expect slf4j-api to be provided by the platform.
1111 Karaf provides it, other containers need to provide it themselves.
1114 <groupId>org.slf4j</groupId>
1115 <artifactId>slf4j-api</artifactId>
1116 <scope>provided</scope>
1120 Enable useful code quality annotations everywhere. Since these annotations
1121 are not required at runtime.
1124 <groupId>org.eclipse.jdt</groupId>
1125 <artifactId>org.eclipse.jdt.annotation</artifactId>
1126 <scope>provided</scope>
1129 <groupId>com.github.spotbugs</groupId>
1130 <artifactId>spotbugs-annotations</artifactId>
1131 <scope>provided</scope>
1132 <optional>true</optional>
1135 <groupId>org.gaul</groupId>
1136 <artifactId>modernizer-maven-annotations</artifactId>
1137 <scope>provided</scope>
1141 Testing output should be routed through slf4j-simple.
1144 <groupId>org.slf4j</groupId>
1145 <artifactId>slf4j-simple</artifactId>
1150 Unit tests can use JUnit + Mockito + Hamcrest by default.
1153 <groupId>org.hamcrest</groupId>
1154 <artifactId>hamcrest</artifactId>
1158 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1159 <groupId>org.hamcrest</groupId>
1160 <artifactId>hamcrest-library</artifactId>
1164 <groupId>junit</groupId>
1165 <artifactId>junit</artifactId>
1169 <groupId>org.mockito</groupId>
1170 <artifactId>mockito-core</artifactId>
1178 <!-- Official maven plugins, alpha-sorted by artifactId.
1179 We do not need to specify the groupId. -->
1181 <artifactId>maven-antrun-plugin</artifactId>
1182 <version>1.8</version>
1185 <artifactId>maven-checkstyle-plugin</artifactId>
1186 <version>3.1.0</version>
1189 <groupId>com.puppycrawl.tools</groupId>
1190 <artifactId>checkstyle</artifactId>
1191 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1192 <version>8.20</version>
1195 <groupId>org.opendaylight.odlparent</groupId>
1196 <artifactId>checkstyle</artifactId>
1197 <version>6.0.0-SNAPSHOT</version>
1200 <groupId>com.github.sevntu-checkstyle</groupId>
1201 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1202 <version>1.35.0</version>
1206 <configLocation>odl_checks.xml</configLocation>
1207 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1208 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1209 generated sources directory -->
1211 <directory>${project.build.sourceDirectory}</directory>
1212 </sourceDirectories>
1213 <includeResources>true</includeResources>
1214 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1215 <includeTestResources>true</includeTestResources>
1216 <includes>**\/*.java, **\/*.xtend</includes>
1218 org/opendaylight/yang/gen/**,
1219 **/protobuff/messages/**,
1220 **/thrift/gen/*.java,
1223 <failsOnError>false</failsOnError>
1224 <consoleOutput>true</consoleOutput>
1228 <id>check-license</id>
1232 <phase>process-sources</phase>
1234 <configLocation>check-license.xml</configLocation>
1235 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1236 <includeResources>false</includeResources>
1237 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1238 <includeTestResources>false</includeTestResources>
1240 <directory>${project.build.sourceDirectory}</directory>
1241 </sourceDirectories>
1243 org/opendaylight/yang/gen/**,
1244 **/protobuff/messages/**,
1245 **/thrift/gen/*.java
1247 <failsOnError>false</failsOnError>
1248 <consoleOutput>true</consoleOutput>
1255 <phase>process-sources</phase>
1257 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1258 <skip>${odlparent.checkstyle.skip}</skip>
1259 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1265 <groupId>org.apache.maven.plugins</groupId>
1266 <artifactId>maven-pmd-plugin</artifactId>
1267 <version>3.12.0</version>
1271 <phase>process-sources</phase>
1273 <goal>cpd-check</goal>
1276 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1277 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1278 <minimumTokens>101</minimumTokens>
1279 <printFailingErrors>true</printFailingErrors>
1281 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1282 not understand path prefixes nor wildcards. Details are available
1283 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1284 Hence people introducing new generated sources have to include
1287 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1288 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1290 <linkXRef>false</linkXRef>
1296 <artifactId>maven-compiler-plugin</artifactId>
1297 <version>3.8.1</version>
1299 <showWarnings>true</showWarnings>
1301 <arg>-parameters</arg>
1302 <arg>-Xlint:deprecation</arg>
1303 <arg>-Xlint:unchecked</arg>
1308 <artifactId>maven-enforcer-plugin</artifactId>
1309 <version>${enforcer.version}</version>
1312 <artifactId>maven-failsafe-plugin</artifactId>
1313 <version>2.22.2</version>
1316 <artifactId>maven-invoker-plugin</artifactId>
1317 <version>3.2.0</version>
1320 <artifactId>maven-jar-plugin</artifactId>
1321 <version>3.1.2</version>
1324 <artifactId>maven-dependency-plugin</artifactId>
1327 <id>unpack-license</id>
1328 <phase>generate-resources</phase>
1335 <groupId>org.opendaylight.odlparent</groupId>
1336 <artifactId>odl-license</artifactId>
1337 <version>6.0.0-SNAPSHOT</version>
1338 <type>license</type>
1339 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1340 <destFileName>LICENSE</destFileName>
1341 <overWrite>false</overWrite>
1344 <silent>true</silent>
1351 <artifactId>maven-plugin-plugin</artifactId>
1352 <version>3.6.0</version>
1356 <artifactId>maven-remote-resources-plugin</artifactId>
1357 <version>1.6.0</version>
1360 <artifactId>maven-resources-plugin</artifactId>
1361 <version>3.1.0</version>
1364 <artifactId>maven-shade-plugin</artifactId>
1365 <version>3.2.1</version>
1368 <artifactId>maven-source-plugin</artifactId>
1369 <version>3.1.0</version>
1372 <id>attach-sources</id>
1373 <phase>verify</phase>
1375 <goal>jar-no-fork</goal>
1381 <artifactId>maven-surefire-plugin</artifactId>
1382 <version>2.22.2</version>
1384 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1385 <trimStackTrace>false</trimStackTrace>
1389 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1391 <!-- Support Blueprint XML construction using annotations -->
1392 <groupId>org.apache.aries.blueprint</groupId>
1393 <artifactId>blueprint-maven-plugin</artifactId>
1394 <version>1.10.0</version>
1395 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1396 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1399 <groupId>org.apache.xbean</groupId>
1400 <artifactId>xbean-finder-shaded</artifactId>
1401 <version>4.14</version>
1406 <scanPath>${project.groupId}</scanPath>
1412 <goal>blueprint-generate</goal>
1419 <groupId>org.apache.felix</groupId>
1420 <artifactId>maven-bundle-plugin</artifactId>
1421 <version>4.2.0</version>
1422 <extensions>true</extensions>
1425 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1426 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1427 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1428 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties,META-INF/services=-${project.build.directory}/classes/META-INF/services</Include-Resource>
1430 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1431 to generate Import-Service and Export-Service headers. -->
1432 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1438 <groupId>org.apache.karaf.tooling</groupId>
1439 <artifactId>karaf-maven-plugin</artifactId>
1440 <version>${karaf.version}</version>
1444 <groupId>org.apache.servicemix.tooling</groupId>
1445 <artifactId>depends-maven-plugin</artifactId>
1446 <version>1.4.0</version>
1449 <id>generate-depends-file</id>
1451 <goal>generate-depends-file</goal>
1458 <groupId>com.webcohesion.enunciate</groupId>
1459 <artifactId>enunciate-maven-plugin</artifactId>
1460 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1461 <version>2.11.1</version>
1465 <groupId>org.gaul</groupId>
1466 <artifactId>modernizer-maven-plugin</artifactId>
1467 <version>1.9.0</version>
1469 <javaVersion>${odlparent.modernizer.target}</javaVersion>
1470 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1471 <skip>${odlparent.modernizer.skip}</skip>
1477 <phase>verify</phase>
1479 <goal>modernizer</goal>
1486 <groupId>com.github.spotbugs</groupId>
1487 <artifactId>spotbugs-maven-plugin</artifactId>
1488 <version>3.1.12.2</version>
1491 <groupId>com.github.spotbugs</groupId>
1492 <artifactId>spotbugs</artifactId>
1493 <version>3.1.12</version>
1496 <groupId>org.opendaylight.odlparent</groupId>
1497 <artifactId>spotbugs</artifactId>
1498 <version>6.0.0-SNAPSHOT</version>
1501 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1502 <groupId>org.slf4j</groupId>
1503 <artifactId>slf4j-simple</artifactId>
1504 <version>1.8.0-beta2</version>
1510 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1511 <artifactId>bug-pattern</artifactId>
1512 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1513 <version>1.4.2</version>
1517 Enables analysis which takes more memory but finds more bugs.
1518 If you run out of memory, changes the value of the effort element
1521 <effort>Max</effort>
1522 <!-- Reports all bugs (other values are medium and max) -->
1523 <threshold>Low</threshold>
1524 <!-- Build doesn't fail if problems are found -->
1525 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1526 <skip>${odlparent.spotbugs.skip}</skip>
1527 <!-- References the excluded rules -->
1528 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1529 <!-- Produces XML report -->
1530 <xmlOutput>true</xmlOutput>
1531 <!-- Configures the directory in which the XML report is created -->
1532 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1536 Ensures that SpotBugs inspects source code when project is compiled.
1539 <id>analyze-compile</id>
1540 <phase>compile</phase>
1548 <groupId>org.codehaus.mojo</groupId>
1549 <artifactId>properties-maven-plugin</artifactId>
1550 <version>1.0.0</version>
1553 <groupId>org.eclipse.xtend</groupId>
1554 <artifactId>xtend-maven-plugin</artifactId>
1555 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1556 <version>2.19.0</version>
1560 <goal>compile</goal>
1561 <goal>testCompile</goal>
1564 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1565 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1571 <groupId>org.eclipse.m2e</groupId>
1572 <artifactId>lifecycle-mapping</artifactId>
1573 <version>1.0.0</version>
1575 <lifecycleMappingMetadata>
1578 <pluginExecutionFilter>
1579 <groupId>org.apache.felix</groupId>
1580 <artifactId>maven-bundle-plugin</artifactId>
1581 <versionRange>[1.0,)</versionRange>
1583 <goal>manifest</goal>
1585 </pluginExecutionFilter>
1591 <pluginExecutionFilter>
1592 <groupId>org.apache.maven.plugins</groupId>
1593 <artifactId>maven-enforcer-plugin</artifactId>
1594 <versionRange>[1.0.0,)</versionRange>
1596 <goal>enforce</goal>
1598 </pluginExecutionFilter>
1604 <pluginExecutionFilter>
1605 <groupId>org.apache.maven.plugins</groupId>
1606 <artifactId>maven-dependency-plugin</artifactId>
1607 <versionRange>[2.10,)</versionRange>
1611 </pluginExecutionFilter>
1617 <pluginExecutionFilter>
1618 <groupId>org.apache.maven.plugins</groupId>
1619 <artifactId>maven-pmd-plugin</artifactId>
1620 <versionRange>[3.6,)</versionRange>
1622 <goal>cpd-check</goal>
1624 </pluginExecutionFilter>
1629 <!-- The plugin will eventually be removed, remove this too at that point -->
1631 <pluginExecutionFilter>
1632 <groupId>org.apache.maven.plugins</groupId>
1633 <artifactId>maven-antrun-plugin</artifactId>
1634 <versionRange>[1.8,)</versionRange>
1638 </pluginExecutionFilter>
1644 <pluginExecutionFilter>
1645 <groupId>org.apache.servicemix.tooling</groupId>
1646 <artifactId>depends-maven-plugin</artifactId>
1647 <versionRange>[1.2,)</versionRange>
1649 <goal>generate-depends-file</goal>
1651 </pluginExecutionFilter>
1657 <pluginExecutionFilter>
1658 <groupId>org.jacoco</groupId>
1659 <artifactId>jacoco-maven-plugin</artifactId>
1660 <versionRange>[0.7.0,)</versionRange>
1662 <goal>prepare-agent</goal>
1664 </pluginExecutionFilter>
1671 <pluginExecutionFilter>
1672 <groupId>org.ops4j.pax.exam</groupId>
1673 <artifactId>maven-paxexam-plugin</artifactId>
1674 <versionRange>[1.2.4,)</versionRange>
1676 <goal>generate-depends-file</goal>
1678 </pluginExecutionFilter>
1685 <pluginExecutionFilter>
1686 <groupId>org.basepom.maven</groupId>
1688 duplicate-finder-maven-plugin
1690 <versionRange>[1.2.1,)</versionRange>
1694 </pluginExecutionFilter>
1700 </lifecycleMappingMetadata>
1705 <groupId>org.jacoco</groupId>
1706 <artifactId>jacoco-maven-plugin</artifactId>
1708 <!-- Note: This exclusion list should match <sonar.exclusions>
1711 <exclude>**/gen/**</exclude>
1712 <exclude>**/generated-sources/**</exclude>
1713 <exclude>**/generated-test-sources/**</exclude>
1714 <exclude>**/yang-gen/**</exclude>
1715 <exclude>**/yang-gen-config/**</exclude>
1716 <exclude>**/yang-gen-sal/**</exclude>
1717 <exclude>**/yang-gen-code/**</exclude>
1718 <exclude>**/pax/**</exclude>
1724 <groupId>org.ops4j.pax.exam</groupId>
1725 <artifactId>maven-paxexam-plugin</artifactId>
1726 <version>1.2.4</version>
1730 <groupId>org.codehaus.mojo</groupId>
1731 <artifactId>jdepend-maven-plugin</artifactId>
1732 <version>2.0</version>
1737 <goal>generate-no-fork</goal>
1743 <!-- When updating this version, consider antl4-runtime above -->
1745 <groupId>org.antlr</groupId>
1746 <artifactId>antlr4-maven-plugin</artifactId>
1747 <version>4.7.2</version>
1754 <artifactId>maven-enforcer-plugin</artifactId>
1757 <id>enforce-banned-dependencies</id>
1759 <goal>enforce</goal>
1763 <bannedDependencies>
1764 <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
1766 <exclude>org.mockito:mockito-all</exclude>
1767 <exclude>com.google.code.findbugs:annotations</exclude>
1769 </bannedDependencies>
1777 <groupId>org.basepom.maven</groupId>
1778 <artifactId>duplicate-finder-maven-plugin</artifactId>
1779 <version>1.3.0</version>
1782 <id>find-duplicate-classpath-entries</id>
1783 <phase>verify</phase>
1790 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1791 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1792 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1793 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1794 <printEqualFiles>false</printEqualFiles>
1796 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1797 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1798 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1800 <ignoredResourcePatterns>
1801 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1802 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1803 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1804 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1805 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1806 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1807 </ignoredResourcePatterns>
1808 <ignoredClassPatterns>
1809 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1810 </ignoredClassPatterns>
1811 <ignoredDependencies>
1813 <groupId>org.slf4j</groupId>
1814 <artifactId>slf4j-simple</artifactId>
1815 </ignoredDependency>
1817 <groupId>org.opendaylight.odlparent</groupId>
1818 <artifactId>opendaylight-karaf-empty</artifactId>
1819 </ignoredDependency>
1820 </ignoredDependencies>
1824 <artifactId>maven-dependency-plugin</artifactId>
1827 <artifactId>maven-checkstyle-plugin</artifactId>
1830 <artifactId>maven-pmd-plugin</artifactId>
1833 <artifactId>maven-source-plugin</artifactId>
1836 <artifactId>maven-javadoc-plugin</artifactId>
1839 <groupId>org.gaul</groupId>
1840 <artifactId>modernizer-maven-plugin</artifactId>
1843 <groupId>com.github.spotbugs</groupId>
1844 <artifactId>spotbugs-maven-plugin</artifactId>
1847 <!-- Jacoco / Sonar -->
1849 <groupId>org.jacoco</groupId>
1850 <artifactId>jacoco-maven-plugin</artifactId>
1853 <id>pre-unit-test</id>
1855 <goal>prepare-agent</goal>
1858 <destFile>${jacoco.destFile}</destFile>
1865 <groupId>com.alexecollins.maven.plugin</groupId>
1866 <artifactId>script-maven-plugin</artifactId>
1867 <version>1.0.0</version>
1870 <phase>prepare-package</phase>
1872 <goal>execute</goal>
1876 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1877 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1878 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1879 // static class methods only - it will be MUCH easier to write!)
1880 void copy(File root, String glob, File target) {
1881 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1882 Iterator dirStreamIterator = dirStream.iterator();
1883 while (dirStreamIterator.hasNext()) {
1884 java.nio.file.Path path = dirStreamIterator.next();
1885 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1886 new java.nio.file.CopyOption[] {
1887 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1888 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1895 File gitRepoRootDir = project.basedir;
1896 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1897 gitRepoRootDir = gitRepoRootDir.getParentFile();
1900 File target = new File(project.build.outputDirectory);
1902 copy(gitRepoRootDir, "README*", target);
1903 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1904 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1911 <groupId>org.apache-extras.beanshell</groupId>
1912 <artifactId>bsh</artifactId>
1913 <version>2.0b6</version>
1923 <artifactId>maven-checkstyle-plugin</artifactId>
1924 <version>3.1.0</version>
1927 <!-- FIXME: activate this
1929 <artifactId>maven-project-info-reports-plugin</artifactId>
1930 <version>${projectinfo}</version>
1933 <groupId>org.codehaus.mojo</groupId>
1934 <artifactId>jdepend-maven-plugin</artifactId>
1938 <report>generate-no-fork</report>