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.3-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.6</karaf.version>
50 <!-- Used in bgpcep, lispflowmapping -->
51 <projectinfo>2.8.1</projectinfo>
53 <!-- Supporting Libraries -->
54 <!-- Only used internally -->
55 <bouncycastle.version>1.64</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.3-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.26</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.28.2</version>
155 <groupId>org.mockito</groupId>
156 <artifactId>mockito-inline</artifactId>
157 <version>2.28.2</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.2</version>
168 <groupId>org.hamcrest</groupId>
169 <artifactId>hamcrest-core</artifactId>
170 <version>2.2</version>
174 <groupId>org.hamcrest</groupId>
175 <artifactId>hamcrest-library</artifactId>
176 <version>2.2</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.4</version>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-api-support</artifactId>
213 <version>2.0.4</version>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-core</artifactId>
219 <version>2.0.4</version>
223 <groupId>org.powermock</groupId>
224 <artifactId>powermock-module-junit4</artifactId>
225 <version>2.0.4</version>
229 <groupId>org.powermock</groupId>
230 <artifactId>powermock-reflect</artifactId>
231 <version>2.0.4</version>
236 Annotation Processors
239 <!-- Generates immutable implementations, builders, the works -->
240 <groupId>org.immutables</groupId>
241 <artifactId>value</artifactId>
242 <classifier>annotations</classifier>
243 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
244 <version>2.7.5</version>
245 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
246 <scope>provided</scope>
249 <!-- Same as above, except using legacy unified artifact -->
250 <!-- FIXME: ODLPARENT-217: remove this declaration -->
251 <groupId>org.immutables</groupId>
252 <artifactId>value</artifactId>
253 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
254 <version>2.7.5</version>
255 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
256 <scope>provided</scope>
260 <!-- Generates META-INF/services entries for ServiceLoader -->
261 <groupId>org.kohsuke.metainf-services</groupId>
262 <artifactId>metainf-services</artifactId>
263 <version>1.8</version>
264 <optional>true</optional>
265 <scope>provided</scope>
272 <groupId>org.slf4j</groupId>
273 <artifactId>jcl-over-slf4j</artifactId>
274 <version>1.7.28</version>
277 <groupId>org.slf4j</groupId>
278 <artifactId>slf4j-api</artifactId>
279 <version>1.7.28</version>
282 <groupId>org.slf4j</groupId>
283 <artifactId>slf4j-log4j12</artifactId>
284 <version>1.7.28</version>
287 <groupId>org.slf4j</groupId>
288 <artifactId>log4j-over-slf4j</artifactId>
289 <version>1.7.28</version>
292 <groupId>org.slf4j</groupId>
293 <artifactId>slf4j-simple</artifactId>
294 <version>1.7.28</version>
298 <groupId>ch.qos.logback</groupId>
299 <artifactId>logback-core</artifactId>
300 <version>1.2.3</version>
303 <groupId>ch.qos.logback</groupId>
304 <artifactId>logback-classic</artifactId>
305 <version>1.2.3</version>
310 <groupId>org.apache.logging.log4j</groupId>
311 <artifactId>log4j-bom</artifactId>
312 <version>2.11.2</version>
313 <scope>import</scope>
318 <groupId>com.google.guava</groupId>
319 <artifactId>guava</artifactId>
320 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
321 <version>27.1-jre</version>
324 <!-- Do not leak JSR305 onto the classpath by default -->
325 <groupId>com.google.code.findbugs</groupId>
326 <artifactId>jsr305</artifactId>
331 <groupId>com.google.guava</groupId>
332 <artifactId>guava-testlib</artifactId>
333 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
334 <version>27.1-jre</version>
338 <!-- Do not leak JSR305 onto the classpath by default -->
339 <groupId>com.google.code.findbugs</groupId>
340 <artifactId>jsr305</artifactId>
345 <!-- Caffeine plus bridges to Guava and JCache -->
347 <groupId>com.github.ben-manes.caffeine</groupId>
348 <artifactId>caffeine</artifactId>
349 <version>2.7.0</version>
352 <groupId>com.github.ben-manes.caffeine</groupId>
353 <artifactId>guava</artifactId>
354 <version>2.7.0</version>
358 <groupId>com.mycila.guice.extensions</groupId>
359 <artifactId>mycila-guice-jsr250</artifactId>
360 <!-- Make sure this version is in sync with the guice one below -->
361 <version>4.0.rc1</version>
364 <groupId>com.google.inject</groupId>
365 <artifactId>guice</artifactId>
366 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
367 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103.
369 Well, mycila is dead as a dodo and we need to support Java 11. This is the best
370 we can do in the interim. -->
371 <version>4.2.2</version>
374 <groupId>commons-beanutils</groupId>
375 <artifactId>commons-beanutils</artifactId>
376 <version>1.9.4</version>
379 <groupId>org.apache.commons</groupId>
380 <artifactId>commons-lang3</artifactId>
381 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
382 <version>3.9</version>
385 <groupId>org.apache.commons</groupId>
386 <artifactId>commons-text</artifactId>
387 <version>1.8</version>
390 <groupId>commons-lang</groupId>
391 <artifactId>commons-lang</artifactId>
392 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
393 <version>2.6</version>
396 <groupId>commons-codec</groupId>
397 <artifactId>commons-codec</artifactId>
398 <version>1.13</version>
400 <!-- Jersey for JAXRS -->
402 <groupId>javax.ws.rs</groupId>
403 <artifactId>javax.ws.rs-api</artifactId>
404 <version>2.0.1</version>
407 <groupId>org.glassfish.jersey</groupId>
408 <artifactId>jersey-bom</artifactId>
409 <version>2.25.1</version>
411 <scope>import</scope>
414 <groupId>org.glassfish</groupId>
415 <artifactId>javax.json</artifactId>
416 <version>1.1.2</version>
420 <groupId>org.checkerframework</groupId>
421 <artifactId>checker-qual</artifactId>
422 <version>2.5.8</version>
425 <groupId>com.google.errorprone</groupId>
426 <artifactId>error_prone_annotations</artifactId>
427 <version>2.3.3</version>
431 <groupId>javax.activation</groupId>
432 <artifactId>activation</artifactId>
433 <version>1.1.1</version>
436 <groupId>javax.annotation</groupId>
437 <artifactId>javax.annotation-api</artifactId>
438 <version>1.3</version>
439 <optional>true</optional>
442 <groupId>xml-apis</groupId>
443 <artifactId>xml-apis</artifactId>
444 <version>1.4.01</version>
448 <groupId>org.apache.shiro</groupId>
449 <artifactId>shiro-core</artifactId>
450 <version>1.3.2</version>
453 <groupId>org.apache.shiro</groupId>
454 <artifactId>shiro-web</artifactId>
455 <version>1.3.2</version>
458 <!-- Plugin integration -->
460 <groupId>net.java.dev.stax-utils</groupId>
461 <artifactId>stax-utils</artifactId>
462 <version>20070216</version>
465 <groupId>org.sonatype.plexus</groupId>
466 <artifactId>plexus-build-api</artifactId>
467 <version>0.0.7</version>
470 <groupId>org.codehaus.plexus</groupId>
471 <artifactId>plexus-slf4j-logging</artifactId>
472 <version>1.1</version>
475 <!-- These three need to be consistent:
476 jackson-2.9.10 needs woodstox-5.3.x
477 woodstox-5.3 needs stax2-api-4.2.x
480 <groupId>org.codehaus.woodstox</groupId>
481 <artifactId>stax2-api</artifactId>
482 <version>4.2</version>
485 <groupId>com.fasterxml.woodstox</groupId>
486 <artifactId>woodstox-core</artifactId>
487 <version>5.3.0</version>
490 <groupId>com.fasterxml.jackson</groupId>
491 <artifactId>jackson-bom</artifactId>
492 <version>2.9.10</version>
493 <scope>import</scope>
498 <groupId>com.github.spotbugs</groupId>
499 <artifactId>spotbugs-annotations</artifactId>
500 <version>3.1.12</version>
501 <scope>provided</scope>
502 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
503 <optional>true</optional>
506 <groupId>com.google.code.findbugs</groupId>
507 <artifactId>jsr305</artifactId>
513 <groupId>org.eclipse.jdt</groupId>
514 <artifactId>org.eclipse.jdt.annotation</artifactId>
515 <version>2.2.100</version>
516 <scope>provided</scope>
519 <groupId>com.google.code.gson</groupId>
520 <artifactId>gson</artifactId>
521 <version>2.8.5</version>
524 <groupId>commons-fileupload</groupId>
525 <artifactId>commons-fileupload</artifactId>
526 <version>1.4</version>
529 <groupId>commons-io</groupId>
530 <artifactId>commons-io</artifactId>
531 <version>2.6</version>
534 <groupId>commons-net</groupId>
535 <artifactId>commons-net</artifactId>
536 <version>3.6</version>
541 <groupId>io.netty</groupId>
542 <artifactId>netty-all</artifactId>
543 <!-- If these are updated, the version in features.xml needs to be changed too -->
544 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
545 <version>4.1.42.Final</version>
548 <groupId>io.netty</groupId>
549 <artifactId>netty-buffer</artifactId>
550 <version>4.1.42.Final</version>
553 <groupId>io.netty</groupId>
554 <artifactId>netty-codec</artifactId>
555 <version>4.1.42.Final</version>
558 <groupId>io.netty</groupId>
559 <artifactId>netty-codec-http</artifactId>
560 <version>4.1.42.Final</version>
563 <groupId>io.netty</groupId>
564 <artifactId>netty-common</artifactId>
565 <version>4.1.42.Final</version>
568 <groupId>io.netty</groupId>
569 <artifactId>netty-handler</artifactId>
570 <version>4.1.42.Final</version>
573 <groupId>io.netty</groupId>
574 <artifactId>netty-transport</artifactId>
575 <version>4.1.42.Final</version>
577 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
578 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
580 <groupId>io.netty</groupId>
581 <artifactId>netty-transport-native-epoll</artifactId>
582 <classifier>linux-x86_64</classifier>
583 <version>4.1.42.Final</version>
586 <groupId>javax.ws.rs</groupId>
587 <artifactId>jsr311-api</artifactId>
588 <version>1.1.1</version>
591 <groupId>javax.servlet</groupId>
592 <artifactId>javax.servlet-api</artifactId>
593 <version>3.1.0</version>
596 <groupId>org.apache.felix</groupId>
597 <artifactId>org.apache.felix.dependencymanager</artifactId>
598 <version>4.4.1</version>
601 <groupId>org.apache.felix</groupId>
602 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
603 <version>4.0.6</version>
606 <groupId>org.apache.felix</groupId>
607 <artifactId>org.apache.felix.metatype</artifactId>
608 <version>1.2.2</version>
611 <groupId>org.bouncycastle</groupId>
612 <artifactId>bcpkix-jdk15on</artifactId>
613 <version>${bouncycastle.version}</version>
616 <groupId>org.bouncycastle</groupId>
617 <artifactId>bcprov-jdk15on</artifactId>
618 <version>${bouncycastle.version}</version>
621 <groupId>org.bouncycastle</groupId>
622 <artifactId>bcprov-ext-jdk15on</artifactId>
623 <version>${bouncycastle.version}</version>
627 <groupId>com.webcohesion.enunciate</groupId>
628 <artifactId>enunciate-core-annotations</artifactId>
629 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
630 <version>2.11.1</version>
634 <groupId>org.codehaus.jettison</groupId>
635 <artifactId>jettison</artifactId>
636 <version>1.4.0</version>
638 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
639 pull in javax.validation first:
640 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
642 <groupId>org.eclipse.persistence</groupId>
643 <artifactId>org.eclipse.persistence.antlr</artifactId>
644 <version>2.7.3</version>
647 <groupId>org.eclipse.persistence</groupId>
648 <artifactId>org.eclipse.persistence.core</artifactId>
649 <version>2.7.3</version>
652 <groupId>org.eclipse.persistence</groupId>
653 <artifactId>org.eclipse.persistence.moxy</artifactId>
654 <version>2.7.3</version>
657 <groupId>javax.validation</groupId>
658 <artifactId>validation-api</artifactId>
659 <version>1.1.0.Final</version>
662 <groupId>org.javassist</groupId>
663 <artifactId>javassist</artifactId>
664 <version>3.26.0-GA</version>
667 <groupId>org.jboss.spec.javax.transaction</groupId>
668 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
669 <version>1.0.1.Final</version>
672 <groupId>org.jolokia</groupId>
673 <artifactId>jolokia-osgi</artifactId>
674 <version>1.6.2</version>
677 <groupId>org.osgi</groupId>
678 <artifactId>osgi.cmpn</artifactId>
679 <version>6.0.0</version>
680 <scope>provided</scope>
683 <groupId>org.osgi</groupId>
684 <artifactId>org.osgi.core</artifactId>
685 <version>6.0.0</version>
686 <scope>provided</scope>
689 <groupId>org.osgi</groupId>
690 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
691 <artifactId>org.osgi.service.event</artifactId>
692 <version>1.3.1</version>
695 <groupId>org.apache.aries.quiesce</groupId>
696 <artifactId>org.apache.aries.quiesce.api</artifactId>
697 <version>1.0.0</version>
700 <groupId>org.ow2.asm</groupId>
701 <artifactId>asm</artifactId>
702 <version>7.0</version>
705 <!-- Configuration library -->
706 <!-- This needs to be kept in sync with the version used by akka -->
708 <groupId>com.typesafe</groupId>
709 <artifactId>config</artifactId>
710 <version>1.3.3</version>
713 <!-- Reactive Streams, used by Akka -->
715 <groupId>org.reactivestreams</groupId>
716 <artifactId>reactive-streams</artifactId>
717 <version>1.0.3</version>
722 <groupId>com.typesafe</groupId>
723 <artifactId>ssl-config-core_2.12</artifactId>
724 <version>0.3.8</version>
727 <groupId>com.typesafe.akka</groupId>
728 <artifactId>akka-actor_2.12</artifactId>
729 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
730 <version>2.5.26</version>
733 <groupId>com.typesafe.akka</groupId>
734 <artifactId>akka-cluster_2.12</artifactId>
735 <version>2.5.26</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-osgi_2.12</artifactId>
740 <version>2.5.26</version>
743 <groupId>com.typesafe.akka</groupId>
744 <artifactId>akka-persistence_2.12</artifactId>
745 <version>2.5.26</version>
748 <groupId>com.typesafe.akka</groupId>
749 <artifactId>akka-persistence-tck_2.12</artifactId>
750 <version>2.5.26</version>
754 <groupId>com.typesafe.akka</groupId>
755 <artifactId>akka-protobuf_2.12</artifactId>
756 <version>2.5.26</version>
759 <groupId>com.typesafe.akka</groupId>
760 <artifactId>akka-remote_2.12</artifactId>
761 <version>2.5.26</version>
764 <groupId>com.typesafe.akka</groupId>
765 <artifactId>akka-slf4j_2.12</artifactId>
766 <version>2.5.26</version>
769 <groupId>com.typesafe.akka</groupId>
770 <artifactId>akka-stream_2.12</artifactId>
771 <version>2.5.26</version>
774 <groupId>com.typesafe.akka</groupId>
775 <artifactId>akka-testkit_2.12</artifactId>
776 <version>2.5.26</version>
780 <groupId>org.scala-lang.modules</groupId>
781 <artifactId>scala-java8-compat_2.12</artifactId>
782 <version>0.8.0</version>
785 <groupId>org.scala-lang.modules</groupId>
786 <artifactId>scala-parser-combinators_2.12</artifactId>
787 <version>1.1.2</version>
790 <groupId>org.uncommons.maths</groupId>
791 <artifactId>uncommons-maths</artifactId>
792 <version>1.2.2a</version>
795 <!-- Aeron, required by Akka -->
797 <groupId>org.agrona</groupId>
798 <artifactId>agrona</artifactId>
799 <version>0.9.33</version>
802 <groupId>io.aeron</groupId>
803 <artifactId>aeron-client</artifactId>
804 <version>1.15.3</version>
807 <groupId>io.aeron</groupId>
808 <artifactId>aeron-driver</artifactId>
809 <version>1.15.3</version>
814 <groupId>org.scala-lang</groupId>
815 <artifactId>scala-library</artifactId>
816 <version>2.12.10</version>
819 <groupId>org.scala-lang</groupId>
820 <artifactId>scala-reflect</artifactId>
821 <version>2.12.10</version>
824 <!-- LMAX Disruptor -->
826 <groupId>com.lmax</groupId>
827 <artifactId>disruptor</artifactId>
828 <version>3.4.2</version>
831 <!-- Add Pax Exam -->
833 <groupId>org.ops4j.pax.exam</groupId>
834 <artifactId>pax-exam</artifactId>
835 <version>4.13.1</version>
839 <groupId>org.ops4j.pax.exam</groupId>
840 <artifactId>pax-exam-container-forked</artifactId>
841 <version>4.13.1</version>
845 <groupId>org.ops4j.pax.exam</groupId>
846 <artifactId>pax-exam-container-karaf</artifactId>
847 <version>4.13.1</version>
851 <groupId>org.ops4j.pax.exam</groupId>
852 <artifactId>pax-exam-container-native</artifactId>
853 <version>4.13.1</version>
857 <groupId>org.ops4j.pax.exam</groupId>
858 <artifactId>pax-exam-extender-service</artifactId>
859 <version>4.13.1</version>
863 <groupId>org.ops4j.pax.exam</groupId>
864 <artifactId>pax-exam-inject</artifactId>
865 <version>4.13.1</version>
869 <groupId>org.ops4j.pax.exam</groupId>
870 <artifactId>pax-exam-invoker-junit</artifactId>
871 <version>4.13.1</version>
875 <groupId>org.ops4j.pax.exam</groupId>
876 <artifactId>pax-exam-features</artifactId>
877 <version>4.13.1</version>
882 <groupId>org.ops4j.pax.exam</groupId>
883 <artifactId>pax-exam-junit4</artifactId>
884 <version>4.13.1</version>
888 <groupId>org.ops4j.pax.exam</groupId>
889 <artifactId>pax-exam-link-mvn</artifactId>
890 <version>4.13.1</version>
894 <groupId>org.ops4j.pax.exam</groupId>
895 <artifactId>pax-exam-link-assembly</artifactId>
896 <version>4.13.1</version>
901 <groupId>org.ops4j.pax.url</groupId>
902 <artifactId>pax-url-link</artifactId>
903 <version>2.5.4</version>
907 <groupId>org.ops4j.pax.url</groupId>
908 <artifactId>pax-url-aether</artifactId>
909 <version>2.5.4</version>
913 <groupId>org.ops4j.pax.url</groupId>
914 <artifactId>pax-url-wrap</artifactId>
915 <version>2.5.4</version>
919 <groupId>org.ops4j.pax.web</groupId>
920 <artifactId>pax-web-api</artifactId>
921 <!-- Note: keep this version synchronized with karaf -->
922 <version>7.2.10</version>
926 <groupId>org.springframework.osgi</groupId>
927 <artifactId>spring-osgi-mock</artifactId>
928 <version>1.2.1</version>
933 <groupId>org.xmlunit</groupId>
934 <artifactId>xmlunit-core</artifactId>
935 <version>2.6.3</version>
939 <groupId>org.xmlunit</groupId>
940 <artifactId>xmlunit-assertj</artifactId>
941 <version>2.6.3</version>
945 <groupId>org.xmlunit</groupId>
946 <artifactId>xmlunit-matchers</artifactId>
947 <version>2.6.3</version>
950 <!-- FIXME: remove this once we have migrated over -->
952 <groupId>org.xmlunit</groupId>
953 <artifactId>xmlunit-legacy</artifactId>
954 <version>2.6.3</version>
958 <!-- Annotations for modernizer-maven-plugin -->
960 <groupId>org.gaul</groupId>
961 <artifactId>modernizer-maven-annotations</artifactId>
962 <!-- This should match the plugin version below -->
963 <version>2.0.0</version>
964 <scope>provided</scope>
968 <groupId>org.eclipse.jetty</groupId>
969 <artifactId>jetty-bom</artifactId>
970 <version>9.4.18.v20190429</version>
971 <scope>import</scope>
976 <groupId>com.h2database</groupId>
977 <artifactId>h2</artifactId>
978 <version>1.4.200</version>
981 <!-- Xtend http://xtend-lang.org
982 NOTE: When you increase the version here,
983 then remember to also increase it for the
984 xtend-maven-plugin below! (We don't want to
985 use a Maven property, in order not to "leak" that.)
988 <groupId>org.eclipse.xtend</groupId>
989 <artifactId>org.eclipse.xtend.lib</artifactId>
990 <version>2.19.0</version>
993 <groupId>org.eclipse.xtend</groupId>
994 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
995 <version>2.19.0</version>
998 <groupId>org.eclipse.xtext</groupId>
999 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1000 <version>2.19.0</version>
1003 <!-- Annotations -->
1005 <groupId>javax.inject</groupId>
1006 <artifactId>javax.inject</artifactId>
1007 <version>1</version>
1008 <optional>true</optional>
1011 <!-- jung, a graph library -->
1013 <groupId>net.sf.jung</groupId>
1014 <artifactId>jung-api</artifactId>
1015 <version>2.1.1</version>
1018 <groupId>net.sf.jung</groupId>
1019 <artifactId>jung-algorithms</artifactId>
1020 <version>2.1.1</version>
1023 <groupId>net.sf.jung</groupId>
1024 <artifactId>jung-graph-impl</artifactId>
1025 <version>2.1.1</version>
1028 <!-- Karaf console support -->
1030 <groupId>org.apache.karaf.shell</groupId>
1031 <artifactId>org.apache.karaf.shell.core</artifactId>
1032 <version>${karaf.version}</version>
1033 <scope>provided</scope>
1036 <groupId>org.apache.karaf.shell</groupId>
1037 <artifactId>org.apache.karaf.shell.console</artifactId>
1038 <version>${karaf.version}</version>
1039 <scope>provided</scope>
1042 <!-- ThreeTen-Extra, date/time complements -->
1044 <groupId>org.threeten</groupId>
1045 <artifactId>threeten-extra</artifactId>
1046 <version>1.5.0</version>
1049 <!-- When updating this version, consider antl4-maven-plugin below -->
1051 <groupId>org.antlr</groupId>
1052 <artifactId>antlr4-runtime</artifactId>
1053 <version>4.7.2</version>
1055 <!-- Aries' Blueprint version should be kept in sync to the version actually
1056 used by our ${karaf[4].version} ... please bump this when increasing that.
1057 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1059 <groupId>org.apache.aries.blueprint</groupId>
1060 <artifactId>org.apache.aries.blueprint.core</artifactId>
1061 <version>1.10.2</version>
1064 <groupId>org.apache.aries.blueprint</groupId>
1065 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1066 <version>1.3.0</version>
1067 <optional>true</optional>
1070 <!-- Apache SSHD with netty -->
1072 <groupId>org.apache.sshd</groupId>
1073 <artifactId>sshd-netty</artifactId>
1074 <version>2.3.0</version>
1077 <!-- We provide sshd-osgi instead -->
1078 <groupId>org.apache.sshd</groupId>
1079 <artifactId>sshd-core</artifactId>
1084 <groupId>org.apache.sshd</groupId>
1085 <artifactId>sshd-osgi</artifactId>
1086 <version>2.3.0</version>
1089 <groupId>net.i2p.crypto</groupId>
1090 <artifactId>eddsa</artifactId>
1091 <version>0.3.0</version>
1094 <!-- TrieMap library -->
1096 <groupId>tech.pantheon.triemap</groupId>
1097 <artifactId>bom</artifactId>
1098 <version>1.1.0</version>
1099 <scope>import</scope>
1103 <!-- Dropwizard metrics -->
1105 <groupId>io.dropwizard.metrics</groupId>
1106 <artifactId>metrics-bom</artifactId>
1107 <version>4.0.5</version>
1108 <scope>import</scope>
1112 <!-- JAXB for Java 11+, match this with Karaf -->
1114 <groupId>javax.xml.bind</groupId>
1115 <artifactId>jaxb-api</artifactId>
1116 <version>2.3.0</version>
1119 <groupId>org.glassfish.jaxb</groupId>
1120 <artifactId>jaxb-runtime</artifactId>
1121 <version>2.3.1</version>
1124 </dependencyManagement>
1128 We expect slf4j-api to be provided by the platform.
1129 Karaf provides it, other containers need to provide it themselves.
1132 <groupId>org.slf4j</groupId>
1133 <artifactId>slf4j-api</artifactId>
1134 <scope>provided</scope>
1138 Enable useful code quality annotations everywhere. Since these annotations
1139 are not required at runtime.
1142 <groupId>org.eclipse.jdt</groupId>
1143 <artifactId>org.eclipse.jdt.annotation</artifactId>
1144 <scope>provided</scope>
1147 <groupId>com.github.spotbugs</groupId>
1148 <artifactId>spotbugs-annotations</artifactId>
1149 <scope>provided</scope>
1150 <optional>true</optional>
1153 <groupId>org.gaul</groupId>
1154 <artifactId>modernizer-maven-annotations</artifactId>
1155 <scope>provided</scope>
1159 Testing output should be routed through slf4j-simple.
1162 <groupId>org.slf4j</groupId>
1163 <artifactId>slf4j-simple</artifactId>
1168 Unit tests can use JUnit + Mockito + Hamcrest by default.
1171 <groupId>org.hamcrest</groupId>
1172 <artifactId>hamcrest</artifactId>
1176 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1177 <groupId>org.hamcrest</groupId>
1178 <artifactId>hamcrest-library</artifactId>
1182 <groupId>junit</groupId>
1183 <artifactId>junit</artifactId>
1187 <groupId>org.mockito</groupId>
1188 <artifactId>mockito-core</artifactId>
1196 <!-- Official maven plugins, alpha-sorted by artifactId.
1197 We do not need to specify the groupId. -->
1199 <artifactId>maven-checkstyle-plugin</artifactId>
1200 <version>3.1.0</version>
1203 <groupId>com.puppycrawl.tools</groupId>
1204 <artifactId>checkstyle</artifactId>
1205 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1206 <version>8.26</version>
1209 <groupId>org.opendaylight.odlparent</groupId>
1210 <artifactId>checkstyle</artifactId>
1211 <version>6.0.3-SNAPSHOT</version>
1214 <groupId>com.github.sevntu-checkstyle</groupId>
1215 <artifactId>sevntu-checks</artifactId>
1216 <version>1.36.0</version>
1220 <configLocation>odl_checks.xml</configLocation>
1221 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1222 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1223 generated sources directory -->
1225 <directory>${project.build.sourceDirectory}</directory>
1226 </sourceDirectories>
1227 <includeResources>true</includeResources>
1228 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1229 <includeTestResources>true</includeTestResources>
1230 <includes>**\/*.java, **\/*.xtend</includes>
1232 org/opendaylight/yang/gen/**,
1233 **/protobuff/messages/**,
1234 **/thrift/gen/*.java,
1237 <failsOnError>false</failsOnError>
1238 <consoleOutput>true</consoleOutput>
1242 <id>check-license</id>
1246 <phase>process-sources</phase>
1248 <configLocation>check-license.xml</configLocation>
1249 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1250 <includeResources>false</includeResources>
1251 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1252 <includeTestResources>false</includeTestResources>
1254 <directory>${project.build.sourceDirectory}</directory>
1255 </sourceDirectories>
1257 org/opendaylight/yang/gen/**,
1258 **/protobuff/messages/**,
1259 **/thrift/gen/*.java
1261 <failsOnError>false</failsOnError>
1262 <consoleOutput>true</consoleOutput>
1269 <phase>process-sources</phase>
1271 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1272 <skip>${odlparent.checkstyle.skip}</skip>
1273 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1279 <groupId>org.apache.maven.plugins</groupId>
1280 <artifactId>maven-pmd-plugin</artifactId>
1281 <version>3.12.0</version>
1285 <phase>process-sources</phase>
1287 <goal>cpd-check</goal>
1290 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1291 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1292 <minimumTokens>101</minimumTokens>
1293 <printFailingErrors>true</printFailingErrors>
1295 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1296 not understand path prefixes nor wildcards. Details are available
1297 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1298 Hence people introducing new generated sources have to include
1301 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1302 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1304 <linkXRef>false</linkXRef>
1310 <artifactId>maven-compiler-plugin</artifactId>
1311 <version>3.8.1</version>
1313 <showWarnings>true</showWarnings>
1315 <arg>-parameters</arg>
1316 <arg>-Xlint:deprecation</arg>
1317 <arg>-Xlint:unchecked</arg>
1319 <annotationProcessorPaths>
1321 <groupId>org.immutables</groupId>
1322 <artifactId>value</artifactId>
1323 <!-- Keep this version in sync with dependency declaration above -->
1324 <version>2.7.5</version>
1326 </annotationProcessorPaths>
1330 <artifactId>maven-enforcer-plugin</artifactId>
1331 <version>${enforcer.version}</version>
1334 <artifactId>maven-failsafe-plugin</artifactId>
1335 <version>2.22.2</version>
1338 <artifactId>maven-invoker-plugin</artifactId>
1339 <version>3.2.0</version>
1342 <artifactId>maven-dependency-plugin</artifactId>
1345 <id>unpack-license</id>
1346 <phase>generate-resources</phase>
1353 <groupId>org.opendaylight.odlparent</groupId>
1354 <artifactId>odl-license</artifactId>
1355 <version>6.0.3-SNAPSHOT</version>
1356 <type>license</type>
1357 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1358 <destFileName>LICENSE</destFileName>
1359 <overWrite>false</overWrite>
1362 <silent>true</silent>
1369 <artifactId>maven-plugin-plugin</artifactId>
1370 <version>3.6.0</version>
1374 <artifactId>maven-remote-resources-plugin</artifactId>
1375 <version>1.6.0</version>
1378 <artifactId>maven-resources-plugin</artifactId>
1379 <version>3.1.0</version>
1382 <artifactId>maven-shade-plugin</artifactId>
1383 <version>3.2.1</version>
1386 <artifactId>maven-source-plugin</artifactId>
1387 <version>3.2.0</version>
1390 <id>attach-sources</id>
1391 <phase>verify</phase>
1393 <goal>jar-no-fork</goal>
1399 <artifactId>maven-surefire-plugin</artifactId>
1400 <version>2.22.2</version>
1402 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1403 <trimStackTrace>false</trimStackTrace>
1407 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1409 <!-- Support Blueprint XML construction using annotations -->
1410 <groupId>org.apache.aries.blueprint</groupId>
1411 <artifactId>blueprint-maven-plugin</artifactId>
1412 <version>1.10.0</version>
1413 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1414 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1417 <groupId>org.apache.xbean</groupId>
1418 <artifactId>xbean-finder-shaded</artifactId>
1419 <version>4.14</version>
1424 <scanPath>${project.groupId}</scanPath>
1430 <goal>blueprint-generate</goal>
1437 <groupId>org.apache.felix</groupId>
1438 <artifactId>maven-bundle-plugin</artifactId>
1439 <version>4.2.1</version>
1440 <extensions>true</extensions>
1443 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1444 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1445 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1446 <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>
1448 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1449 to generate Import-Service and Export-Service headers. -->
1450 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1456 <groupId>org.apache.karaf.tooling</groupId>
1457 <artifactId>karaf-maven-plugin</artifactId>
1458 <version>${karaf.version}</version>
1462 <groupId>org.apache.servicemix.tooling</groupId>
1463 <artifactId>depends-maven-plugin</artifactId>
1464 <version>1.4.0</version>
1467 <id>generate-depends-file</id>
1469 <goal>generate-depends-file</goal>
1476 <groupId>com.webcohesion.enunciate</groupId>
1477 <artifactId>enunciate-maven-plugin</artifactId>
1478 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1479 <version>2.11.1</version>
1483 <groupId>org.gaul</groupId>
1484 <artifactId>modernizer-maven-plugin</artifactId>
1485 <version>2.0.0</version>
1487 <javaVersion>${odlparent.modernizer.target}</javaVersion>
1488 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1489 <skip>${odlparent.modernizer.skip}</skip>
1495 <phase>verify</phase>
1497 <goal>modernizer</goal>
1504 <groupId>com.github.spotbugs</groupId>
1505 <artifactId>spotbugs-maven-plugin</artifactId>
1506 <version>3.1.12.2</version>
1509 <groupId>com.github.spotbugs</groupId>
1510 <artifactId>spotbugs</artifactId>
1511 <version>3.1.12</version>
1514 <groupId>org.opendaylight.odlparent</groupId>
1515 <artifactId>spotbugs</artifactId>
1516 <version>6.0.3-SNAPSHOT</version>
1519 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1520 <groupId>org.slf4j</groupId>
1521 <artifactId>slf4j-simple</artifactId>
1522 <version>1.8.0-beta2</version>
1528 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1529 <artifactId>bug-pattern</artifactId>
1530 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1531 <version>1.4.2</version>
1535 Enables analysis which takes more memory but finds more bugs.
1536 If you run out of memory, changes the value of the effort element
1539 <effort>Max</effort>
1540 <!-- Reports all bugs (other values are medium and max) -->
1541 <threshold>Low</threshold>
1542 <!-- Build doesn't fail if problems are found -->
1543 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1544 <skip>${odlparent.spotbugs.skip}</skip>
1545 <!-- References the excluded rules -->
1546 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1547 <!-- Produces XML report -->
1548 <xmlOutput>true</xmlOutput>
1549 <!-- Configures the directory in which the XML report is created -->
1550 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1554 Ensures that SpotBugs inspects source code when project is compiled.
1557 <id>analyze-compile</id>
1558 <phase>compile</phase>
1566 <groupId>org.codehaus.mojo</groupId>
1567 <artifactId>properties-maven-plugin</artifactId>
1568 <version>1.0.0</version>
1571 <groupId>org.eclipse.xtend</groupId>
1572 <artifactId>xtend-maven-plugin</artifactId>
1573 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1574 <version>2.19.0</version>
1578 <goal>compile</goal>
1579 <goal>testCompile</goal>
1582 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1583 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1589 <groupId>org.eclipse.m2e</groupId>
1590 <artifactId>lifecycle-mapping</artifactId>
1591 <version>1.0.0</version>
1593 <lifecycleMappingMetadata>
1596 <pluginExecutionFilter>
1597 <groupId>org.apache.felix</groupId>
1598 <artifactId>maven-bundle-plugin</artifactId>
1599 <versionRange>[1.0,)</versionRange>
1601 <goal>manifest</goal>
1603 </pluginExecutionFilter>
1609 <pluginExecutionFilter>
1610 <groupId>org.apache.maven.plugins</groupId>
1611 <artifactId>maven-enforcer-plugin</artifactId>
1612 <versionRange>[1.0.0,)</versionRange>
1614 <goal>enforce</goal>
1616 </pluginExecutionFilter>
1622 <pluginExecutionFilter>
1623 <groupId>org.apache.maven.plugins</groupId>
1624 <artifactId>maven-dependency-plugin</artifactId>
1625 <versionRange>[2.10,)</versionRange>
1629 </pluginExecutionFilter>
1635 <pluginExecutionFilter>
1636 <groupId>org.apache.maven.plugins</groupId>
1637 <artifactId>maven-pmd-plugin</artifactId>
1638 <versionRange>[3.6,)</versionRange>
1640 <goal>cpd-check</goal>
1642 </pluginExecutionFilter>
1647 <!-- The plugin will eventually be removed, remove this too at that point -->
1649 <pluginExecutionFilter>
1650 <groupId>org.apache.maven.plugins</groupId>
1651 <artifactId>maven-antrun-plugin</artifactId>
1652 <versionRange>[1.8,)</versionRange>
1656 </pluginExecutionFilter>
1662 <pluginExecutionFilter>
1663 <groupId>org.apache.servicemix.tooling</groupId>
1664 <artifactId>depends-maven-plugin</artifactId>
1665 <versionRange>[1.2,)</versionRange>
1667 <goal>generate-depends-file</goal>
1669 </pluginExecutionFilter>
1675 <pluginExecutionFilter>
1676 <groupId>org.jacoco</groupId>
1677 <artifactId>jacoco-maven-plugin</artifactId>
1678 <versionRange>[0.7.0,)</versionRange>
1680 <goal>prepare-agent</goal>
1682 </pluginExecutionFilter>
1689 <pluginExecutionFilter>
1690 <groupId>org.ops4j.pax.exam</groupId>
1691 <artifactId>maven-paxexam-plugin</artifactId>
1692 <versionRange>[1.2.4,)</versionRange>
1694 <goal>generate-depends-file</goal>
1696 </pluginExecutionFilter>
1703 <pluginExecutionFilter>
1704 <groupId>org.basepom.maven</groupId>
1706 duplicate-finder-maven-plugin
1708 <versionRange>[1.2.1,)</versionRange>
1712 </pluginExecutionFilter>
1718 </lifecycleMappingMetadata>
1723 <groupId>org.jacoco</groupId>
1724 <artifactId>jacoco-maven-plugin</artifactId>
1726 <!-- Note: This exclusion list should match <sonar.exclusions>
1729 <exclude>**/gen/**</exclude>
1730 <exclude>**/generated-sources/**</exclude>
1731 <exclude>**/generated-test-sources/**</exclude>
1732 <exclude>**/yang-gen/**</exclude>
1733 <exclude>**/yang-gen-config/**</exclude>
1734 <exclude>**/yang-gen-sal/**</exclude>
1735 <exclude>**/yang-gen-code/**</exclude>
1736 <exclude>**/pax/**</exclude>
1742 <groupId>org.ops4j.pax.exam</groupId>
1743 <artifactId>maven-paxexam-plugin</artifactId>
1744 <version>1.2.4</version>
1747 <!-- When updating this version, consider antl4-runtime above -->
1749 <groupId>org.antlr</groupId>
1750 <artifactId>antlr4-maven-plugin</artifactId>
1751 <version>4.7.2</version>
1758 <artifactId>maven-enforcer-plugin</artifactId>
1761 <id>enforce-banned-dependencies</id>
1763 <goal>enforce</goal>
1767 <bannedDependencies>
1768 <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>
1770 <exclude>org.mockito:mockito-all</exclude>
1771 <exclude>com.google.code.findbugs:annotations</exclude>
1773 </bannedDependencies>
1781 <groupId>org.basepom.maven</groupId>
1782 <artifactId>duplicate-finder-maven-plugin</artifactId>
1783 <version>1.3.0</version>
1786 <id>find-duplicate-classpath-entries</id>
1787 <phase>verify</phase>
1794 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1795 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1796 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1797 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1798 <printEqualFiles>false</printEqualFiles>
1800 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1801 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1802 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1804 <ignoredResourcePatterns>
1805 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1806 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1807 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1808 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1809 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1810 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1811 </ignoredResourcePatterns>
1812 <ignoredClassPatterns>
1813 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1814 </ignoredClassPatterns>
1815 <ignoredDependencies>
1817 <groupId>org.slf4j</groupId>
1818 <artifactId>slf4j-simple</artifactId>
1819 </ignoredDependency>
1821 <groupId>org.opendaylight.odlparent</groupId>
1822 <artifactId>opendaylight-karaf-empty</artifactId>
1823 </ignoredDependency>
1824 </ignoredDependencies>
1828 <artifactId>maven-dependency-plugin</artifactId>
1831 <artifactId>maven-checkstyle-plugin</artifactId>
1834 <artifactId>maven-pmd-plugin</artifactId>
1837 <artifactId>maven-source-plugin</artifactId>
1840 <artifactId>maven-javadoc-plugin</artifactId>
1843 <groupId>org.gaul</groupId>
1844 <artifactId>modernizer-maven-plugin</artifactId>
1847 <groupId>com.github.spotbugs</groupId>
1848 <artifactId>spotbugs-maven-plugin</artifactId>
1851 <!-- Jacoco / Sonar -->
1853 <groupId>org.jacoco</groupId>
1854 <artifactId>jacoco-maven-plugin</artifactId>
1857 <id>pre-unit-test</id>
1859 <goal>prepare-agent</goal>
1862 <destFile>${jacoco.destFile}</destFile>
1869 <groupId>com.alexecollins.maven.plugin</groupId>
1870 <artifactId>script-maven-plugin</artifactId>
1871 <version>1.0.0</version>
1874 <phase>prepare-package</phase>
1876 <goal>execute</goal>
1880 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1881 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1882 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1883 // static class methods only - it will be MUCH easier to write!)
1884 void copy(File root, String glob, File target) {
1885 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1886 Iterator dirStreamIterator = dirStream.iterator();
1887 while (dirStreamIterator.hasNext()) {
1888 java.nio.file.Path path = dirStreamIterator.next();
1889 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1890 new java.nio.file.CopyOption[] {
1891 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1892 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1899 File gitRepoRootDir = project.basedir;
1900 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1901 gitRepoRootDir = gitRepoRootDir.getParentFile();
1904 File target = new File(project.build.outputDirectory);
1906 copy(gitRepoRootDir, "README*", target);
1907 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1908 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1915 <groupId>org.apache-extras.beanshell</groupId>
1916 <artifactId>bsh</artifactId>
1917 <version>2.0b6</version>
1927 <artifactId>maven-checkstyle-plugin</artifactId>
1928 <version>3.1.0</version>
1931 <!-- FIXME: activate this
1933 <artifactId>maven-project-info-reports-plugin</artifactId>
1934 <version>${projectinfo}</version>
1937 <groupId>org.codehaus.mojo</groupId>
1938 <artifactId>jdepend-maven-plugin</artifactId>
1942 <report>generate-no-fork</report>