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, neutron, openflowplugin, persistence; see also affinity -->
52 <maven.bundle.version>3.3.0</maven.bundle.version>
54 <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
55 <!-- Used in controller, didm, l2switch, lacp, persistence; see also toolkit, tsdr, ttp -->
56 <maven.compile.plugin.version>3.7.0</maven.compile.plugin.version>
57 <!-- Used in controller, coretutorials, mdsal, snbi, yangtools -->
58 <maven.javadoc.version>3.0.0</maven.javadoc.version>
60 <maven.plugin.version>3.5</maven.plugin.version>
61 <!-- Used in neutron, of-config, tsdr, yangtools -->
62 <!-- Later versions break tests in downstream projects -->
63 <maven.surefire.version>2.18.1</maven.surefire.version>
65 <!-- Maven plugin versions, in random formats -->
66 <!-- Used in aaa, alto, controller, didm, tsdr; see also affinity, snmp4sdn, toolkit, ttp -->
67 <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
68 <!-- TODO rename checkstyle.version to checkstyle.(maven.)plugin.version,
69 or just remove it, incl. all usages of it in a number of pom.xml; because normally,
70 as maven-checkstyle-plugin is in pluginManagement, this should not have to be repeated. -->
71 <!-- Used in alto, controller, lacp, netide, openflowjava, packetcable, snmp4sdn, ttp; see also affinity, opendove,
73 <checkstyle.version>2.17</checkstyle.version>
74 <!-- Used in controller, packetcable -->
75 <odl.checkstyle.version>3.0.0-SNAPSHOT</odl.checkstyle.version>
76 <!-- Used in snmp4sdn; see also toolkit -->
77 <compiler.version>${maven.compile.plugin.version}</compiler.version>
78 <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
79 <enforcer.version>3.0.0-M1</enforcer.version>
80 <!-- Used in affinity, controller, nemo, opendove, snmp4sdn -->
81 <enunciate.version>1.31</enunciate.version>
82 <!-- Used in affinity, coretutorials, netide -->
83 <exam.version>4.11.0</exam.version>
84 <!-- Used in affinity, controller, neutron, of-config; see also snmp4sdn -->
85 <failsafe.version>2.20.1</failsafe.version>
86 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
87 <jacoco.version>0.7.9</jacoco.version>
88 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
89 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
90 <karaf.version>4.1.4</karaf.version>
91 <karaf.plugin.version>4.1.4</karaf.plugin.version>
92 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
93 <projectinfo>2.8.1</projectinfo>
94 <!-- Used in of-config; see also snmp4sdn -->
95 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
96 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
97 <releaseplugin.version>2.5.3</releaseplugin.version>
99 <!-- Supporting Libraries -->
100 <!-- Used by controller -->
101 <bouncycastle.version>1.58</bouncycastle.version>
103 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
104 <osgi.core.version>5.0.0</osgi.core.version>
106 <akka.version>2.5.9</akka.version>
107 <leveldb.version>0.7</leveldb.version>
109 <!-- Default Sonar configuration -->
110 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
111 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
112 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
113 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
114 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
115 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
117 <!-- Opt-in code quality checks -->
118 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
119 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
122 <dependencyManagement>
126 <groupId>org.opendaylight.odlparent</groupId>
127 <artifactId>odlparent-artifacts</artifactId>
128 <version>4.0.0-SNAPSHOT</version>
129 <scope>import</scope>
133 <!-- Build tool dependencies (normally not here in <dependencies>,
134 but in a <dependency> in <pluginManagement> but for Checkstyle this
135 is required so that we can share the same version of Checkstyle
136 for both the Maven plugin below as well as for custom Checkstyle
137 check rule projects, such as yangtools' checkstyle-logging) -->
139 <groupId>com.puppycrawl.tools</groupId>
140 <artifactId>checkstyle</artifactId>
141 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
142 <version>8.4</version>
145 <!-- Testing Dependencies -->
146 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
147 <!-- Need to stick to JUnit 4.11 until
148 https://github.com/jayway/powermock/issues/560 is fixed (either in
149 PowerMock or with a new JUnit release) -->
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.11</version>
157 <groupId>junit</groupId>
158 <artifactId>junit-dep</artifactId>
159 <version>4.11</version>
163 <groupId>org.skyscreamer</groupId>
164 <artifactId>jsonassert</artifactId>
165 <version>1.5.0</version>
169 <groupId>org.mockito</groupId>
170 <artifactId>mockito-core</artifactId>
171 <version>1.10.19</version>
175 <groupId>org.hamcrest</groupId>
176 <artifactId>hamcrest-core</artifactId>
177 <version>1.3</version>
181 <groupId>org.hamcrest</groupId>
182 <artifactId>hamcrest-library</artifactId>
183 <version>1.3</version>
187 <groupId>com.google.truth</groupId>
188 <artifactId>truth</artifactId>
189 <version>0.36</version>
193 <groupId>com.google.truth.extensions</groupId>
194 <artifactId>truth-java8-extension</artifactId>
195 <version>0.36</version>
199 <groupId>org.awaitility</groupId>
200 <artifactId>awaitility</artifactId>
201 <version>3.0.0</version>
205 <groupId>org.awaitility</groupId>
206 <artifactId>awaitility-proxy</artifactId>
207 <version>3.0.0</version>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-api-mockito</artifactId>
213 <version>1.6.4</version>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-api-support</artifactId>
219 <version>1.6.4</version>
223 <groupId>org.powermock</groupId>
224 <artifactId>powermock-core</artifactId>
225 <version>1.6.4</version>
229 <groupId>org.powermock</groupId>
230 <artifactId>powermock-module-junit4</artifactId>
231 <version>1.6.4</version>
235 <groupId>org.powermock</groupId>
236 <artifactId>powermock-reflect</artifactId>
237 <version>1.6.4</version>
242 Annotation Processors
245 <!-- Generates immutable implementations, builders, the works -->
246 <groupId>org.immutables</groupId>
247 <artifactId>value</artifactId>
248 <version>2.5.6</version>
249 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
250 <scope>provided</scope>
253 <!-- Generates META-INF/services entries for ServiceLoader -->
254 <groupId>org.kohsuke.metainf-services</groupId>
255 <artifactId>metainf-services</artifactId>
256 <version>1.7</version>
257 <optional>true</optional>
258 <scope>provided</scope>
265 <groupId>org.slf4j</groupId>
266 <artifactId>jcl-over-slf4j</artifactId>
267 <version>1.7.25</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-api</artifactId>
272 <version>1.7.25</version>
275 <groupId>org.slf4j</groupId>
276 <artifactId>slf4j-log4j12</artifactId>
277 <version>1.7.25</version>
280 <groupId>org.slf4j</groupId>
281 <artifactId>log4j-over-slf4j</artifactId>
282 <version>1.7.25</version>
285 <groupId>org.slf4j</groupId>
286 <artifactId>slf4j-simple</artifactId>
287 <version>1.7.25</version>
291 <groupId>ch.qos.logback</groupId>
292 <artifactId>logback-core</artifactId>
293 <version>1.2.3</version>
296 <groupId>ch.qos.logback</groupId>
297 <artifactId>logback-classic</artifactId>
298 <version>1.2.3</version>
301 <groupId>com.google.guava</groupId>
302 <artifactId>guava</artifactId>
303 <version>23.6-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.google.guava</groupId>
314 <artifactId>guava-testlib</artifactId>
315 <version>23.6-jre</version>
319 <groupId>com.google.code.findbugs</groupId>
320 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
321 <artifactId>jsr305</artifactId>
326 <groupId>com.mycila.guice.extensions</groupId>
327 <artifactId>mycila-guice-jsr250</artifactId>
328 <!-- Make sure this version is in sync with the guice one below -->
329 <version>4.0.rc1</version>
332 <groupId>com.google.inject</groupId>
333 <artifactId>guice</artifactId>
334 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
335 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
336 <version>4.1.0</version>
339 <groupId>org.apache.commons</groupId>
340 <artifactId>commons-lang3</artifactId>
341 <version>3.7</version>
344 <groupId>org.apache.commons</groupId>
345 <artifactId>commons-text</artifactId>
346 <version>1.1</version>
349 <groupId>commons-lang</groupId>
350 <artifactId>commons-lang</artifactId>
351 <version>2.6</version>
354 <groupId>commons-codec</groupId>
355 <artifactId>commons-codec</artifactId>
356 <version>1.11</version>
358 <!-- Jersey for JAXRS -->
360 <groupId>javax.ws.rs</groupId>
361 <artifactId>javax.ws.rs-api</artifactId>
362 <version>2.0.1</version>
365 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
366 <artifactId>jersey-guava</artifactId>
367 <version>2.22.2</version>
370 <groupId>org.glassfish</groupId>
371 <artifactId>javax.json</artifactId>
372 <version>1.0.4</version>
375 <groupId>com.eclipsesource.jaxrs</groupId>
376 <artifactId>jersey-all</artifactId>
377 <version>2.22.2</version>
380 <!-- servlet 3.x support -->
382 <groupId>org.glassfish.jersey.containers</groupId>
383 <artifactId>jersey-container-servlet</artifactId>
384 <version>2.8</version>
387 <groupId>org.apache.geronimo.bundles</groupId>
388 <artifactId>json</artifactId>
389 <version>20090211_1</version>
391 <!-- FIXME : remove all dependencies for jersey 1.17 -->
393 <groupId>com.sun.jersey</groupId>
394 <artifactId>jersey-core</artifactId>
395 <version>1.19.4</version>
398 <groupId>com.sun.jersey</groupId>
399 <artifactId>jersey-json</artifactId>
400 <version>1.19.4</version>
403 <groupId>com.sun.jersey</groupId>
404 <artifactId>jersey-server</artifactId>
405 <version>1.19.4</version>
408 <groupId>com.sun.jersey</groupId>
409 <artifactId>jersey-servlet</artifactId>
410 <version>1.19.4</version>
413 <groupId>com.sun.jersey.jersey-test-framework</groupId>
414 <artifactId>jersey-test-framework-grizzly2</artifactId>
415 <version>1.19.4</version>
419 <groupId>com.sun.jersey.jersey-test-framework</groupId>
420 <artifactId>jersey-test-framework-inmemory</artifactId>
421 <version>1.19.4</version>
425 <groupId>com.sun.jersey</groupId>
426 <artifactId>jersey-client</artifactId>
427 <version>1.19.4</version>
430 <groupId>org.opendaylight.controller.thirdparty</groupId>
431 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
432 <version>1.17</version>
435 <groupId>org.apache.shiro</groupId>
436 <artifactId>shiro-core</artifactId>
437 <version>1.3.2</version>
440 <groupId>org.apache.shiro</groupId>
441 <artifactId>shiro-web</artifactId>
442 <version>1.3.2</version>
445 <!-- Plugin integration -->
447 <groupId>net.java.dev.stax-utils</groupId>
448 <artifactId>stax-utils</artifactId>
449 <version>20070216</version>
452 <groupId>org.sonatype.plexus</groupId>
453 <artifactId>plexus-build-api</artifactId>
454 <version>0.0.7</version>
457 <groupId>org.codehaus.plexus</groupId>
458 <artifactId>plexus-slf4j-logging</artifactId>
459 <version>1.1</version>
463 <groupId>org.codehaus.woodstox</groupId>
464 <artifactId>stax2-api</artifactId>
465 <!-- Needs to match jackson's idea of import -->
466 <version>3.1.4</version>
469 <groupId>com.fasterxml.jackson</groupId>
470 <artifactId>jackson-bom</artifactId>
471 <version>2.8.9</version>
472 <scope>import</scope>
476 <!-- TODO do we really need resteasy ? -->
478 <groupId>org.jboss.resteasy</groupId>
479 <artifactId>jaxrs-api</artifactId>
480 <version>3.0.12.Final</version>
484 <groupId>com.google.code.findbugs</groupId>
485 <artifactId>annotations</artifactId>
486 <version>3.0.0</version>
488 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
489 the types of this artifact are already shaded inside the :annotations artifact.
490 This state is a temporary solution to allow all projects to gradually switch over
491 switch their <dependency><groupId>com.google.code.findbugs from
492 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
493 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
496 <groupId>net.jcip</groupId>
497 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
498 <artifactId>jcip-annotations</artifactId>
503 <groupId>org.eclipse.jdt</groupId>
504 <artifactId>org.eclipse.jdt.annotation</artifactId>
505 <version>2.1.0</version>
506 <scope>provided</scope>
509 <groupId>com.google.code.gson</groupId>
510 <artifactId>gson</artifactId>
511 <version>2.8.2</version>
514 <groupId>commons-fileupload</groupId>
515 <artifactId>commons-fileupload</artifactId>
516 <version>1.3.3</version>
519 <groupId>commons-io</groupId>
520 <artifactId>commons-io</artifactId>
521 <version>2.6</version>
524 <groupId>commons-net</groupId>
525 <artifactId>commons-net</artifactId>
526 <version>3.6</version>
531 <groupId>io.netty</groupId>
532 <artifactId>netty-all</artifactId>
533 <!-- If these are updated, the version in features.xml needs to be changed too -->
534 <version>4.1.20.Final</version>
537 <groupId>io.netty</groupId>
538 <artifactId>netty-buffer</artifactId>
539 <version>4.1.20.Final</version>
542 <groupId>io.netty</groupId>
543 <artifactId>netty-codec</artifactId>
544 <version>4.1.20.Final</version>
547 <groupId>io.netty</groupId>
548 <artifactId>netty-codec-http</artifactId>
549 <version>4.1.20.Final</version>
552 <groupId>io.netty</groupId>
553 <artifactId>netty-common</artifactId>
554 <version>4.1.20.Final</version>
557 <groupId>io.netty</groupId>
558 <artifactId>netty-handler</artifactId>
559 <version>4.1.20.Final</version>
562 <groupId>io.netty</groupId>
563 <artifactId>netty-transport</artifactId>
564 <version>4.1.20.Final</version>
566 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
567 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
569 <groupId>io.netty</groupId>
570 <artifactId>netty-transport-native-epoll</artifactId>
571 <classifier>linux-x86_64</classifier>
572 <version>4.1.20.Final</version>
575 <groupId>javax.ws.rs</groupId>
576 <artifactId>jsr311-api</artifactId>
577 <version>1.1.1</version>
580 <groupId>javax.servlet</groupId>
581 <artifactId>javax.servlet-api</artifactId>
582 <version>3.1.0</version>
585 <groupId>org.apache.felix</groupId>
586 <artifactId>org.apache.felix.dependencymanager</artifactId>
587 <version>4.4.1</version>
590 <groupId>org.apache.felix</groupId>
591 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
592 <version>4.0.6</version>
595 <groupId>org.apache.felix</groupId>
596 <artifactId>org.apache.felix.metatype</artifactId>
597 <version>1.1.6</version>
600 <groupId>org.bouncycastle</groupId>
601 <artifactId>bcpkix-jdk15on</artifactId>
602 <version>${bouncycastle.version}</version>
605 <groupId>org.bouncycastle</groupId>
606 <artifactId>bcprov-jdk15on</artifactId>
607 <version>${bouncycastle.version}</version>
610 <groupId>org.bouncycastle</groupId>
611 <artifactId>bcprov-ext-jdk15on</artifactId>
612 <version>${bouncycastle.version}</version>
615 <groupId>org.codehaus.enunciate</groupId>
616 <artifactId>enunciate-core-annotations</artifactId>
617 <version>${enunciate.version}</version>
620 <groupId>com.webcohesion.enunciate</groupId>
621 <artifactId>enunciate-core-annotations</artifactId>
622 <version>2.10.1</version>
625 <groupId>org.codehaus.jettison</groupId>
626 <artifactId>jettison</artifactId>
627 <version>1.3.8</version>
629 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
630 pull in javax.validation first:
631 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
633 <groupId>org.eclipse.persistence</groupId>
634 <artifactId>org.eclipse.persistence.antlr</artifactId>
635 <version>2.6.2</version>
638 <groupId>org.eclipse.persistence</groupId>
639 <artifactId>org.eclipse.persistence.core</artifactId>
640 <version>2.6.2</version>
643 <groupId>org.eclipse.persistence</groupId>
644 <artifactId>org.eclipse.persistence.moxy</artifactId>
645 <version>2.6.2</version>
648 <groupId>javax.validation</groupId>
649 <artifactId>validation-api</artifactId>
650 <version>1.1.0.Final</version>
653 <groupId>org.javassist</groupId>
654 <artifactId>javassist</artifactId>
655 <version>3.21.0-GA</version>
658 <groupId>org.jboss.spec.javax.transaction</groupId>
659 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
660 <version>1.0.1.Final</version>
663 <groupId>org.jolokia</groupId>
664 <artifactId>jolokia-osgi</artifactId>
665 <version>1.5.0</version>
668 <groupId>org.json</groupId>
669 <artifactId>json</artifactId>
670 <version>20131018</version>
673 <groupId>org.osgi</groupId>
674 <artifactId>org.osgi.compendium</artifactId>
675 <version>${osgi.core.version}</version>
676 <scope>provided</scope>
679 <groupId>org.osgi</groupId>
680 <artifactId>org.osgi.core</artifactId>
681 <version>${osgi.core.version}</version>
682 <scope>provided</scope>
685 <groupId>org.osgi</groupId>
686 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
687 <artifactId>org.osgi.service.event</artifactId>
688 <version>1.3.1</version>
691 <groupId>org.apache.aries.quiesce</groupId>
692 <artifactId>org.apache.aries.quiesce.api</artifactId>
693 <version>1.0.0</version>
696 <groupId>org.ow2.asm</groupId>
697 <artifactId>asm-all</artifactId>
698 <version>5.1</version>
701 <!-- Configuration library -->
702 <!-- This needs to be kept in sync with the version used by akka -->
704 <groupId>com.typesafe</groupId>
705 <artifactId>config</artifactId>
706 <version>1.3.2</version>
709 <!-- Reactive Streams, used by Akka -->
711 <groupId>org.reactivestreams</groupId>
712 <artifactId>reactive-streams</artifactId>
713 <version>1.0.1</version>
718 <groupId>com.typesafe</groupId>
719 <artifactId>ssl-config-core_2.12</artifactId>
720 <version>0.2.2</version>
723 <groupId>com.typesafe.akka</groupId>
724 <artifactId>akka-actor_2.12</artifactId>
725 <version>${akka.version}</version>
728 <groupId>com.typesafe.akka</groupId>
729 <artifactId>akka-cluster_2.12</artifactId>
730 <version>${akka.version}</version>
733 <groupId>com.typesafe.akka</groupId>
734 <artifactId>akka-osgi_2.12</artifactId>
735 <version>${akka.version}</version>
738 <groupId>com.typesafe.akka</groupId>
739 <artifactId>akka-persistence_2.12</artifactId>
740 <version>${akka.version}</version>
743 <groupId>com.typesafe.akka</groupId>
744 <artifactId>akka-persistence-tck_2.12</artifactId>
745 <version>${akka.version}</version>
749 <groupId>com.typesafe.akka</groupId>
750 <artifactId>akka-protobuf_2.12</artifactId>
751 <version>${akka.version}</version>
754 <groupId>com.typesafe.akka</groupId>
755 <artifactId>akka-remote_2.12</artifactId>
756 <version>${akka.version}</version>
759 <groupId>com.typesafe.akka</groupId>
760 <artifactId>akka-slf4j_2.12</artifactId>
761 <version>${akka.version}</version>
764 <groupId>com.typesafe.akka</groupId>
765 <artifactId>akka-stream_2.12</artifactId>
766 <version>${akka.version}</version>
769 <groupId>com.typesafe.akka</groupId>
770 <artifactId>akka-testkit_2.12</artifactId>
771 <version>${akka.version}</version>
775 <groupId>org.scala-lang.modules</groupId>
776 <artifactId>scala-java8-compat_2.12</artifactId>
777 <version>0.8.0</version>
780 <groupId>org.scala-lang.modules</groupId>
781 <artifactId>scala-parser-combinators_2.12</artifactId>
782 <version>1.0.6</version>
785 <groupId>org.iq80.leveldb</groupId>
786 <artifactId>leveldb</artifactId>
787 <version>${leveldb.version}</version>
790 <groupId>org.fusesource.leveldbjni</groupId>
791 <artifactId>leveldbjni-all</artifactId>
792 <version>1.8-odl</version>
795 <groupId>org.uncommons.maths</groupId>
796 <artifactId>uncommons-maths</artifactId>
797 <version>1.2.2a</version>
800 <groupId>com.google.protobuf</groupId>
801 <artifactId>protobuf-java</artifactId>
802 <version>2.5.0</version>
805 <!-- Aeron, required by Akka -->
807 <groupId>org.agrona</groupId>
808 <artifactId>agrona</artifactId>
809 <version>0.9.12</version>
812 <groupId>io.aeron</groupId>
813 <artifactId>aeron-client</artifactId>
814 <version>1.7.0</version>
817 <groupId>io.aeron</groupId>
818 <artifactId>aeron-driver</artifactId>
819 <version>1.7.0</version>
824 <groupId>org.scala-lang</groupId>
825 <artifactId>scala-library</artifactId>
826 <version>2.12.4</version>
829 <groupId>org.scala-lang</groupId>
830 <artifactId>scala-reflect</artifactId>
831 <version>2.12.4</version>
834 <!-- LMAX Disruptor -->
836 <groupId>com.lmax</groupId>
837 <artifactId>disruptor</artifactId>
838 <version>3.3.7</version>
841 <!-- Add Pax Exam -->
843 <groupId>org.ops4j.pax.exam</groupId>
844 <artifactId>pax-exam</artifactId>
845 <version>${exam.version}</version>
849 <groupId>org.ops4j.pax.exam</groupId>
850 <artifactId>pax-exam-container-forked</artifactId>
851 <version>${exam.version}</version>
855 <groupId>org.ops4j.pax.exam</groupId>
856 <artifactId>pax-exam-container-karaf</artifactId>
857 <version>${exam.version}</version>
861 <groupId>org.ops4j.pax.exam</groupId>
862 <artifactId>pax-exam-container-native</artifactId>
863 <version>${exam.version}</version>
867 <groupId>org.ops4j.pax.exam</groupId>
868 <artifactId>pax-exam-extender-service</artifactId>
869 <version>${exam.version}</version>
873 <groupId>org.ops4j.pax.exam</groupId>
874 <artifactId>pax-exam-inject</artifactId>
875 <version>${exam.version}</version>
879 <groupId>org.ops4j.pax.exam</groupId>
880 <artifactId>pax-exam-invoker-junit</artifactId>
881 <version>${exam.version}</version>
885 <groupId>org.ops4j.pax.exam</groupId>
886 <artifactId>pax-exam-features</artifactId>
887 <version>${exam.version}</version>
892 <groupId>org.ops4j.pax.exam</groupId>
893 <artifactId>pax-exam-junit4</artifactId>
894 <version>${exam.version}</version>
898 <groupId>org.ops4j.pax.exam</groupId>
899 <artifactId>pax-exam-link-mvn</artifactId>
900 <version>${exam.version}</version>
904 <groupId>org.ops4j.pax.exam</groupId>
905 <artifactId>pax-exam-link-assembly</artifactId>
906 <version>${exam.version}</version>
911 <groupId>org.ops4j.pax.url</groupId>
912 <artifactId>pax-url-link</artifactId>
913 <version>2.5.3</version>
917 <groupId>org.ops4j.pax.url</groupId>
918 <artifactId>pax-url-aether</artifactId>
919 <version>2.5.3</version>
923 <groupId>org.ops4j.pax.url</groupId>
924 <artifactId>pax-url-wrap</artifactId>
925 <version>2.5.3</version>
929 <groupId>org.springframework.osgi</groupId>
930 <artifactId>spring-osgi-mock</artifactId>
931 <version>1.2.1</version>
935 <groupId>xmlunit</groupId>
936 <artifactId>xmlunit</artifactId>
937 <version>1.6</version>
942 <groupId>org.eclipse.jetty</groupId>
943 <artifactId>jetty-client</artifactId>
944 <version>9.3.21.v20170918</version>
947 <groupId>org.eclipse.jetty</groupId>
948 <artifactId>jetty-server</artifactId>
949 <version>9.3.21.v20170918</version>
952 <groupId>org.eclipse.jetty</groupId>
953 <artifactId>jetty-servlets</artifactId>
954 <version>9.3.21.v20170918</version>
957 <groupId>org.eclipse.jetty</groupId>
958 <artifactId>jetty-webapp</artifactId>
959 <version>9.3.21.v20170918</version>
963 <groupId>com.h2database</groupId>
964 <artifactId>h2</artifactId>
965 <version>1.4.196</version>
968 <!-- Xtend http://xtend-lang.org
969 NOTE: When you increase the version here,
970 then remember to also increase it for the
971 xtend-maven-plugin below! (We don't want to
972 use a Maven property, in order not to "leak" that.)
975 <groupId>org.eclipse.xtend</groupId>
976 <artifactId>org.eclipse.xtend.lib</artifactId>
977 <version>2.13.0</version>
980 <groupId>org.eclipse.xtend</groupId>
981 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
982 <version>2.13.0</version>
985 <groupId>org.eclipse.xtext</groupId>
986 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
987 <version>2.13.0</version>
992 <groupId>javax.inject</groupId>
993 <artifactId>javax.inject</artifactId>
995 <optional>true</optional>
998 <groupId>org.ops4j.pax.cdi</groupId>
999 <artifactId>pax-cdi-api</artifactId>
1000 <version>1.0.0.RC2</version>
1001 <optional>true</optional>
1006 <groupId>com.datastax.cassandra</groupId>
1007 <artifactId>cassandra-driver-core</artifactId>
1008 <version>2.1.9</version>
1011 <!-- jung, a graph library -->
1013 <groupId>net.sf.jung</groupId>
1014 <artifactId>jung-api</artifactId>
1015 <version>2.1.1</version>
1018 <groupId>net.sf.jung</groupId>
1019 <artifactId>jung-algorithms</artifactId>
1020 <version>2.1.1</version>
1023 <groupId>net.sf.jung</groupId>
1024 <artifactId>jung-graph-impl</artifactId>
1025 <version>2.1.1</version>
1028 <!-- Karaf console support -->
1030 <groupId>org.apache.karaf.shell</groupId>
1031 <artifactId>org.apache.karaf.shell.core</artifactId>
1032 <version>${karaf.version}</version>
1035 <groupId>org.apache.karaf.shell</groupId>
1036 <artifactId>org.apache.karaf.shell.console</artifactId>
1037 <version>${karaf.version}</version>
1040 <!-- ThreeTen-Extra, date/time complements -->
1042 <groupId>org.threeten</groupId>
1043 <artifactId>threeten-extra</artifactId>
1044 <version>1.3.2</version>
1047 <!-- When updating this version, consider antl4-maven-plugin below -->
1049 <groupId>org.antlr</groupId>
1050 <artifactId>antlr4-runtime</artifactId>
1051 <version>4.7.1</version>
1053 <!-- Aries' Blueprint version should be kept in sync to the version actually
1054 used by our ${karaf[4].version} ... please bump this when increasing that.
1055 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1057 <groupId>org.apache.aries.blueprint</groupId>
1058 <artifactId>org.apache.aries.blueprint.core</artifactId>
1059 <version>1.7.1</version>
1063 </dependencyManagement>
1066 <!-- Karaf provides SL4FJ encapsulation -->
1068 <groupId>org.slf4j</groupId>
1069 <artifactId>slf4j-api</artifactId>
1070 <scope>provided</scope>
1074 <groupId>org.slf4j</groupId>
1075 <artifactId>slf4j-simple</artifactId>
1079 <!-- Enable useful code quality annotations everywhere -->
1081 <groupId>com.google.code.findbugs</groupId>
1082 <artifactId>annotations</artifactId>
1083 <scope>provided</scope>
1086 <groupId>org.eclipse.jdt</groupId>
1087 <artifactId>org.eclipse.jdt.annotation</artifactId>
1088 <scope>provided</scope>
1095 <!-- Official maven plugins, alpha-sorted by artifactId.
1096 We do not need to specify the groupId. -->
1098 <artifactId>maven-antrun-plugin</artifactId>
1099 <version>1.8</version>
1102 <artifactId>maven-checkstyle-plugin</artifactId>
1103 <version>${checkstyle.version}</version>
1106 <groupId>com.puppycrawl.tools</groupId>
1107 <artifactId>checkstyle</artifactId>
1108 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1109 <version>8.4</version>
1112 <groupId>org.opendaylight.odlparent</groupId>
1113 <artifactId>checkstyle</artifactId>
1114 <version>4.0.0-SNAPSHOT</version>
1117 <groupId>org.opendaylight.odlparent</groupId>
1118 <artifactId>odl-license</artifactId>
1119 <version>4.0.0-SNAPSHOT</version>
1122 <groupId>com.github.sevntu-checkstyle</groupId>
1123 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1124 <version>1.24.2</version>
1128 <configLocation>odl_checks.xml</configLocation>
1129 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1130 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1131 generated sources directory -->
1132 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1133 <includeResources>true</includeResources>
1134 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1135 <includeTestResources>true</includeTestResources>
1136 <includes>**\/*.java, **\/*.xtend</includes>
1138 org/opendaylight/yang/gen/**,
1139 **/protobuff/messages/**,
1140 **/thrift/gen/*.java
1142 <failsOnError>false</failsOnError>
1143 <consoleOutput>true</consoleOutput>
1147 <id>check-license</id>
1151 <phase>process-sources</phase>
1153 <configLocation>check-license.xml</configLocation>
1154 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1155 <includeResources>false</includeResources>
1156 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1157 <includeTestResources>false</includeTestResources>
1158 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1160 org/opendaylight/yang/gen/**,
1161 **/protobuff/messages/**,
1162 **/thrift/gen/*.java
1164 <failsOnError>false</failsOnError>
1165 <consoleOutput>true</consoleOutput>
1172 <phase>process-sources</phase>
1177 <groupId>org.apache.maven.plugins</groupId>
1178 <artifactId>maven-pmd-plugin</artifactId>
1179 <version>3.8</version>
1183 <phase>process-sources</phase>
1185 <goal>cpd-check</goal>
1188 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1189 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1190 <minimumTokens>101</minimumTokens>
1191 <printFailingErrors>true</printFailingErrors>
1193 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1194 not understand path prefixes nor wildcards. Details are available
1195 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1196 Hence people introducing new generated sources have to include
1199 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1200 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1202 <linkXRef>false</linkXRef>
1208 <artifactId>maven-compiler-plugin</artifactId>
1209 <version>${maven.compile.plugin.version}</version>
1211 <source>1.8</source>
1212 <target>1.8</target>
1213 <showWarnings>true</showWarnings>
1215 <arg>-parameters</arg>
1216 <arg>-Xlint:deprecation</arg>
1221 <artifactId>maven-enforcer-plugin</artifactId>
1222 <version>${enforcer.version}</version>
1225 <artifactId>maven-failsafe-plugin</artifactId>
1226 <version>${failsafe.version}</version>
1229 <artifactId>maven-invoker-plugin</artifactId>
1230 <version>2.0.0</version>
1233 <artifactId>maven-jar-plugin</artifactId>
1234 <version>3.0.2</version>
1237 <artifactId>maven-dependency-plugin</artifactId>
1240 <id>unpack-license</id>
1241 <phase>generate-resources</phase>
1242 <goals><goal>unpack</goal></goals>
1246 <groupId>org.opendaylight.odlparent</groupId>
1247 <artifactId>odl-license</artifactId>
1248 <version>4.0.0-SNAPSHOT</version>
1251 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1252 <excludes>META-INF/**</excludes>
1259 <artifactId>maven-plugin-plugin</artifactId>
1260 <version>${maven.plugin.version}</version>
1264 <artifactId>maven-remote-resources-plugin</artifactId>
1265 <version>1.5</version>
1268 <artifactId>maven-resources-plugin</artifactId>
1269 <version>3.0.1</version>
1272 <artifactId>maven-shade-plugin</artifactId>
1273 <version>3.1.0</version>
1276 <artifactId>maven-source-plugin</artifactId>
1277 <version>3.0.1</version>
1280 <id>attach-sources</id>
1281 <phase>verify</phase>
1283 <goal>jar-no-fork</goal>
1289 <artifactId>maven-surefire-plugin</artifactId>
1290 <version>${maven.surefire.version}</version>
1292 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1293 <trimStackTrace>false</trimStackTrace>
1297 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1299 <!-- Support Blueprint XML construction using annotations -->
1300 <groupId>org.apache.aries.blueprint</groupId>
1301 <artifactId>blueprint-maven-plugin</artifactId>
1302 <version>1.4.0</version>
1305 <scanPath>org.opendaylight</scanPath>
1310 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1311 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1312 <groupId>org.apache.xbean</groupId>
1313 <artifactId>xbean-finder-shaded</artifactId>
1314 <version>4.5</version>
1320 <goal>blueprint-generate</goal>
1327 <groupId>org.apache.felix</groupId>
1328 <artifactId>maven-bundle-plugin</artifactId>
1329 <version>${maven.bundle.version}</version>
1330 <extensions>true</extensions>
1333 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1334 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1335 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1336 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1342 <groupId>org.apache.karaf.tooling</groupId>
1343 <artifactId>karaf-maven-plugin</artifactId>
1344 <version>${karaf.version}</version>
1348 <groupId>org.apache.servicemix.tooling</groupId>
1349 <artifactId>depends-maven-plugin</artifactId>
1350 <version>1.4.0</version>
1353 <id>generate-depends-file</id>
1355 <goal>generate-depends-file</goal>
1362 <groupId>org.codehaus.enunciate</groupId>
1363 <artifactId>maven-enunciate-plugin</artifactId>
1364 <version>${enunciate.version}</version>
1367 <groupId>org.codehaus.groovy.maven</groupId>
1368 <artifactId>gmaven-plugin</artifactId>
1369 <version>1.0</version>
1372 <groupId>org.codehaus.mojo</groupId>
1373 <artifactId>build-helper-maven-plugin</artifactId>
1374 <version>1.12</version>
1377 <groupId>org.codehaus.mojo</groupId>
1378 <artifactId>findbugs-maven-plugin</artifactId>
1379 <version>3.0.5</version>
1382 <groupId>org.opendaylight.odlparent</groupId>
1383 <artifactId>findbugs</artifactId>
1384 <version>4.0.0-SNAPSHOT</version>
1390 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1391 <artifactId>bug-pattern</artifactId>
1392 <!-- NOTE: This version MUST be kept in sync with the same version in the new spotbugs-maven-plugin below -->
1393 <version>1.4.0</version>
1397 Enables analysis which takes more memory but finds more bugs.
1398 If you run out of memory, changes the value of the effort element
1401 <effort>Max</effort>
1402 <!-- Reports all bugs (other values are medium and max) -->
1403 <threshold>Low</threshold>
1404 <!-- Build doesn't fail if problems are found -->
1405 <failOnError>false</failOnError>
1406 <!-- References the excluded rules -->
1407 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1408 <!-- Produces XML report -->
1409 <xmlOutput>true</xmlOutput>
1410 <!-- Configures the directory in which the XML report is created -->
1411 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1415 Ensures that FindBugs inspects source code when project is compiled.
1418 <id>analyze-compile</id>
1419 <phase>compile</phase>
1427 <groupId>com.github.spotbugs</groupId>
1428 <artifactId>spotbugs-maven-plugin</artifactId>
1429 <version>3.1.1</version>
1432 <groupId>com.github.spotbugs</groupId>
1433 <artifactId>spotbugs</artifactId>
1434 <version>3.1.1</version>
1437 <groupId>org.opendaylight.odlparent</groupId>
1438 <artifactId>findbugs</artifactId>
1439 <version>4.0.0-SNAPSHOT</version>
1445 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1446 <artifactId>bug-pattern</artifactId>
1447 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above -->
1448 <version>1.4.0</version>
1452 Enables analysis which takes more memory but finds more bugs.
1453 If you run out of memory, changes the value of the effort element
1456 <effort>Max</effort>
1457 <!-- Reports all bugs (other values are medium and max) -->
1458 <threshold>Low</threshold>
1459 <!-- Build doesn't fail if problems are found -->
1460 <failOnError>false</failOnError>
1461 <!-- References the excluded rules -->
1462 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1463 <!-- Produces XML report -->
1464 <xmlOutput>true</xmlOutput>
1465 <!-- Configures the directory in which the XML report is created -->
1466 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1470 Ensures that SpotBugs inspects source code when project is compiled.
1473 <id>analyze-compile</id>
1474 <phase>compile</phase>
1482 <groupId>org.codehaus.mojo</groupId>
1483 <artifactId>properties-maven-plugin</artifactId>
1484 <version>${propertymavenplugin.version}</version>
1487 <groupId>org.eclipse.xtend</groupId>
1488 <artifactId>xtend-maven-plugin</artifactId>
1489 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1490 <version>2.13.0</version>
1494 <goal>compile</goal>
1495 <goal>testCompile</goal>
1498 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1499 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1505 <groupId>org.eclipse.m2e</groupId>
1506 <artifactId>lifecycle-mapping</artifactId>
1507 <version>1.0.0</version>
1509 <lifecycleMappingMetadata>
1512 <pluginExecutionFilter>
1513 <groupId>org.apache.felix</groupId>
1514 <artifactId>maven-bundle-plugin</artifactId>
1515 <versionRange>[1.0,)</versionRange>
1517 <goal>manifest</goal>
1519 </pluginExecutionFilter>
1525 <pluginExecutionFilter>
1526 <groupId>org.apache.maven.plugins</groupId>
1527 <artifactId>maven-enforcer-plugin</artifactId>
1528 <versionRange>[1.0.0,)</versionRange>
1530 <goal>enforce</goal>
1532 </pluginExecutionFilter>
1538 <pluginExecutionFilter>
1539 <groupId>org.apache.maven.plugins</groupId>
1540 <artifactId>maven-dependency-plugin</artifactId>
1541 <versionRange>[2.10,)</versionRange>
1545 </pluginExecutionFilter>
1551 <pluginExecutionFilter>
1552 <groupId>org.apache.maven.plugins</groupId>
1553 <artifactId>maven-pmd-plugin</artifactId>
1554 <versionRange>[3.6,)</versionRange>
1556 <goal>cpd-check</goal>
1558 </pluginExecutionFilter>
1563 <!-- The plugin will eventually be removed, remove this too at that point -->
1565 <pluginExecutionFilter>
1566 <groupId>org.apache.maven.plugins</groupId>
1567 <artifactId>maven-antrun-plugin</artifactId>
1568 <versionRange>[1.8,)</versionRange>
1572 </pluginExecutionFilter>
1578 <pluginExecutionFilter>
1579 <groupId>org.apache.servicemix.tooling</groupId>
1580 <artifactId>depends-maven-plugin</artifactId>
1581 <versionRange>[1.2,)</versionRange>
1583 <goal>generate-depends-file</goal>
1585 </pluginExecutionFilter>
1591 <pluginExecutionFilter>
1592 <groupId>org.jacoco</groupId>
1593 <artifactId>jacoco-maven-plugin</artifactId>
1594 <versionRange>[0.7.0,)</versionRange>
1596 <goal>prepare-agent</goal>
1599 </pluginExecutionFilter>
1606 <pluginExecutionFilter>
1607 <groupId>org.ops4j.pax.exam</groupId>
1608 <artifactId>maven-paxexam-plugin</artifactId>
1609 <versionRange>[1.2.4,)</versionRange>
1611 <goal>generate-depends-file</goal>
1613 </pluginExecutionFilter>
1620 <pluginExecutionFilter>
1621 <groupId>org.basepom.maven</groupId>
1623 duplicate-finder-maven-plugin
1625 <versionRange>[1.2.1,)</versionRange>
1629 </pluginExecutionFilter>
1635 </lifecycleMappingMetadata>
1640 <groupId>org.jacoco</groupId>
1641 <artifactId>jacoco-maven-plugin</artifactId>
1642 <version>${jacoco.version}</version>
1644 <!-- Note: This exclusion list should match <sonar.exclusions>
1647 <exclude>**/gen/**</exclude>
1648 <exclude>**/generated-sources/**</exclude>
1649 <exclude>**/generated-test-sources/**</exclude>
1650 <exclude>**/yang-gen/**</exclude>
1651 <exclude>**/yang-gen-config/**</exclude>
1652 <exclude>**/yang-gen-sal/**</exclude>
1653 <exclude>**/yang-gen-code/**</exclude>
1654 <exclude>**/pax/**</exclude>
1660 <groupId>org.ops4j.pax.exam</groupId>
1661 <artifactId>maven-paxexam-plugin</artifactId>
1662 <version>1.2.4</version>
1666 <groupId>org.codehaus.mojo</groupId>
1667 <artifactId>jdepend-maven-plugin</artifactId>
1668 <version>2.0</version>
1673 <goal>generate-no-fork</goal>
1679 <!-- When updating this version, consider antl4-runtime above -->
1681 <groupId>org.antlr</groupId>
1682 <artifactId>antlr4-maven-plugin</artifactId>
1683 <version>4.7.1</version>
1690 <artifactId>maven-enforcer-plugin</artifactId>
1693 <id>enforce-banned-dependencies</id>
1695 <goal>enforce</goal>
1699 <bannedDependencies>
1700 <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>
1702 <exclude>org.mockito:mockito-all</exclude>
1703 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1704 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1705 <!-- as a dependency then clashes with the dependency checker (because it -->
1706 <!-- is not very good at handling annotations). Use the annotations jar -->
1707 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1709 <exclude>com.google.code.findbugs:jsr305</exclude>
1710 <exclude>net.jcip:jcip-annotations</exclude>
1712 </bannedDependencies>
1720 <groupId>org.basepom.maven</groupId>
1721 <artifactId>duplicate-finder-maven-plugin</artifactId>
1722 <version>1.2.1</version>
1725 <id>find-duplicate-classpath-entries</id>
1726 <phase>verify</phase>
1733 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1734 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1735 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1736 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1737 <printEqualFiles>false</printEqualFiles>
1739 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1740 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1741 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1743 <ignoredResourcePatterns>
1744 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1745 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1746 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1747 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1748 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1749 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1750 </ignoredResourcePatterns>
1751 <ignoredDependencies>
1753 <groupId>org.slf4j</groupId>
1754 <artifactId>slf4j-simple</artifactId>
1755 </ignoredDependency>
1757 <groupId>org.opendaylight.odlparent</groupId>
1758 <artifactId>opendaylight-karaf-empty</artifactId>
1759 </ignoredDependency>
1760 </ignoredDependencies>
1764 <artifactId>maven-dependency-plugin</artifactId>
1767 <artifactId>maven-checkstyle-plugin</artifactId>
1770 <artifactId>maven-pmd-plugin</artifactId>
1773 <artifactId>maven-source-plugin</artifactId>
1776 <artifactId>maven-javadoc-plugin</artifactId>
1779 <!-- Jacoco / Sonar -->
1781 <groupId>org.jacoco</groupId>
1782 <artifactId>jacoco-maven-plugin</artifactId>
1785 <id>pre-unit-test</id>
1787 <goal>prepare-agent</goal>
1790 <destFile>${sonar.jacoco.reportPath}</destFile>
1794 <id>post-unit-test</id>
1799 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1806 <groupId>com.alexecollins.maven.plugin</groupId>
1807 <artifactId>script-maven-plugin</artifactId>
1808 <version>1.0.0</version>
1811 <phase>prepare-package</phase>
1813 <goal>execute</goal>
1817 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1818 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1819 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1820 // static class methods only - it will be MUCH easier to write!)
1821 void copy(File root, String glob, File target) {
1822 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1823 Iterator dirStreamIterator = dirStream.iterator();
1824 while (dirStreamIterator.hasNext()) {
1825 java.nio.file.Path path = dirStreamIterator.next();
1826 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1827 new java.nio.file.CopyOption[] {
1828 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1829 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1836 File gitRepoRootDir = project.basedir;
1837 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1838 gitRepoRootDir = gitRepoRootDir.getParentFile();
1841 File target = new File(project.build.outputDirectory);
1843 copy(gitRepoRootDir, "README*", target);
1844 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1845 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1852 <groupId>org.apache-extras.beanshell</groupId>
1853 <artifactId>bsh</artifactId>
1854 <version>2.0b6</version>
1859 <!-- Blueprint dependency injection -->
1860 <!-- Remove when upgrading to plugin 1.5.0, and use
1861 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
1862 See https://issues.apache.org/jira/browse/ARIES-1597
1863 BUT beware that the directory is now conditional... -->
1865 <artifactId>maven-antrun-plugin</artifactId>
1867 <!-- This should only run once, in the process-classes phase; but we need it to run after
1868 process-classes in child projects. Attaching to process-test-classes and prepare-package
1869 ensures that the file will be moved whether tests are skipped or not. -->
1871 <id>move-autowire-test</id>
1872 <phase>process-test-classes</phase>
1878 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1880 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1882 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1883 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1884 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1885 failonerror="false" quiet="true" />
1888 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1895 <id>move-autowire-package</id>
1896 <phase>prepare-package</phase>
1902 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1904 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1906 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1907 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1908 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1909 failonerror="false" quiet="true" />
1912 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1921 <groupId>ant-contrib</groupId>
1922 <artifactId>ant-contrib</artifactId>
1923 <version>1.0b3</version>
1926 <groupId>ant</groupId>
1927 <artifactId>ant</artifactId>
1932 <groupId>org.apache.ant</groupId>
1933 <artifactId>ant-nodeps</artifactId>
1934 <version>1.8.1</version>
1944 <artifactId>maven-checkstyle-plugin</artifactId>
1945 <version>${checkstyle.version}</version>
1948 <!-- FIXME: activate this
1950 <artifactId>maven-project-info-reports-plugin</artifactId>
1951 <version>${projectinfo}</version>
1954 <groupId>org.codehaus.mojo</groupId>
1955 <artifactId>jdepend-maven-plugin</artifactId>
1959 <report>generate-no-fork</report>
1968 Maven Site Configuration
1970 The following configuration is necessary for maven-site-plugin to
1971 correctly identify the correct deployment path for OpenDaylight Maven
1974 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1976 <distributionManagement>
1978 <id>opendaylight-site</id>
1979 <url>${nexus.site.url}/${project.artifactId}/</url>
1981 </distributionManagement>