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>7.0.4-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 controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
47 <karaf.version>4.2.9</karaf.version>
49 <!-- Supporting Libraries -->
50 <!-- Only used internally -->
51 <bouncycastle.version>1.66</bouncycastle.version>
53 <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
54 to allow projects to report Sonar values from the entire project. -->
55 <jacoco.destFile>${project.build.directory}/code-coverage/jacoco.exec</jacoco.destFile>
56 <jacoco.dataFile>${jacoco.destFile}</jacoco.dataFile>
58 <!-- Default Sonar configuration -->
59 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
60 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
62 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
63 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
65 <!-- Opt-in code quality checks -->
66 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
67 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
69 <!-- Redirect test output to files (overridable) -->
70 <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
72 <!-- Opt-out from maven-checkstyle-plugin failing the build on violations. Defaults
73 to true. Set to 'false' in pom.xml of project which desires to not enforce
74 no reported violations. -->
75 <odlparent.checkstyle.enforce>true</odlparent.checkstyle.enforce>
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 <!-- Target release for modernizer-maven-plugin. It defaults to '1.8',
83 meaning Java 8, but can be set to any version in pom.xml of project
84 which desires to override it (such as '1.11' for Java 11). -->
85 <odlparent.modernizer.target>1.8</odlparent.modernizer.target>
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>
93 <dependencyManagement>
97 <groupId>org.opendaylight.odlparent</groupId>
98 <artifactId>odlparent-artifacts</artifactId>
99 <version>7.0.4-SNAPSHOT</version>
100 <scope>import</scope>
104 <!-- We import Karaf dependencies to ensure we converge by default on the versions used there -->
106 <groupId>org.apache.karaf.features</groupId>
107 <artifactId>framework</artifactId>
108 <version>${karaf.version}</version>
109 <scope>import</scope>
113 <!-- Build tool dependencies (normally not here in <dependencies>,
114 but in a <dependency> in <pluginManagement> but for Checkstyle this
115 is required so that we can share the same version of Checkstyle
116 for both the Maven plugin below as well as for custom Checkstyle
117 check rule projects, such as yangtools' checkstyle-logging) -->
119 <groupId>com.puppycrawl.tools</groupId>
120 <artifactId>checkstyle</artifactId>
121 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
122 <version>8.34</version>
125 <!-- Testing Dependencies -->
126 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
128 <groupId>junit</groupId>
129 <artifactId>junit</artifactId>
130 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
131 <version>4.13</version>
135 <groupId>org.skyscreamer</groupId>
136 <artifactId>jsonassert</artifactId>
137 <version>1.5.0</version>
141 <groupId>org.mockito</groupId>
142 <artifactId>mockito-core</artifactId>
143 <version>3.3.3</version>
147 <groupId>org.mockito</groupId>
148 <artifactId>mockito-inline</artifactId>
149 <version>3.3.3</version>
153 <groupId>org.hamcrest</groupId>
154 <artifactId>hamcrest</artifactId>
155 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
156 <version>2.2</version>
160 <groupId>org.hamcrest</groupId>
161 <artifactId>hamcrest-core</artifactId>
162 <version>2.2</version>
166 <groupId>org.hamcrest</groupId>
167 <artifactId>hamcrest-library</artifactId>
168 <version>2.2</version>
172 <groupId>com.google.truth</groupId>
173 <artifactId>truth</artifactId>
174 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
175 <version>1.0.1</version>
179 <groupId>com.google.truth.extensions</groupId>
180 <artifactId>truth-java8-extension</artifactId>
181 <version>1.0.1</version>
185 <groupId>org.awaitility</groupId>
186 <artifactId>awaitility</artifactId>
187 <version>3.0.0</version>
191 <groupId>org.awaitility</groupId>
192 <artifactId>awaitility-proxy</artifactId>
193 <version>3.0.0</version>
197 <groupId>org.powermock</groupId>
198 <artifactId>powermock-api-mockito2</artifactId>
199 <version>2.0.7</version>
203 <groupId>org.powermock</groupId>
204 <artifactId>powermock-api-support</artifactId>
205 <version>2.0.7</version>
209 <groupId>org.powermock</groupId>
210 <artifactId>powermock-core</artifactId>
211 <version>2.0.7</version>
215 <groupId>org.powermock</groupId>
216 <artifactId>powermock-module-junit4</artifactId>
217 <version>2.0.7</version>
221 <groupId>org.powermock</groupId>
222 <artifactId>powermock-reflect</artifactId>
223 <version>2.0.7</version>
228 Annotation Processors
231 <!-- Generates immutable implementations, builders, the works -->
232 <groupId>org.immutables</groupId>
233 <artifactId>value</artifactId>
234 <classifier>annotations</classifier>
235 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
236 <version>2.7.5</version>
237 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
238 <scope>provided</scope>
242 <!-- Generates META-INF/services entries for ServiceLoader -->
243 <groupId>org.kohsuke.metainf-services</groupId>
244 <artifactId>metainf-services</artifactId>
245 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
246 <version>1.8</version>
247 <optional>true</optional>
248 <scope>provided</scope>
255 <groupId>org.slf4j</groupId>
256 <artifactId>jcl-over-slf4j</artifactId>
257 <version>1.7.28</version>
260 <groupId>org.slf4j</groupId>
261 <artifactId>slf4j-api</artifactId>
262 <version>1.7.28</version>
265 <groupId>org.slf4j</groupId>
266 <artifactId>slf4j-log4j12</artifactId>
267 <version>1.7.28</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>log4j-over-slf4j</artifactId>
272 <version>1.7.28</version>
275 <groupId>org.slf4j</groupId>
276 <artifactId>slf4j-simple</artifactId>
277 <version>1.7.28</version>
281 <groupId>ch.qos.logback</groupId>
282 <artifactId>logback-core</artifactId>
283 <version>1.2.3</version>
286 <groupId>ch.qos.logback</groupId>
287 <artifactId>logback-classic</artifactId>
288 <version>1.2.3</version>
293 <groupId>org.apache.logging.log4j</groupId>
294 <artifactId>log4j-bom</artifactId>
295 <version>2.13.3</version>
296 <scope>import</scope>
301 <groupId>com.google.guava</groupId>
302 <artifactId>guava</artifactId>
303 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
304 <version>28.2-jre</version>
307 <!-- Do not leak JSR305 onto the classpath by default -->
308 <groupId>com.google.code.findbugs</groupId>
309 <artifactId>jsr305</artifactId>
314 <groupId>com.google.guava</groupId>
315 <artifactId>guava-testlib</artifactId>
316 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
317 <version>28.2-jre</version>
321 <!-- Do not leak JSR305 onto the classpath by default -->
322 <groupId>com.google.code.findbugs</groupId>
323 <artifactId>jsr305</artifactId>
329 <groupId>commons-beanutils</groupId>
330 <artifactId>commons-beanutils</artifactId>
331 <version>1.9.4</version>
334 <groupId>org.apache.commons</groupId>
335 <artifactId>commons-lang3</artifactId>
336 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
337 <version>3.10</version>
340 <groupId>org.apache.commons</groupId>
341 <artifactId>commons-text</artifactId>
342 <version>1.8</version>
345 <groupId>commons-lang</groupId>
346 <artifactId>commons-lang</artifactId>
347 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
348 <version>2.6</version>
351 <groupId>commons-codec</groupId>
352 <artifactId>commons-codec</artifactId>
353 <version>1.14</version>
355 <!-- Jersey for JAXRS -->
357 <groupId>javax.ws.rs</groupId>
358 <artifactId>javax.ws.rs-api</artifactId>
359 <version>2.1.1</version>
362 <groupId>org.glassfish.jersey</groupId>
363 <artifactId>jersey-bom</artifactId>
364 <version>2.27</version>
366 <scope>import</scope>
369 <groupId>org.glassfish</groupId>
370 <artifactId>javax.json</artifactId>
371 <version>1.1.2</version>
375 <groupId>org.checkerframework</groupId>
376 <artifactId>checker-qual</artifactId>
377 <version>2.5.8</version>
380 <groupId>com.google.errorprone</groupId>
381 <artifactId>error_prone_annotations</artifactId>
382 <version>2.3.3</version>
386 <groupId>javax.activation</groupId>
387 <artifactId>activation</artifactId>
388 <version>1.1.1</version>
391 <groupId>javax.annotation</groupId>
392 <artifactId>javax.annotation-api</artifactId>
393 <version>1.3.1</version>
394 <optional>true</optional>
397 <groupId>xml-apis</groupId>
398 <artifactId>xml-apis</artifactId>
399 <version>1.4.01</version>
402 <!-- Plugin integration -->
404 <groupId>net.java.dev.stax-utils</groupId>
405 <artifactId>stax-utils</artifactId>
406 <version>20070216</version>
409 <groupId>org.sonatype.plexus</groupId>
410 <artifactId>plexus-build-api</artifactId>
411 <version>0.0.7</version>
414 <groupId>org.codehaus.plexus</groupId>
415 <artifactId>plexus-slf4j-logging</artifactId>
416 <version>1.1</version>
419 <!-- These three need to be consistent:
420 jackson-2.10.4 needs woodstox-6.2.x
421 woodstox-5.3+ needs stax2-api-4.2.x
424 <groupId>org.codehaus.woodstox</groupId>
425 <artifactId>stax2-api</artifactId>
426 <version>4.2.1</version>
429 <groupId>com.fasterxml.woodstox</groupId>
430 <artifactId>woodstox-core</artifactId>
431 <version>6.2.1</version>
434 <groupId>com.fasterxml.jackson</groupId>
435 <artifactId>jackson-bom</artifactId>
436 <version>2.10.4</version>
437 <scope>import</scope>
442 <groupId>com.github.spotbugs</groupId>
443 <artifactId>spotbugs-annotations</artifactId>
444 <version>3.1.12</version>
445 <scope>provided</scope>
446 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
447 <optional>true</optional>
450 <groupId>com.google.code.findbugs</groupId>
451 <artifactId>jsr305</artifactId>
457 <groupId>org.eclipse.jdt</groupId>
458 <artifactId>org.eclipse.jdt.annotation</artifactId>
459 <version>2.2.400</version>
460 <scope>provided</scope>
462 <!-- We're staying on 2.8.5 for now, 2.8.6 has issues:
463 https://github.com/google/gson/issues/1601
464 https://github.com/google/gson/issues/1602
465 https://github.com/google/gson/issues/1608
466 https://github.com/google/gson/issues/1630
469 <groupId>com.google.code.gson</groupId>
470 <artifactId>gson</artifactId>
471 <version>2.8.5</version>
474 <groupId>commons-fileupload</groupId>
475 <artifactId>commons-fileupload</artifactId>
476 <version>1.4</version>
479 <groupId>commons-io</groupId>
480 <artifactId>commons-io</artifactId>
481 <version>2.7</version>
484 <groupId>commons-net</groupId>
485 <artifactId>commons-net</artifactId>
486 <version>3.6</version>
491 <groupId>io.netty</groupId>
492 <artifactId>netty-bom</artifactId>
493 <!-- If these are updated, the version in features.xml needs to be changed too -->
494 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
495 <version>4.1.51.Final</version>
497 <scope>import</scope>
501 <groupId>javax.ws.rs</groupId>
502 <artifactId>jsr311-api</artifactId>
503 <version>1.1.1</version>
506 <groupId>javax.servlet</groupId>
507 <artifactId>javax.servlet-api</artifactId>
508 <version>3.1.0</version>
511 <groupId>org.apache.felix</groupId>
512 <artifactId>org.apache.felix.dependencymanager</artifactId>
513 <version>4.4.1</version>
516 <groupId>org.apache.felix</groupId>
517 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
518 <version>4.0.6</version>
521 <groupId>org.apache.felix</groupId>
522 <artifactId>org.apache.felix.metatype</artifactId>
523 <version>1.2.2</version>
526 <groupId>org.bouncycastle</groupId>
527 <artifactId>bcpkix-jdk15on</artifactId>
528 <version>${bouncycastle.version}</version>
531 <groupId>org.bouncycastle</groupId>
532 <artifactId>bcprov-jdk15on</artifactId>
533 <version>${bouncycastle.version}</version>
536 <groupId>org.bouncycastle</groupId>
537 <artifactId>bcprov-ext-jdk15on</artifactId>
538 <version>${bouncycastle.version}</version>
542 <groupId>com.webcohesion.enunciate</groupId>
543 <artifactId>enunciate-core-annotations</artifactId>
544 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
545 <version>2.13.1</version>
549 <groupId>org.codehaus.jettison</groupId>
550 <artifactId>jettison</artifactId>
551 <version>1.4.0</version>
554 <groupId>org.eclipse.persistence</groupId>
555 <artifactId>org.eclipse.persistence.antlr</artifactId>
556 <version>2.7.5</version>
559 <groupId>org.eclipse.persistence</groupId>
560 <artifactId>org.eclipse.persistence.core</artifactId>
561 <version>2.7.5</version>
564 <groupId>org.eclipse.persistence</groupId>
565 <artifactId>org.eclipse.persistence.moxy</artifactId>
566 <version>2.7.5</version>
569 <groupId>javax.validation</groupId>
570 <artifactId>validation-api</artifactId>
571 <version>1.1.0.Final</version>
574 <groupId>org.javassist</groupId>
575 <artifactId>javassist</artifactId>
576 <version>3.27.0-GA</version>
579 <groupId>org.jboss.spec.javax.transaction</groupId>
580 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
581 <version>1.0.1.Final</version>
584 <groupId>org.jolokia</groupId>
585 <artifactId>jolokia-osgi</artifactId>
586 <version>1.6.2</version>
589 <groupId>org.osgi</groupId>
590 <artifactId>osgi.cmpn</artifactId>
591 <version>6.0.0</version>
592 <scope>provided</scope>
595 <groupId>org.osgi</groupId>
596 <artifactId>org.osgi.core</artifactId>
597 <version>6.0.0</version>
598 <scope>provided</scope>
601 <groupId>org.osgi</groupId>
602 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
603 <artifactId>org.osgi.service.event</artifactId>
604 <version>1.3.1</version>
607 <groupId>org.apache.aries.quiesce</groupId>
608 <artifactId>org.apache.aries.quiesce.api</artifactId>
609 <version>1.0.0</version>
612 <!-- Configuration library -->
613 <!-- This needs to be kept in sync with the version used by akka -->
615 <groupId>com.typesafe</groupId>
616 <artifactId>config</artifactId>
617 <version>1.3.3</version>
620 <!-- Reactive Streams, used by Akka -->
622 <groupId>org.reactivestreams</groupId>
623 <artifactId>reactive-streams</artifactId>
624 <version>1.0.3</version>
629 <groupId>com.typesafe</groupId>
630 <artifactId>ssl-config-core_2.13</artifactId>
631 <version>0.3.8</version>
634 <groupId>com.typesafe.akka</groupId>
635 <artifactId>akka-actor_2.13</artifactId>
636 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
637 <version>2.5.31</version>
640 <groupId>com.typesafe.akka</groupId>
641 <artifactId>akka-cluster_2.13</artifactId>
642 <version>2.5.31</version>
645 <groupId>com.typesafe.akka</groupId>
646 <artifactId>akka-osgi_2.13</artifactId>
647 <version>2.5.31</version>
650 <groupId>com.typesafe.akka</groupId>
651 <artifactId>akka-persistence_2.13</artifactId>
652 <version>2.5.31</version>
655 <groupId>com.typesafe.akka</groupId>
656 <artifactId>akka-persistence-tck_2.13</artifactId>
657 <version>2.5.31</version>
661 <groupId>com.typesafe.akka</groupId>
662 <artifactId>akka-protobuf_2.13</artifactId>
663 <version>2.5.31</version>
666 <groupId>com.typesafe.akka</groupId>
667 <artifactId>akka-remote_2.13</artifactId>
668 <version>2.5.31</version>
671 <groupId>com.typesafe.akka</groupId>
672 <artifactId>akka-slf4j_2.13</artifactId>
673 <version>2.5.31</version>
676 <groupId>com.typesafe.akka</groupId>
677 <artifactId>akka-stream_2.13</artifactId>
678 <version>2.5.31</version>
681 <groupId>com.typesafe.akka</groupId>
682 <artifactId>akka-testkit_2.13</artifactId>
683 <version>2.5.31</version>
687 <groupId>org.scala-lang.modules</groupId>
688 <artifactId>scala-java8-compat_2.13</artifactId>
689 <version>0.9.1</version>
692 <groupId>org.scala-lang.modules</groupId>
693 <artifactId>scala-parser-combinators_2.13</artifactId>
694 <version>1.1.2</version>
697 <groupId>org.uncommons.maths</groupId>
698 <artifactId>uncommons-maths</artifactId>
699 <version>1.2.2a</version>
702 <!-- Aeron, required by Akka -->
704 <groupId>org.agrona</groupId>
705 <artifactId>agrona</artifactId>
706 <version>0.9.33</version>
709 <groupId>io.aeron</groupId>
710 <artifactId>aeron-client</artifactId>
711 <version>1.15.3</version>
714 <groupId>io.aeron</groupId>
715 <artifactId>aeron-driver</artifactId>
716 <version>1.15.3</version>
721 <groupId>org.scala-lang</groupId>
722 <artifactId>scala-library</artifactId>
723 <version>2.13.3</version>
726 <groupId>org.scala-lang</groupId>
727 <artifactId>scala-reflect</artifactId>
728 <version>2.13.3</version>
731 <!-- LMAX Disruptor -->
733 <groupId>com.lmax</groupId>
734 <artifactId>disruptor</artifactId>
735 <version>3.4.2</version>
738 <!-- Add Pax Exam -->
740 <groupId>org.ops4j.pax.exam</groupId>
741 <artifactId>pax-exam</artifactId>
742 <version>4.13.3</version>
746 <groupId>org.ops4j.pax.exam</groupId>
747 <artifactId>pax-exam-container-forked</artifactId>
748 <version>4.13.3</version>
752 <groupId>org.ops4j.pax.exam</groupId>
753 <artifactId>pax-exam-container-karaf</artifactId>
754 <version>4.13.3</version>
758 <groupId>org.ops4j.pax.exam</groupId>
759 <artifactId>pax-exam-container-native</artifactId>
760 <version>4.13.3</version>
764 <groupId>org.ops4j.pax.exam</groupId>
765 <artifactId>pax-exam-extender-service</artifactId>
766 <version>4.13.3</version>
770 <groupId>org.ops4j.pax.exam</groupId>
771 <artifactId>pax-exam-inject</artifactId>
772 <version>4.13.3</version>
776 <groupId>org.ops4j.pax.exam</groupId>
777 <artifactId>pax-exam-invoker-junit</artifactId>
778 <version>4.13.3</version>
782 <groupId>org.ops4j.pax.exam</groupId>
783 <artifactId>pax-exam-features</artifactId>
784 <version>4.13.3</version>
789 <groupId>org.ops4j.pax.exam</groupId>
790 <artifactId>pax-exam-junit4</artifactId>
791 <version>4.13.3</version>
795 <groupId>org.ops4j.pax.exam</groupId>
796 <artifactId>pax-exam-link-mvn</artifactId>
797 <version>4.13.3</version>
801 <groupId>org.ops4j.pax.exam</groupId>
802 <artifactId>pax-exam-link-assembly</artifactId>
803 <version>4.13.3</version>
808 <groupId>org.ops4j.pax.url</groupId>
809 <artifactId>pax-url-link</artifactId>
810 <version>2.5.4</version>
814 <groupId>org.ops4j.pax.url</groupId>
815 <artifactId>pax-url-aether</artifactId>
816 <version>2.5.4</version>
820 <groupId>org.ops4j.pax.url</groupId>
821 <artifactId>pax-url-wrap</artifactId>
822 <version>2.5.4</version>
826 <groupId>org.ops4j.pax.web</groupId>
827 <artifactId>pax-web-api</artifactId>
828 <!-- Note: keep this version synchronized with karaf -->
829 <version>7.2.16</version>
833 <groupId>org.springframework.osgi</groupId>
834 <artifactId>spring-osgi-mock</artifactId>
835 <version>1.2.1</version>
840 <groupId>org.xmlunit</groupId>
841 <artifactId>xmlunit-core</artifactId>
842 <version>2.7.0</version>
846 <groupId>org.xmlunit</groupId>
847 <artifactId>xmlunit-assertj</artifactId>
848 <version>2.7.0</version>
852 <groupId>org.xmlunit</groupId>
853 <artifactId>xmlunit-matchers</artifactId>
854 <version>2.7.0</version>
857 <!-- FIXME: remove this once we have migrated over -->
859 <groupId>org.xmlunit</groupId>
860 <artifactId>xmlunit-legacy</artifactId>
861 <version>2.7.0</version>
865 <!-- Annotations for modernizer-maven-plugin -->
867 <groupId>org.gaul</groupId>
868 <artifactId>modernizer-maven-annotations</artifactId>
869 <!-- This should match the plugin version below -->
870 <version>2.1.0</version>
871 <scope>provided</scope>
875 <groupId>org.eclipse.jetty</groupId>
876 <artifactId>jetty-bom</artifactId>
877 <version>9.4.28.v20200408</version>
878 <scope>import</scope>
883 <groupId>com.h2database</groupId>
884 <artifactId>h2</artifactId>
885 <version>1.4.200</version>
888 <!-- Xtend http://xtend-lang.org
889 NOTE: When you increase the version here,
890 then remember to also increase it for the
891 xtend-maven-plugin below! (We don't want to
892 use a Maven property, in order not to "leak" that.)
895 <groupId>org.eclipse.xtend</groupId>
896 <artifactId>org.eclipse.xtend.lib</artifactId>
897 <version>2.21.0</version>
900 <groupId>org.eclipse.xtend</groupId>
901 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
902 <version>2.21.0</version>
905 <groupId>org.eclipse.xtext</groupId>
906 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
907 <version>2.21.0</version>
912 <groupId>javax.inject</groupId>
913 <artifactId>javax.inject</artifactId>
915 <optional>true</optional>
918 <!-- jung, a graph library -->
920 <groupId>net.sf.jung</groupId>
921 <artifactId>jung-api</artifactId>
922 <version>2.1.1</version>
925 <groupId>net.sf.jung</groupId>
926 <artifactId>jung-algorithms</artifactId>
927 <version>2.1.1</version>
930 <groupId>net.sf.jung</groupId>
931 <artifactId>jung-graph-impl</artifactId>
932 <version>2.1.1</version>
935 <!-- Karaf console support -->
937 <groupId>org.apache.karaf.shell</groupId>
938 <artifactId>org.apache.karaf.shell.core</artifactId>
939 <version>${karaf.version}</version>
940 <scope>provided</scope>
943 <groupId>org.apache.karaf.shell</groupId>
944 <artifactId>org.apache.karaf.shell.console</artifactId>
945 <version>${karaf.version}</version>
946 <scope>provided</scope>
949 <!-- ThreeTen-Extra, date/time complements -->
951 <groupId>org.threeten</groupId>
952 <artifactId>threeten-extra</artifactId>
953 <version>1.5.0</version>
956 <!-- When updating this version, consider antl4-maven-plugin below -->
958 <groupId>org.antlr</groupId>
959 <artifactId>antlr4-runtime</artifactId>
960 <version>4.8-1</version>
962 <!-- Aries' Blueprint version should be kept in sync to the version actually
963 used by our ${karaf[4].version} ... please bump this when increasing that.
964 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
966 <groupId>org.apache.aries.blueprint</groupId>
967 <artifactId>org.apache.aries.blueprint.core</artifactId>
968 <version>1.10.2</version>
971 <groupId>org.apache.aries.blueprint</groupId>
972 <artifactId>blueprint-maven-plugin-annotation</artifactId>
973 <version>1.3.0</version>
974 <optional>true</optional>
977 <!-- Apache SSHD with netty -->
979 <groupId>org.apache.sshd</groupId>
980 <artifactId>sshd-netty</artifactId>
981 <version>2.3.0</version>
984 <!-- We provide sshd-osgi instead -->
985 <groupId>org.apache.sshd</groupId>
986 <artifactId>sshd-core</artifactId>
991 <groupId>org.apache.sshd</groupId>
992 <artifactId>sshd-osgi</artifactId>
993 <version>2.3.0</version>
996 <groupId>net.i2p.crypto</groupId>
997 <artifactId>eddsa</artifactId>
998 <version>0.3.0</version>
1001 <!-- TrieMap library -->
1003 <groupId>tech.pantheon.triemap</groupId>
1004 <artifactId>bom</artifactId>
1005 <version>1.2.0</version>
1006 <scope>import</scope>
1010 <!-- Dropwizard metrics -->
1012 <groupId>io.dropwizard.metrics</groupId>
1013 <artifactId>metrics-bom</artifactId>
1014 <version>4.1.9</version>
1015 <scope>import</scope>
1019 <!-- JAXB for Java 11+, match this with Karaf -->
1021 <groupId>jakarta.xml.bind</groupId>
1022 <artifactId>jakarta.xml.bind-api</artifactId>
1023 <version>2.3.2</version>
1026 <groupId>org.glassfish.jaxb</groupId>
1027 <artifactId>jaxb-runtime</artifactId>
1028 <version>2.3.2</version>
1031 </dependencyManagement>
1035 We expect slf4j-api to be provided by the platform.
1036 Karaf provides it, other containers need to provide it themselves.
1039 <groupId>org.slf4j</groupId>
1040 <artifactId>slf4j-api</artifactId>
1041 <scope>provided</scope>
1045 Enable useful code quality annotations everywhere. Since these annotations
1046 are not required at runtime.
1049 <groupId>org.eclipse.jdt</groupId>
1050 <artifactId>org.eclipse.jdt.annotation</artifactId>
1051 <scope>provided</scope>
1054 <groupId>com.github.spotbugs</groupId>
1055 <artifactId>spotbugs-annotations</artifactId>
1056 <scope>provided</scope>
1057 <optional>true</optional>
1060 <groupId>org.gaul</groupId>
1061 <artifactId>modernizer-maven-annotations</artifactId>
1062 <scope>provided</scope>
1066 Testing output should be routed through slf4j-simple.
1069 <groupId>org.slf4j</groupId>
1070 <artifactId>slf4j-simple</artifactId>
1075 Unit tests can use JUnit + Mockito + Hamcrest by default.
1078 <groupId>org.hamcrest</groupId>
1079 <artifactId>hamcrest</artifactId>
1083 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1084 <groupId>org.hamcrest</groupId>
1085 <artifactId>hamcrest-library</artifactId>
1089 <groupId>junit</groupId>
1090 <artifactId>junit</artifactId>
1094 <groupId>org.mockito</groupId>
1095 <artifactId>mockito-core</artifactId>
1103 <!-- Official maven plugins, alpha-sorted by artifactId.
1104 We do not need to specify the groupId. -->
1106 <artifactId>maven-checkstyle-plugin</artifactId>
1107 <version>3.1.1</version>
1110 <groupId>com.puppycrawl.tools</groupId>
1111 <artifactId>checkstyle</artifactId>
1112 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1113 <version>8.34</version>
1116 <groupId>org.opendaylight.odlparent</groupId>
1117 <artifactId>checkstyle</artifactId>
1118 <version>7.0.4-SNAPSHOT</version>
1121 <groupId>com.github.sevntu-checkstyle</groupId>
1122 <artifactId>sevntu-checks</artifactId>
1123 <version>1.37.1</version>
1127 <configLocation>odl_checks.xml</configLocation>
1128 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1129 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1130 generated sources directory -->
1132 <directory>${project.build.sourceDirectory}</directory>
1133 </sourceDirectories>
1134 <includeResources>true</includeResources>
1135 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1136 <includeTestResources>true</includeTestResources>
1137 <includes>**\/*.java, **\/*.xtend</includes>
1139 org/opendaylight/yang/gen/**,
1140 **/protobuff/messages/**,
1141 **/thrift/gen/*.java,
1144 <failsOnError>false</failsOnError>
1145 <consoleOutput>true</consoleOutput>
1149 <id>check-license</id>
1153 <phase>process-sources</phase>
1155 <configLocation>check-license.xml</configLocation>
1156 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1157 <includeResources>false</includeResources>
1158 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1159 <includeTestResources>false</includeTestResources>
1161 <directory>${project.build.sourceDirectory}</directory>
1162 </sourceDirectories>
1164 org/opendaylight/yang/gen/**,
1165 **/protobuff/messages/**,
1166 **/thrift/gen/*.java
1168 <failsOnError>false</failsOnError>
1169 <consoleOutput>true</consoleOutput>
1176 <phase>process-sources</phase>
1178 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1179 <skip>${odlparent.checkstyle.skip}</skip>
1180 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1186 <groupId>org.apache.maven.plugins</groupId>
1187 <artifactId>maven-pmd-plugin</artifactId>
1188 <version>3.13.0</version>
1192 <phase>process-sources</phase>
1194 <goal>cpd-check</goal>
1197 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1198 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1199 <minimumTokens>101</minimumTokens>
1200 <printFailingErrors>true</printFailingErrors>
1202 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1203 not understand path prefixes nor wildcards. Details are available
1204 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1205 Hence people introducing new generated sources have to include
1208 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1209 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1211 <linkXRef>false</linkXRef>
1217 <artifactId>maven-compiler-plugin</artifactId>
1218 <version>3.8.1</version>
1220 <showWarnings>true</showWarnings>
1222 <arg>-parameters</arg>
1223 <arg>-Xlint:deprecation</arg>
1224 <arg>-Xlint:unchecked</arg>
1226 <annotationProcessorPaths>
1228 <groupId>org.immutables</groupId>
1229 <artifactId>value</artifactId>
1230 <!-- Keep this version in sync with dependency declaration above -->
1231 <version>2.7.5</version>
1234 <groupId>org.kohsuke.metainf-services</groupId>
1235 <artifactId>metainf-services</artifactId>
1236 <!-- Keep this version in sync with dependency declaration above -->
1237 <version>1.8</version>
1239 </annotationProcessorPaths>
1243 <artifactId>maven-failsafe-plugin</artifactId>
1244 <version>2.22.2</version>
1247 <artifactId>maven-invoker-plugin</artifactId>
1248 <version>3.2.1</version>
1251 <artifactId>maven-dependency-plugin</artifactId>
1254 <id>unpack-license</id>
1255 <phase>generate-resources</phase>
1262 <groupId>org.opendaylight.odlparent</groupId>
1263 <artifactId>odl-license</artifactId>
1264 <version>7.0.4-SNAPSHOT</version>
1265 <type>license</type>
1266 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1267 <destFileName>LICENSE</destFileName>
1268 <overWrite>false</overWrite>
1271 <silent>true</silent>
1278 <artifactId>maven-plugin-plugin</artifactId>
1279 <version>3.6.0</version>
1283 <artifactId>maven-remote-resources-plugin</artifactId>
1284 <version>1.7.0</version>
1287 <artifactId>maven-resources-plugin</artifactId>
1288 <version>3.1.0</version>
1291 <artifactId>maven-shade-plugin</artifactId>
1292 <version>3.2.4</version>
1295 <artifactId>maven-source-plugin</artifactId>
1296 <version>3.2.1</version>
1299 <id>attach-sources</id>
1300 <phase>verify</phase>
1302 <goal>jar-no-fork</goal>
1308 <artifactId>maven-surefire-plugin</artifactId>
1309 <version>2.22.2</version>
1311 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1312 <trimStackTrace>false</trimStackTrace>
1316 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1318 <!-- Support Blueprint XML construction using annotations -->
1319 <groupId>org.apache.aries.blueprint</groupId>
1320 <artifactId>blueprint-maven-plugin</artifactId>
1321 <version>1.10.0</version>
1322 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1323 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1326 <groupId>org.apache.xbean</groupId>
1327 <artifactId>xbean-finder-shaded</artifactId>
1328 <version>4.17</version>
1333 <scanPath>${project.groupId}</scanPath>
1339 <goal>blueprint-generate</goal>
1346 <groupId>org.apache.felix</groupId>
1347 <artifactId>maven-bundle-plugin</artifactId>
1348 <version>4.2.1</version>
1349 <extensions>true</extensions>
1352 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1353 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1354 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1355 <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>
1357 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1358 to generate Import-Service and Export-Service headers. -->
1359 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1365 <groupId>org.apache.karaf.tooling</groupId>
1366 <artifactId>karaf-maven-plugin</artifactId>
1367 <version>${karaf.version}</version>
1371 <groupId>org.apache.servicemix.tooling</groupId>
1372 <artifactId>depends-maven-plugin</artifactId>
1373 <version>1.4.0</version>
1376 <id>generate-depends-file</id>
1378 <goal>generate-depends-file</goal>
1385 <groupId>com.webcohesion.enunciate</groupId>
1386 <artifactId>enunciate-maven-plugin</artifactId>
1387 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1388 <version>2.13.1</version>
1392 <groupId>org.gaul</groupId>
1393 <artifactId>modernizer-maven-plugin</artifactId>
1394 <version>2.1.0</version>
1396 <javaVersion>${odlparent.modernizer.target}</javaVersion>
1397 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1398 <skip>${odlparent.modernizer.skip}</skip>
1404 <phase>verify</phase>
1406 <goal>modernizer</goal>
1413 <groupId>com.github.spotbugs</groupId>
1414 <artifactId>spotbugs-maven-plugin</artifactId>
1415 <version>3.1.12.2</version>
1418 <groupId>com.github.spotbugs</groupId>
1419 <artifactId>spotbugs</artifactId>
1420 <version>3.1.12</version>
1423 <groupId>org.opendaylight.odlparent</groupId>
1424 <artifactId>spotbugs</artifactId>
1425 <version>7.0.4-SNAPSHOT</version>
1428 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1429 <groupId>org.slf4j</groupId>
1430 <artifactId>slf4j-simple</artifactId>
1431 <version>1.8.0-beta2</version>
1437 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1438 <artifactId>bug-pattern</artifactId>
1439 <version>1.5.0</version>
1443 Enables analysis which takes more memory but finds more bugs.
1444 If you run out of memory, changes the value of the effort element
1447 <effort>Max</effort>
1448 <!-- Reports all bugs (other values are medium and max) -->
1449 <threshold>Low</threshold>
1450 <!-- Build doesn't fail if problems are found -->
1451 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1452 <skip>${odlparent.spotbugs.skip}</skip>
1453 <!-- References the excluded rules -->
1454 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1455 <!-- Produces XML report -->
1456 <xmlOutput>true</xmlOutput>
1457 <!-- Configures the directory in which the XML report is created -->
1458 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1462 Ensures that SpotBugs inspects source code when project is compiled.
1465 <id>analyze-compile</id>
1466 <phase>compile</phase>
1474 <groupId>org.codehaus.mojo</groupId>
1475 <artifactId>properties-maven-plugin</artifactId>
1476 <version>1.0.0</version>
1479 <groupId>org.eclipse.xtend</groupId>
1480 <artifactId>xtend-maven-plugin</artifactId>
1481 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1482 <version>2.21.0</version>
1486 <goal>compile</goal>
1487 <goal>testCompile</goal>
1490 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1491 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1497 <groupId>org.eclipse.m2e</groupId>
1498 <artifactId>lifecycle-mapping</artifactId>
1499 <version>1.0.0</version>
1501 <lifecycleMappingMetadata>
1504 <pluginExecutionFilter>
1505 <groupId>org.apache.felix</groupId>
1506 <artifactId>maven-bundle-plugin</artifactId>
1507 <versionRange>[1.0,)</versionRange>
1509 <goal>manifest</goal>
1511 </pluginExecutionFilter>
1517 <pluginExecutionFilter>
1518 <groupId>org.apache.maven.plugins</groupId>
1519 <artifactId>maven-enforcer-plugin</artifactId>
1520 <versionRange>[1.0.0,)</versionRange>
1522 <goal>enforce</goal>
1524 </pluginExecutionFilter>
1530 <pluginExecutionFilter>
1531 <groupId>org.apache.maven.plugins</groupId>
1532 <artifactId>maven-dependency-plugin</artifactId>
1533 <versionRange>[2.10,)</versionRange>
1537 </pluginExecutionFilter>
1543 <pluginExecutionFilter>
1544 <groupId>org.apache.maven.plugins</groupId>
1545 <artifactId>maven-pmd-plugin</artifactId>
1546 <versionRange>[3.6,)</versionRange>
1548 <goal>cpd-check</goal>
1550 </pluginExecutionFilter>
1555 <!-- The plugin will eventually be removed, remove this too at that point -->
1557 <pluginExecutionFilter>
1558 <groupId>org.apache.maven.plugins</groupId>
1559 <artifactId>maven-antrun-plugin</artifactId>
1560 <versionRange>[1.8,)</versionRange>
1564 </pluginExecutionFilter>
1570 <pluginExecutionFilter>
1571 <groupId>org.apache.servicemix.tooling</groupId>
1572 <artifactId>depends-maven-plugin</artifactId>
1573 <versionRange>[1.2,)</versionRange>
1575 <goal>generate-depends-file</goal>
1577 </pluginExecutionFilter>
1583 <pluginExecutionFilter>
1584 <groupId>org.jacoco</groupId>
1585 <artifactId>jacoco-maven-plugin</artifactId>
1586 <versionRange>[0.7.0,)</versionRange>
1588 <goal>prepare-agent</goal>
1590 </pluginExecutionFilter>
1597 <pluginExecutionFilter>
1598 <groupId>org.ops4j.pax.exam</groupId>
1599 <artifactId>maven-paxexam-plugin</artifactId>
1600 <versionRange>[1.2.4,)</versionRange>
1602 <goal>generate-depends-file</goal>
1604 </pluginExecutionFilter>
1611 <pluginExecutionFilter>
1612 <groupId>org.basepom.maven</groupId>
1614 duplicate-finder-maven-plugin
1616 <versionRange>[1.2.1,)</versionRange>
1620 </pluginExecutionFilter>
1626 </lifecycleMappingMetadata>
1631 <groupId>org.jacoco</groupId>
1632 <artifactId>jacoco-maven-plugin</artifactId>
1634 <!-- Note: This exclusion list should match <sonar.exclusions>
1637 <exclude>**/gen/**</exclude>
1638 <exclude>**/generated-sources/**</exclude>
1639 <exclude>**/generated-test-sources/**</exclude>
1640 <exclude>**/yang-gen/**</exclude>
1641 <exclude>**/yang-gen-config/**</exclude>
1642 <exclude>**/yang-gen-sal/**</exclude>
1643 <exclude>**/yang-gen-code/**</exclude>
1644 <exclude>**/pax/**</exclude>
1650 <groupId>org.ops4j.pax.exam</groupId>
1651 <artifactId>maven-paxexam-plugin</artifactId>
1652 <version>1.2.4</version>
1655 <!-- When updating this version, consider antl4-runtime above -->
1657 <groupId>org.antlr</groupId>
1658 <artifactId>antlr4-maven-plugin</artifactId>
1659 <version>4.8-1</version>
1666 <artifactId>maven-enforcer-plugin</artifactId>
1669 <id>enforce-banned-dependencies</id>
1671 <goal>enforce</goal>
1675 <bannedDependencies>
1676 <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>
1678 <exclude>org.mockito:mockito-all</exclude>
1679 <exclude>com.google.code.findbugs:annotations</exclude>
1681 </bannedDependencies>
1689 <groupId>org.basepom.maven</groupId>
1690 <artifactId>duplicate-finder-maven-plugin</artifactId>
1691 <version>1.4.0</version>
1694 <id>find-duplicate-classpath-entries</id>
1695 <phase>verify</phase>
1702 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1703 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1704 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1705 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1706 <printEqualFiles>false</printEqualFiles>
1708 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1709 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1710 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1712 <ignoredResourcePatterns>
1713 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1714 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1715 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1716 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1717 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1718 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1719 </ignoredResourcePatterns>
1720 <ignoredDependencies>
1722 <groupId>org.slf4j</groupId>
1723 <artifactId>slf4j-simple</artifactId>
1724 </ignoredDependency>
1726 <groupId>org.opendaylight.odlparent</groupId>
1727 <artifactId>opendaylight-karaf-empty</artifactId>
1728 </ignoredDependency>
1729 </ignoredDependencies>
1733 <artifactId>maven-dependency-plugin</artifactId>
1736 <artifactId>maven-checkstyle-plugin</artifactId>
1739 <artifactId>maven-pmd-plugin</artifactId>
1742 <artifactId>maven-source-plugin</artifactId>
1745 <artifactId>maven-javadoc-plugin</artifactId>
1748 <groupId>org.gaul</groupId>
1749 <artifactId>modernizer-maven-plugin</artifactId>
1752 <groupId>com.github.spotbugs</groupId>
1753 <artifactId>spotbugs-maven-plugin</artifactId>
1756 <!-- Jacoco / Sonar -->
1758 <groupId>org.jacoco</groupId>
1759 <artifactId>jacoco-maven-plugin</artifactId>
1762 <id>pre-unit-test</id>
1764 <goal>prepare-agent</goal>
1777 <groupId>com.alexecollins.maven.plugin</groupId>
1778 <artifactId>script-maven-plugin</artifactId>
1779 <version>1.0.0</version>
1782 <phase>prepare-package</phase>
1784 <goal>execute</goal>
1788 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1789 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1790 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1791 // static class methods only - it will be MUCH easier to write!)
1792 void copy(File root, String glob, File target) {
1793 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1794 Iterator dirStreamIterator = dirStream.iterator();
1795 while (dirStreamIterator.hasNext()) {
1796 java.nio.file.Path path = dirStreamIterator.next();
1797 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1798 new java.nio.file.CopyOption[] {
1799 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1800 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1807 File gitRepoRootDir = project.basedir;
1808 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1809 gitRepoRootDir = gitRepoRootDir.getParentFile();
1812 File target = new File(project.build.outputDirectory);
1814 copy(gitRepoRootDir, "README*", target);
1815 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1816 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1823 <groupId>org.apache-extras.beanshell</groupId>
1824 <artifactId>bsh</artifactId>
1825 <version>2.0b6</version>
1835 <artifactId>maven-checkstyle-plugin</artifactId>
1836 <version>3.1.0</version>
1839 <!-- FIXME: activate this
1841 <artifactId>maven-project-info-reports-plugin</artifactId>
1844 <groupId>org.codehaus.mojo</groupId>
1845 <artifactId>jdepend-maven-plugin</artifactId>
1849 <report>generate-no-fork</report>