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-in into modernizer-maven-plugin failing the build on violations. Defaults
78 to false. Set to 'true' in pom.xml of project which desires to enforce
79 no reported violations. -->
80 <odlparent.modernizer.enforce>false</odlparent.modernizer.enforce>
82 <!-- Opt-out from running modernizer-maven-plugin at all. Defaults to false,
83 set to 'true' in pom.xml of project which desires to completely skip
85 <odlparent.modernizer.skip>false</odlparent.modernizer.skip>
87 <!-- Opt-out from spotbugs-maven-plugin failing the build on violations. Defaults
88 to true. Set to 'false' in pom.xml of project which desires to not enforce
89 no reported violations. -->
90 <odlparent.spotbugs.enforce>true</odlparent.spotbugs.enforce>
92 <!-- Opt-out from running spotbugs-maven-plugin at all. Defaults to false,
93 set to 'true' in pom.xml of project which desires to completely skip
95 <odlparent.spotbugs.skip>false</odlparent.spotbugs.skip>
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.25</version>
264 <groupId>org.slf4j</groupId>
265 <artifactId>slf4j-api</artifactId>
266 <version>1.7.25</version>
269 <groupId>org.slf4j</groupId>
270 <artifactId>slf4j-log4j12</artifactId>
271 <version>1.7.25</version>
274 <groupId>org.slf4j</groupId>
275 <artifactId>log4j-over-slf4j</artifactId>
276 <version>1.7.25</version>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-simple</artifactId>
281 <version>1.7.25</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.7</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.24</version>
717 <groupId>com.typesafe.akka</groupId>
718 <artifactId>akka-cluster_2.12</artifactId>
719 <version>2.5.24</version>
722 <groupId>com.typesafe.akka</groupId>
723 <artifactId>akka-osgi_2.12</artifactId>
724 <version>2.5.24</version>
727 <groupId>com.typesafe.akka</groupId>
728 <artifactId>akka-persistence_2.12</artifactId>
729 <version>2.5.24</version>
732 <groupId>com.typesafe.akka</groupId>
733 <artifactId>akka-persistence-tck_2.12</artifactId>
734 <version>2.5.24</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-protobuf_2.12</artifactId>
740 <version>2.5.24</version>
743 <groupId>com.typesafe.akka</groupId>
744 <artifactId>akka-remote_2.12</artifactId>
745 <version>2.5.24</version>
748 <groupId>com.typesafe.akka</groupId>
749 <artifactId>akka-slf4j_2.12</artifactId>
750 <version>2.5.24</version>
753 <groupId>com.typesafe.akka</groupId>
754 <artifactId>akka-stream_2.12</artifactId>
755 <version>2.5.24</version>
758 <groupId>com.typesafe.akka</groupId>
759 <artifactId>akka-testkit_2.12</artifactId>
760 <version>2.5.24</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.9</version>
803 <groupId>org.scala-lang</groupId>
804 <artifactId>scala-reflect</artifactId>
805 <version>2.12.9</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.8.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.17.1</version>
977 <groupId>org.eclipse.xtend</groupId>
978 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
979 <version>2.17.1</version>
982 <groupId>org.eclipse.xtext</groupId>
983 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
984 <version>2.17.1</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.2.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.2.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+ -->
1096 FIXME: bump this to 2.3.0 once we require Java 9+
1097 FIXME: bump this to whatever karaf provides once we require Java 11+
1100 <groupId>javax.xml.bind</groupId>
1101 <artifactId>jaxb-api</artifactId>
1102 <version>2.2.8</version>
1105 <!-- Provided by JRE -->
1106 <groupId>javax.xml.stream</groupId>
1107 <artifactId>stax-api</artifactId>
1112 <groupId>com.sun.xml.bind</groupId>
1113 <artifactId>jaxb-core</artifactId>
1114 <version>2.2.11</version>
1117 <groupId>com.sun.xml.bind</groupId>
1118 <artifactId>jaxb-impl</artifactId>
1119 <version>2.2.11</version>
1122 </dependencyManagement>
1126 We expect slf4j-api to be provided by the platform.
1127 Karaf provides it, other containers need to provide it themselves.
1130 <groupId>org.slf4j</groupId>
1131 <artifactId>slf4j-api</artifactId>
1132 <scope>provided</scope>
1136 Enable useful code quality annotations everywhere. Since these annotations
1137 are not required at runtime.
1140 <groupId>org.eclipse.jdt</groupId>
1141 <artifactId>org.eclipse.jdt.annotation</artifactId>
1142 <scope>provided</scope>
1145 <groupId>com.github.spotbugs</groupId>
1146 <artifactId>spotbugs-annotations</artifactId>
1147 <scope>provided</scope>
1148 <optional>true</optional>
1151 <groupId>org.gaul</groupId>
1152 <artifactId>modernizer-maven-annotations</artifactId>
1153 <scope>provided</scope>
1157 Testing output should be routed through slf4j-simple.
1160 <groupId>org.slf4j</groupId>
1161 <artifactId>slf4j-simple</artifactId>
1166 Unit tests can use JUnit + Mockito + Hamcrest by default.
1169 <groupId>org.hamcrest</groupId>
1170 <artifactId>hamcrest</artifactId>
1174 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1175 <groupId>org.hamcrest</groupId>
1176 <artifactId>hamcrest-library</artifactId>
1180 <groupId>junit</groupId>
1181 <artifactId>junit</artifactId>
1185 <groupId>org.mockito</groupId>
1186 <artifactId>mockito-core</artifactId>
1194 <!-- Official maven plugins, alpha-sorted by artifactId.
1195 We do not need to specify the groupId. -->
1197 <artifactId>maven-antrun-plugin</artifactId>
1198 <version>1.8</version>
1201 <artifactId>maven-checkstyle-plugin</artifactId>
1202 <version>3.1.0</version>
1205 <groupId>com.puppycrawl.tools</groupId>
1206 <artifactId>checkstyle</artifactId>
1207 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1208 <version>8.20</version>
1211 <groupId>org.opendaylight.odlparent</groupId>
1212 <artifactId>checkstyle</artifactId>
1213 <version>6.0.0-SNAPSHOT</version>
1216 <groupId>org.opendaylight.odlparent</groupId>
1217 <artifactId>odl-license</artifactId>
1218 <version>6.0.0-SNAPSHOT</version>
1221 <groupId>com.github.sevntu-checkstyle</groupId>
1222 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1223 <version>1.35.0</version>
1227 <configLocation>odl_checks.xml</configLocation>
1228 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1229 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1230 generated sources directory -->
1232 <directory>${project.build.sourceDirectory}</directory>
1233 </sourceDirectories>
1234 <includeResources>true</includeResources>
1235 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1236 <includeTestResources>true</includeTestResources>
1237 <includes>**\/*.java, **\/*.xtend</includes>
1239 org/opendaylight/yang/gen/**,
1240 **/protobuff/messages/**,
1241 **/thrift/gen/*.java,
1244 <failsOnError>false</failsOnError>
1245 <consoleOutput>true</consoleOutput>
1249 <id>check-license</id>
1253 <phase>process-sources</phase>
1255 <configLocation>check-license.xml</configLocation>
1256 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1257 <includeResources>false</includeResources>
1258 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1259 <includeTestResources>false</includeTestResources>
1261 <directory>${project.build.sourceDirectory}</directory>
1262 </sourceDirectories>
1264 org/opendaylight/yang/gen/**,
1265 **/protobuff/messages/**,
1266 **/thrift/gen/*.java
1268 <failsOnError>false</failsOnError>
1269 <consoleOutput>true</consoleOutput>
1276 <phase>process-sources</phase>
1281 <groupId>org.apache.maven.plugins</groupId>
1282 <artifactId>maven-pmd-plugin</artifactId>
1283 <version>3.12.0</version>
1287 <phase>process-sources</phase>
1289 <goal>cpd-check</goal>
1292 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1293 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1294 <minimumTokens>101</minimumTokens>
1295 <printFailingErrors>true</printFailingErrors>
1297 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1298 not understand path prefixes nor wildcards. Details are available
1299 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1300 Hence people introducing new generated sources have to include
1303 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1304 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1306 <linkXRef>false</linkXRef>
1312 <artifactId>maven-compiler-plugin</artifactId>
1313 <version>3.8.1</version>
1315 <showWarnings>true</showWarnings>
1317 <arg>-parameters</arg>
1318 <arg>-Xlint:deprecation</arg>
1319 <arg>-Xlint:unchecked</arg>
1324 <artifactId>maven-enforcer-plugin</artifactId>
1325 <version>${enforcer.version}</version>
1328 <artifactId>maven-failsafe-plugin</artifactId>
1329 <version>2.22.2</version>
1332 <artifactId>maven-invoker-plugin</artifactId>
1333 <version>3.2.0</version>
1336 <artifactId>maven-jar-plugin</artifactId>
1337 <version>3.1.2</version>
1340 <artifactId>maven-dependency-plugin</artifactId>
1343 <id>unpack-license</id>
1344 <phase>generate-resources</phase>
1345 <goals><goal>unpack</goal></goals>
1349 <groupId>org.opendaylight.odlparent</groupId>
1350 <artifactId>odl-license</artifactId>
1351 <version>6.0.0-SNAPSHOT</version>
1354 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1355 <excludes>META-INF/**</excludes>
1356 <silent>true</silent>
1363 <artifactId>maven-plugin-plugin</artifactId>
1364 <version>3.6.0</version>
1368 <artifactId>maven-remote-resources-plugin</artifactId>
1369 <version>1.6.0</version>
1372 <artifactId>maven-resources-plugin</artifactId>
1373 <version>3.1.0</version>
1376 <artifactId>maven-shade-plugin</artifactId>
1377 <version>3.2.1</version>
1380 <artifactId>maven-source-plugin</artifactId>
1381 <version>3.1.0</version>
1384 <id>attach-sources</id>
1385 <phase>verify</phase>
1387 <goal>jar-no-fork</goal>
1393 <artifactId>maven-surefire-plugin</artifactId>
1394 <version>2.22.2</version>
1396 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1397 <trimStackTrace>false</trimStackTrace>
1401 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1403 <!-- Support Blueprint XML construction using annotations -->
1404 <groupId>org.apache.aries.blueprint</groupId>
1405 <artifactId>blueprint-maven-plugin</artifactId>
1406 <version>1.10.0</version>
1407 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1408 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1411 <groupId>org.apache.xbean</groupId>
1412 <artifactId>xbean-finder-shaded</artifactId>
1413 <version>4.14</version>
1418 <scanPath>${project.groupId}</scanPath>
1424 <goal>blueprint-generate</goal>
1431 <groupId>org.apache.felix</groupId>
1432 <artifactId>maven-bundle-plugin</artifactId>
1433 <version>4.2.0</version>
1434 <extensions>true</extensions>
1437 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1438 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1439 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1440 <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>
1442 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1443 to generate Import-Service and Export-Service headers. -->
1444 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1450 <groupId>org.apache.karaf.tooling</groupId>
1451 <artifactId>karaf-maven-plugin</artifactId>
1452 <version>${karaf.version}</version>
1456 <groupId>org.apache.servicemix.tooling</groupId>
1457 <artifactId>depends-maven-plugin</artifactId>
1458 <version>1.4.0</version>
1461 <id>generate-depends-file</id>
1463 <goal>generate-depends-file</goal>
1470 <groupId>com.webcohesion.enunciate</groupId>
1471 <artifactId>enunciate-maven-plugin</artifactId>
1472 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1473 <version>2.11.1</version>
1477 <groupId>org.gaul</groupId>
1478 <artifactId>modernizer-maven-plugin</artifactId>
1479 <version>1.8.0</version>
1481 <javaVersion>1.8</javaVersion>
1482 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1483 <skip>${odlparent.modernizer.skip}</skip>
1489 <phase>verify</phase>
1491 <goal>modernizer</goal>
1498 <groupId>com.github.spotbugs</groupId>
1499 <artifactId>spotbugs-maven-plugin</artifactId>
1500 <version>3.1.12.2</version>
1503 <groupId>com.github.spotbugs</groupId>
1504 <artifactId>spotbugs</artifactId>
1505 <version>3.1.12</version>
1508 <groupId>org.opendaylight.odlparent</groupId>
1509 <artifactId>spotbugs</artifactId>
1510 <version>6.0.0-SNAPSHOT</version>
1513 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1514 <groupId>org.slf4j</groupId>
1515 <artifactId>slf4j-simple</artifactId>
1516 <version>1.8.0-beta2</version>
1522 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1523 <artifactId>bug-pattern</artifactId>
1524 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1525 <version>1.4.2</version>
1529 Enables analysis which takes more memory but finds more bugs.
1530 If you run out of memory, changes the value of the effort element
1533 <effort>Max</effort>
1534 <!-- Reports all bugs (other values are medium and max) -->
1535 <threshold>Low</threshold>
1536 <!-- Build doesn't fail if problems are found -->
1537 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1538 <skip>${odlparent.spotbugs.skip}</skip>
1539 <!-- References the excluded rules -->
1540 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1541 <!-- Produces XML report -->
1542 <xmlOutput>true</xmlOutput>
1543 <!-- Configures the directory in which the XML report is created -->
1544 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1548 Ensures that SpotBugs inspects source code when project is compiled.
1551 <id>analyze-compile</id>
1552 <phase>compile</phase>
1560 <groupId>org.codehaus.mojo</groupId>
1561 <artifactId>properties-maven-plugin</artifactId>
1562 <version>1.0.0</version>
1565 <groupId>org.eclipse.xtend</groupId>
1566 <artifactId>xtend-maven-plugin</artifactId>
1567 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1568 <version>2.17.1</version>
1572 <goal>compile</goal>
1573 <goal>testCompile</goal>
1576 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1577 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1583 <groupId>org.eclipse.m2e</groupId>
1584 <artifactId>lifecycle-mapping</artifactId>
1585 <version>1.0.0</version>
1587 <lifecycleMappingMetadata>
1590 <pluginExecutionFilter>
1591 <groupId>org.apache.felix</groupId>
1592 <artifactId>maven-bundle-plugin</artifactId>
1593 <versionRange>[1.0,)</versionRange>
1595 <goal>manifest</goal>
1597 </pluginExecutionFilter>
1603 <pluginExecutionFilter>
1604 <groupId>org.apache.maven.plugins</groupId>
1605 <artifactId>maven-enforcer-plugin</artifactId>
1606 <versionRange>[1.0.0,)</versionRange>
1608 <goal>enforce</goal>
1610 </pluginExecutionFilter>
1616 <pluginExecutionFilter>
1617 <groupId>org.apache.maven.plugins</groupId>
1618 <artifactId>maven-dependency-plugin</artifactId>
1619 <versionRange>[2.10,)</versionRange>
1623 </pluginExecutionFilter>
1629 <pluginExecutionFilter>
1630 <groupId>org.apache.maven.plugins</groupId>
1631 <artifactId>maven-pmd-plugin</artifactId>
1632 <versionRange>[3.6,)</versionRange>
1634 <goal>cpd-check</goal>
1636 </pluginExecutionFilter>
1641 <!-- The plugin will eventually be removed, remove this too at that point -->
1643 <pluginExecutionFilter>
1644 <groupId>org.apache.maven.plugins</groupId>
1645 <artifactId>maven-antrun-plugin</artifactId>
1646 <versionRange>[1.8,)</versionRange>
1650 </pluginExecutionFilter>
1656 <pluginExecutionFilter>
1657 <groupId>org.apache.servicemix.tooling</groupId>
1658 <artifactId>depends-maven-plugin</artifactId>
1659 <versionRange>[1.2,)</versionRange>
1661 <goal>generate-depends-file</goal>
1663 </pluginExecutionFilter>
1669 <pluginExecutionFilter>
1670 <groupId>org.jacoco</groupId>
1671 <artifactId>jacoco-maven-plugin</artifactId>
1672 <versionRange>[0.7.0,)</versionRange>
1674 <goal>prepare-agent</goal>
1676 </pluginExecutionFilter>
1683 <pluginExecutionFilter>
1684 <groupId>org.ops4j.pax.exam</groupId>
1685 <artifactId>maven-paxexam-plugin</artifactId>
1686 <versionRange>[1.2.4,)</versionRange>
1688 <goal>generate-depends-file</goal>
1690 </pluginExecutionFilter>
1697 <pluginExecutionFilter>
1698 <groupId>org.basepom.maven</groupId>
1700 duplicate-finder-maven-plugin
1702 <versionRange>[1.2.1,)</versionRange>
1706 </pluginExecutionFilter>
1712 </lifecycleMappingMetadata>
1717 <groupId>org.jacoco</groupId>
1718 <artifactId>jacoco-maven-plugin</artifactId>
1720 <!-- Note: This exclusion list should match <sonar.exclusions>
1723 <exclude>**/gen/**</exclude>
1724 <exclude>**/generated-sources/**</exclude>
1725 <exclude>**/generated-test-sources/**</exclude>
1726 <exclude>**/yang-gen/**</exclude>
1727 <exclude>**/yang-gen-config/**</exclude>
1728 <exclude>**/yang-gen-sal/**</exclude>
1729 <exclude>**/yang-gen-code/**</exclude>
1730 <exclude>**/pax/**</exclude>
1736 <groupId>org.ops4j.pax.exam</groupId>
1737 <artifactId>maven-paxexam-plugin</artifactId>
1738 <version>1.2.4</version>
1742 <groupId>org.codehaus.mojo</groupId>
1743 <artifactId>jdepend-maven-plugin</artifactId>
1744 <version>2.0</version>
1749 <goal>generate-no-fork</goal>
1755 <!-- When updating this version, consider antl4-runtime above -->
1757 <groupId>org.antlr</groupId>
1758 <artifactId>antlr4-maven-plugin</artifactId>
1759 <version>4.7.2</version>
1766 <artifactId>maven-enforcer-plugin</artifactId>
1769 <id>enforce-banned-dependencies</id>
1771 <goal>enforce</goal>
1775 <bannedDependencies>
1776 <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>
1778 <exclude>org.mockito:mockito-all</exclude>
1779 <exclude>com.google.code.findbugs:annotations</exclude>
1781 </bannedDependencies>
1789 <groupId>org.basepom.maven</groupId>
1790 <artifactId>duplicate-finder-maven-plugin</artifactId>
1791 <version>1.3.0</version>
1794 <id>find-duplicate-classpath-entries</id>
1795 <phase>verify</phase>
1802 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1803 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1804 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1805 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1806 <printEqualFiles>false</printEqualFiles>
1808 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1809 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1810 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1812 <ignoredResourcePatterns>
1813 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1814 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1815 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1816 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1817 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1818 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1819 </ignoredResourcePatterns>
1820 <ignoredClassPatterns>
1821 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1822 </ignoredClassPatterns>
1823 <ignoredDependencies>
1825 <groupId>org.slf4j</groupId>
1826 <artifactId>slf4j-simple</artifactId>
1827 </ignoredDependency>
1829 <groupId>org.opendaylight.odlparent</groupId>
1830 <artifactId>opendaylight-karaf-empty</artifactId>
1831 </ignoredDependency>
1832 </ignoredDependencies>
1836 <artifactId>maven-dependency-plugin</artifactId>
1839 <artifactId>maven-checkstyle-plugin</artifactId>
1842 <artifactId>maven-pmd-plugin</artifactId>
1845 <artifactId>maven-source-plugin</artifactId>
1848 <artifactId>maven-javadoc-plugin</artifactId>
1851 <groupId>org.gaul</groupId>
1852 <artifactId>modernizer-maven-plugin</artifactId>
1855 <groupId>com.github.spotbugs</groupId>
1856 <artifactId>spotbugs-maven-plugin</artifactId>
1859 <!-- Jacoco / Sonar -->
1861 <groupId>org.jacoco</groupId>
1862 <artifactId>jacoco-maven-plugin</artifactId>
1865 <id>pre-unit-test</id>
1867 <goal>prepare-agent</goal>
1870 <destFile>${jacoco.destFile}</destFile>
1877 <groupId>com.alexecollins.maven.plugin</groupId>
1878 <artifactId>script-maven-plugin</artifactId>
1879 <version>1.0.0</version>
1882 <phase>prepare-package</phase>
1884 <goal>execute</goal>
1888 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1889 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1890 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1891 // static class methods only - it will be MUCH easier to write!)
1892 void copy(File root, String glob, File target) {
1893 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1894 Iterator dirStreamIterator = dirStream.iterator();
1895 while (dirStreamIterator.hasNext()) {
1896 java.nio.file.Path path = dirStreamIterator.next();
1897 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1898 new java.nio.file.CopyOption[] {
1899 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1900 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1907 File gitRepoRootDir = project.basedir;
1908 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1909 gitRepoRootDir = gitRepoRootDir.getParentFile();
1912 File target = new File(project.build.outputDirectory);
1914 copy(gitRepoRootDir, "README*", target);
1915 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1916 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1923 <groupId>org.apache-extras.beanshell</groupId>
1924 <artifactId>bsh</artifactId>
1925 <version>2.0b6</version>
1935 <artifactId>maven-checkstyle-plugin</artifactId>
1936 <version>3.1.0</version>
1939 <!-- FIXME: activate this
1941 <artifactId>maven-project-info-reports-plugin</artifactId>
1942 <version>${projectinfo}</version>
1945 <groupId>org.codehaus.mojo</groupId>
1946 <artifactId>jdepend-maven-plugin</artifactId>
1950 <report>generate-no-fork</report>