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>4.0.3-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
31 <!-- Variables should only be used where genuinely useful (to avoid
32 repetition); in general versions should be specified in the
33 corresponding dependencyManagement or pluginManagement element, not as
34 a variable. Duplication within odlparent doesn't count if it can be
35 managed using maven-versions-plugin. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <!-- Java Versions -->
44 <!-- FIXME: confirm these two are picked by maven-compiler-plugin -->
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.1</karaf.version>
54 <!-- Used in bgpcep, lispflowmapping -->
55 <projectinfo>2.8.1</projectinfo>
57 <!-- Supporting Libraries -->
58 <!-- Only used internally -->
59 <bouncycastle.version>1.60</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>4.0.3-SNAPSHOT</version>
93 <!-- Build tool dependencies (normally not here in <dependencies>,
94 but in a <dependency> in <pluginManagement> but for Checkstyle this
95 is required so that we can share the same version of Checkstyle
96 for both the Maven plugin below as well as for custom Checkstyle
97 check rule projects, such as yangtools' checkstyle-logging) -->
99 <groupId>com.puppycrawl.tools</groupId>
100 <artifactId>checkstyle</artifactId>
101 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
102 <version>8.15</version>
105 <!-- Testing Dependencies -->
106 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
107 <!-- Need to stick to JUnit 4.11 until
108 https://github.com/jayway/powermock/issues/560 is fixed (either in
109 PowerMock or with a new JUnit release) -->
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
114 <version>4.11</version>
118 <groupId>org.skyscreamer</groupId>
119 <artifactId>jsonassert</artifactId>
120 <version>1.5.0</version>
124 <groupId>org.mockito</groupId>
125 <artifactId>mockito-core</artifactId>
126 <version>2.23.4</version>
130 <groupId>org.mockito</groupId>
131 <artifactId>mockito-inline</artifactId>
132 <version>2.23.4</version>
136 <groupId>org.hamcrest</groupId>
137 <artifactId>hamcrest-core</artifactId>
138 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
139 <version>1.3</version>
143 <groupId>org.hamcrest</groupId>
144 <artifactId>hamcrest-library</artifactId>
145 <version>1.3</version>
149 <groupId>com.google.truth</groupId>
150 <artifactId>truth</artifactId>
151 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
152 <version>0.42</version>
156 <groupId>com.google.truth.extensions</groupId>
157 <artifactId>truth-java8-extension</artifactId>
158 <version>0.42</version>
162 <groupId>org.awaitility</groupId>
163 <artifactId>awaitility</artifactId>
164 <version>3.0.0</version>
168 <groupId>org.awaitility</groupId>
169 <artifactId>awaitility-proxy</artifactId>
170 <version>3.0.0</version>
174 <groupId>org.powermock</groupId>
175 <artifactId>powermock-api-mockito</artifactId>
176 <version>1.7.4</version>
180 <groupId>org.powermock</groupId>
181 <artifactId>powermock-api-mockito2</artifactId>
182 <version>1.7.4</version>
186 <groupId>org.powermock</groupId>
187 <artifactId>powermock-api-support</artifactId>
188 <version>1.7.4</version>
192 <groupId>org.powermock</groupId>
193 <artifactId>powermock-core</artifactId>
194 <version>1.7.4</version>
198 <groupId>org.powermock</groupId>
199 <artifactId>powermock-module-junit4</artifactId>
200 <version>1.7.4</version>
204 <groupId>org.powermock</groupId>
205 <artifactId>powermock-reflect</artifactId>
206 <version>1.7.4</version>
211 Annotation Processors
214 <!-- Generates immutable implementations, builders, the works -->
215 <groupId>org.immutables</groupId>
216 <artifactId>value</artifactId>
217 <version>2.7.1</version>
218 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
219 <scope>provided</scope>
222 <!-- Generates META-INF/services entries for ServiceLoader -->
223 <groupId>org.kohsuke.metainf-services</groupId>
224 <artifactId>metainf-services</artifactId>
225 <version>1.8</version>
226 <optional>true</optional>
227 <scope>provided</scope>
234 <groupId>org.slf4j</groupId>
235 <artifactId>jcl-over-slf4j</artifactId>
236 <version>1.7.25</version>
239 <groupId>org.slf4j</groupId>
240 <artifactId>slf4j-api</artifactId>
241 <version>1.7.25</version>
244 <groupId>org.slf4j</groupId>
245 <artifactId>slf4j-log4j12</artifactId>
246 <version>1.7.25</version>
249 <groupId>org.slf4j</groupId>
250 <artifactId>log4j-over-slf4j</artifactId>
251 <version>1.7.25</version>
254 <groupId>org.slf4j</groupId>
255 <artifactId>slf4j-simple</artifactId>
256 <version>1.7.25</version>
260 <groupId>ch.qos.logback</groupId>
261 <artifactId>logback-core</artifactId>
262 <version>1.2.3</version>
265 <groupId>ch.qos.logback</groupId>
266 <artifactId>logback-classic</artifactId>
267 <version>1.2.3</version>
272 <groupId>org.apache.logging.log4j</groupId>
273 <artifactId>log4j-bom</artifactId>
274 <version>2.11.1</version>
275 <scope>import</scope>
280 <groupId>com.google.guava</groupId>
281 <artifactId>guava</artifactId>
282 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
283 <version>25.1-jre</version>
286 <groupId>com.google.code.findbugs</groupId>
287 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
288 <artifactId>jsr305</artifactId>
293 <groupId>com.google.guava</groupId>
294 <artifactId>guava-testlib</artifactId>
295 <version>25.1-jre</version>
299 <groupId>com.google.code.findbugs</groupId>
300 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
301 <artifactId>jsr305</artifactId>
306 <groupId>com.mycila.guice.extensions</groupId>
307 <artifactId>mycila-guice-jsr250</artifactId>
308 <!-- Make sure this version is in sync with the guice one below -->
309 <version>4.0.rc1</version>
312 <groupId>com.google.inject</groupId>
313 <artifactId>guice</artifactId>
314 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
315 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
316 <version>4.1.0</version>
319 <groupId>org.apache.commons</groupId>
320 <artifactId>commons-lang3</artifactId>
321 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
322 <version>3.8.1</version>
325 <groupId>org.apache.commons</groupId>
326 <artifactId>commons-text</artifactId>
327 <version>1.6</version>
330 <groupId>commons-lang</groupId>
331 <artifactId>commons-lang</artifactId>
332 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
333 <version>2.6</version>
336 <groupId>commons-codec</groupId>
337 <artifactId>commons-codec</artifactId>
338 <version>1.11</version>
340 <!-- Jersey for JAXRS -->
342 <groupId>javax.ws.rs</groupId>
343 <artifactId>javax.ws.rs-api</artifactId>
344 <version>2.0.1</version>
347 <groupId>org.glassfish.jersey</groupId>
348 <artifactId>jersey-bom</artifactId>
349 <version>2.25.1</version>
351 <scope>import</scope>
354 <groupId>org.glassfish</groupId>
355 <artifactId>javax.json</artifactId>
356 <version>1.1.2</version>
359 <!-- servlet 3.x support -->
360 <!-- FIXME : remove all dependencies for jersey 1.17 -->
362 <groupId>com.sun.jersey</groupId>
363 <artifactId>jersey-core</artifactId>
364 <version>1.19.4</version>
367 <groupId>com.sun.jersey</groupId>
368 <artifactId>jersey-json</artifactId>
369 <version>1.19.4</version>
372 <groupId>com.sun.jersey</groupId>
373 <artifactId>jersey-server</artifactId>
374 <version>1.19.4</version>
377 <groupId>com.sun.jersey</groupId>
378 <artifactId>jersey-servlet</artifactId>
379 <version>1.19.4</version>
382 <groupId>com.sun.jersey.jersey-test-framework</groupId>
383 <artifactId>jersey-test-framework-grizzly2</artifactId>
384 <version>1.19.4</version>
388 <groupId>com.sun.jersey.jersey-test-framework</groupId>
389 <artifactId>jersey-test-framework-inmemory</artifactId>
390 <version>1.19.4</version>
394 <groupId>com.sun.jersey</groupId>
395 <artifactId>jersey-client</artifactId>
396 <version>1.19.4</version>
399 <groupId>org.apache.shiro</groupId>
400 <artifactId>shiro-core</artifactId>
401 <version>1.3.2</version>
404 <groupId>org.apache.shiro</groupId>
405 <artifactId>shiro-web</artifactId>
406 <version>1.3.2</version>
409 <!-- Plugin integration -->
411 <groupId>net.java.dev.stax-utils</groupId>
412 <artifactId>stax-utils</artifactId>
413 <version>20070216</version>
416 <groupId>org.sonatype.plexus</groupId>
417 <artifactId>plexus-build-api</artifactId>
418 <version>0.0.7</version>
421 <groupId>org.codehaus.plexus</groupId>
422 <artifactId>plexus-slf4j-logging</artifactId>
423 <version>1.1</version>
427 <groupId>org.codehaus.woodstox</groupId>
428 <artifactId>stax2-api</artifactId>
429 <!-- Needs to match jackson's idea of import -->
430 <version>3.1.4</version>
433 <groupId>com.fasterxml.jackson</groupId>
434 <artifactId>jackson-bom</artifactId>
435 <version>2.9.7</version>
436 <scope>import</scope>
440 <!-- TODO do we really need resteasy ? -->
442 <groupId>org.jboss.resteasy</groupId>
443 <artifactId>jaxrs-api</artifactId>
444 <version>3.0.12.Final</version>
448 <groupId>com.google.code.findbugs</groupId>
449 <artifactId>annotations</artifactId>
450 <version>3.0.0</version>
452 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
453 the types of this artifact are already shaded inside the :annotations artifact.
454 This state is a temporary solution to allow all projects to gradually switch over
455 switch their <dependency><groupId>com.google.code.findbugs from
456 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
457 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
460 <groupId>net.jcip</groupId>
461 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
462 <artifactId>jcip-annotations</artifactId>
467 <groupId>org.eclipse.jdt</groupId>
468 <artifactId>org.eclipse.jdt.annotation</artifactId>
469 <version>2.2.100</version>
470 <scope>provided</scope>
473 <groupId>com.google.code.gson</groupId>
474 <artifactId>gson</artifactId>
475 <version>2.8.5</version>
478 <groupId>commons-fileupload</groupId>
479 <artifactId>commons-fileupload</artifactId>
480 <version>1.3.3</version>
483 <groupId>commons-io</groupId>
484 <artifactId>commons-io</artifactId>
485 <version>2.6</version>
488 <groupId>commons-net</groupId>
489 <artifactId>commons-net</artifactId>
490 <version>3.6</version>
495 <groupId>io.netty</groupId>
496 <artifactId>netty-all</artifactId>
497 <!-- If these are updated, the version in features.xml needs to be changed too -->
498 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
499 <version>4.1.31.Final</version>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-buffer</artifactId>
504 <version>4.1.31.Final</version>
507 <groupId>io.netty</groupId>
508 <artifactId>netty-codec</artifactId>
509 <version>4.1.31.Final</version>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-codec-http</artifactId>
514 <version>4.1.31.Final</version>
517 <groupId>io.netty</groupId>
518 <artifactId>netty-common</artifactId>
519 <version>4.1.31.Final</version>
522 <groupId>io.netty</groupId>
523 <artifactId>netty-handler</artifactId>
524 <version>4.1.31.Final</version>
527 <groupId>io.netty</groupId>
528 <artifactId>netty-transport</artifactId>
529 <version>4.1.31.Final</version>
531 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
532 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
534 <groupId>io.netty</groupId>
535 <artifactId>netty-transport-native-epoll</artifactId>
536 <classifier>linux-x86_64</classifier>
537 <version>4.1.31.Final</version>
540 <groupId>javax.ws.rs</groupId>
541 <artifactId>jsr311-api</artifactId>
542 <version>1.1.1</version>
545 <groupId>javax.servlet</groupId>
546 <artifactId>javax.servlet-api</artifactId>
547 <version>3.1.0</version>
550 <groupId>org.apache.felix</groupId>
551 <artifactId>org.apache.felix.dependencymanager</artifactId>
552 <version>4.4.1</version>
555 <groupId>org.apache.felix</groupId>
556 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
557 <version>4.0.6</version>
560 <groupId>org.apache.felix</groupId>
561 <artifactId>org.apache.felix.metatype</artifactId>
562 <version>1.2.0</version>
565 <groupId>org.bouncycastle</groupId>
566 <artifactId>bcpkix-jdk15on</artifactId>
567 <version>${bouncycastle.version}</version>
570 <groupId>org.bouncycastle</groupId>
571 <artifactId>bcprov-jdk15on</artifactId>
572 <version>${bouncycastle.version}</version>
575 <groupId>org.bouncycastle</groupId>
576 <artifactId>bcprov-ext-jdk15on</artifactId>
577 <version>${bouncycastle.version}</version>
580 <groupId>org.codehaus.enunciate</groupId>
581 <artifactId>enunciate-core-annotations</artifactId>
582 <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
583 <version>1.31</version>
586 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
587 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
588 and @RunAs and @PermitAll & Co. which we do not require
589 (or at least not from jsr250-api via enunciate) -->
590 <groupId>javax.annotation</groupId>
591 <artifactId>jsr250-api</artifactId>
596 <groupId>com.webcohesion.enunciate</groupId>
597 <artifactId>enunciate-core-annotations</artifactId>
598 <version>2.11.1</version>
602 <groupId>javax.annotation</groupId>
603 <artifactId>jsr250-api</artifactId>
608 <groupId>org.codehaus.jettison</groupId>
609 <artifactId>jettison</artifactId>
610 <version>1.4.0</version>
612 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
613 pull in javax.validation first:
614 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
616 <groupId>org.eclipse.persistence</groupId>
617 <artifactId>org.eclipse.persistence.antlr</artifactId>
618 <version>2.7.3</version>
621 <groupId>org.eclipse.persistence</groupId>
622 <artifactId>org.eclipse.persistence.core</artifactId>
623 <version>2.7.3</version>
626 <groupId>org.eclipse.persistence</groupId>
627 <artifactId>org.eclipse.persistence.moxy</artifactId>
628 <version>2.7.3</version>
631 <groupId>javax.validation</groupId>
632 <artifactId>validation-api</artifactId>
633 <version>1.1.0.Final</version>
636 <groupId>org.javassist</groupId>
637 <artifactId>javassist</artifactId>
638 <version>3.24.0-GA</version>
641 <groupId>org.jboss.spec.javax.transaction</groupId>
642 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
643 <version>1.0.1.Final</version>
646 <groupId>org.jolokia</groupId>
647 <artifactId>jolokia-osgi</artifactId>
648 <version>1.6.0</version>
651 <groupId>org.json</groupId>
652 <artifactId>json</artifactId>
653 <version>20131018</version>
656 <groupId>org.osgi</groupId>
657 <artifactId>org.osgi.compendium</artifactId>
658 <version>5.0.0</version>
659 <scope>provided</scope>
662 <groupId>org.osgi</groupId>
663 <artifactId>org.osgi.core</artifactId>
664 <version>5.0.0</version>
665 <scope>provided</scope>
668 <groupId>org.osgi</groupId>
669 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
670 <artifactId>org.osgi.service.event</artifactId>
671 <version>1.3.1</version>
674 <groupId>org.apache.aries.quiesce</groupId>
675 <artifactId>org.apache.aries.quiesce.api</artifactId>
676 <version>1.0.0</version>
679 <groupId>org.ow2.asm</groupId>
680 <artifactId>asm</artifactId>
681 <version>6.2.1</version>
684 <!-- Configuration library -->
685 <!-- This needs to be kept in sync with the version used by akka -->
687 <groupId>com.typesafe</groupId>
688 <artifactId>config</artifactId>
689 <version>1.3.2</version>
692 <!-- Reactive Streams, used by Akka -->
694 <groupId>org.reactivestreams</groupId>
695 <artifactId>reactive-streams</artifactId>
696 <version>1.0.1</version>
701 <groupId>com.typesafe</groupId>
702 <artifactId>ssl-config-core_2.12</artifactId>
703 <version>0.2.4</version>
706 <groupId>com.typesafe.akka</groupId>
707 <artifactId>akka-actor_2.12</artifactId>
708 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
709 <version>2.5.14</version>
712 <groupId>com.typesafe.akka</groupId>
713 <artifactId>akka-cluster_2.12</artifactId>
714 <version>2.5.14</version>
717 <groupId>com.typesafe.akka</groupId>
718 <artifactId>akka-osgi_2.12</artifactId>
719 <version>2.5.14</version>
722 <groupId>com.typesafe.akka</groupId>
723 <artifactId>akka-persistence_2.12</artifactId>
724 <version>2.5.14</version>
727 <groupId>com.typesafe.akka</groupId>
728 <artifactId>akka-persistence-tck_2.12</artifactId>
729 <version>2.5.14</version>
733 <groupId>com.typesafe.akka</groupId>
734 <artifactId>akka-protobuf_2.12</artifactId>
735 <version>2.5.14</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-remote_2.12</artifactId>
740 <version>2.5.14</version>
743 <groupId>com.typesafe.akka</groupId>
744 <artifactId>akka-slf4j_2.12</artifactId>
745 <version>2.5.14</version>
748 <groupId>com.typesafe.akka</groupId>
749 <artifactId>akka-stream_2.12</artifactId>
750 <version>2.5.14</version>
753 <groupId>com.typesafe.akka</groupId>
754 <artifactId>akka-testkit_2.12</artifactId>
755 <version>2.5.14</version>
759 <groupId>org.scala-lang.modules</groupId>
760 <artifactId>scala-java8-compat_2.12</artifactId>
761 <version>0.8.0</version>
764 <groupId>org.scala-lang.modules</groupId>
765 <artifactId>scala-parser-combinators_2.12</artifactId>
766 <version>1.1.1</version>
769 <groupId>org.uncommons.maths</groupId>
770 <artifactId>uncommons-maths</artifactId>
771 <version>1.2.2a</version>
774 <!-- Aeron, required by Akka -->
776 <groupId>org.agrona</groupId>
777 <artifactId>agrona</artifactId>
778 <version>0.9.21</version>
781 <groupId>io.aeron</groupId>
782 <artifactId>aeron-client</artifactId>
783 <version>1.9.3</version>
786 <groupId>io.aeron</groupId>
787 <artifactId>aeron-driver</artifactId>
788 <version>1.9.3</version>
793 <groupId>org.scala-lang</groupId>
794 <artifactId>scala-library</artifactId>
795 <version>2.12.8</version>
798 <groupId>org.scala-lang</groupId>
799 <artifactId>scala-reflect</artifactId>
800 <version>2.12.8</version>
803 <!-- LMAX Disruptor -->
805 <groupId>com.lmax</groupId>
806 <artifactId>disruptor</artifactId>
807 <version>3.4.2</version>
810 <!-- Add Pax Exam -->
812 <groupId>org.ops4j.pax.exam</groupId>
813 <artifactId>pax-exam</artifactId>
814 <version>4.12.0</version>
818 <groupId>org.ops4j.pax.exam</groupId>
819 <artifactId>pax-exam-container-forked</artifactId>
820 <version>4.12.0</version>
824 <groupId>org.ops4j.pax.exam</groupId>
825 <artifactId>pax-exam-container-karaf</artifactId>
826 <version>4.12.0</version>
830 <groupId>org.ops4j.pax.exam</groupId>
831 <artifactId>pax-exam-container-native</artifactId>
832 <version>4.12.0</version>
836 <groupId>org.ops4j.pax.exam</groupId>
837 <artifactId>pax-exam-extender-service</artifactId>
838 <version>4.12.0</version>
842 <groupId>org.ops4j.pax.exam</groupId>
843 <artifactId>pax-exam-inject</artifactId>
844 <version>4.12.0</version>
848 <groupId>org.ops4j.pax.exam</groupId>
849 <artifactId>pax-exam-invoker-junit</artifactId>
850 <version>4.12.0</version>
854 <groupId>org.ops4j.pax.exam</groupId>
855 <artifactId>pax-exam-features</artifactId>
856 <version>4.12.0</version>
861 <groupId>org.ops4j.pax.exam</groupId>
862 <artifactId>pax-exam-junit4</artifactId>
863 <version>4.12.0</version>
867 <groupId>org.ops4j.pax.exam</groupId>
868 <artifactId>pax-exam-link-mvn</artifactId>
869 <version>4.12.0</version>
873 <groupId>org.ops4j.pax.exam</groupId>
874 <artifactId>pax-exam-link-assembly</artifactId>
875 <version>4.12.0</version>
880 <groupId>org.ops4j.pax.url</groupId>
881 <artifactId>pax-url-link</artifactId>
882 <version>2.5.4</version>
886 <groupId>org.ops4j.pax.url</groupId>
887 <artifactId>pax-url-aether</artifactId>
888 <version>2.5.4</version>
892 <groupId>org.ops4j.pax.url</groupId>
893 <artifactId>pax-url-wrap</artifactId>
894 <version>2.5.4</version>
898 <groupId>org.ops4j.pax.web</groupId>
899 <artifactId>pax-web-api</artifactId>
900 <!-- Note: keep this version synchronized with karaf -->
901 <version>7.2.3</version>
905 <groupId>org.springframework.osgi</groupId>
906 <artifactId>spring-osgi-mock</artifactId>
907 <version>1.2.1</version>
912 <groupId>org.xmlunit</groupId>
913 <artifactId>xmlunit-core</artifactId>
914 <version>2.6.2</version>
918 <groupId>org.xmlunit</groupId>
919 <artifactId>xmlunit-matchers</artifactId>
920 <version>2.6.2</version>
923 <!-- FIXME: remove this once we have migrated over -->
925 <groupId>org.xmlunit</groupId>
926 <artifactId>xmlunit-legacy</artifactId>
927 <version>2.6.2</version>
932 <groupId>org.eclipse.jetty</groupId>
933 <artifactId>jetty-client</artifactId>
934 <version>9.4.11.v20180605</version>
937 <groupId>org.eclipse.jetty</groupId>
938 <artifactId>jetty-server</artifactId>
939 <version>9.4.11.v20180605</version>
942 <groupId>org.eclipse.jetty</groupId>
943 <artifactId>jetty-servlets</artifactId>
944 <version>9.4.11.v20180605</version>
947 <groupId>org.eclipse.jetty</groupId>
948 <artifactId>jetty-webapp</artifactId>
949 <version>9.4.11.v20180605</version>
953 <groupId>com.h2database</groupId>
954 <artifactId>h2</artifactId>
955 <version>1.4.196</version>
958 <!-- Xtend http://xtend-lang.org
959 NOTE: When you increase the version here,
960 then remember to also increase it for the
961 xtend-maven-plugin below! (We don't want to
962 use a Maven property, in order not to "leak" that.)
965 <groupId>org.eclipse.xtend</groupId>
966 <artifactId>org.eclipse.xtend.lib</artifactId>
967 <version>2.16.0.M3</version>
970 <groupId>org.eclipse.xtend</groupId>
971 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
972 <version>2.16.0.M3</version>
975 <groupId>org.eclipse.xtext</groupId>
976 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
977 <version>2.16.0.M3</version>
982 <groupId>javax.inject</groupId>
983 <artifactId>javax.inject</artifactId>
985 <optional>true</optional>
990 <groupId>com.datastax.cassandra</groupId>
991 <artifactId>cassandra-driver-core</artifactId>
992 <version>2.1.9</version>
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.4</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.1</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.9.0</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-core</artifactId>
1056 <version>2.0.0</version>
1059 <groupId>org.apache.sshd</groupId>
1060 <artifactId>sshd-netty</artifactId>
1061 <version>2.0.0</version>
1064 <groupId>net.i2p.crypto</groupId>
1065 <artifactId>eddsa</artifactId>
1066 <version>0.3.0</version>
1069 <!-- JAXB for Java 11+ -->
1070 <!-- Since we need to run on Java 8, this should be 2.2.8, but unfortunately karaf-4.2.1 has a bad definition
1071 in its jre.properties.
1072 FIXME: bump this to 2.2.8 once we upgrade karaf to 4.2.2+
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.1</version>
1082 <!-- Provided by JRE -->
1083 <groupId>javax.xml.stream</groupId>
1084 <artifactId>stax-api</artifactId>
1089 </dependencyManagement>
1093 We expect slf4j-api to be provided by the platform.
1094 Karaf provides it, other containers need to provide it themselves.
1097 <groupId>org.slf4j</groupId>
1098 <artifactId>slf4j-api</artifactId>
1099 <scope>provided</scope>
1103 Enable useful code quality annotations everywhere. Since these annotations
1104 are not required at runtime.
1107 <groupId>com.google.code.findbugs</groupId>
1108 <artifactId>annotations</artifactId>
1109 <scope>provided</scope>
1110 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
1111 <optional>true</optional>
1114 <groupId>org.eclipse.jdt</groupId>
1115 <artifactId>org.eclipse.jdt.annotation</artifactId>
1116 <scope>provided</scope>
1120 Testing output should be routed through slf4j-simple.
1123 <groupId>org.slf4j</groupId>
1124 <artifactId>slf4j-simple</artifactId>
1129 Unit tests can use JUnit + Mockito + Hamcrest by default.
1132 <groupId>junit</groupId>
1133 <artifactId>junit</artifactId>
1137 <groupId>org.mockito</groupId>
1138 <artifactId>mockito-core</artifactId>
1146 <!-- Official maven plugins, alpha-sorted by artifactId.
1147 We do not need to specify the groupId. -->
1149 <artifactId>maven-antrun-plugin</artifactId>
1150 <version>1.8</version>
1153 <artifactId>maven-checkstyle-plugin</artifactId>
1154 <version>3.0.0</version>
1157 <groupId>com.puppycrawl.tools</groupId>
1158 <artifactId>checkstyle</artifactId>
1159 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1160 <version>8.15</version>
1163 <groupId>org.opendaylight.odlparent</groupId>
1164 <artifactId>checkstyle</artifactId>
1165 <version>4.0.3-SNAPSHOT</version>
1168 <groupId>org.opendaylight.odlparent</groupId>
1169 <artifactId>odl-license</artifactId>
1170 <version>4.0.3-SNAPSHOT</version>
1173 <groupId>com.github.sevntu-checkstyle</groupId>
1174 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1175 <version>1.32.0</version>
1179 <configLocation>odl_checks.xml</configLocation>
1180 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1181 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1182 generated sources directory -->
1184 <directory>${project.build.sourceDirectory}</directory>
1185 </sourceDirectories>
1186 <includeResources>true</includeResources>
1187 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1188 <includeTestResources>true</includeTestResources>
1189 <includes>**\/*.java, **\/*.xtend</includes>
1191 org/opendaylight/yang/gen/**,
1192 **/protobuff/messages/**,
1193 **/thrift/gen/*.java
1195 <failsOnError>false</failsOnError>
1196 <consoleOutput>true</consoleOutput>
1200 <id>check-license</id>
1204 <phase>process-sources</phase>
1206 <configLocation>check-license.xml</configLocation>
1207 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1208 <includeResources>false</includeResources>
1209 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1210 <includeTestResources>false</includeTestResources>
1212 <directory>${project.build.sourceDirectory}</directory>
1213 </sourceDirectories>
1215 org/opendaylight/yang/gen/**,
1216 **/protobuff/messages/**,
1217 **/thrift/gen/*.java
1219 <failsOnError>false</failsOnError>
1220 <consoleOutput>true</consoleOutput>
1227 <phase>process-sources</phase>
1232 <groupId>org.apache.maven.plugins</groupId>
1233 <artifactId>maven-pmd-plugin</artifactId>
1234 <version>3.11.0</version>
1238 <phase>process-sources</phase>
1240 <goal>cpd-check</goal>
1243 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1244 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1245 <minimumTokens>101</minimumTokens>
1246 <printFailingErrors>true</printFailingErrors>
1248 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1249 not understand path prefixes nor wildcards. Details are available
1250 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1251 Hence people introducing new generated sources have to include
1254 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1255 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1257 <linkXRef>false</linkXRef>
1263 <artifactId>maven-compiler-plugin</artifactId>
1264 <version>3.8.0</version>
1266 <source>1.8</source>
1267 <target>1.8</target>
1268 <showWarnings>true</showWarnings>
1270 <arg>-parameters</arg>
1271 <arg>-Xlint:deprecation</arg>
1272 <arg>-Xlint:unchecked</arg>
1277 <artifactId>maven-enforcer-plugin</artifactId>
1278 <version>${enforcer.version}</version>
1281 <artifactId>maven-failsafe-plugin</artifactId>
1282 <version>2.22.1</version>
1285 <artifactId>maven-invoker-plugin</artifactId>
1286 <version>3.1.0</version>
1289 <artifactId>maven-jar-plugin</artifactId>
1290 <version>3.1.0</version>
1293 <artifactId>maven-dependency-plugin</artifactId>
1296 <id>unpack-license</id>
1297 <phase>generate-resources</phase>
1298 <goals><goal>unpack</goal></goals>
1302 <groupId>org.opendaylight.odlparent</groupId>
1303 <artifactId>odl-license</artifactId>
1304 <version>4.0.3-SNAPSHOT</version>
1307 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1308 <excludes>META-INF/**</excludes>
1315 <artifactId>maven-plugin-plugin</artifactId>
1316 <version>3.5.2</version>
1320 <artifactId>maven-remote-resources-plugin</artifactId>
1321 <version>1.6.0</version>
1324 <artifactId>maven-resources-plugin</artifactId>
1325 <version>3.1.0</version>
1328 <artifactId>maven-shade-plugin</artifactId>
1329 <version>3.2.1</version>
1332 <artifactId>maven-source-plugin</artifactId>
1333 <version>3.0.1</version>
1336 <id>attach-sources</id>
1337 <phase>verify</phase>
1339 <goal>jar-no-fork</goal>
1345 <artifactId>maven-surefire-plugin</artifactId>
1346 <version>2.22.1</version>
1348 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1349 <trimStackTrace>false</trimStackTrace>
1353 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1355 <!-- Support Blueprint XML construction using annotations -->
1356 <groupId>org.apache.aries.blueprint</groupId>
1357 <artifactId>blueprint-maven-plugin</artifactId>
1358 <version>1.10.0</version>
1359 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1360 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1363 <groupId>org.apache.xbean</groupId>
1364 <artifactId>xbean-finder-shaded</artifactId>
1365 <version>4.12</version>
1370 <scanPath>org.opendaylight</scanPath>
1376 <goal>blueprint-generate</goal>
1383 <groupId>org.apache.felix</groupId>
1384 <artifactId>maven-bundle-plugin</artifactId>
1385 <version>4.1.0</version>
1386 <extensions>true</extensions>
1389 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1390 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1391 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1392 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1394 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1395 to generate Import-Service and Export-Service headers. -->
1396 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1402 <groupId>org.apache.karaf.tooling</groupId>
1403 <artifactId>karaf-maven-plugin</artifactId>
1404 <version>${karaf.version}</version>
1408 <groupId>org.apache.servicemix.tooling</groupId>
1409 <artifactId>depends-maven-plugin</artifactId>
1410 <version>1.4.0</version>
1413 <id>generate-depends-file</id>
1415 <goal>generate-depends-file</goal>
1422 <groupId>org.codehaus.enunciate</groupId>
1423 <artifactId>maven-enunciate-plugin</artifactId>
1424 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1425 <version>1.31</version>
1428 <groupId>org.codehaus.groovy.maven</groupId>
1429 <artifactId>gmaven-plugin</artifactId>
1430 <version>1.0</version>
1433 <groupId>org.codehaus.mojo</groupId>
1434 <artifactId>build-helper-maven-plugin</artifactId>
1435 <version>3.0.0</version>
1438 <groupId>org.codehaus.mojo</groupId>
1439 <artifactId>findbugs-maven-plugin</artifactId>
1440 <version>3.0.5</version>
1443 <groupId>org.opendaylight.odlparent</groupId>
1444 <artifactId>findbugs</artifactId>
1445 <version>4.0.3-SNAPSHOT</version>
1451 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1452 <artifactId>bug-pattern</artifactId>
1453 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1454 but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1455 <version>1.4.0</version>
1459 Enables analysis which takes more memory but finds more bugs.
1460 If you run out of memory, changes the value of the effort element
1463 <effort>Max</effort>
1464 <!-- Reports all bugs (other values are medium and max) -->
1465 <threshold>Low</threshold>
1466 <!-- Build doesn't fail if problems are found -->
1467 <failOnError>false</failOnError>
1468 <!-- References the excluded rules -->
1469 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1470 <!-- Produces XML report -->
1471 <xmlOutput>true</xmlOutput>
1472 <!-- Configures the directory in which the XML report is created -->
1473 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1477 Ensures that FindBugs inspects source code when project is compiled.
1480 <id>analyze-compile</id>
1481 <phase>compile</phase>
1489 <groupId>com.github.spotbugs</groupId>
1490 <artifactId>spotbugs-maven-plugin</artifactId>
1491 <version>3.1.8</version>
1494 <groupId>com.github.spotbugs</groupId>
1495 <artifactId>spotbugs</artifactId>
1496 <version>3.1.9</version>
1499 <groupId>org.opendaylight.odlparent</groupId>
1500 <artifactId>spotbugs</artifactId>
1501 <version>4.0.3-SNAPSHOT</version>
1507 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1508 <artifactId>bug-pattern</artifactId>
1509 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1510 <version>1.4.1</version>
1514 Enables analysis which takes more memory but finds more bugs.
1515 If you run out of memory, changes the value of the effort element
1518 <effort>Max</effort>
1519 <!-- Reports all bugs (other values are medium and max) -->
1520 <threshold>Low</threshold>
1521 <!-- Build doesn't fail if problems are found -->
1522 <failOnError>false</failOnError>
1523 <!-- References the excluded rules -->
1524 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1525 <!-- Produces XML report -->
1526 <xmlOutput>true</xmlOutput>
1527 <!-- Configures the directory in which the XML report is created -->
1528 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1532 Ensures that SpotBugs inspects source code when project is compiled.
1535 <id>analyze-compile</id>
1536 <phase>compile</phase>
1544 <groupId>org.codehaus.mojo</groupId>
1545 <artifactId>properties-maven-plugin</artifactId>
1546 <version>1.0.0</version>
1549 <groupId>org.eclipse.xtend</groupId>
1550 <artifactId>xtend-maven-plugin</artifactId>
1551 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1552 <version>2.16.0.M3</version>
1556 <goal>compile</goal>
1557 <goal>testCompile</goal>
1560 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1561 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1567 <groupId>org.eclipse.m2e</groupId>
1568 <artifactId>lifecycle-mapping</artifactId>
1569 <version>1.0.0</version>
1571 <lifecycleMappingMetadata>
1574 <pluginExecutionFilter>
1575 <groupId>org.apache.felix</groupId>
1576 <artifactId>maven-bundle-plugin</artifactId>
1577 <versionRange>[1.0,)</versionRange>
1579 <goal>manifest</goal>
1581 </pluginExecutionFilter>
1587 <pluginExecutionFilter>
1588 <groupId>org.apache.maven.plugins</groupId>
1589 <artifactId>maven-enforcer-plugin</artifactId>
1590 <versionRange>[1.0.0,)</versionRange>
1592 <goal>enforce</goal>
1594 </pluginExecutionFilter>
1600 <pluginExecutionFilter>
1601 <groupId>org.apache.maven.plugins</groupId>
1602 <artifactId>maven-dependency-plugin</artifactId>
1603 <versionRange>[2.10,)</versionRange>
1607 </pluginExecutionFilter>
1613 <pluginExecutionFilter>
1614 <groupId>org.apache.maven.plugins</groupId>
1615 <artifactId>maven-pmd-plugin</artifactId>
1616 <versionRange>[3.6,)</versionRange>
1618 <goal>cpd-check</goal>
1620 </pluginExecutionFilter>
1625 <!-- The plugin will eventually be removed, remove this too at that point -->
1627 <pluginExecutionFilter>
1628 <groupId>org.apache.maven.plugins</groupId>
1629 <artifactId>maven-antrun-plugin</artifactId>
1630 <versionRange>[1.8,)</versionRange>
1634 </pluginExecutionFilter>
1640 <pluginExecutionFilter>
1641 <groupId>org.apache.servicemix.tooling</groupId>
1642 <artifactId>depends-maven-plugin</artifactId>
1643 <versionRange>[1.2,)</versionRange>
1645 <goal>generate-depends-file</goal>
1647 </pluginExecutionFilter>
1653 <pluginExecutionFilter>
1654 <groupId>org.jacoco</groupId>
1655 <artifactId>jacoco-maven-plugin</artifactId>
1656 <versionRange>[0.7.0,)</versionRange>
1658 <goal>prepare-agent</goal>
1660 </pluginExecutionFilter>
1667 <pluginExecutionFilter>
1668 <groupId>org.ops4j.pax.exam</groupId>
1669 <artifactId>maven-paxexam-plugin</artifactId>
1670 <versionRange>[1.2.4,)</versionRange>
1672 <goal>generate-depends-file</goal>
1674 </pluginExecutionFilter>
1681 <pluginExecutionFilter>
1682 <groupId>org.basepom.maven</groupId>
1684 duplicate-finder-maven-plugin
1686 <versionRange>[1.2.1,)</versionRange>
1690 </pluginExecutionFilter>
1696 </lifecycleMappingMetadata>
1701 <groupId>org.jacoco</groupId>
1702 <artifactId>jacoco-maven-plugin</artifactId>
1704 <!-- Note: This exclusion list should match <sonar.exclusions>
1707 <exclude>**/gen/**</exclude>
1708 <exclude>**/generated-sources/**</exclude>
1709 <exclude>**/generated-test-sources/**</exclude>
1710 <exclude>**/yang-gen/**</exclude>
1711 <exclude>**/yang-gen-config/**</exclude>
1712 <exclude>**/yang-gen-sal/**</exclude>
1713 <exclude>**/yang-gen-code/**</exclude>
1714 <exclude>**/pax/**</exclude>
1720 <groupId>org.ops4j.pax.exam</groupId>
1721 <artifactId>maven-paxexam-plugin</artifactId>
1722 <version>1.2.4</version>
1726 <groupId>org.codehaus.mojo</groupId>
1727 <artifactId>jdepend-maven-plugin</artifactId>
1728 <version>2.0</version>
1733 <goal>generate-no-fork</goal>
1739 <!-- When updating this version, consider antl4-runtime above -->
1741 <groupId>org.antlr</groupId>
1742 <artifactId>antlr4-maven-plugin</artifactId>
1743 <version>4.7.1</version>
1750 <artifactId>maven-enforcer-plugin</artifactId>
1753 <id>enforce-banned-dependencies</id>
1755 <goal>enforce</goal>
1759 <bannedDependencies>
1760 <message>Please always use mockito-core instead of mockito-all, and findbugs:annotations instead of findbugs:jsr305 (see https://bugs.opendaylight.org/show_bug.cgi?id=7662 & https://bugs.opendaylight.org/show_bug.cgi?id=7663)</message>
1762 <exclude>org.mockito:mockito-all</exclude>
1763 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1764 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1765 <!-- as a dependency then clashes with the dependency checker (because it -->
1766 <!-- is not very good at handling annotations). Use the annotations jar -->
1767 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1769 <exclude>com.google.code.findbugs:jsr305</exclude>
1770 <exclude>net.jcip:jcip-annotations</exclude>
1772 </bannedDependencies>
1780 <groupId>org.basepom.maven</groupId>
1781 <artifactId>duplicate-finder-maven-plugin</artifactId>
1782 <version>1.3.0</version>
1785 <id>find-duplicate-classpath-entries</id>
1786 <phase>verify</phase>
1793 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1794 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1795 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1796 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1797 <printEqualFiles>false</printEqualFiles>
1799 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1800 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1801 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1803 <ignoredResourcePatterns>
1804 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1805 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1806 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1807 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1808 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1809 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1810 </ignoredResourcePatterns>
1811 <ignoredClassPatterns>
1812 <ignoredClassPattern>META-INF.versions.*$</ignoredClassPattern>
1813 </ignoredClassPatterns>
1814 <ignoredDependencies>
1816 <groupId>org.slf4j</groupId>
1817 <artifactId>slf4j-simple</artifactId>
1818 </ignoredDependency>
1820 <groupId>org.opendaylight.odlparent</groupId>
1821 <artifactId>opendaylight-karaf-empty</artifactId>
1822 </ignoredDependency>
1823 </ignoredDependencies>
1827 <artifactId>maven-dependency-plugin</artifactId>
1830 <artifactId>maven-checkstyle-plugin</artifactId>
1833 <artifactId>maven-pmd-plugin</artifactId>
1836 <artifactId>maven-source-plugin</artifactId>
1839 <artifactId>maven-javadoc-plugin</artifactId>
1842 <!-- Jacoco / Sonar -->
1844 <groupId>org.jacoco</groupId>
1845 <artifactId>jacoco-maven-plugin</artifactId>
1848 <id>pre-unit-test</id>
1850 <goal>prepare-agent</goal>
1853 <destFile>${jacoco.destFile}</destFile>
1860 <groupId>com.alexecollins.maven.plugin</groupId>
1861 <artifactId>script-maven-plugin</artifactId>
1862 <version>1.0.0</version>
1865 <phase>prepare-package</phase>
1867 <goal>execute</goal>
1871 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1872 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1873 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1874 // static class methods only - it will be MUCH easier to write!)
1875 void copy(File root, String glob, File target) {
1876 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1877 Iterator dirStreamIterator = dirStream.iterator();
1878 while (dirStreamIterator.hasNext()) {
1879 java.nio.file.Path path = dirStreamIterator.next();
1880 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1881 new java.nio.file.CopyOption[] {
1882 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1883 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1890 File gitRepoRootDir = project.basedir;
1891 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1892 gitRepoRootDir = gitRepoRootDir.getParentFile();
1895 File target = new File(project.build.outputDirectory);
1897 copy(gitRepoRootDir, "README*", target);
1898 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1899 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1906 <groupId>org.apache-extras.beanshell</groupId>
1907 <artifactId>bsh</artifactId>
1908 <version>2.0b6</version>
1918 <artifactId>maven-checkstyle-plugin</artifactId>
1919 <version>3.0.0</version>
1922 <!-- FIXME: activate this
1924 <artifactId>maven-project-info-reports-plugin</artifactId>
1925 <version>${projectinfo}</version>
1928 <groupId>org.codehaus.mojo</groupId>
1929 <artifactId>jdepend-maven-plugin</artifactId>
1933 <report>generate-no-fork</report>
1943 <!-- On JDK9-and-later findbugs fails -->
1944 <id>jdk9-findbugs</id>
1949 <findbugs.skip>true</findbugs.skip>