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>5.0.1-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
31 <!-- Variables should only be used where genuinely useful (to avoid
32 repetition); in general versions should be specified in the
33 corresponding dependencyManagement or pluginManagement element, not as
34 a variable. Duplication within odlparent doesn't count if it can be
35 managed using maven-versions-plugin. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <!-- Java Versions -->
44 <!-- FIXME: remove these in favor of maven.compiler.release once we require JDK9+ -->
45 <maven.compiler.source>1.8</maven.compiler.source>
46 <maven.compiler.target>1.8</maven.compiler.target>
47 <java.version.source>${maven.compiler.source}</java.version.source>
48 <java.version.target>${maven.compiler.target}</java.version.target>
50 <!-- Used in openflowplugin -->
51 <enforcer.version>3.0.0-M2</enforcer.version>
52 <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
53 <karaf.version>4.2.2</karaf.version>
54 <!-- Used in bgpcep, lispflowmapping -->
55 <projectinfo>2.8.1</projectinfo>
57 <!-- Supporting Libraries -->
58 <!-- Only used internally -->
59 <bouncycastle.version>1.62</bouncycastle.version>
61 <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
62 to allow projects to report Sonar values from the entire project. -->
63 <jacoco.destFile>${project.build.directory}/code-coverage/jacoco.exec</jacoco.destFile>
65 <!-- Default Sonar configuration -->
66 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
67 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
68 <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
69 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
71 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
72 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
74 <!-- Opt-in code quality checks -->
75 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
76 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
78 <!-- Redirect test output to files (overridable) -->
79 <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
82 <dependencyManagement>
86 <groupId>org.opendaylight.odlparent</groupId>
87 <artifactId>odlparent-artifacts</artifactId>
88 <version>5.0.1-SNAPSHOT</version>
93 <!-- We import Karaf dependencies to ensure we converge by default on the versions used there -->
95 <groupId>org.apache.karaf.features</groupId>
96 <artifactId>framework</artifactId>
97 <version>${karaf.version}</version>
102 <!-- Build tool dependencies (normally not here in <dependencies>,
103 but in a <dependency> in <pluginManagement> but for Checkstyle this
104 is required so that we can share the same version of Checkstyle
105 for both the Maven plugin below as well as for custom Checkstyle
106 check rule projects, such as yangtools' checkstyle-logging) -->
108 <groupId>com.puppycrawl.tools</groupId>
109 <artifactId>checkstyle</artifactId>
110 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
111 <version>8.18</version>
114 <!-- Testing Dependencies -->
115 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
116 <!-- Need to stick to JUnit 4.11 until
117 https://github.com/jayway/powermock/issues/560 is fixed (either in
118 PowerMock or with a new JUnit release) -->
120 <groupId>junit</groupId>
121 <artifactId>junit</artifactId>
122 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
123 <version>4.11</version>
127 <groupId>org.skyscreamer</groupId>
128 <artifactId>jsonassert</artifactId>
129 <version>1.5.0</version>
133 <groupId>org.mockito</groupId>
134 <artifactId>mockito-core</artifactId>
135 <version>2.25.1</version>
139 <groupId>org.mockito</groupId>
140 <artifactId>mockito-inline</artifactId>
141 <version>2.25.1</version>
145 <groupId>org.hamcrest</groupId>
146 <artifactId>hamcrest</artifactId>
147 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
148 <version>2.1</version>
152 <groupId>org.hamcrest</groupId>
153 <artifactId>hamcrest-core</artifactId>
154 <version>2.1</version>
158 <groupId>org.hamcrest</groupId>
159 <artifactId>hamcrest-library</artifactId>
160 <version>2.1</version>
164 <groupId>com.google.truth</groupId>
165 <artifactId>truth</artifactId>
166 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
167 <version>0.43</version>
171 <groupId>com.google.truth.extensions</groupId>
172 <artifactId>truth-java8-extension</artifactId>
173 <version>0.43</version>
177 <groupId>org.awaitility</groupId>
178 <artifactId>awaitility</artifactId>
179 <version>3.0.0</version>
183 <groupId>org.awaitility</groupId>
184 <artifactId>awaitility-proxy</artifactId>
185 <version>3.0.0</version>
189 <groupId>org.powermock</groupId>
190 <artifactId>powermock-api-mockito2</artifactId>
191 <version>2.0.0</version>
195 <groupId>org.powermock</groupId>
196 <artifactId>powermock-api-support</artifactId>
197 <version>2.0.0</version>
201 <groupId>org.powermock</groupId>
202 <artifactId>powermock-core</artifactId>
203 <version>2.0.0</version>
207 <groupId>org.powermock</groupId>
208 <artifactId>powermock-module-junit4</artifactId>
209 <version>2.0.0</version>
213 <groupId>org.powermock</groupId>
214 <artifactId>powermock-reflect</artifactId>
215 <version>2.0.0</version>
220 Annotation Processors
223 <!-- Generates immutable implementations, builders, the works -->
224 <groupId>org.immutables</groupId>
225 <artifactId>value</artifactId>
226 <version>2.7.5</version>
227 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
228 <scope>provided</scope>
231 <!-- Generates META-INF/services entries for ServiceLoader -->
232 <groupId>org.kohsuke.metainf-services</groupId>
233 <artifactId>metainf-services</artifactId>
234 <version>1.8</version>
235 <optional>true</optional>
236 <scope>provided</scope>
243 <groupId>org.slf4j</groupId>
244 <artifactId>jcl-over-slf4j</artifactId>
245 <version>1.7.25</version>
248 <groupId>org.slf4j</groupId>
249 <artifactId>slf4j-api</artifactId>
250 <version>1.7.25</version>
253 <groupId>org.slf4j</groupId>
254 <artifactId>slf4j-log4j12</artifactId>
255 <version>1.7.25</version>
258 <groupId>org.slf4j</groupId>
259 <artifactId>log4j-over-slf4j</artifactId>
260 <version>1.7.25</version>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-simple</artifactId>
265 <version>1.7.25</version>
269 <groupId>ch.qos.logback</groupId>
270 <artifactId>logback-core</artifactId>
271 <version>1.2.3</version>
274 <groupId>ch.qos.logback</groupId>
275 <artifactId>logback-classic</artifactId>
276 <version>1.2.3</version>
281 <groupId>org.apache.logging.log4j</groupId>
282 <artifactId>log4j-bom</artifactId>
283 <version>2.11.2</version>
284 <scope>import</scope>
289 <groupId>com.google.guava</groupId>
290 <artifactId>guava</artifactId>
291 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
292 <version>27.1-jre</version>
295 <!-- Do not leak JSR305 onto the classpath by default -->
296 <groupId>com.google.code.findbugs</groupId>
297 <artifactId>jsr305</artifactId>
302 <groupId>com.google.guava</groupId>
303 <artifactId>guava-testlib</artifactId>
304 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
305 <version>27.1-jre</version>
309 <!-- Do not leak JSR305 onto the classpath by default -->
310 <groupId>com.google.code.findbugs</groupId>
311 <artifactId>jsr305</artifactId>
316 <!-- Caffeine plus bridges to Guava and JCache -->
318 <groupId>com.github.ben-manes.caffeine</groupId>
319 <artifactId>caffeine</artifactId>
320 <version>2.7.0</version>
323 <groupId>com.github.ben-manes.caffeine</groupId>
324 <artifactId>guava</artifactId>
325 <version>2.7.0</version>
329 <groupId>com.mycila.guice.extensions</groupId>
330 <artifactId>mycila-guice-jsr250</artifactId>
331 <!-- Make sure this version is in sync with the guice one below -->
332 <version>4.0.rc1</version>
335 <groupId>com.google.inject</groupId>
336 <artifactId>guice</artifactId>
337 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
338 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
339 <version>4.1.0</version>
342 <groupId>commons-beanutils</groupId>
343 <artifactId>commons-beanutils</artifactId>
344 <version>1.9.3</version>
347 <groupId>org.apache.commons</groupId>
348 <artifactId>commons-lang3</artifactId>
349 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
350 <version>3.9</version>
353 <groupId>org.apache.commons</groupId>
354 <artifactId>commons-text</artifactId>
355 <version>1.6</version>
358 <groupId>commons-lang</groupId>
359 <artifactId>commons-lang</artifactId>
360 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
361 <version>2.6</version>
364 <groupId>commons-codec</groupId>
365 <artifactId>commons-codec</artifactId>
366 <version>1.12</version>
368 <!-- Jersey for JAXRS -->
370 <groupId>javax.ws.rs</groupId>
371 <artifactId>javax.ws.rs-api</artifactId>
372 <version>2.0.1</version>
375 <groupId>org.glassfish.jersey</groupId>
376 <artifactId>jersey-bom</artifactId>
377 <version>2.25.1</version>
379 <scope>import</scope>
382 <groupId>org.glassfish</groupId>
383 <artifactId>javax.json</artifactId>
384 <version>1.1.2</version>
388 <groupId>org.checkerframework</groupId>
389 <artifactId>checker-qual</artifactId>
390 <version>2.5.8</version>
393 <groupId>com.google.errorprone</groupId>
394 <artifactId>error_prone_annotations</artifactId>
395 <version>2.3.3</version>
399 <groupId>javax.activation</groupId>
400 <artifactId>activation</artifactId>
401 <version>1.1.1</version>
404 <groupId>javax.annotation</groupId>
405 <artifactId>javax.annotation-api</artifactId>
406 <version>1.2</version>
407 <optional>true</optional>
410 <groupId>xml-apis</groupId>
411 <artifactId>xml-apis</artifactId>
412 <version>1.4.01</version>
416 <groupId>org.apache.shiro</groupId>
417 <artifactId>shiro-core</artifactId>
418 <version>1.3.2</version>
421 <groupId>org.apache.shiro</groupId>
422 <artifactId>shiro-web</artifactId>
423 <version>1.3.2</version>
426 <!-- Plugin integration -->
428 <groupId>net.java.dev.stax-utils</groupId>
429 <artifactId>stax-utils</artifactId>
430 <version>20070216</version>
433 <groupId>org.sonatype.plexus</groupId>
434 <artifactId>plexus-build-api</artifactId>
435 <version>0.0.7</version>
438 <groupId>org.codehaus.plexus</groupId>
439 <artifactId>plexus-slf4j-logging</artifactId>
440 <version>1.1</version>
443 <!-- These three need to be consistent:
444 jackson-2.9 needs woodstox-5.0.x
445 woodstox-5.0 needs stax2-api-3.1.x
448 <groupId>org.codehaus.woodstox</groupId>
449 <artifactId>stax2-api</artifactId>
450 <version>3.1.4</version>
453 <groupId>com.fasterxml.woodstox</groupId>
454 <artifactId>woodstox-core</artifactId>
455 <version>5.0.3</version>
458 <groupId>com.fasterxml.jackson</groupId>
459 <artifactId>jackson-bom</artifactId>
460 <version>2.9.9</version>
461 <scope>import</scope>
466 <groupId>com.github.spotbugs</groupId>
467 <artifactId>spotbugs-annotations</artifactId>
468 <version>3.1.12</version>
469 <scope>provided</scope>
470 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
471 <optional>true</optional>
474 <groupId>com.google.code.findbugs</groupId>
475 <artifactId>jsr305</artifactId>
481 <groupId>com.google.code.findbugs</groupId>
482 <artifactId>jsr305</artifactId>
483 <version>3.0.2</version>
484 <scope>provided</scope>
485 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
486 <optional>true</optional>
489 <groupId>org.eclipse.jdt</groupId>
490 <artifactId>org.eclipse.jdt.annotation</artifactId>
491 <version>2.2.100</version>
492 <scope>provided</scope>
495 <groupId>com.google.code.gson</groupId>
496 <artifactId>gson</artifactId>
497 <version>2.8.5</version>
500 <groupId>commons-fileupload</groupId>
501 <artifactId>commons-fileupload</artifactId>
502 <version>1.4</version>
505 <groupId>commons-io</groupId>
506 <artifactId>commons-io</artifactId>
507 <version>2.6</version>
510 <groupId>commons-net</groupId>
511 <artifactId>commons-net</artifactId>
512 <version>3.6</version>
517 <groupId>io.netty</groupId>
518 <artifactId>netty-all</artifactId>
519 <!-- If these are updated, the version in features.xml needs to be changed too -->
520 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
521 <version>4.1.36.Final</version>
524 <groupId>io.netty</groupId>
525 <artifactId>netty-buffer</artifactId>
526 <version>4.1.36.Final</version>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-codec</artifactId>
531 <version>4.1.36.Final</version>
534 <groupId>io.netty</groupId>
535 <artifactId>netty-codec-http</artifactId>
536 <version>4.1.36.Final</version>
539 <groupId>io.netty</groupId>
540 <artifactId>netty-common</artifactId>
541 <version>4.1.36.Final</version>
544 <groupId>io.netty</groupId>
545 <artifactId>netty-handler</artifactId>
546 <version>4.1.36.Final</version>
549 <groupId>io.netty</groupId>
550 <artifactId>netty-transport</artifactId>
551 <version>4.1.36.Final</version>
553 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
554 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
556 <groupId>io.netty</groupId>
557 <artifactId>netty-transport-native-epoll</artifactId>
558 <classifier>linux-x86_64</classifier>
559 <version>4.1.36.Final</version>
562 <groupId>javax.ws.rs</groupId>
563 <artifactId>jsr311-api</artifactId>
564 <version>1.1.1</version>
567 <groupId>javax.servlet</groupId>
568 <artifactId>javax.servlet-api</artifactId>
569 <version>3.1.0</version>
572 <groupId>org.apache.felix</groupId>
573 <artifactId>org.apache.felix.dependencymanager</artifactId>
574 <version>4.4.1</version>
577 <groupId>org.apache.felix</groupId>
578 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
579 <version>4.0.6</version>
582 <groupId>org.apache.felix</groupId>
583 <artifactId>org.apache.felix.metatype</artifactId>
584 <version>1.2.2</version>
587 <groupId>org.bouncycastle</groupId>
588 <artifactId>bcpkix-jdk15on</artifactId>
589 <version>${bouncycastle.version}</version>
592 <groupId>org.bouncycastle</groupId>
593 <artifactId>bcprov-jdk15on</artifactId>
594 <version>${bouncycastle.version}</version>
597 <groupId>org.bouncycastle</groupId>
598 <artifactId>bcprov-ext-jdk15on</artifactId>
599 <version>${bouncycastle.version}</version>
603 <groupId>com.webcohesion.enunciate</groupId>
604 <artifactId>enunciate-core-annotations</artifactId>
605 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
606 <version>2.11.1</version>
610 <groupId>org.codehaus.jettison</groupId>
611 <artifactId>jettison</artifactId>
612 <version>1.4.0</version>
614 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
615 pull in javax.validation first:
616 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
618 <groupId>org.eclipse.persistence</groupId>
619 <artifactId>org.eclipse.persistence.antlr</artifactId>
620 <version>2.7.3</version>
623 <groupId>org.eclipse.persistence</groupId>
624 <artifactId>org.eclipse.persistence.core</artifactId>
625 <version>2.7.3</version>
628 <groupId>org.eclipse.persistence</groupId>
629 <artifactId>org.eclipse.persistence.moxy</artifactId>
630 <version>2.7.3</version>
633 <groupId>javax.validation</groupId>
634 <artifactId>validation-api</artifactId>
635 <version>1.1.0.Final</version>
638 <groupId>org.javassist</groupId>
639 <artifactId>javassist</artifactId>
640 <version>3.24.1-GA</version>
643 <groupId>org.jboss.spec.javax.transaction</groupId>
644 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
645 <version>1.0.1.Final</version>
648 <groupId>org.jolokia</groupId>
649 <artifactId>jolokia-osgi</artifactId>
650 <version>1.6.2</version>
653 <groupId>org.osgi</groupId>
654 <artifactId>osgi.cmpn</artifactId>
655 <version>6.0.0</version>
656 <scope>provided</scope>
659 <groupId>org.osgi</groupId>
660 <artifactId>org.osgi.core</artifactId>
661 <version>6.0.0</version>
662 <scope>provided</scope>
665 <groupId>org.osgi</groupId>
666 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
667 <artifactId>org.osgi.service.event</artifactId>
668 <version>1.3.1</version>
671 <groupId>org.apache.aries.quiesce</groupId>
672 <artifactId>org.apache.aries.quiesce.api</artifactId>
673 <version>1.0.0</version>
676 <groupId>org.ow2.asm</groupId>
677 <artifactId>asm</artifactId>
678 <version>7.0</version>
681 <!-- Configuration library -->
682 <!-- This needs to be kept in sync with the version used by akka -->
684 <groupId>com.typesafe</groupId>
685 <artifactId>config</artifactId>
686 <version>1.3.3</version>
689 <!-- Reactive Streams, used by Akka -->
691 <groupId>org.reactivestreams</groupId>
692 <artifactId>reactive-streams</artifactId>
693 <version>1.0.2</version>
698 <groupId>com.typesafe</groupId>
699 <artifactId>ssl-config-core_2.12</artifactId>
700 <version>0.3.7</version>
703 <groupId>com.typesafe.akka</groupId>
704 <artifactId>akka-actor_2.12</artifactId>
705 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
706 <version>2.5.23</version>
709 <groupId>com.typesafe.akka</groupId>
710 <artifactId>akka-cluster_2.12</artifactId>
711 <version>2.5.23</version>
714 <groupId>com.typesafe.akka</groupId>
715 <artifactId>akka-osgi_2.12</artifactId>
716 <version>2.5.23</version>
719 <groupId>com.typesafe.akka</groupId>
720 <artifactId>akka-persistence_2.12</artifactId>
721 <version>2.5.23</version>
724 <groupId>com.typesafe.akka</groupId>
725 <artifactId>akka-persistence-tck_2.12</artifactId>
726 <version>2.5.23</version>
730 <groupId>com.typesafe.akka</groupId>
731 <artifactId>akka-protobuf_2.12</artifactId>
732 <version>2.5.23</version>
735 <groupId>com.typesafe.akka</groupId>
736 <artifactId>akka-remote_2.12</artifactId>
737 <version>2.5.23</version>
740 <groupId>com.typesafe.akka</groupId>
741 <artifactId>akka-slf4j_2.12</artifactId>
742 <version>2.5.23</version>
745 <groupId>com.typesafe.akka</groupId>
746 <artifactId>akka-stream_2.12</artifactId>
747 <version>2.5.23</version>
750 <groupId>com.typesafe.akka</groupId>
751 <artifactId>akka-testkit_2.12</artifactId>
752 <version>2.5.23</version>
756 <groupId>org.scala-lang.modules</groupId>
757 <artifactId>scala-java8-compat_2.12</artifactId>
758 <version>0.8.0</version>
761 <groupId>org.scala-lang.modules</groupId>
762 <artifactId>scala-parser-combinators_2.12</artifactId>
763 <version>1.1.2</version>
766 <groupId>org.uncommons.maths</groupId>
767 <artifactId>uncommons-maths</artifactId>
768 <version>1.2.2a</version>
771 <!-- Aeron, required by Akka -->
773 <groupId>org.agrona</groupId>
774 <artifactId>agrona</artifactId>
775 <version>0.9.33</version>
778 <groupId>io.aeron</groupId>
779 <artifactId>aeron-client</artifactId>
780 <version>1.15.3</version>
783 <groupId>io.aeron</groupId>
784 <artifactId>aeron-driver</artifactId>
785 <version>1.15.3</version>
790 <groupId>org.scala-lang</groupId>
791 <artifactId>scala-library</artifactId>
792 <version>2.12.8</version>
795 <groupId>org.scala-lang</groupId>
796 <artifactId>scala-reflect</artifactId>
797 <version>2.12.8</version>
800 <!-- LMAX Disruptor -->
802 <groupId>com.lmax</groupId>
803 <artifactId>disruptor</artifactId>
804 <version>3.4.2</version>
807 <!-- Add Pax Exam -->
809 <groupId>org.ops4j.pax.exam</groupId>
810 <artifactId>pax-exam</artifactId>
811 <version>4.13.1</version>
815 <groupId>org.ops4j.pax.exam</groupId>
816 <artifactId>pax-exam-container-forked</artifactId>
817 <version>4.13.1</version>
821 <groupId>org.ops4j.pax.exam</groupId>
822 <artifactId>pax-exam-container-karaf</artifactId>
823 <version>4.13.1</version>
827 <groupId>org.ops4j.pax.exam</groupId>
828 <artifactId>pax-exam-container-native</artifactId>
829 <version>4.13.1</version>
833 <groupId>org.ops4j.pax.exam</groupId>
834 <artifactId>pax-exam-extender-service</artifactId>
835 <version>4.13.1</version>
839 <groupId>org.ops4j.pax.exam</groupId>
840 <artifactId>pax-exam-inject</artifactId>
841 <version>4.13.1</version>
845 <groupId>org.ops4j.pax.exam</groupId>
846 <artifactId>pax-exam-invoker-junit</artifactId>
847 <version>4.13.1</version>
851 <groupId>org.ops4j.pax.exam</groupId>
852 <artifactId>pax-exam-features</artifactId>
853 <version>4.13.1</version>
858 <groupId>org.ops4j.pax.exam</groupId>
859 <artifactId>pax-exam-junit4</artifactId>
860 <version>4.13.1</version>
864 <groupId>org.ops4j.pax.exam</groupId>
865 <artifactId>pax-exam-link-mvn</artifactId>
866 <version>4.13.1</version>
870 <groupId>org.ops4j.pax.exam</groupId>
871 <artifactId>pax-exam-link-assembly</artifactId>
872 <version>4.13.1</version>
877 <groupId>org.ops4j.pax.url</groupId>
878 <artifactId>pax-url-link</artifactId>
879 <version>2.5.4</version>
883 <groupId>org.ops4j.pax.url</groupId>
884 <artifactId>pax-url-aether</artifactId>
885 <version>2.5.4</version>
889 <groupId>org.ops4j.pax.url</groupId>
890 <artifactId>pax-url-wrap</artifactId>
891 <version>2.5.4</version>
895 <groupId>org.ops4j.pax.web</groupId>
896 <artifactId>pax-web-api</artifactId>
897 <!-- Note: keep this version synchronized with karaf -->
898 <version>7.2.5</version>
902 <groupId>org.springframework.osgi</groupId>
903 <artifactId>spring-osgi-mock</artifactId>
904 <version>1.2.1</version>
909 <groupId>org.xmlunit</groupId>
910 <artifactId>xmlunit-core</artifactId>
911 <version>2.6.3</version>
915 <groupId>org.xmlunit</groupId>
916 <artifactId>xmlunit-matchers</artifactId>
917 <version>2.6.3</version>
920 <!-- FIXME: remove this once we have migrated over -->
922 <groupId>org.xmlunit</groupId>
923 <artifactId>xmlunit-legacy</artifactId>
924 <version>2.6.3</version>
929 <groupId>org.eclipse.jetty</groupId>
930 <artifactId>jetty-bom</artifactId>
931 <version>9.4.12.v20180830</version>
932 <scope>import</scope>
937 <groupId>com.h2database</groupId>
938 <artifactId>h2</artifactId>
939 <version>1.4.199</version>
942 <!-- Xtend http://xtend-lang.org
943 NOTE: When you increase the version here,
944 then remember to also increase it for the
945 xtend-maven-plugin below! (We don't want to
946 use a Maven property, in order not to "leak" that.)
949 <groupId>org.eclipse.xtend</groupId>
950 <artifactId>org.eclipse.xtend.lib</artifactId>
951 <version>2.17.1</version>
954 <groupId>org.eclipse.xtend</groupId>
955 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
956 <version>2.17.1</version>
959 <groupId>org.eclipse.xtext</groupId>
960 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
961 <version>2.17.1</version>
966 <groupId>javax.inject</groupId>
967 <artifactId>javax.inject</artifactId>
969 <optional>true</optional>
972 <!-- jung, a graph library -->
974 <groupId>net.sf.jung</groupId>
975 <artifactId>jung-api</artifactId>
976 <version>2.1.1</version>
979 <groupId>net.sf.jung</groupId>
980 <artifactId>jung-algorithms</artifactId>
981 <version>2.1.1</version>
984 <groupId>net.sf.jung</groupId>
985 <artifactId>jung-graph-impl</artifactId>
986 <version>2.1.1</version>
989 <!-- Karaf console support -->
991 <groupId>org.apache.karaf.shell</groupId>
992 <artifactId>org.apache.karaf.shell.core</artifactId>
993 <version>${karaf.version}</version>
996 <groupId>org.apache.karaf.shell</groupId>
997 <artifactId>org.apache.karaf.shell.console</artifactId>
998 <version>${karaf.version}</version>
1001 <!-- ThreeTen-Extra, date/time complements -->
1003 <groupId>org.threeten</groupId>
1004 <artifactId>threeten-extra</artifactId>
1005 <version>1.5.0</version>
1008 <!-- When updating this version, consider antl4-maven-plugin below -->
1010 <groupId>org.antlr</groupId>
1011 <artifactId>antlr4-runtime</artifactId>
1012 <version>4.7.2</version>
1014 <!-- Aries' Blueprint version should be kept in sync to the version actually
1015 used by our ${karaf[4].version} ... please bump this when increasing that.
1016 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1018 <groupId>org.apache.aries.blueprint</groupId>
1019 <artifactId>org.apache.aries.blueprint.core</artifactId>
1020 <version>1.10.1</version>
1023 <groupId>org.apache.aries.blueprint</groupId>
1024 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1025 <version>1.3.0</version>
1026 <optional>true</optional>
1029 <!-- Apache SSHD with netty -->
1031 <groupId>org.apache.sshd</groupId>
1032 <artifactId>sshd-netty</artifactId>
1033 <version>2.2.0</version>
1036 <!-- We provide sshd-osgi instead -->
1037 <groupId>org.apache.sshd</groupId>
1038 <artifactId>sshd-core</artifactId>
1043 <groupId>org.apache.sshd</groupId>
1044 <artifactId>sshd-osgi</artifactId>
1045 <version>2.2.0</version>
1048 <groupId>net.i2p.crypto</groupId>
1049 <artifactId>eddsa</artifactId>
1050 <version>0.3.0</version>
1053 <!-- TrieMap library -->
1055 <groupId>tech.pantheon.triemap</groupId>
1056 <artifactId>bom</artifactId>
1057 <version>1.0.5</version>
1058 <scope>import</scope>
1062 <!-- Dropwizard metrics -->
1064 <groupId>io.dropwizard.metrics</groupId>
1065 <artifactId>metrics-bom</artifactId>
1066 <version>4.0.5</version>
1067 <scope>import</scope>
1071 <!-- JAXB for Java 11+ -->
1073 FIXME: bump this to 2.3.0 once we require Java 9+
1074 FIXME: bump this to whatever karaf provides once we require Java 11+
1077 <groupId>javax.xml.bind</groupId>
1078 <artifactId>jaxb-api</artifactId>
1079 <version>2.2.8</version>
1082 <!-- Provided by JRE -->
1083 <groupId>javax.xml.stream</groupId>
1084 <artifactId>stax-api</artifactId>
1089 <groupId>com.sun.xml.bind</groupId>
1090 <artifactId>jaxb-core</artifactId>
1091 <version>2.2.11</version>
1094 <groupId>com.sun.xml.bind</groupId>
1095 <artifactId>jaxb-impl</artifactId>
1096 <version>2.2.11</version>
1099 </dependencyManagement>
1103 We expect slf4j-api to be provided by the platform.
1104 Karaf provides it, other containers need to provide it themselves.
1107 <groupId>org.slf4j</groupId>
1108 <artifactId>slf4j-api</artifactId>
1109 <scope>provided</scope>
1113 Enable useful code quality annotations everywhere. Since these annotations
1114 are not required at runtime.
1117 <groupId>org.eclipse.jdt</groupId>
1118 <artifactId>org.eclipse.jdt.annotation</artifactId>
1119 <scope>provided</scope>
1122 <groupId>com.github.spotbugs</groupId>
1123 <artifactId>spotbugs-annotations</artifactId>
1124 <scope>provided</scope>
1125 <optional>true</optional>
1129 Testing output should be routed through slf4j-simple.
1132 <groupId>org.slf4j</groupId>
1133 <artifactId>slf4j-simple</artifactId>
1138 Unit tests can use JUnit + Mockito + Hamcrest by default.
1141 <groupId>org.hamcrest</groupId>
1142 <artifactId>hamcrest</artifactId>
1146 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1147 <groupId>org.hamcrest</groupId>
1148 <artifactId>hamcrest-library</artifactId>
1152 <groupId>junit</groupId>
1153 <artifactId>junit</artifactId>
1157 <groupId>org.mockito</groupId>
1158 <artifactId>mockito-core</artifactId>
1166 <!-- Official maven plugins, alpha-sorted by artifactId.
1167 We do not need to specify the groupId. -->
1169 <artifactId>maven-antrun-plugin</artifactId>
1170 <version>1.8</version>
1173 <artifactId>maven-checkstyle-plugin</artifactId>
1174 <version>3.1.0</version>
1177 <groupId>com.puppycrawl.tools</groupId>
1178 <artifactId>checkstyle</artifactId>
1179 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1180 <version>8.18</version>
1183 <groupId>org.opendaylight.odlparent</groupId>
1184 <artifactId>checkstyle</artifactId>
1185 <version>5.0.1-SNAPSHOT</version>
1188 <groupId>org.opendaylight.odlparent</groupId>
1189 <artifactId>odl-license</artifactId>
1190 <version>5.0.1-SNAPSHOT</version>
1193 <groupId>com.github.sevntu-checkstyle</groupId>
1194 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1195 <version>1.33.0</version>
1199 <configLocation>odl_checks.xml</configLocation>
1200 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1201 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1202 generated sources directory -->
1204 <directory>${project.build.sourceDirectory}</directory>
1205 </sourceDirectories>
1206 <includeResources>true</includeResources>
1207 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1208 <includeTestResources>true</includeTestResources>
1209 <includes>**\/*.java, **\/*.xtend</includes>
1211 org/opendaylight/yang/gen/**,
1212 **/protobuff/messages/**,
1213 **/thrift/gen/*.java
1215 <failsOnError>false</failsOnError>
1216 <consoleOutput>true</consoleOutput>
1220 <id>check-license</id>
1224 <phase>process-sources</phase>
1226 <configLocation>check-license.xml</configLocation>
1227 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1228 <includeResources>false</includeResources>
1229 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1230 <includeTestResources>false</includeTestResources>
1232 <directory>${project.build.sourceDirectory}</directory>
1233 </sourceDirectories>
1235 org/opendaylight/yang/gen/**,
1236 **/protobuff/messages/**,
1237 **/thrift/gen/*.java
1239 <failsOnError>false</failsOnError>
1240 <consoleOutput>true</consoleOutput>
1247 <phase>process-sources</phase>
1252 <groupId>org.apache.maven.plugins</groupId>
1253 <artifactId>maven-pmd-plugin</artifactId>
1254 <version>3.11.0</version>
1258 <phase>process-sources</phase>
1260 <goal>cpd-check</goal>
1263 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1264 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1265 <minimumTokens>101</minimumTokens>
1266 <printFailingErrors>true</printFailingErrors>
1268 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1269 not understand path prefixes nor wildcards. Details are available
1270 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1271 Hence people introducing new generated sources have to include
1274 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1275 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1277 <linkXRef>false</linkXRef>
1283 <artifactId>maven-compiler-plugin</artifactId>
1284 <version>3.8.1</version>
1286 <showWarnings>true</showWarnings>
1288 <arg>-parameters</arg>
1289 <arg>-Xlint:deprecation</arg>
1290 <arg>-Xlint:unchecked</arg>
1295 <artifactId>maven-enforcer-plugin</artifactId>
1296 <version>${enforcer.version}</version>
1299 <artifactId>maven-failsafe-plugin</artifactId>
1300 <version>2.22.2</version>
1303 <artifactId>maven-invoker-plugin</artifactId>
1304 <version>3.2.0</version>
1307 <artifactId>maven-jar-plugin</artifactId>
1308 <version>3.1.2</version>
1311 <artifactId>maven-dependency-plugin</artifactId>
1314 <id>unpack-license</id>
1315 <phase>generate-resources</phase>
1316 <goals><goal>unpack</goal></goals>
1320 <groupId>org.opendaylight.odlparent</groupId>
1321 <artifactId>odl-license</artifactId>
1322 <version>5.0.1-SNAPSHOT</version>
1325 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1326 <excludes>META-INF/**</excludes>
1333 <artifactId>maven-plugin-plugin</artifactId>
1334 <version>3.6.0</version>
1338 <artifactId>maven-remote-resources-plugin</artifactId>
1339 <version>1.6.0</version>
1342 <artifactId>maven-resources-plugin</artifactId>
1343 <version>3.1.0</version>
1346 <artifactId>maven-shade-plugin</artifactId>
1347 <version>3.2.1</version>
1350 <artifactId>maven-source-plugin</artifactId>
1351 <version>3.1.0</version>
1354 <id>attach-sources</id>
1355 <phase>verify</phase>
1357 <goal>jar-no-fork</goal>
1363 <artifactId>maven-surefire-plugin</artifactId>
1364 <version>2.22.2</version>
1366 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1367 <trimStackTrace>false</trimStackTrace>
1371 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1373 <!-- Support Blueprint XML construction using annotations -->
1374 <groupId>org.apache.aries.blueprint</groupId>
1375 <artifactId>blueprint-maven-plugin</artifactId>
1376 <version>1.10.0</version>
1377 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1378 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1381 <groupId>org.apache.xbean</groupId>
1382 <artifactId>xbean-finder-shaded</artifactId>
1383 <version>4.14</version>
1388 <scanPath>${project.groupId}</scanPath>
1394 <goal>blueprint-generate</goal>
1401 <groupId>org.apache.felix</groupId>
1402 <artifactId>maven-bundle-plugin</artifactId>
1403 <version>4.2.0</version>
1404 <extensions>true</extensions>
1407 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1408 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1409 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1410 <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>
1412 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1413 to generate Import-Service and Export-Service headers. -->
1414 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1420 <groupId>org.apache.karaf.tooling</groupId>
1421 <artifactId>karaf-maven-plugin</artifactId>
1422 <version>${karaf.version}</version>
1426 <groupId>org.apache.servicemix.tooling</groupId>
1427 <artifactId>depends-maven-plugin</artifactId>
1428 <version>1.4.0</version>
1431 <id>generate-depends-file</id>
1433 <goal>generate-depends-file</goal>
1440 <groupId>com.webcohesion.enunciate</groupId>
1441 <artifactId>enunciate-maven-plugin</artifactId>
1442 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1443 <version>2.11.1</version>
1447 <groupId>org.codehaus.mojo</groupId>
1448 <artifactId>build-helper-maven-plugin</artifactId>
1449 <version>3.0.0</version>
1452 <groupId>com.github.spotbugs</groupId>
1453 <artifactId>spotbugs-maven-plugin</artifactId>
1454 <version>3.1.11</version>
1457 <groupId>com.github.spotbugs</groupId>
1458 <artifactId>spotbugs</artifactId>
1459 <version>3.1.12</version>
1462 <groupId>org.opendaylight.odlparent</groupId>
1463 <artifactId>spotbugs</artifactId>
1464 <version>5.0.1-SNAPSHOT</version>
1467 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1468 <groupId>org.slf4j</groupId>
1469 <artifactId>slf4j-simple</artifactId>
1470 <version>1.8.0-beta2</version>
1476 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1477 <artifactId>bug-pattern</artifactId>
1478 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1479 <version>1.4.2</version>
1483 Enables analysis which takes more memory but finds more bugs.
1484 If you run out of memory, changes the value of the effort element
1487 <effort>Max</effort>
1488 <!-- Reports all bugs (other values are medium and max) -->
1489 <threshold>Low</threshold>
1490 <!-- Build doesn't fail if problems are found -->
1491 <failOnError>false</failOnError>
1492 <!-- References the excluded rules -->
1493 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1494 <!-- Produces XML report -->
1495 <xmlOutput>true</xmlOutput>
1496 <!-- Configures the directory in which the XML report is created -->
1497 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1501 Ensures that SpotBugs inspects source code when project is compiled.
1504 <id>analyze-compile</id>
1505 <phase>compile</phase>
1513 <groupId>org.codehaus.mojo</groupId>
1514 <artifactId>properties-maven-plugin</artifactId>
1515 <version>1.0.0</version>
1518 <groupId>org.eclipse.xtend</groupId>
1519 <artifactId>xtend-maven-plugin</artifactId>
1520 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1521 <version>2.17.1</version>
1525 <goal>compile</goal>
1526 <goal>testCompile</goal>
1529 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1530 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1536 <groupId>org.eclipse.m2e</groupId>
1537 <artifactId>lifecycle-mapping</artifactId>
1538 <version>1.0.0</version>
1540 <lifecycleMappingMetadata>
1543 <pluginExecutionFilter>
1544 <groupId>org.apache.felix</groupId>
1545 <artifactId>maven-bundle-plugin</artifactId>
1546 <versionRange>[1.0,)</versionRange>
1548 <goal>manifest</goal>
1550 </pluginExecutionFilter>
1556 <pluginExecutionFilter>
1557 <groupId>org.apache.maven.plugins</groupId>
1558 <artifactId>maven-enforcer-plugin</artifactId>
1559 <versionRange>[1.0.0,)</versionRange>
1561 <goal>enforce</goal>
1563 </pluginExecutionFilter>
1569 <pluginExecutionFilter>
1570 <groupId>org.apache.maven.plugins</groupId>
1571 <artifactId>maven-dependency-plugin</artifactId>
1572 <versionRange>[2.10,)</versionRange>
1576 </pluginExecutionFilter>
1582 <pluginExecutionFilter>
1583 <groupId>org.apache.maven.plugins</groupId>
1584 <artifactId>maven-pmd-plugin</artifactId>
1585 <versionRange>[3.6,)</versionRange>
1587 <goal>cpd-check</goal>
1589 </pluginExecutionFilter>
1594 <!-- The plugin will eventually be removed, remove this too at that point -->
1596 <pluginExecutionFilter>
1597 <groupId>org.apache.maven.plugins</groupId>
1598 <artifactId>maven-antrun-plugin</artifactId>
1599 <versionRange>[1.8,)</versionRange>
1603 </pluginExecutionFilter>
1609 <pluginExecutionFilter>
1610 <groupId>org.apache.servicemix.tooling</groupId>
1611 <artifactId>depends-maven-plugin</artifactId>
1612 <versionRange>[1.2,)</versionRange>
1614 <goal>generate-depends-file</goal>
1616 </pluginExecutionFilter>
1622 <pluginExecutionFilter>
1623 <groupId>org.jacoco</groupId>
1624 <artifactId>jacoco-maven-plugin</artifactId>
1625 <versionRange>[0.7.0,)</versionRange>
1627 <goal>prepare-agent</goal>
1629 </pluginExecutionFilter>
1636 <pluginExecutionFilter>
1637 <groupId>org.ops4j.pax.exam</groupId>
1638 <artifactId>maven-paxexam-plugin</artifactId>
1639 <versionRange>[1.2.4,)</versionRange>
1641 <goal>generate-depends-file</goal>
1643 </pluginExecutionFilter>
1650 <pluginExecutionFilter>
1651 <groupId>org.basepom.maven</groupId>
1653 duplicate-finder-maven-plugin
1655 <versionRange>[1.2.1,)</versionRange>
1659 </pluginExecutionFilter>
1665 </lifecycleMappingMetadata>
1670 <groupId>org.jacoco</groupId>
1671 <artifactId>jacoco-maven-plugin</artifactId>
1673 <!-- Note: This exclusion list should match <sonar.exclusions>
1676 <exclude>**/gen/**</exclude>
1677 <exclude>**/generated-sources/**</exclude>
1678 <exclude>**/generated-test-sources/**</exclude>
1679 <exclude>**/yang-gen/**</exclude>
1680 <exclude>**/yang-gen-config/**</exclude>
1681 <exclude>**/yang-gen-sal/**</exclude>
1682 <exclude>**/yang-gen-code/**</exclude>
1683 <exclude>**/pax/**</exclude>
1689 <groupId>org.ops4j.pax.exam</groupId>
1690 <artifactId>maven-paxexam-plugin</artifactId>
1691 <version>1.2.4</version>
1695 <groupId>org.codehaus.mojo</groupId>
1696 <artifactId>jdepend-maven-plugin</artifactId>
1697 <version>2.0</version>
1702 <goal>generate-no-fork</goal>
1708 <!-- When updating this version, consider antl4-runtime above -->
1710 <groupId>org.antlr</groupId>
1711 <artifactId>antlr4-maven-plugin</artifactId>
1712 <version>4.7.2</version>
1719 <artifactId>maven-enforcer-plugin</artifactId>
1722 <id>enforce-banned-dependencies</id>
1724 <goal>enforce</goal>
1728 <bannedDependencies>
1729 <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>
1731 <exclude>org.mockito:mockito-all</exclude>
1732 <exclude>com.google.code.findbugs:annotations</exclude>
1734 </bannedDependencies>
1742 <groupId>org.basepom.maven</groupId>
1743 <artifactId>duplicate-finder-maven-plugin</artifactId>
1744 <version>1.3.0</version>
1747 <id>find-duplicate-classpath-entries</id>
1748 <phase>verify</phase>
1755 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1756 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1757 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1758 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1759 <printEqualFiles>false</printEqualFiles>
1761 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1762 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1763 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1765 <ignoredResourcePatterns>
1766 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1767 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1768 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1769 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1770 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1771 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1772 </ignoredResourcePatterns>
1773 <ignoredClassPatterns>
1774 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1775 </ignoredClassPatterns>
1776 <ignoredDependencies>
1778 <groupId>org.slf4j</groupId>
1779 <artifactId>slf4j-simple</artifactId>
1780 </ignoredDependency>
1782 <groupId>org.opendaylight.odlparent</groupId>
1783 <artifactId>opendaylight-karaf-empty</artifactId>
1784 </ignoredDependency>
1785 </ignoredDependencies>
1789 <artifactId>maven-dependency-plugin</artifactId>
1792 <artifactId>maven-checkstyle-plugin</artifactId>
1795 <artifactId>maven-pmd-plugin</artifactId>
1798 <artifactId>maven-source-plugin</artifactId>
1801 <artifactId>maven-javadoc-plugin</artifactId>
1804 <!-- Jacoco / Sonar -->
1806 <groupId>org.jacoco</groupId>
1807 <artifactId>jacoco-maven-plugin</artifactId>
1810 <id>pre-unit-test</id>
1812 <goal>prepare-agent</goal>
1815 <destFile>${jacoco.destFile}</destFile>
1822 <groupId>com.alexecollins.maven.plugin</groupId>
1823 <artifactId>script-maven-plugin</artifactId>
1824 <version>1.0.0</version>
1827 <phase>prepare-package</phase>
1829 <goal>execute</goal>
1833 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1834 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1835 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1836 // static class methods only - it will be MUCH easier to write!)
1837 void copy(File root, String glob, File target) {
1838 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1839 Iterator dirStreamIterator = dirStream.iterator();
1840 while (dirStreamIterator.hasNext()) {
1841 java.nio.file.Path path = dirStreamIterator.next();
1842 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1843 new java.nio.file.CopyOption[] {
1844 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1845 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1852 File gitRepoRootDir = project.basedir;
1853 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1854 gitRepoRootDir = gitRepoRootDir.getParentFile();
1857 File target = new File(project.build.outputDirectory);
1859 copy(gitRepoRootDir, "README*", target);
1860 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1861 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1868 <groupId>org.apache-extras.beanshell</groupId>
1869 <artifactId>bsh</artifactId>
1870 <version>2.0b6</version>
1879 <id>jdk9-compile</id>
1883 <!-- Unless the release is overridden by a system property -->
1884 <name>!maven.compiler.release</name>
1888 <!-- For JDK9+ we want to pass -release to javac -->
1890 <maven.compiler.release>8</maven.compiler.release>
1898 <artifactId>maven-checkstyle-plugin</artifactId>
1899 <version>3.1.0</version>
1902 <!-- FIXME: activate this
1904 <artifactId>maven-project-info-reports-plugin</artifactId>
1905 <version>${projectinfo}</version>
1908 <groupId>org.codehaus.mojo</groupId>
1909 <artifactId>jdepend-maven-plugin</artifactId>
1913 <report>generate-no-fork</report>