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 <!-- Used in controller, packetcable -->
69 <odl.checkstyle.version>3.0.0-SNAPSHOT</odl.checkstyle.version>
70 <!-- Used in snmp4sdn; see also toolkit -->
71 <compiler.version>${maven.compile.plugin.version}</compiler.version>
72 <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
73 <enforcer.version>3.0.0-M1</enforcer.version>
74 <!-- Used in affinity, controller, nemo, opendove, snmp4sdn -->
75 <enunciate.version>1.31</enunciate.version>
76 <!-- Used in affinity, coretutorials, netide -->
77 <exam.version>4.11.0</exam.version>
78 <!-- Used in affinity, controller, neutron, of-config; see also snmp4sdn -->
79 <failsafe.version>2.20.1</failsafe.version>
80 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
81 <jacoco.version>0.7.9</jacoco.version>
82 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
83 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
84 <karaf.version>4.1.5</karaf.version>
85 <karaf.plugin.version>4.1.5</karaf.plugin.version>
86 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
87 <projectinfo>2.8.1</projectinfo>
88 <!-- Used in of-config; see also snmp4sdn -->
89 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
90 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
91 <releaseplugin.version>2.5.3</releaseplugin.version>
93 <!-- Supporting Libraries -->
94 <!-- Used by controller -->
95 <bouncycastle.version>1.59</bouncycastle.version>
97 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
98 <osgi.core.version>5.0.0</osgi.core.version>
100 <akka.version>2.5.9</akka.version>
101 <leveldb.version>0.7</leveldb.version>
103 <!-- Default Sonar configuration -->
104 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
105 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
106 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
107 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
108 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
109 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
111 <!-- Opt-in code quality checks -->
112 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
113 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
116 <dependencyManagement>
120 <groupId>org.opendaylight.odlparent</groupId>
121 <artifactId>odlparent-artifacts</artifactId>
122 <version>4.0.0-SNAPSHOT</version>
123 <scope>import</scope>
127 <!-- Build tool dependencies (normally not here in <dependencies>,
128 but in a <dependency> in <pluginManagement> but for Checkstyle this
129 is required so that we can share the same version of Checkstyle
130 for both the Maven plugin below as well as for custom Checkstyle
131 check rule projects, such as yangtools' checkstyle-logging) -->
133 <groupId>com.puppycrawl.tools</groupId>
134 <artifactId>checkstyle</artifactId>
135 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
136 <version>8.4</version>
139 <!-- Testing Dependencies -->
140 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
141 <!-- Need to stick to JUnit 4.11 until
142 https://github.com/jayway/powermock/issues/560 is fixed (either in
143 PowerMock or with a new JUnit release) -->
145 <groupId>junit</groupId>
146 <artifactId>junit</artifactId>
147 <version>4.11</version>
151 <groupId>junit</groupId>
152 <artifactId>junit-dep</artifactId>
153 <version>4.11</version>
157 <groupId>org.skyscreamer</groupId>
158 <artifactId>jsonassert</artifactId>
159 <version>1.5.0</version>
163 <groupId>org.mockito</groupId>
164 <artifactId>mockito-core</artifactId>
165 <version>1.10.19</version>
169 <groupId>org.hamcrest</groupId>
170 <artifactId>hamcrest-core</artifactId>
171 <version>1.3</version>
175 <groupId>org.hamcrest</groupId>
176 <artifactId>hamcrest-library</artifactId>
177 <version>1.3</version>
181 <groupId>com.google.truth</groupId>
182 <artifactId>truth</artifactId>
183 <version>0.36</version>
187 <groupId>com.google.truth.extensions</groupId>
188 <artifactId>truth-java8-extension</artifactId>
189 <version>0.36</version>
193 <groupId>org.awaitility</groupId>
194 <artifactId>awaitility</artifactId>
195 <version>3.0.0</version>
199 <groupId>org.awaitility</groupId>
200 <artifactId>awaitility-proxy</artifactId>
201 <version>3.0.0</version>
205 <groupId>org.powermock</groupId>
206 <artifactId>powermock-api-mockito</artifactId>
207 <version>1.6.4</version>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-api-support</artifactId>
213 <version>1.6.4</version>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-core</artifactId>
219 <version>1.6.4</version>
223 <groupId>org.powermock</groupId>
224 <artifactId>powermock-module-junit4</artifactId>
225 <version>1.6.4</version>
229 <groupId>org.powermock</groupId>
230 <artifactId>powermock-reflect</artifactId>
231 <version>1.6.4</version>
236 Annotation Processors
239 <!-- Generates immutable implementations, builders, the works -->
240 <groupId>org.immutables</groupId>
241 <artifactId>value</artifactId>
242 <version>2.5.6</version>
243 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
244 <scope>provided</scope>
247 <!-- Generates META-INF/services entries for ServiceLoader -->
248 <groupId>org.kohsuke.metainf-services</groupId>
249 <artifactId>metainf-services</artifactId>
250 <version>1.7</version>
251 <optional>true</optional>
252 <scope>provided</scope>
259 <groupId>org.slf4j</groupId>
260 <artifactId>jcl-over-slf4j</artifactId>
261 <version>1.7.25</version>
264 <groupId>org.slf4j</groupId>
265 <artifactId>slf4j-api</artifactId>
266 <version>1.7.25</version>
269 <groupId>org.slf4j</groupId>
270 <artifactId>slf4j-log4j12</artifactId>
271 <version>1.7.25</version>
274 <groupId>org.slf4j</groupId>
275 <artifactId>log4j-over-slf4j</artifactId>
276 <version>1.7.25</version>
279 <groupId>org.slf4j</groupId>
280 <artifactId>slf4j-simple</artifactId>
281 <version>1.7.25</version>
285 <groupId>ch.qos.logback</groupId>
286 <artifactId>logback-core</artifactId>
287 <version>1.2.3</version>
290 <groupId>ch.qos.logback</groupId>
291 <artifactId>logback-classic</artifactId>
292 <version>1.2.3</version>
295 <groupId>com.google.guava</groupId>
296 <artifactId>guava</artifactId>
297 <version>23.6-jre</version>
300 <groupId>com.google.code.findbugs</groupId>
301 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
302 <artifactId>jsr305</artifactId>
307 <groupId>com.google.guava</groupId>
308 <artifactId>guava-testlib</artifactId>
309 <version>23.6-jre</version>
313 <groupId>com.google.code.findbugs</groupId>
314 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
315 <artifactId>jsr305</artifactId>
320 <groupId>com.mycila.guice.extensions</groupId>
321 <artifactId>mycila-guice-jsr250</artifactId>
322 <!-- Make sure this version is in sync with the guice one below -->
323 <version>4.0.rc1</version>
326 <groupId>com.google.inject</groupId>
327 <artifactId>guice</artifactId>
328 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
329 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
330 <version>4.1.0</version>
333 <groupId>org.apache.commons</groupId>
334 <artifactId>commons-lang3</artifactId>
335 <version>3.7</version>
338 <groupId>org.apache.commons</groupId>
339 <artifactId>commons-text</artifactId>
340 <version>1.1</version>
343 <groupId>commons-lang</groupId>
344 <artifactId>commons-lang</artifactId>
345 <version>2.6</version>
348 <groupId>commons-codec</groupId>
349 <artifactId>commons-codec</artifactId>
350 <version>1.11</version>
352 <!-- Jersey for JAXRS -->
354 <groupId>javax.ws.rs</groupId>
355 <artifactId>javax.ws.rs-api</artifactId>
356 <version>2.0.1</version>
359 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
360 <artifactId>jersey-guava</artifactId>
361 <version>2.22.2</version>
364 <groupId>org.glassfish</groupId>
365 <artifactId>javax.json</artifactId>
366 <version>1.0.4</version>
369 <groupId>com.eclipsesource.jaxrs</groupId>
370 <artifactId>jersey-all</artifactId>
371 <version>2.22.2</version>
374 <!-- servlet 3.x support -->
376 <groupId>org.glassfish.jersey.containers</groupId>
377 <artifactId>jersey-container-servlet</artifactId>
378 <version>2.8</version>
381 <groupId>org.apache.geronimo.bundles</groupId>
382 <artifactId>json</artifactId>
383 <version>20090211_1</version>
385 <!-- FIXME : remove all dependencies for jersey 1.17 -->
387 <groupId>com.sun.jersey</groupId>
388 <artifactId>jersey-core</artifactId>
389 <version>1.19.4</version>
392 <groupId>com.sun.jersey</groupId>
393 <artifactId>jersey-json</artifactId>
394 <version>1.19.4</version>
397 <groupId>com.sun.jersey</groupId>
398 <artifactId>jersey-server</artifactId>
399 <version>1.19.4</version>
402 <groupId>com.sun.jersey</groupId>
403 <artifactId>jersey-servlet</artifactId>
404 <version>1.19.4</version>
407 <groupId>com.sun.jersey.jersey-test-framework</groupId>
408 <artifactId>jersey-test-framework-grizzly2</artifactId>
409 <version>1.19.4</version>
413 <groupId>com.sun.jersey.jersey-test-framework</groupId>
414 <artifactId>jersey-test-framework-inmemory</artifactId>
415 <version>1.19.4</version>
419 <groupId>com.sun.jersey</groupId>
420 <artifactId>jersey-client</artifactId>
421 <version>1.19.4</version>
424 <groupId>org.opendaylight.controller.thirdparty</groupId>
425 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
426 <version>1.17</version>
429 <groupId>org.apache.shiro</groupId>
430 <artifactId>shiro-core</artifactId>
431 <version>1.3.2</version>
434 <groupId>org.apache.shiro</groupId>
435 <artifactId>shiro-web</artifactId>
436 <version>1.3.2</version>
439 <!-- Plugin integration -->
441 <groupId>net.java.dev.stax-utils</groupId>
442 <artifactId>stax-utils</artifactId>
443 <version>20070216</version>
446 <groupId>org.sonatype.plexus</groupId>
447 <artifactId>plexus-build-api</artifactId>
448 <version>0.0.7</version>
451 <groupId>org.codehaus.plexus</groupId>
452 <artifactId>plexus-slf4j-logging</artifactId>
453 <version>1.1</version>
457 <groupId>org.codehaus.woodstox</groupId>
458 <artifactId>stax2-api</artifactId>
459 <!-- Needs to match jackson's idea of import -->
460 <version>3.1.4</version>
463 <groupId>com.fasterxml.jackson</groupId>
464 <artifactId>jackson-bom</artifactId>
465 <version>2.8.9</version>
466 <scope>import</scope>
470 <!-- TODO do we really need resteasy ? -->
472 <groupId>org.jboss.resteasy</groupId>
473 <artifactId>jaxrs-api</artifactId>
474 <version>3.0.12.Final</version>
478 <groupId>com.google.code.findbugs</groupId>
479 <artifactId>annotations</artifactId>
480 <version>3.0.0</version>
482 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
483 the types of this artifact are already shaded inside the :annotations artifact.
484 This state is a temporary solution to allow all projects to gradually switch over
485 switch their <dependency><groupId>com.google.code.findbugs from
486 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
487 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
490 <groupId>net.jcip</groupId>
491 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
492 <artifactId>jcip-annotations</artifactId>
497 <groupId>org.eclipse.jdt</groupId>
498 <artifactId>org.eclipse.jdt.annotation</artifactId>
499 <version>2.1.0</version>
500 <scope>provided</scope>
503 <groupId>com.google.code.gson</groupId>
504 <artifactId>gson</artifactId>
505 <version>2.8.2</version>
508 <groupId>commons-fileupload</groupId>
509 <artifactId>commons-fileupload</artifactId>
510 <version>1.3.3</version>
513 <groupId>commons-io</groupId>
514 <artifactId>commons-io</artifactId>
515 <version>2.6</version>
518 <groupId>commons-net</groupId>
519 <artifactId>commons-net</artifactId>
520 <version>3.6</version>
525 <groupId>io.netty</groupId>
526 <artifactId>netty-all</artifactId>
527 <!-- If these are updated, the version in features.xml needs to be changed too -->
528 <version>4.1.20.Final</version>
531 <groupId>io.netty</groupId>
532 <artifactId>netty-buffer</artifactId>
533 <version>4.1.20.Final</version>
536 <groupId>io.netty</groupId>
537 <artifactId>netty-codec</artifactId>
538 <version>4.1.20.Final</version>
541 <groupId>io.netty</groupId>
542 <artifactId>netty-codec-http</artifactId>
543 <version>4.1.20.Final</version>
546 <groupId>io.netty</groupId>
547 <artifactId>netty-common</artifactId>
548 <version>4.1.20.Final</version>
551 <groupId>io.netty</groupId>
552 <artifactId>netty-handler</artifactId>
553 <version>4.1.20.Final</version>
556 <groupId>io.netty</groupId>
557 <artifactId>netty-transport</artifactId>
558 <version>4.1.20.Final</version>
560 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
561 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
563 <groupId>io.netty</groupId>
564 <artifactId>netty-transport-native-epoll</artifactId>
565 <classifier>linux-x86_64</classifier>
566 <version>4.1.20.Final</version>
569 <groupId>javax.ws.rs</groupId>
570 <artifactId>jsr311-api</artifactId>
571 <version>1.1.1</version>
574 <groupId>javax.servlet</groupId>
575 <artifactId>javax.servlet-api</artifactId>
576 <version>3.1.0</version>
579 <groupId>org.apache.felix</groupId>
580 <artifactId>org.apache.felix.dependencymanager</artifactId>
581 <version>4.4.1</version>
584 <groupId>org.apache.felix</groupId>
585 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
586 <version>4.0.6</version>
589 <groupId>org.apache.felix</groupId>
590 <artifactId>org.apache.felix.metatype</artifactId>
591 <version>1.1.6</version>
594 <groupId>org.bouncycastle</groupId>
595 <artifactId>bcpkix-jdk15on</artifactId>
596 <version>${bouncycastle.version}</version>
599 <groupId>org.bouncycastle</groupId>
600 <artifactId>bcprov-jdk15on</artifactId>
601 <version>${bouncycastle.version}</version>
604 <groupId>org.bouncycastle</groupId>
605 <artifactId>bcprov-ext-jdk15on</artifactId>
606 <version>${bouncycastle.version}</version>
609 <groupId>org.codehaus.enunciate</groupId>
610 <artifactId>enunciate-core-annotations</artifactId>
611 <version>${enunciate.version}</version>
614 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
615 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
616 and @RunAs and @PermitAll & Co. which we do not require
617 (or at least not from jsr250-api via enunciate) -->
618 <groupId>javax.annotation</groupId>
619 <artifactId>jsr250-api</artifactId>
624 <groupId>com.webcohesion.enunciate</groupId>
625 <artifactId>enunciate-core-annotations</artifactId>
626 <version>2.10.1</version>
630 <groupId>javax.annotation</groupId>
631 <artifactId>jsr250-api</artifactId>
636 <groupId>org.codehaus.jettison</groupId>
637 <artifactId>jettison</artifactId>
638 <version>1.3.8</version>
640 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
641 pull in javax.validation first:
642 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
644 <groupId>org.eclipse.persistence</groupId>
645 <artifactId>org.eclipse.persistence.antlr</artifactId>
646 <version>2.6.2</version>
649 <groupId>org.eclipse.persistence</groupId>
650 <artifactId>org.eclipse.persistence.core</artifactId>
651 <version>2.6.2</version>
654 <groupId>org.eclipse.persistence</groupId>
655 <artifactId>org.eclipse.persistence.moxy</artifactId>
656 <version>2.6.2</version>
659 <groupId>javax.validation</groupId>
660 <artifactId>validation-api</artifactId>
661 <version>1.1.0.Final</version>
664 <groupId>org.javassist</groupId>
665 <artifactId>javassist</artifactId>
666 <version>3.21.0-GA</version>
669 <groupId>org.jboss.spec.javax.transaction</groupId>
670 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
671 <version>1.0.1.Final</version>
674 <groupId>org.jolokia</groupId>
675 <artifactId>jolokia-osgi</artifactId>
676 <version>1.5.0</version>
679 <groupId>org.json</groupId>
680 <artifactId>json</artifactId>
681 <version>20131018</version>
684 <groupId>org.osgi</groupId>
685 <artifactId>org.osgi.compendium</artifactId>
686 <version>${osgi.core.version}</version>
687 <scope>provided</scope>
690 <groupId>org.osgi</groupId>
691 <artifactId>org.osgi.core</artifactId>
692 <version>${osgi.core.version}</version>
693 <scope>provided</scope>
696 <groupId>org.osgi</groupId>
697 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
698 <artifactId>org.osgi.service.event</artifactId>
699 <version>1.3.1</version>
702 <groupId>org.apache.aries.quiesce</groupId>
703 <artifactId>org.apache.aries.quiesce.api</artifactId>
704 <version>1.0.0</version>
707 <groupId>org.ow2.asm</groupId>
708 <artifactId>asm-all</artifactId>
709 <version>5.1</version>
712 <!-- Configuration library -->
713 <!-- This needs to be kept in sync with the version used by akka -->
715 <groupId>com.typesafe</groupId>
716 <artifactId>config</artifactId>
717 <version>1.3.2</version>
720 <!-- Reactive Streams, used by Akka -->
722 <groupId>org.reactivestreams</groupId>
723 <artifactId>reactive-streams</artifactId>
724 <version>1.0.1</version>
729 <groupId>com.typesafe</groupId>
730 <artifactId>ssl-config-core_2.12</artifactId>
731 <version>0.2.2</version>
734 <groupId>com.typesafe.akka</groupId>
735 <artifactId>akka-actor_2.12</artifactId>
736 <version>${akka.version}</version>
739 <groupId>com.typesafe.akka</groupId>
740 <artifactId>akka-cluster_2.12</artifactId>
741 <version>${akka.version}</version>
744 <groupId>com.typesafe.akka</groupId>
745 <artifactId>akka-osgi_2.12</artifactId>
746 <version>${akka.version}</version>
749 <groupId>com.typesafe.akka</groupId>
750 <artifactId>akka-persistence_2.12</artifactId>
751 <version>${akka.version}</version>
754 <groupId>com.typesafe.akka</groupId>
755 <artifactId>akka-persistence-tck_2.12</artifactId>
756 <version>${akka.version}</version>
760 <groupId>com.typesafe.akka</groupId>
761 <artifactId>akka-protobuf_2.12</artifactId>
762 <version>${akka.version}</version>
765 <groupId>com.typesafe.akka</groupId>
766 <artifactId>akka-remote_2.12</artifactId>
767 <version>${akka.version}</version>
770 <groupId>com.typesafe.akka</groupId>
771 <artifactId>akka-slf4j_2.12</artifactId>
772 <version>${akka.version}</version>
775 <groupId>com.typesafe.akka</groupId>
776 <artifactId>akka-stream_2.12</artifactId>
777 <version>${akka.version}</version>
780 <groupId>com.typesafe.akka</groupId>
781 <artifactId>akka-testkit_2.12</artifactId>
782 <version>${akka.version}</version>
786 <groupId>org.scala-lang.modules</groupId>
787 <artifactId>scala-java8-compat_2.12</artifactId>
788 <version>0.8.0</version>
791 <groupId>org.scala-lang.modules</groupId>
792 <artifactId>scala-parser-combinators_2.12</artifactId>
793 <version>1.0.6</version>
796 <groupId>org.iq80.leveldb</groupId>
797 <artifactId>leveldb</artifactId>
798 <version>${leveldb.version}</version>
801 <groupId>org.fusesource.leveldbjni</groupId>
802 <artifactId>leveldbjni-all</artifactId>
803 <version>1.8-odl</version>
806 <groupId>org.uncommons.maths</groupId>
807 <artifactId>uncommons-maths</artifactId>
808 <version>1.2.2a</version>
811 <groupId>com.google.protobuf</groupId>
812 <artifactId>protobuf-java</artifactId>
813 <version>2.5.0</version>
816 <!-- Aeron, required by Akka -->
818 <groupId>org.agrona</groupId>
819 <artifactId>agrona</artifactId>
820 <version>0.9.12</version>
823 <groupId>io.aeron</groupId>
824 <artifactId>aeron-client</artifactId>
825 <version>1.7.0</version>
828 <groupId>io.aeron</groupId>
829 <artifactId>aeron-driver</artifactId>
830 <version>1.7.0</version>
835 <groupId>org.scala-lang</groupId>
836 <artifactId>scala-library</artifactId>
837 <version>2.12.4</version>
840 <groupId>org.scala-lang</groupId>
841 <artifactId>scala-reflect</artifactId>
842 <version>2.12.4</version>
845 <!-- LMAX Disruptor -->
847 <groupId>com.lmax</groupId>
848 <artifactId>disruptor</artifactId>
849 <version>3.3.7</version>
852 <!-- Add Pax Exam -->
854 <groupId>org.ops4j.pax.exam</groupId>
855 <artifactId>pax-exam</artifactId>
856 <version>${exam.version}</version>
860 <groupId>org.ops4j.pax.exam</groupId>
861 <artifactId>pax-exam-container-forked</artifactId>
862 <version>${exam.version}</version>
866 <groupId>org.ops4j.pax.exam</groupId>
867 <artifactId>pax-exam-container-karaf</artifactId>
868 <version>${exam.version}</version>
872 <groupId>org.ops4j.pax.exam</groupId>
873 <artifactId>pax-exam-container-native</artifactId>
874 <version>${exam.version}</version>
878 <groupId>org.ops4j.pax.exam</groupId>
879 <artifactId>pax-exam-extender-service</artifactId>
880 <version>${exam.version}</version>
884 <groupId>org.ops4j.pax.exam</groupId>
885 <artifactId>pax-exam-inject</artifactId>
886 <version>${exam.version}</version>
890 <groupId>org.ops4j.pax.exam</groupId>
891 <artifactId>pax-exam-invoker-junit</artifactId>
892 <version>${exam.version}</version>
896 <groupId>org.ops4j.pax.exam</groupId>
897 <artifactId>pax-exam-features</artifactId>
898 <version>${exam.version}</version>
903 <groupId>org.ops4j.pax.exam</groupId>
904 <artifactId>pax-exam-junit4</artifactId>
905 <version>${exam.version}</version>
909 <groupId>org.ops4j.pax.exam</groupId>
910 <artifactId>pax-exam-link-mvn</artifactId>
911 <version>${exam.version}</version>
915 <groupId>org.ops4j.pax.exam</groupId>
916 <artifactId>pax-exam-link-assembly</artifactId>
917 <version>${exam.version}</version>
922 <groupId>org.ops4j.pax.url</groupId>
923 <artifactId>pax-url-link</artifactId>
924 <version>2.5.3</version>
928 <groupId>org.ops4j.pax.url</groupId>
929 <artifactId>pax-url-aether</artifactId>
930 <version>2.5.3</version>
934 <groupId>org.ops4j.pax.url</groupId>
935 <artifactId>pax-url-wrap</artifactId>
936 <version>2.5.3</version>
940 <groupId>org.springframework.osgi</groupId>
941 <artifactId>spring-osgi-mock</artifactId>
942 <version>1.2.1</version>
946 <groupId>xmlunit</groupId>
947 <artifactId>xmlunit</artifactId>
948 <version>1.6</version>
953 <groupId>org.eclipse.jetty</groupId>
954 <artifactId>jetty-client</artifactId>
955 <version>9.3.21.v20170918</version>
958 <groupId>org.eclipse.jetty</groupId>
959 <artifactId>jetty-server</artifactId>
960 <version>9.3.21.v20170918</version>
963 <groupId>org.eclipse.jetty</groupId>
964 <artifactId>jetty-servlets</artifactId>
965 <version>9.3.21.v20170918</version>
968 <groupId>org.eclipse.jetty</groupId>
969 <artifactId>jetty-webapp</artifactId>
970 <version>9.3.21.v20170918</version>
974 <groupId>com.h2database</groupId>
975 <artifactId>h2</artifactId>
976 <version>1.4.196</version>
979 <!-- Xtend http://xtend-lang.org
980 NOTE: When you increase the version here,
981 then remember to also increase it for the
982 xtend-maven-plugin below! (We don't want to
983 use a Maven property, in order not to "leak" that.)
986 <groupId>org.eclipse.xtend</groupId>
987 <artifactId>org.eclipse.xtend.lib</artifactId>
988 <version>2.13.0</version>
991 <groupId>org.eclipse.xtend</groupId>
992 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
993 <version>2.13.0</version>
996 <groupId>org.eclipse.xtext</groupId>
997 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
998 <version>2.13.0</version>
1001 <!-- Annotations -->
1003 <groupId>javax.inject</groupId>
1004 <artifactId>javax.inject</artifactId>
1005 <version>1</version>
1006 <optional>true</optional>
1009 <groupId>org.ops4j.pax.cdi</groupId>
1010 <artifactId>pax-cdi-api</artifactId>
1011 <version>1.0.0.RC2</version>
1012 <optional>true</optional>
1017 <groupId>com.datastax.cassandra</groupId>
1018 <artifactId>cassandra-driver-core</artifactId>
1019 <version>2.1.9</version>
1022 <!-- jung, a graph library -->
1024 <groupId>net.sf.jung</groupId>
1025 <artifactId>jung-api</artifactId>
1026 <version>2.1.1</version>
1029 <groupId>net.sf.jung</groupId>
1030 <artifactId>jung-algorithms</artifactId>
1031 <version>2.1.1</version>
1034 <groupId>net.sf.jung</groupId>
1035 <artifactId>jung-graph-impl</artifactId>
1036 <version>2.1.1</version>
1039 <!-- Karaf console support -->
1041 <groupId>org.apache.karaf.shell</groupId>
1042 <artifactId>org.apache.karaf.shell.core</artifactId>
1043 <version>${karaf.version}</version>
1046 <groupId>org.apache.karaf.shell</groupId>
1047 <artifactId>org.apache.karaf.shell.console</artifactId>
1048 <version>${karaf.version}</version>
1051 <!-- ThreeTen-Extra, date/time complements -->
1053 <groupId>org.threeten</groupId>
1054 <artifactId>threeten-extra</artifactId>
1055 <version>1.3.2</version>
1058 <!-- When updating this version, consider antl4-maven-plugin below -->
1060 <groupId>org.antlr</groupId>
1061 <artifactId>antlr4-runtime</artifactId>
1062 <version>4.7.1</version>
1064 <!-- Aries' Blueprint version should be kept in sync to the version actually
1065 used by our ${karaf[4].version} ... please bump this when increasing that.
1066 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1068 <groupId>org.apache.aries.blueprint</groupId>
1069 <artifactId>org.apache.aries.blueprint.core</artifactId>
1070 <version>1.7.1</version>
1074 </dependencyManagement>
1077 <!-- Karaf provides SL4FJ encapsulation -->
1079 <groupId>org.slf4j</groupId>
1080 <artifactId>slf4j-api</artifactId>
1081 <scope>provided</scope>
1085 <groupId>org.slf4j</groupId>
1086 <artifactId>slf4j-simple</artifactId>
1090 <!-- Enable useful code quality annotations everywhere -->
1092 <groupId>com.google.code.findbugs</groupId>
1093 <artifactId>annotations</artifactId>
1094 <scope>provided</scope>
1097 <groupId>org.eclipse.jdt</groupId>
1098 <artifactId>org.eclipse.jdt.annotation</artifactId>
1099 <scope>provided</scope>
1106 <!-- Official maven plugins, alpha-sorted by artifactId.
1107 We do not need to specify the groupId. -->
1109 <artifactId>maven-antrun-plugin</artifactId>
1110 <version>1.8</version>
1113 <artifactId>maven-checkstyle-plugin</artifactId>
1114 <version>3.0.0</version>
1117 <groupId>com.puppycrawl.tools</groupId>
1118 <artifactId>checkstyle</artifactId>
1119 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1120 <version>8.4</version>
1123 <groupId>org.opendaylight.odlparent</groupId>
1124 <artifactId>checkstyle</artifactId>
1125 <version>4.0.0-SNAPSHOT</version>
1128 <groupId>org.opendaylight.odlparent</groupId>
1129 <artifactId>odl-license</artifactId>
1130 <version>4.0.0-SNAPSHOT</version>
1133 <groupId>com.github.sevntu-checkstyle</groupId>
1134 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1135 <version>1.24.2</version>
1139 <configLocation>odl_checks.xml</configLocation>
1140 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1141 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1142 generated sources directory -->
1144 <directory>${project.build.sourceDirectory}</directory>
1145 </sourceDirectories>
1146 <includeResources>true</includeResources>
1147 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1148 <includeTestResources>true</includeTestResources>
1149 <includes>**\/*.java, **\/*.xtend</includes>
1151 org/opendaylight/yang/gen/**,
1152 **/protobuff/messages/**,
1153 **/thrift/gen/*.java
1155 <failsOnError>false</failsOnError>
1156 <consoleOutput>true</consoleOutput>
1160 <id>check-license</id>
1164 <phase>process-sources</phase>
1166 <configLocation>check-license.xml</configLocation>
1167 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1168 <includeResources>false</includeResources>
1169 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1170 <includeTestResources>false</includeTestResources>
1172 <directory>${project.build.sourceDirectory}</directory>
1173 </sourceDirectories>
1175 org/opendaylight/yang/gen/**,
1176 **/protobuff/messages/**,
1177 **/thrift/gen/*.java
1179 <failsOnError>false</failsOnError>
1180 <consoleOutput>true</consoleOutput>
1187 <phase>process-sources</phase>
1192 <groupId>org.apache.maven.plugins</groupId>
1193 <artifactId>maven-pmd-plugin</artifactId>
1194 <version>3.8</version>
1198 <phase>process-sources</phase>
1200 <goal>cpd-check</goal>
1203 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1204 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1205 <minimumTokens>101</minimumTokens>
1206 <printFailingErrors>true</printFailingErrors>
1208 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1209 not understand path prefixes nor wildcards. Details are available
1210 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1211 Hence people introducing new generated sources have to include
1214 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1215 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1217 <linkXRef>false</linkXRef>
1223 <artifactId>maven-compiler-plugin</artifactId>
1224 <version>${maven.compile.plugin.version}</version>
1226 <source>1.8</source>
1227 <target>1.8</target>
1228 <showWarnings>true</showWarnings>
1230 <arg>-parameters</arg>
1231 <arg>-Xlint:deprecation</arg>
1236 <artifactId>maven-enforcer-plugin</artifactId>
1237 <version>${enforcer.version}</version>
1240 <artifactId>maven-failsafe-plugin</artifactId>
1241 <version>${failsafe.version}</version>
1244 <artifactId>maven-invoker-plugin</artifactId>
1245 <version>2.0.0</version>
1248 <artifactId>maven-jar-plugin</artifactId>
1249 <version>3.0.2</version>
1252 <artifactId>maven-dependency-plugin</artifactId>
1255 <id>unpack-license</id>
1256 <phase>generate-resources</phase>
1257 <goals><goal>unpack</goal></goals>
1261 <groupId>org.opendaylight.odlparent</groupId>
1262 <artifactId>odl-license</artifactId>
1263 <version>4.0.0-SNAPSHOT</version>
1266 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1267 <excludes>META-INF/**</excludes>
1274 <artifactId>maven-plugin-plugin</artifactId>
1275 <version>${maven.plugin.version}</version>
1279 <artifactId>maven-remote-resources-plugin</artifactId>
1280 <version>1.5</version>
1283 <artifactId>maven-resources-plugin</artifactId>
1284 <version>3.0.1</version>
1287 <artifactId>maven-shade-plugin</artifactId>
1288 <version>3.1.0</version>
1291 <artifactId>maven-source-plugin</artifactId>
1292 <version>3.0.1</version>
1295 <id>attach-sources</id>
1296 <phase>verify</phase>
1298 <goal>jar-no-fork</goal>
1304 <artifactId>maven-surefire-plugin</artifactId>
1305 <version>${maven.surefire.version}</version>
1307 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1308 <trimStackTrace>false</trimStackTrace>
1312 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1314 <!-- Support Blueprint XML construction using annotations -->
1315 <groupId>org.apache.aries.blueprint</groupId>
1316 <artifactId>blueprint-maven-plugin</artifactId>
1317 <version>1.4.0</version>
1320 <scanPath>org.opendaylight</scanPath>
1325 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1326 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1327 <groupId>org.apache.xbean</groupId>
1328 <artifactId>xbean-finder-shaded</artifactId>
1329 <version>4.5</version>
1335 <goal>blueprint-generate</goal>
1342 <groupId>org.apache.felix</groupId>
1343 <artifactId>maven-bundle-plugin</artifactId>
1344 <version>${maven.bundle.version}</version>
1345 <extensions>true</extensions>
1348 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1349 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1350 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1351 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1357 <groupId>org.apache.karaf.tooling</groupId>
1358 <artifactId>karaf-maven-plugin</artifactId>
1359 <version>${karaf.version}</version>
1363 <groupId>org.apache.servicemix.tooling</groupId>
1364 <artifactId>depends-maven-plugin</artifactId>
1365 <version>1.4.0</version>
1368 <id>generate-depends-file</id>
1370 <goal>generate-depends-file</goal>
1377 <groupId>org.codehaus.enunciate</groupId>
1378 <artifactId>maven-enunciate-plugin</artifactId>
1379 <version>${enunciate.version}</version>
1382 <groupId>org.codehaus.groovy.maven</groupId>
1383 <artifactId>gmaven-plugin</artifactId>
1384 <version>1.0</version>
1387 <groupId>org.codehaus.mojo</groupId>
1388 <artifactId>build-helper-maven-plugin</artifactId>
1389 <version>1.12</version>
1392 <groupId>org.codehaus.mojo</groupId>
1393 <artifactId>findbugs-maven-plugin</artifactId>
1394 <version>3.0.5</version>
1397 <groupId>org.opendaylight.odlparent</groupId>
1398 <artifactId>findbugs</artifactId>
1399 <version>4.0.0-SNAPSHOT</version>
1405 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1406 <artifactId>bug-pattern</artifactId>
1407 <!-- NOTE: This version MUST be kept in sync with the same version in the new spotbugs-maven-plugin below -->
1408 <version>1.4.0</version>
1412 Enables analysis which takes more memory but finds more bugs.
1413 If you run out of memory, changes the value of the effort element
1416 <effort>Max</effort>
1417 <!-- Reports all bugs (other values are medium and max) -->
1418 <threshold>Low</threshold>
1419 <!-- Build doesn't fail if problems are found -->
1420 <failOnError>false</failOnError>
1421 <!-- References the excluded rules -->
1422 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1423 <!-- Produces XML report -->
1424 <xmlOutput>true</xmlOutput>
1425 <!-- Configures the directory in which the XML report is created -->
1426 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1430 Ensures that FindBugs inspects source code when project is compiled.
1433 <id>analyze-compile</id>
1434 <phase>compile</phase>
1442 <groupId>com.github.spotbugs</groupId>
1443 <artifactId>spotbugs-maven-plugin</artifactId>
1444 <version>3.1.1</version>
1447 <groupId>com.github.spotbugs</groupId>
1448 <artifactId>spotbugs</artifactId>
1449 <version>3.1.1</version>
1452 <groupId>org.opendaylight.odlparent</groupId>
1453 <artifactId>findbugs</artifactId>
1454 <version>4.0.0-SNAPSHOT</version>
1460 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1461 <artifactId>bug-pattern</artifactId>
1462 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above -->
1463 <version>1.4.0</version>
1467 Enables analysis which takes more memory but finds more bugs.
1468 If you run out of memory, changes the value of the effort element
1471 <effort>Max</effort>
1472 <!-- Reports all bugs (other values are medium and max) -->
1473 <threshold>Low</threshold>
1474 <!-- Build doesn't fail if problems are found -->
1475 <failOnError>false</failOnError>
1476 <!-- References the excluded rules -->
1477 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1478 <!-- Produces XML report -->
1479 <xmlOutput>true</xmlOutput>
1480 <!-- Configures the directory in which the XML report is created -->
1481 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1485 Ensures that SpotBugs inspects source code when project is compiled.
1488 <id>analyze-compile</id>
1489 <phase>compile</phase>
1497 <groupId>org.codehaus.mojo</groupId>
1498 <artifactId>properties-maven-plugin</artifactId>
1499 <version>${propertymavenplugin.version}</version>
1502 <groupId>org.eclipse.xtend</groupId>
1503 <artifactId>xtend-maven-plugin</artifactId>
1504 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1505 <version>2.13.0</version>
1509 <goal>compile</goal>
1510 <goal>testCompile</goal>
1513 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1514 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1520 <groupId>org.eclipse.m2e</groupId>
1521 <artifactId>lifecycle-mapping</artifactId>
1522 <version>1.0.0</version>
1524 <lifecycleMappingMetadata>
1527 <pluginExecutionFilter>
1528 <groupId>org.apache.felix</groupId>
1529 <artifactId>maven-bundle-plugin</artifactId>
1530 <versionRange>[1.0,)</versionRange>
1532 <goal>manifest</goal>
1534 </pluginExecutionFilter>
1540 <pluginExecutionFilter>
1541 <groupId>org.apache.maven.plugins</groupId>
1542 <artifactId>maven-enforcer-plugin</artifactId>
1543 <versionRange>[1.0.0,)</versionRange>
1545 <goal>enforce</goal>
1547 </pluginExecutionFilter>
1553 <pluginExecutionFilter>
1554 <groupId>org.apache.maven.plugins</groupId>
1555 <artifactId>maven-dependency-plugin</artifactId>
1556 <versionRange>[2.10,)</versionRange>
1560 </pluginExecutionFilter>
1566 <pluginExecutionFilter>
1567 <groupId>org.apache.maven.plugins</groupId>
1568 <artifactId>maven-pmd-plugin</artifactId>
1569 <versionRange>[3.6,)</versionRange>
1571 <goal>cpd-check</goal>
1573 </pluginExecutionFilter>
1578 <!-- The plugin will eventually be removed, remove this too at that point -->
1580 <pluginExecutionFilter>
1581 <groupId>org.apache.maven.plugins</groupId>
1582 <artifactId>maven-antrun-plugin</artifactId>
1583 <versionRange>[1.8,)</versionRange>
1587 </pluginExecutionFilter>
1593 <pluginExecutionFilter>
1594 <groupId>org.apache.servicemix.tooling</groupId>
1595 <artifactId>depends-maven-plugin</artifactId>
1596 <versionRange>[1.2,)</versionRange>
1598 <goal>generate-depends-file</goal>
1600 </pluginExecutionFilter>
1606 <pluginExecutionFilter>
1607 <groupId>org.jacoco</groupId>
1608 <artifactId>jacoco-maven-plugin</artifactId>
1609 <versionRange>[0.7.0,)</versionRange>
1611 <goal>prepare-agent</goal>
1614 </pluginExecutionFilter>
1621 <pluginExecutionFilter>
1622 <groupId>org.ops4j.pax.exam</groupId>
1623 <artifactId>maven-paxexam-plugin</artifactId>
1624 <versionRange>[1.2.4,)</versionRange>
1626 <goal>generate-depends-file</goal>
1628 </pluginExecutionFilter>
1635 <pluginExecutionFilter>
1636 <groupId>org.basepom.maven</groupId>
1638 duplicate-finder-maven-plugin
1640 <versionRange>[1.2.1,)</versionRange>
1644 </pluginExecutionFilter>
1650 </lifecycleMappingMetadata>
1655 <groupId>org.jacoco</groupId>
1656 <artifactId>jacoco-maven-plugin</artifactId>
1657 <version>${jacoco.version}</version>
1659 <!-- Note: This exclusion list should match <sonar.exclusions>
1662 <exclude>**/gen/**</exclude>
1663 <exclude>**/generated-sources/**</exclude>
1664 <exclude>**/generated-test-sources/**</exclude>
1665 <exclude>**/yang-gen/**</exclude>
1666 <exclude>**/yang-gen-config/**</exclude>
1667 <exclude>**/yang-gen-sal/**</exclude>
1668 <exclude>**/yang-gen-code/**</exclude>
1669 <exclude>**/pax/**</exclude>
1675 <groupId>org.ops4j.pax.exam</groupId>
1676 <artifactId>maven-paxexam-plugin</artifactId>
1677 <version>1.2.4</version>
1681 <groupId>org.codehaus.mojo</groupId>
1682 <artifactId>jdepend-maven-plugin</artifactId>
1683 <version>2.0</version>
1688 <goal>generate-no-fork</goal>
1694 <!-- When updating this version, consider antl4-runtime above -->
1696 <groupId>org.antlr</groupId>
1697 <artifactId>antlr4-maven-plugin</artifactId>
1698 <version>4.7.1</version>
1705 <artifactId>maven-enforcer-plugin</artifactId>
1708 <id>enforce-banned-dependencies</id>
1710 <goal>enforce</goal>
1714 <bannedDependencies>
1715 <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>
1717 <exclude>org.mockito:mockito-all</exclude>
1718 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1719 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1720 <!-- as a dependency then clashes with the dependency checker (because it -->
1721 <!-- is not very good at handling annotations). Use the annotations jar -->
1722 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1724 <exclude>com.google.code.findbugs:jsr305</exclude>
1725 <exclude>net.jcip:jcip-annotations</exclude>
1727 </bannedDependencies>
1735 <groupId>org.basepom.maven</groupId>
1736 <artifactId>duplicate-finder-maven-plugin</artifactId>
1737 <version>1.2.1</version>
1740 <id>find-duplicate-classpath-entries</id>
1741 <phase>verify</phase>
1748 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1749 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1750 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1751 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1752 <printEqualFiles>false</printEqualFiles>
1754 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1755 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1756 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1758 <ignoredResourcePatterns>
1759 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1760 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1761 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1762 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1763 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1764 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1765 </ignoredResourcePatterns>
1766 <ignoredDependencies>
1768 <groupId>org.slf4j</groupId>
1769 <artifactId>slf4j-simple</artifactId>
1770 </ignoredDependency>
1772 <groupId>org.opendaylight.odlparent</groupId>
1773 <artifactId>opendaylight-karaf-empty</artifactId>
1774 </ignoredDependency>
1775 </ignoredDependencies>
1779 <artifactId>maven-dependency-plugin</artifactId>
1782 <artifactId>maven-checkstyle-plugin</artifactId>
1785 <artifactId>maven-pmd-plugin</artifactId>
1788 <artifactId>maven-source-plugin</artifactId>
1791 <artifactId>maven-javadoc-plugin</artifactId>
1794 <!-- Jacoco / Sonar -->
1796 <groupId>org.jacoco</groupId>
1797 <artifactId>jacoco-maven-plugin</artifactId>
1800 <id>pre-unit-test</id>
1802 <goal>prepare-agent</goal>
1805 <destFile>${sonar.jacoco.reportPath}</destFile>
1809 <id>post-unit-test</id>
1814 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1821 <groupId>com.alexecollins.maven.plugin</groupId>
1822 <artifactId>script-maven-plugin</artifactId>
1823 <version>1.0.0</version>
1826 <phase>prepare-package</phase>
1828 <goal>execute</goal>
1832 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1833 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1834 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1835 // static class methods only - it will be MUCH easier to write!)
1836 void copy(File root, String glob, File target) {
1837 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1838 Iterator dirStreamIterator = dirStream.iterator();
1839 while (dirStreamIterator.hasNext()) {
1840 java.nio.file.Path path = dirStreamIterator.next();
1841 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1842 new java.nio.file.CopyOption[] {
1843 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1844 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1851 File gitRepoRootDir = project.basedir;
1852 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1853 gitRepoRootDir = gitRepoRootDir.getParentFile();
1856 File target = new File(project.build.outputDirectory);
1858 copy(gitRepoRootDir, "README*", target);
1859 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1860 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1867 <groupId>org.apache-extras.beanshell</groupId>
1868 <artifactId>bsh</artifactId>
1869 <version>2.0b6</version>
1874 <!-- Blueprint dependency injection -->
1875 <!-- Remove when upgrading to plugin 1.5.0, and use
1876 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
1877 See https://issues.apache.org/jira/browse/ARIES-1597
1878 BUT beware that the directory is now conditional... -->
1880 <artifactId>maven-antrun-plugin</artifactId>
1882 <!-- This should only run once, in the process-classes phase; but we need it to run after
1883 process-classes in child projects. Attaching to process-test-classes and prepare-package
1884 ensures that the file will be moved whether tests are skipped or not. -->
1886 <id>move-autowire-test</id>
1887 <phase>process-test-classes</phase>
1893 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1895 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1897 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1898 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1899 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1900 failonerror="false" quiet="true" />
1903 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1910 <id>move-autowire-package</id>
1911 <phase>prepare-package</phase>
1917 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1919 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1921 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1922 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1923 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1924 failonerror="false" quiet="true" />
1927 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1936 <groupId>ant-contrib</groupId>
1937 <artifactId>ant-contrib</artifactId>
1938 <version>1.0b3</version>
1941 <groupId>ant</groupId>
1942 <artifactId>ant</artifactId>
1947 <groupId>org.apache.ant</groupId>
1948 <artifactId>ant-nodeps</artifactId>
1949 <version>1.8.1</version>
1959 <artifactId>maven-checkstyle-plugin</artifactId>
1960 <version>3.0.0</version>
1963 <!-- FIXME: activate this
1965 <artifactId>maven-project-info-reports-plugin</artifactId>
1966 <version>${projectinfo}</version>
1969 <groupId>org.codehaus.mojo</groupId>
1970 <artifactId>jdepend-maven-plugin</artifactId>
1974 <report>generate-no-fork</report>
1983 Maven Site Configuration
1985 The following configuration is necessary for maven-site-plugin to
1986 correctly identify the correct deployment path for OpenDaylight Maven
1989 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1991 <distributionManagement>
1993 <id>opendaylight-site</id>
1994 <url>${nexus.site.url}/${project.artifactId}/</url>
1996 </distributionManagement>