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.0-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
31 <!-- Variables should only be used where genuinely useful (to avoid
32 repetition); in general versions should be specified in the
33 corresponding dependencyManagement or pluginManagement element, not as
34 a variable. Duplication within odlparent doesn't count if it can be
35 managed using maven-versions-plugin. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <!-- Java Versions -->
44 <!-- 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 <!-- Maven plugin versions, in the 'canonical' format -->
51 <!-- Used in controller, didm, ocpplugin, openflowplugin, persistence -->
52 <maven.bundle.version>3.3.0</maven.bundle.version>
53 <!-- Used in didm, l2switch, lacp, persistence; see also controller -->
54 <maven.compile.plugin.version>3.7.0</maven.compile.plugin.version>
55 <!-- Used in snbi, tsdr -->
56 <maven.javadoc.version>3.0.0</maven.javadoc.version>
58 <maven.plugin.version>3.5</maven.plugin.version>
59 <!-- Used in controller, iotdm, neutron, of-config -->
60 <!-- Later versions break tests in downstream projects -->
61 <maven.surefire.version>2.18.1</maven.surefire.version>
63 <!-- Maven plugin versions, in random formats -->
64 <!-- Used in alto, controller, didm, tsdr; see also vpnservice -->
65 <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
66 <!-- Used in packetcable -->
67 <odl.checkstyle.version>3.0.0-SNAPSHOT</odl.checkstyle.version>
68 <!-- Used in l2switch, lacp, netide, ocpplugin, openflowjava, openflowplugin, snbi, tsdr -->
69 <enforcer.version>3.0.0-M1</enforcer.version>
70 <!-- Used in snmp4sdn; see also nemo -->
71 <enunciate.version>1.31</enunciate.version>
72 <!-- Used in controller, infrautils, netide, openflowplugin -->
73 <exam.version>4.11.0</exam.version>
74 <!-- Used in of-config, snmp4sdn -->
75 <failsafe.version>2.20.1</failsafe.version>
76 <!-- Used in genius, neutron, of-config, ovsdb, persistence, snmp4sdn, usc, vtn -->
77 <jacoco.version>0.8.1</jacoco.version>
78 <!-- Used in aaa, alto, bgpcep, bier, controller, coretutorials, genius, infrautils, iotdm,
79 l2switch, lacp, netconf, netide, netvirt, nic, ocpplugin, ovsdb, persistence, snbi, sxp,
81 <karaf.version>4.2.0</karaf.version>
83 <karaf.plugin.version>4.2.0</karaf.plugin.version>
84 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
85 <projectinfo>2.8.1</projectinfo>
86 <!-- Used in of-config; see also snmp4sdn -->
87 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
89 <!-- Supporting Libraries -->
90 <!-- Only used internally -->
91 <bouncycastle.version>1.59</bouncycastle.version>
93 <!-- Used by snbi; see also bier, dlux, iotdm, tsdr, unimgr -->
94 <osgi.core.version>5.0.0</osgi.core.version>
96 <!-- Default Sonar configuration -->
97 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
98 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
99 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
100 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
101 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
102 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
104 <!-- Opt-in code quality checks -->
105 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
106 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
109 <dependencyManagement>
113 <groupId>org.opendaylight.odlparent</groupId>
114 <artifactId>odlparent-artifacts</artifactId>
115 <version>4.0.0-SNAPSHOT</version>
116 <scope>import</scope>
120 <!-- Build tool dependencies (normally not here in <dependencies>,
121 but in a <dependency> in <pluginManagement> but for Checkstyle this
122 is required so that we can share the same version of Checkstyle
123 for both the Maven plugin below as well as for custom Checkstyle
124 check rule projects, such as yangtools' checkstyle-logging) -->
126 <groupId>com.puppycrawl.tools</groupId>
127 <artifactId>checkstyle</artifactId>
128 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
129 <version>8.10</version>
132 <!-- Testing Dependencies -->
133 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
134 <!-- Need to stick to JUnit 4.11 until
135 https://github.com/jayway/powermock/issues/560 is fixed (either in
136 PowerMock or with a new JUnit release) -->
138 <groupId>junit</groupId>
139 <artifactId>junit</artifactId>
140 <version>4.11</version>
144 <groupId>junit</groupId>
145 <artifactId>junit-dep</artifactId>
146 <version>4.11</version>
150 <groupId>org.skyscreamer</groupId>
151 <artifactId>jsonassert</artifactId>
152 <version>1.5.0</version>
156 <groupId>org.mockito</groupId>
157 <artifactId>mockito-core</artifactId>
158 <version>1.10.19</version>
162 <groupId>org.hamcrest</groupId>
163 <artifactId>hamcrest-core</artifactId>
164 <version>1.3</version>
168 <groupId>org.hamcrest</groupId>
169 <artifactId>hamcrest-library</artifactId>
170 <version>1.3</version>
174 <groupId>com.google.truth</groupId>
175 <artifactId>truth</artifactId>
176 <version>0.40</version>
180 <groupId>com.google.truth.extensions</groupId>
181 <artifactId>truth-java8-extension</artifactId>
182 <version>0.40</version>
186 <groupId>org.awaitility</groupId>
187 <artifactId>awaitility</artifactId>
188 <version>3.0.0</version>
192 <groupId>org.awaitility</groupId>
193 <artifactId>awaitility-proxy</artifactId>
194 <version>3.0.0</version>
198 <groupId>org.powermock</groupId>
199 <artifactId>powermock-api-mockito</artifactId>
200 <version>1.6.4</version>
204 <groupId>org.powermock</groupId>
205 <artifactId>powermock-api-support</artifactId>
206 <version>1.6.4</version>
210 <groupId>org.powermock</groupId>
211 <artifactId>powermock-core</artifactId>
212 <version>1.6.4</version>
216 <groupId>org.powermock</groupId>
217 <artifactId>powermock-module-junit4</artifactId>
218 <version>1.6.4</version>
222 <groupId>org.powermock</groupId>
223 <artifactId>powermock-reflect</artifactId>
224 <version>1.6.4</version>
229 Annotation Processors
232 <!-- Generates immutable implementations, builders, the works -->
233 <groupId>org.immutables</groupId>
234 <artifactId>value</artifactId>
235 <version>2.6.1</version>
236 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
237 <scope>provided</scope>
240 <!-- Generates META-INF/services entries for ServiceLoader -->
241 <groupId>org.kohsuke.metainf-services</groupId>
242 <artifactId>metainf-services</artifactId>
243 <version>1.7</version>
244 <optional>true</optional>
245 <scope>provided</scope>
252 <groupId>org.slf4j</groupId>
253 <artifactId>jcl-over-slf4j</artifactId>
254 <version>1.7.25</version>
257 <groupId>org.slf4j</groupId>
258 <artifactId>slf4j-api</artifactId>
259 <version>1.7.25</version>
262 <groupId>org.slf4j</groupId>
263 <artifactId>slf4j-log4j12</artifactId>
264 <version>1.7.25</version>
267 <groupId>org.slf4j</groupId>
268 <artifactId>log4j-over-slf4j</artifactId>
269 <version>1.7.25</version>
272 <groupId>org.slf4j</groupId>
273 <artifactId>slf4j-simple</artifactId>
274 <version>1.7.25</version>
278 <groupId>ch.qos.logback</groupId>
279 <artifactId>logback-core</artifactId>
280 <version>1.2.3</version>
283 <groupId>ch.qos.logback</groupId>
284 <artifactId>logback-classic</artifactId>
285 <version>1.2.3</version>
288 <groupId>com.google.guava</groupId>
289 <artifactId>guava</artifactId>
290 <version>23.6.1-jre</version>
293 <groupId>com.google.code.findbugs</groupId>
294 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
295 <artifactId>jsr305</artifactId>
300 <groupId>com.google.guava</groupId>
301 <artifactId>guava-testlib</artifactId>
302 <version>23.6.1-jre</version>
306 <groupId>com.google.code.findbugs</groupId>
307 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
308 <artifactId>jsr305</artifactId>
313 <groupId>com.mycila.guice.extensions</groupId>
314 <artifactId>mycila-guice-jsr250</artifactId>
315 <!-- Make sure this version is in sync with the guice one below -->
316 <version>4.0.rc1</version>
319 <groupId>com.google.inject</groupId>
320 <artifactId>guice</artifactId>
321 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
322 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
323 <version>4.1.0</version>
326 <groupId>org.apache.commons</groupId>
327 <artifactId>commons-lang3</artifactId>
328 <version>3.7</version>
331 <groupId>org.apache.commons</groupId>
332 <artifactId>commons-text</artifactId>
333 <version>1.1</version>
336 <groupId>commons-lang</groupId>
337 <artifactId>commons-lang</artifactId>
338 <version>2.6</version>
341 <groupId>commons-codec</groupId>
342 <artifactId>commons-codec</artifactId>
343 <version>1.11</version>
345 <!-- Jersey for JAXRS -->
347 <groupId>javax.ws.rs</groupId>
348 <artifactId>javax.ws.rs-api</artifactId>
349 <version>2.0.1</version>
352 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
353 <artifactId>jersey-guava</artifactId>
354 <version>2.22.2</version>
357 <groupId>org.glassfish</groupId>
358 <artifactId>javax.json</artifactId>
359 <version>1.0.4</version>
362 <groupId>com.eclipsesource.jaxrs</groupId>
363 <artifactId>jersey-all</artifactId>
364 <version>2.22.2</version>
367 <!-- servlet 3.x support -->
369 <groupId>org.glassfish.jersey.containers</groupId>
370 <artifactId>jersey-container-servlet</artifactId>
371 <version>2.8</version>
374 <groupId>org.apache.geronimo.bundles</groupId>
375 <artifactId>json</artifactId>
376 <version>20090211_1</version>
378 <!-- FIXME : remove all dependencies for jersey 1.17 -->
380 <groupId>com.sun.jersey</groupId>
381 <artifactId>jersey-core</artifactId>
382 <version>1.19.4</version>
385 <groupId>com.sun.jersey</groupId>
386 <artifactId>jersey-json</artifactId>
387 <version>1.19.4</version>
390 <groupId>com.sun.jersey</groupId>
391 <artifactId>jersey-server</artifactId>
392 <version>1.19.4</version>
395 <groupId>com.sun.jersey</groupId>
396 <artifactId>jersey-servlet</artifactId>
397 <version>1.19.4</version>
400 <groupId>com.sun.jersey.jersey-test-framework</groupId>
401 <artifactId>jersey-test-framework-grizzly2</artifactId>
402 <version>1.19.4</version>
406 <groupId>com.sun.jersey.jersey-test-framework</groupId>
407 <artifactId>jersey-test-framework-inmemory</artifactId>
408 <version>1.19.4</version>
412 <groupId>com.sun.jersey</groupId>
413 <artifactId>jersey-client</artifactId>
414 <version>1.19.4</version>
417 <groupId>org.apache.shiro</groupId>
418 <artifactId>shiro-core</artifactId>
419 <version>1.3.2</version>
422 <groupId>org.apache.shiro</groupId>
423 <artifactId>shiro-web</artifactId>
424 <version>1.3.2</version>
427 <!-- Plugin integration -->
429 <groupId>net.java.dev.stax-utils</groupId>
430 <artifactId>stax-utils</artifactId>
431 <version>20070216</version>
434 <groupId>org.sonatype.plexus</groupId>
435 <artifactId>plexus-build-api</artifactId>
436 <version>0.0.7</version>
439 <groupId>org.codehaus.plexus</groupId>
440 <artifactId>plexus-slf4j-logging</artifactId>
441 <version>1.1</version>
445 <groupId>org.codehaus.woodstox</groupId>
446 <artifactId>stax2-api</artifactId>
447 <!-- Needs to match jackson's idea of import -->
448 <version>3.1.4</version>
451 <groupId>com.fasterxml.jackson</groupId>
452 <artifactId>jackson-bom</artifactId>
453 <version>2.8.9</version>
454 <scope>import</scope>
458 <!-- TODO do we really need resteasy ? -->
460 <groupId>org.jboss.resteasy</groupId>
461 <artifactId>jaxrs-api</artifactId>
462 <version>3.0.12.Final</version>
466 <groupId>com.google.code.findbugs</groupId>
467 <artifactId>annotations</artifactId>
468 <version>3.0.0</version>
470 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
471 the types of this artifact are already shaded inside the :annotations artifact.
472 This state is a temporary solution to allow all projects to gradually switch over
473 switch their <dependency><groupId>com.google.code.findbugs from
474 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
475 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
478 <groupId>net.jcip</groupId>
479 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
480 <artifactId>jcip-annotations</artifactId>
485 <groupId>org.eclipse.jdt</groupId>
486 <artifactId>org.eclipse.jdt.annotation</artifactId>
487 <version>2.1.150</version>
488 <scope>provided</scope>
491 <groupId>com.google.code.gson</groupId>
492 <artifactId>gson</artifactId>
493 <version>2.8.5</version>
496 <groupId>commons-fileupload</groupId>
497 <artifactId>commons-fileupload</artifactId>
498 <version>1.3.3</version>
501 <groupId>commons-io</groupId>
502 <artifactId>commons-io</artifactId>
503 <version>2.6</version>
506 <groupId>commons-net</groupId>
507 <artifactId>commons-net</artifactId>
508 <version>3.6</version>
513 <groupId>io.netty</groupId>
514 <artifactId>netty-all</artifactId>
515 <!-- If these are updated, the version in features.xml needs to be changed too -->
516 <version>4.1.24.Final</version>
519 <groupId>io.netty</groupId>
520 <artifactId>netty-buffer</artifactId>
521 <version>4.1.24.Final</version>
524 <groupId>io.netty</groupId>
525 <artifactId>netty-codec</artifactId>
526 <version>4.1.24.Final</version>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-codec-http</artifactId>
531 <version>4.1.24.Final</version>
534 <groupId>io.netty</groupId>
535 <artifactId>netty-common</artifactId>
536 <version>4.1.24.Final</version>
539 <groupId>io.netty</groupId>
540 <artifactId>netty-handler</artifactId>
541 <version>4.1.24.Final</version>
544 <groupId>io.netty</groupId>
545 <artifactId>netty-transport</artifactId>
546 <version>4.1.24.Final</version>
548 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
549 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
551 <groupId>io.netty</groupId>
552 <artifactId>netty-transport-native-epoll</artifactId>
553 <classifier>linux-x86_64</classifier>
554 <version>4.1.24.Final</version>
557 <groupId>javax.ws.rs</groupId>
558 <artifactId>jsr311-api</artifactId>
559 <version>1.1.1</version>
562 <groupId>javax.servlet</groupId>
563 <artifactId>javax.servlet-api</artifactId>
564 <version>3.1.0</version>
567 <groupId>org.apache.felix</groupId>
568 <artifactId>org.apache.felix.dependencymanager</artifactId>
569 <version>4.4.1</version>
572 <groupId>org.apache.felix</groupId>
573 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
574 <version>4.0.6</version>
577 <groupId>org.apache.felix</groupId>
578 <artifactId>org.apache.felix.metatype</artifactId>
579 <version>1.1.6</version>
582 <groupId>org.bouncycastle</groupId>
583 <artifactId>bcpkix-jdk15on</artifactId>
584 <version>${bouncycastle.version}</version>
587 <groupId>org.bouncycastle</groupId>
588 <artifactId>bcprov-jdk15on</artifactId>
589 <version>${bouncycastle.version}</version>
592 <groupId>org.bouncycastle</groupId>
593 <artifactId>bcprov-ext-jdk15on</artifactId>
594 <version>${bouncycastle.version}</version>
597 <groupId>org.codehaus.enunciate</groupId>
598 <artifactId>enunciate-core-annotations</artifactId>
599 <version>${enunciate.version}</version>
602 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
603 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
604 and @RunAs and @PermitAll & Co. which we do not require
605 (or at least not from jsr250-api via enunciate) -->
606 <groupId>javax.annotation</groupId>
607 <artifactId>jsr250-api</artifactId>
612 <groupId>com.webcohesion.enunciate</groupId>
613 <artifactId>enunciate-core-annotations</artifactId>
614 <version>2.10.1</version>
618 <groupId>javax.annotation</groupId>
619 <artifactId>jsr250-api</artifactId>
624 <groupId>org.codehaus.jettison</groupId>
625 <artifactId>jettison</artifactId>
626 <version>1.3.8</version>
628 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
629 pull in javax.validation first:
630 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
632 <groupId>org.eclipse.persistence</groupId>
633 <artifactId>org.eclipse.persistence.antlr</artifactId>
634 <version>2.7.1</version>
637 <groupId>org.eclipse.persistence</groupId>
638 <artifactId>org.eclipse.persistence.core</artifactId>
639 <version>2.7.1</version>
642 <groupId>org.eclipse.persistence</groupId>
643 <artifactId>org.eclipse.persistence.moxy</artifactId>
644 <version>2.7.1</version>
647 <groupId>javax.validation</groupId>
648 <artifactId>validation-api</artifactId>
649 <version>1.1.0.Final</version>
652 <groupId>org.javassist</groupId>
653 <artifactId>javassist</artifactId>
654 <version>3.22.0-GA</version>
657 <groupId>org.jboss.spec.javax.transaction</groupId>
658 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
659 <version>1.0.1.Final</version>
662 <groupId>org.jolokia</groupId>
663 <artifactId>jolokia-osgi</artifactId>
664 <version>1.5.0</version>
667 <groupId>org.json</groupId>
668 <artifactId>json</artifactId>
669 <version>20131018</version>
672 <groupId>org.osgi</groupId>
673 <artifactId>org.osgi.compendium</artifactId>
674 <version>${osgi.core.version}</version>
675 <scope>provided</scope>
678 <groupId>org.osgi</groupId>
679 <artifactId>org.osgi.core</artifactId>
680 <version>${osgi.core.version}</version>
681 <scope>provided</scope>
684 <groupId>org.osgi</groupId>
685 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
686 <artifactId>org.osgi.service.event</artifactId>
687 <version>1.3.1</version>
690 <groupId>org.apache.aries.quiesce</groupId>
691 <artifactId>org.apache.aries.quiesce.api</artifactId>
692 <version>1.0.0</version>
695 <groupId>org.ow2.asm</groupId>
696 <artifactId>asm</artifactId>
697 <version>6.0</version>
700 <!-- Configuration library -->
701 <!-- This needs to be kept in sync with the version used by akka -->
703 <groupId>com.typesafe</groupId>
704 <artifactId>config</artifactId>
705 <version>1.3.2</version>
708 <!-- Reactive Streams, used by Akka -->
710 <groupId>org.reactivestreams</groupId>
711 <artifactId>reactive-streams</artifactId>
712 <version>1.0.1</version>
717 <groupId>com.typesafe</groupId>
718 <artifactId>ssl-config-core_2.12</artifactId>
719 <version>0.2.2</version>
722 <groupId>com.typesafe.akka</groupId>
723 <artifactId>akka-actor_2.12</artifactId>
724 <version>2.5.11</version>
727 <groupId>com.typesafe.akka</groupId>
728 <artifactId>akka-cluster_2.12</artifactId>
729 <version>2.5.11</version>
732 <groupId>com.typesafe.akka</groupId>
733 <artifactId>akka-osgi_2.12</artifactId>
734 <version>2.5.11</version>
737 <groupId>com.typesafe.akka</groupId>
738 <artifactId>akka-persistence_2.12</artifactId>
739 <version>2.5.11</version>
742 <groupId>com.typesafe.akka</groupId>
743 <artifactId>akka-persistence-tck_2.12</artifactId>
744 <version>2.5.11</version>
748 <groupId>com.typesafe.akka</groupId>
749 <artifactId>akka-protobuf_2.12</artifactId>
750 <version>2.5.11</version>
753 <groupId>com.typesafe.akka</groupId>
754 <artifactId>akka-remote_2.12</artifactId>
755 <version>2.5.11</version>
758 <groupId>com.typesafe.akka</groupId>
759 <artifactId>akka-slf4j_2.12</artifactId>
760 <version>2.5.11</version>
763 <groupId>com.typesafe.akka</groupId>
764 <artifactId>akka-stream_2.12</artifactId>
765 <version>2.5.11</version>
768 <groupId>com.typesafe.akka</groupId>
769 <artifactId>akka-testkit_2.12</artifactId>
770 <version>2.5.11</version>
774 <groupId>org.scala-lang.modules</groupId>
775 <artifactId>scala-java8-compat_2.12</artifactId>
776 <version>0.8.0</version>
779 <groupId>org.scala-lang.modules</groupId>
780 <artifactId>scala-parser-combinators_2.12</artifactId>
781 <version>1.0.6</version>
784 <groupId>org.iq80.leveldb</groupId>
785 <artifactId>leveldb</artifactId>
786 <version>0.7</version>
789 <groupId>org.fusesource.leveldbjni</groupId>
790 <artifactId>leveldbjni-all</artifactId>
791 <version>1.8-odl</version>
794 <groupId>org.uncommons.maths</groupId>
795 <artifactId>uncommons-maths</artifactId>
796 <version>1.2.2a</version>
799 <groupId>com.google.protobuf</groupId>
800 <artifactId>protobuf-java</artifactId>
801 <version>2.5.0</version>
804 <!-- Aeron, required by Akka -->
806 <groupId>org.agrona</groupId>
807 <artifactId>agrona</artifactId>
808 <version>0.9.12</version>
811 <groupId>io.aeron</groupId>
812 <artifactId>aeron-client</artifactId>
813 <version>1.7.0</version>
816 <groupId>io.aeron</groupId>
817 <artifactId>aeron-driver</artifactId>
818 <version>1.7.0</version>
823 <groupId>org.scala-lang</groupId>
824 <artifactId>scala-library</artifactId>
825 <version>2.12.6</version>
828 <groupId>org.scala-lang</groupId>
829 <artifactId>scala-reflect</artifactId>
830 <version>2.12.6</version>
833 <!-- LMAX Disruptor -->
835 <groupId>com.lmax</groupId>
836 <artifactId>disruptor</artifactId>
837 <version>3.4.1</version>
840 <!-- Add Pax Exam -->
842 <groupId>org.ops4j.pax.exam</groupId>
843 <artifactId>pax-exam</artifactId>
844 <version>${exam.version}</version>
848 <groupId>org.ops4j.pax.exam</groupId>
849 <artifactId>pax-exam-container-forked</artifactId>
850 <version>${exam.version}</version>
854 <groupId>org.ops4j.pax.exam</groupId>
855 <artifactId>pax-exam-container-karaf</artifactId>
856 <version>${exam.version}</version>
860 <groupId>org.ops4j.pax.exam</groupId>
861 <artifactId>pax-exam-container-native</artifactId>
862 <version>${exam.version}</version>
866 <groupId>org.ops4j.pax.exam</groupId>
867 <artifactId>pax-exam-extender-service</artifactId>
868 <version>${exam.version}</version>
872 <groupId>org.ops4j.pax.exam</groupId>
873 <artifactId>pax-exam-inject</artifactId>
874 <version>${exam.version}</version>
878 <groupId>org.ops4j.pax.exam</groupId>
879 <artifactId>pax-exam-invoker-junit</artifactId>
880 <version>${exam.version}</version>
884 <groupId>org.ops4j.pax.exam</groupId>
885 <artifactId>pax-exam-features</artifactId>
886 <version>${exam.version}</version>
891 <groupId>org.ops4j.pax.exam</groupId>
892 <artifactId>pax-exam-junit4</artifactId>
893 <version>${exam.version}</version>
897 <groupId>org.ops4j.pax.exam</groupId>
898 <artifactId>pax-exam-link-mvn</artifactId>
899 <version>${exam.version}</version>
903 <groupId>org.ops4j.pax.exam</groupId>
904 <artifactId>pax-exam-link-assembly</artifactId>
905 <version>${exam.version}</version>
910 <groupId>org.ops4j.pax.url</groupId>
911 <artifactId>pax-url-link</artifactId>
912 <version>2.5.3</version>
916 <groupId>org.ops4j.pax.url</groupId>
917 <artifactId>pax-url-aether</artifactId>
918 <version>2.5.3</version>
922 <groupId>org.ops4j.pax.url</groupId>
923 <artifactId>pax-url-wrap</artifactId>
924 <version>2.5.3</version>
928 <groupId>org.springframework.osgi</groupId>
929 <artifactId>spring-osgi-mock</artifactId>
930 <version>1.2.1</version>
934 <groupId>xmlunit</groupId>
935 <artifactId>xmlunit</artifactId>
936 <version>1.6</version>
941 <groupId>org.eclipse.jetty</groupId>
942 <artifactId>jetty-client</artifactId>
943 <version>9.3.21.v20170918</version>
946 <groupId>org.eclipse.jetty</groupId>
947 <artifactId>jetty-server</artifactId>
948 <version>9.3.21.v20170918</version>
951 <groupId>org.eclipse.jetty</groupId>
952 <artifactId>jetty-servlets</artifactId>
953 <version>9.3.21.v20170918</version>
956 <groupId>org.eclipse.jetty</groupId>
957 <artifactId>jetty-webapp</artifactId>
958 <version>9.3.21.v20170918</version>
962 <groupId>com.h2database</groupId>
963 <artifactId>h2</artifactId>
964 <version>1.4.196</version>
967 <!-- Xtend http://xtend-lang.org
968 NOTE: When you increase the version here,
969 then remember to also increase it for the
970 xtend-maven-plugin below! (We don't want to
971 use a Maven property, in order not to "leak" that.)
974 <groupId>org.eclipse.xtend</groupId>
975 <artifactId>org.eclipse.xtend.lib</artifactId>
976 <version>2.14.0</version>
979 <groupId>org.eclipse.xtend</groupId>
980 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
981 <version>2.14.0</version>
984 <groupId>org.eclipse.xtext</groupId>
985 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
986 <version>2.14.0</version>
991 <groupId>javax.inject</groupId>
992 <artifactId>javax.inject</artifactId>
994 <optional>true</optional>
997 <groupId>org.ops4j.pax.cdi</groupId>
998 <artifactId>pax-cdi-api</artifactId>
999 <version>1.0.0.RC2</version>
1000 <optional>true</optional>
1005 <groupId>com.datastax.cassandra</groupId>
1006 <artifactId>cassandra-driver-core</artifactId>
1007 <version>2.1.9</version>
1010 <!-- jung, a graph library -->
1012 <groupId>net.sf.jung</groupId>
1013 <artifactId>jung-api</artifactId>
1014 <version>2.1.1</version>
1017 <groupId>net.sf.jung</groupId>
1018 <artifactId>jung-algorithms</artifactId>
1019 <version>2.1.1</version>
1022 <groupId>net.sf.jung</groupId>
1023 <artifactId>jung-graph-impl</artifactId>
1024 <version>2.1.1</version>
1027 <!-- Karaf console support -->
1029 <groupId>org.apache.karaf.shell</groupId>
1030 <artifactId>org.apache.karaf.shell.core</artifactId>
1031 <version>${karaf.version}</version>
1034 <groupId>org.apache.karaf.shell</groupId>
1035 <artifactId>org.apache.karaf.shell.console</artifactId>
1036 <version>${karaf.version}</version>
1039 <!-- ThreeTen-Extra, date/time complements -->
1041 <groupId>org.threeten</groupId>
1042 <artifactId>threeten-extra</artifactId>
1043 <version>1.3.2</version>
1046 <!-- When updating this version, consider antl4-maven-plugin below -->
1048 <groupId>org.antlr</groupId>
1049 <artifactId>antlr4-runtime</artifactId>
1050 <version>4.7.1</version>
1052 <!-- Aries' Blueprint version should be kept in sync to the version actually
1053 used by our ${karaf[4].version} ... please bump this when increasing that.
1054 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1056 <groupId>org.apache.aries.blueprint</groupId>
1057 <artifactId>org.apache.aries.blueprint.core</artifactId>
1058 <version>1.9.0</version>
1062 </dependencyManagement>
1065 <!-- Karaf provides SL4FJ encapsulation -->
1067 <groupId>org.slf4j</groupId>
1068 <artifactId>slf4j-api</artifactId>
1069 <scope>provided</scope>
1073 <groupId>org.slf4j</groupId>
1074 <artifactId>slf4j-simple</artifactId>
1078 <!-- Enable useful code quality annotations everywhere -->
1080 <groupId>com.google.code.findbugs</groupId>
1081 <artifactId>annotations</artifactId>
1082 <scope>provided</scope>
1085 <groupId>org.eclipse.jdt</groupId>
1086 <artifactId>org.eclipse.jdt.annotation</artifactId>
1087 <scope>provided</scope>
1094 <!-- Official maven plugins, alpha-sorted by artifactId.
1095 We do not need to specify the groupId. -->
1097 <artifactId>maven-antrun-plugin</artifactId>
1098 <version>1.8</version>
1101 <artifactId>maven-checkstyle-plugin</artifactId>
1102 <version>3.0.0</version>
1105 <groupId>com.puppycrawl.tools</groupId>
1106 <artifactId>checkstyle</artifactId>
1107 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1108 <version>8.10</version>
1111 <groupId>org.opendaylight.odlparent</groupId>
1112 <artifactId>checkstyle</artifactId>
1113 <version>4.0.0-SNAPSHOT</version>
1116 <groupId>org.opendaylight.odlparent</groupId>
1117 <artifactId>odl-license</artifactId>
1118 <version>4.0.0-SNAPSHOT</version>
1121 <groupId>com.github.sevntu-checkstyle</groupId>
1122 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1123 <version>1.27.0</version>
1127 <configLocation>odl_checks.xml</configLocation>
1128 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1129 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1130 generated sources directory -->
1132 <directory>${project.build.sourceDirectory}</directory>
1133 </sourceDirectories>
1134 <includeResources>true</includeResources>
1135 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1136 <includeTestResources>true</includeTestResources>
1137 <includes>**\/*.java, **\/*.xtend</includes>
1139 org/opendaylight/yang/gen/**,
1140 **/protobuff/messages/**,
1141 **/thrift/gen/*.java
1143 <failsOnError>false</failsOnError>
1144 <consoleOutput>true</consoleOutput>
1148 <id>check-license</id>
1152 <phase>process-sources</phase>
1154 <configLocation>check-license.xml</configLocation>
1155 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1156 <includeResources>false</includeResources>
1157 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1158 <includeTestResources>false</includeTestResources>
1160 <directory>${project.build.sourceDirectory}</directory>
1161 </sourceDirectories>
1163 org/opendaylight/yang/gen/**,
1164 **/protobuff/messages/**,
1165 **/thrift/gen/*.java
1167 <failsOnError>false</failsOnError>
1168 <consoleOutput>true</consoleOutput>
1175 <phase>process-sources</phase>
1180 <groupId>org.apache.maven.plugins</groupId>
1181 <artifactId>maven-pmd-plugin</artifactId>
1182 <version>3.9.0</version>
1186 <phase>process-sources</phase>
1188 <goal>cpd-check</goal>
1191 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1192 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1193 <minimumTokens>101</minimumTokens>
1194 <printFailingErrors>true</printFailingErrors>
1196 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1197 not understand path prefixes nor wildcards. Details are available
1198 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1199 Hence people introducing new generated sources have to include
1202 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1203 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1205 <linkXRef>false</linkXRef>
1211 <artifactId>maven-compiler-plugin</artifactId>
1212 <version>${maven.compile.plugin.version}</version>
1214 <source>1.8</source>
1215 <target>1.8</target>
1216 <showWarnings>true</showWarnings>
1218 <arg>-parameters</arg>
1219 <arg>-Xlint:deprecation</arg>
1224 <artifactId>maven-enforcer-plugin</artifactId>
1225 <version>${enforcer.version}</version>
1228 <artifactId>maven-failsafe-plugin</artifactId>
1229 <version>${failsafe.version}</version>
1232 <artifactId>maven-invoker-plugin</artifactId>
1233 <version>2.0.0</version>
1236 <artifactId>maven-jar-plugin</artifactId>
1237 <version>3.0.2</version>
1240 <artifactId>maven-dependency-plugin</artifactId>
1243 <id>unpack-license</id>
1244 <phase>generate-resources</phase>
1245 <goals><goal>unpack</goal></goals>
1249 <groupId>org.opendaylight.odlparent</groupId>
1250 <artifactId>odl-license</artifactId>
1251 <version>4.0.0-SNAPSHOT</version>
1254 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1255 <excludes>META-INF/**</excludes>
1262 <artifactId>maven-plugin-plugin</artifactId>
1263 <version>${maven.plugin.version}</version>
1267 <artifactId>maven-remote-resources-plugin</artifactId>
1268 <version>1.5</version>
1271 <artifactId>maven-resources-plugin</artifactId>
1272 <version>3.0.1</version>
1275 <artifactId>maven-shade-plugin</artifactId>
1276 <version>3.1.0</version>
1279 <artifactId>maven-source-plugin</artifactId>
1280 <version>3.0.1</version>
1283 <id>attach-sources</id>
1284 <phase>verify</phase>
1286 <goal>jar-no-fork</goal>
1292 <artifactId>maven-surefire-plugin</artifactId>
1293 <version>${maven.surefire.version}</version>
1295 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1296 <trimStackTrace>false</trimStackTrace>
1300 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1302 <!-- Support Blueprint XML construction using annotations -->
1303 <groupId>org.apache.aries.blueprint</groupId>
1304 <artifactId>blueprint-maven-plugin</artifactId>
1305 <version>1.4.0</version>
1308 <scanPath>org.opendaylight</scanPath>
1313 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1314 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1315 <groupId>org.apache.xbean</groupId>
1316 <artifactId>xbean-finder-shaded</artifactId>
1317 <version>4.5</version>
1323 <goal>blueprint-generate</goal>
1330 <groupId>org.apache.felix</groupId>
1331 <artifactId>maven-bundle-plugin</artifactId>
1332 <version>${maven.bundle.version}</version>
1333 <extensions>true</extensions>
1336 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1337 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1338 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1339 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1345 <groupId>org.apache.karaf.tooling</groupId>
1346 <artifactId>karaf-maven-plugin</artifactId>
1347 <version>${karaf.version}</version>
1351 <groupId>org.apache.servicemix.tooling</groupId>
1352 <artifactId>depends-maven-plugin</artifactId>
1353 <version>1.4.0</version>
1356 <id>generate-depends-file</id>
1358 <goal>generate-depends-file</goal>
1365 <groupId>org.codehaus.enunciate</groupId>
1366 <artifactId>maven-enunciate-plugin</artifactId>
1367 <version>${enunciate.version}</version>
1370 <groupId>org.codehaus.groovy.maven</groupId>
1371 <artifactId>gmaven-plugin</artifactId>
1372 <version>1.0</version>
1375 <groupId>org.codehaus.mojo</groupId>
1376 <artifactId>build-helper-maven-plugin</artifactId>
1377 <version>3.0.0</version>
1380 <groupId>org.codehaus.mojo</groupId>
1381 <artifactId>findbugs-maven-plugin</artifactId>
1382 <version>3.0.5</version>
1385 <groupId>org.opendaylight.odlparent</groupId>
1386 <artifactId>findbugs</artifactId>
1387 <version>4.0.0-SNAPSHOT</version>
1393 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1394 <artifactId>bug-pattern</artifactId>
1395 <!-- NOTE: This version MUST be kept in sync with the same version in the new spotbugs-maven-plugin below -->
1396 <version>1.4.0</version>
1400 Enables analysis which takes more memory but finds more bugs.
1401 If you run out of memory, changes the value of the effort element
1404 <effort>Max</effort>
1405 <!-- Reports all bugs (other values are medium and max) -->
1406 <threshold>Low</threshold>
1407 <!-- Build doesn't fail if problems are found -->
1408 <failOnError>false</failOnError>
1409 <!-- References the excluded rules -->
1410 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1411 <!-- Produces XML report -->
1412 <xmlOutput>true</xmlOutput>
1413 <!-- Configures the directory in which the XML report is created -->
1414 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1418 Ensures that FindBugs inspects source code when project is compiled.
1421 <id>analyze-compile</id>
1422 <phase>compile</phase>
1430 <groupId>com.github.spotbugs</groupId>
1431 <artifactId>spotbugs-maven-plugin</artifactId>
1432 <version>3.1.3.1</version>
1435 <groupId>com.github.spotbugs</groupId>
1436 <artifactId>spotbugs</artifactId>
1437 <version>3.1.3</version>
1440 <groupId>org.opendaylight.odlparent</groupId>
1441 <artifactId>spotbugs</artifactId>
1442 <version>4.0.0-SNAPSHOT</version>
1448 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1449 <artifactId>bug-pattern</artifactId>
1450 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above -->
1451 <version>1.4.0</version>
1455 Enables analysis which takes more memory but finds more bugs.
1456 If you run out of memory, changes the value of the effort element
1459 <effort>Max</effort>
1460 <!-- Reports all bugs (other values are medium and max) -->
1461 <threshold>Low</threshold>
1462 <!-- Build doesn't fail if problems are found -->
1463 <failOnError>false</failOnError>
1464 <!-- References the excluded rules -->
1465 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1466 <!-- Produces XML report -->
1467 <xmlOutput>true</xmlOutput>
1468 <!-- Configures the directory in which the XML report is created -->
1469 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1473 Ensures that SpotBugs inspects source code when project is compiled.
1476 <id>analyze-compile</id>
1477 <phase>compile</phase>
1485 <groupId>org.codehaus.mojo</groupId>
1486 <artifactId>properties-maven-plugin</artifactId>
1487 <version>${propertymavenplugin.version}</version>
1490 <groupId>org.eclipse.xtend</groupId>
1491 <artifactId>xtend-maven-plugin</artifactId>
1492 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1493 <version>2.14.0</version>
1497 <goal>compile</goal>
1498 <goal>testCompile</goal>
1501 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1502 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1508 <groupId>org.eclipse.m2e</groupId>
1509 <artifactId>lifecycle-mapping</artifactId>
1510 <version>1.0.0</version>
1512 <lifecycleMappingMetadata>
1515 <pluginExecutionFilter>
1516 <groupId>org.apache.felix</groupId>
1517 <artifactId>maven-bundle-plugin</artifactId>
1518 <versionRange>[1.0,)</versionRange>
1520 <goal>manifest</goal>
1522 </pluginExecutionFilter>
1528 <pluginExecutionFilter>
1529 <groupId>org.apache.maven.plugins</groupId>
1530 <artifactId>maven-enforcer-plugin</artifactId>
1531 <versionRange>[1.0.0,)</versionRange>
1533 <goal>enforce</goal>
1535 </pluginExecutionFilter>
1541 <pluginExecutionFilter>
1542 <groupId>org.apache.maven.plugins</groupId>
1543 <artifactId>maven-dependency-plugin</artifactId>
1544 <versionRange>[2.10,)</versionRange>
1548 </pluginExecutionFilter>
1554 <pluginExecutionFilter>
1555 <groupId>org.apache.maven.plugins</groupId>
1556 <artifactId>maven-pmd-plugin</artifactId>
1557 <versionRange>[3.6,)</versionRange>
1559 <goal>cpd-check</goal>
1561 </pluginExecutionFilter>
1566 <!-- The plugin will eventually be removed, remove this too at that point -->
1568 <pluginExecutionFilter>
1569 <groupId>org.apache.maven.plugins</groupId>
1570 <artifactId>maven-antrun-plugin</artifactId>
1571 <versionRange>[1.8,)</versionRange>
1575 </pluginExecutionFilter>
1581 <pluginExecutionFilter>
1582 <groupId>org.apache.servicemix.tooling</groupId>
1583 <artifactId>depends-maven-plugin</artifactId>
1584 <versionRange>[1.2,)</versionRange>
1586 <goal>generate-depends-file</goal>
1588 </pluginExecutionFilter>
1594 <pluginExecutionFilter>
1595 <groupId>org.jacoco</groupId>
1596 <artifactId>jacoco-maven-plugin</artifactId>
1597 <versionRange>[0.7.0,)</versionRange>
1599 <goal>prepare-agent</goal>
1602 </pluginExecutionFilter>
1609 <pluginExecutionFilter>
1610 <groupId>org.ops4j.pax.exam</groupId>
1611 <artifactId>maven-paxexam-plugin</artifactId>
1612 <versionRange>[1.2.4,)</versionRange>
1614 <goal>generate-depends-file</goal>
1616 </pluginExecutionFilter>
1623 <pluginExecutionFilter>
1624 <groupId>org.basepom.maven</groupId>
1626 duplicate-finder-maven-plugin
1628 <versionRange>[1.2.1,)</versionRange>
1632 </pluginExecutionFilter>
1638 </lifecycleMappingMetadata>
1643 <groupId>org.jacoco</groupId>
1644 <artifactId>jacoco-maven-plugin</artifactId>
1645 <version>${jacoco.version}</version>
1647 <!-- Note: This exclusion list should match <sonar.exclusions>
1650 <exclude>**/gen/**</exclude>
1651 <exclude>**/generated-sources/**</exclude>
1652 <exclude>**/generated-test-sources/**</exclude>
1653 <exclude>**/yang-gen/**</exclude>
1654 <exclude>**/yang-gen-config/**</exclude>
1655 <exclude>**/yang-gen-sal/**</exclude>
1656 <exclude>**/yang-gen-code/**</exclude>
1657 <exclude>**/pax/**</exclude>
1663 <groupId>org.ops4j.pax.exam</groupId>
1664 <artifactId>maven-paxexam-plugin</artifactId>
1665 <version>1.2.4</version>
1669 <groupId>org.codehaus.mojo</groupId>
1670 <artifactId>jdepend-maven-plugin</artifactId>
1671 <version>2.0</version>
1676 <goal>generate-no-fork</goal>
1682 <!-- When updating this version, consider antl4-runtime above -->
1684 <groupId>org.antlr</groupId>
1685 <artifactId>antlr4-maven-plugin</artifactId>
1686 <version>4.7.1</version>
1693 <artifactId>maven-enforcer-plugin</artifactId>
1696 <id>enforce-banned-dependencies</id>
1698 <goal>enforce</goal>
1702 <bannedDependencies>
1703 <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>
1705 <exclude>org.mockito:mockito-all</exclude>
1706 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1707 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1708 <!-- as a dependency then clashes with the dependency checker (because it -->
1709 <!-- is not very good at handling annotations). Use the annotations jar -->
1710 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1712 <exclude>com.google.code.findbugs:jsr305</exclude>
1713 <exclude>net.jcip:jcip-annotations</exclude>
1715 </bannedDependencies>
1723 <groupId>org.basepom.maven</groupId>
1724 <artifactId>duplicate-finder-maven-plugin</artifactId>
1725 <version>1.2.1</version>
1728 <id>find-duplicate-classpath-entries</id>
1729 <phase>verify</phase>
1736 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1737 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1738 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1739 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1740 <printEqualFiles>false</printEqualFiles>
1742 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1743 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1744 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1746 <ignoredResourcePatterns>
1747 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1748 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1749 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1750 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1751 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1752 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1753 </ignoredResourcePatterns>
1754 <ignoredDependencies>
1756 <groupId>org.slf4j</groupId>
1757 <artifactId>slf4j-simple</artifactId>
1758 </ignoredDependency>
1760 <groupId>org.opendaylight.odlparent</groupId>
1761 <artifactId>opendaylight-karaf-empty</artifactId>
1762 </ignoredDependency>
1763 </ignoredDependencies>
1767 <artifactId>maven-dependency-plugin</artifactId>
1770 <artifactId>maven-checkstyle-plugin</artifactId>
1773 <artifactId>maven-pmd-plugin</artifactId>
1776 <artifactId>maven-source-plugin</artifactId>
1779 <artifactId>maven-javadoc-plugin</artifactId>
1782 <!-- Jacoco / Sonar -->
1784 <groupId>org.jacoco</groupId>
1785 <artifactId>jacoco-maven-plugin</artifactId>
1788 <id>pre-unit-test</id>
1790 <goal>prepare-agent</goal>
1793 <destFile>${sonar.jacoco.reportPath}</destFile>
1797 <id>post-unit-test</id>
1802 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1809 <groupId>com.alexecollins.maven.plugin</groupId>
1810 <artifactId>script-maven-plugin</artifactId>
1811 <version>1.0.0</version>
1814 <phase>prepare-package</phase>
1816 <goal>execute</goal>
1820 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1821 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1822 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1823 // static class methods only - it will be MUCH easier to write!)
1824 void copy(File root, String glob, File target) {
1825 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1826 Iterator dirStreamIterator = dirStream.iterator();
1827 while (dirStreamIterator.hasNext()) {
1828 java.nio.file.Path path = dirStreamIterator.next();
1829 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1830 new java.nio.file.CopyOption[] {
1831 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1832 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1839 File gitRepoRootDir = project.basedir;
1840 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1841 gitRepoRootDir = gitRepoRootDir.getParentFile();
1844 File target = new File(project.build.outputDirectory);
1846 copy(gitRepoRootDir, "README*", target);
1847 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1848 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1855 <groupId>org.apache-extras.beanshell</groupId>
1856 <artifactId>bsh</artifactId>
1857 <version>2.0b6</version>
1862 <!-- Blueprint dependency injection -->
1863 <!-- Remove when upgrading to plugin 1.5.0, and use
1864 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
1865 See https://issues.apache.org/jira/browse/ARIES-1597
1866 BUT beware that the directory is now conditional... -->
1868 <artifactId>maven-antrun-plugin</artifactId>
1870 <!-- This should only run once, in the process-classes phase; but we need it to run after
1871 process-classes in child projects. Attaching to process-test-classes and prepare-package
1872 ensures that the file will be moved whether tests are skipped or not. -->
1874 <id>move-autowire-test</id>
1875 <phase>process-test-classes</phase>
1881 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1883 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1885 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1886 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1887 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1888 failonerror="false" quiet="true" />
1891 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1898 <id>move-autowire-package</id>
1899 <phase>prepare-package</phase>
1905 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1907 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1909 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1910 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1911 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1912 failonerror="false" quiet="true" />
1915 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1924 <groupId>ant-contrib</groupId>
1925 <artifactId>ant-contrib</artifactId>
1926 <version>1.0b3</version>
1929 <groupId>ant</groupId>
1930 <artifactId>ant</artifactId>
1935 <groupId>org.apache.ant</groupId>
1936 <artifactId>ant-nodeps</artifactId>
1937 <version>1.8.1</version>
1947 <artifactId>maven-checkstyle-plugin</artifactId>
1948 <version>3.0.0</version>
1951 <!-- FIXME: activate this
1953 <artifactId>maven-project-info-reports-plugin</artifactId>
1954 <version>${projectinfo}</version>
1957 <groupId>org.codehaus.mojo</groupId>
1958 <artifactId>jdepend-maven-plugin</artifactId>
1962 <report>generate-no-fork</report>
1971 Maven Site Configuration
1973 The following configuration is necessary for maven-site-plugin to
1974 correctly identify the correct deployment path for OpenDaylight Maven
1977 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1979 <distributionManagement>
1981 <id>opendaylight-site</id>
1982 <url>${nexus.site.url}/${project.artifactId}/</url>
1984 </distributionManagement>