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>3.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>2.10.4</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.7.201606060606</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.3</karaf.version>
91 <karaf.plugin.version>4.1.3</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.4</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 <pmd.cpd.fail>false</pmd.cpd.fail>
120 <dependencyManagement>
124 <groupId>org.opendaylight.odlparent</groupId>
125 <artifactId>odlparent-artifacts</artifactId>
126 <version>3.0.0-SNAPSHOT</version>
127 <scope>import</scope>
131 <!-- Build tool dependencies (normally not here in <dependencies>,
132 but in a <dependency> in <pluginManagement> but for Checkstyle this
133 is required so that we can share the same version of Checkstyle
134 for both the Maven plugin below as well as for custom Checkstyle
135 check rule projects, such as yangtools' checkstyle-logging) -->
137 <groupId>com.puppycrawl.tools</groupId>
138 <artifactId>checkstyle</artifactId>
139 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
140 <version>8.4</version>
143 <!-- Testing Dependencies -->
144 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
145 <!-- Need to stick to JUnit 4.11 until
146 https://github.com/jayway/powermock/issues/560 is fixed (either in
147 PowerMock or with a new JUnit release) -->
149 <groupId>junit</groupId>
150 <artifactId>junit</artifactId>
151 <version>4.11</version>
155 <groupId>junit</groupId>
156 <artifactId>junit-dep</artifactId>
157 <version>4.11</version>
161 <groupId>org.skyscreamer</groupId>
162 <artifactId>jsonassert</artifactId>
163 <version>1.5.0</version>
167 <groupId>org.mockito</groupId>
168 <artifactId>mockito-core</artifactId>
169 <version>1.10.19</version>
173 <groupId>org.hamcrest</groupId>
174 <artifactId>hamcrest-core</artifactId>
175 <version>1.3</version>
179 <groupId>org.hamcrest</groupId>
180 <artifactId>hamcrest-library</artifactId>
181 <version>1.3</version>
185 <groupId>com.google.truth</groupId>
186 <artifactId>truth</artifactId>
187 <version>0.36</version>
191 <groupId>com.google.truth.extensions</groupId>
192 <artifactId>truth-java8-extension</artifactId>
193 <version>0.36</version>
197 <groupId>org.awaitility</groupId>
198 <artifactId>awaitility</artifactId>
199 <version>3.0.0</version>
203 <groupId>org.awaitility</groupId>
204 <artifactId>awaitility-proxy</artifactId>
205 <version>3.0.0</version>
209 <groupId>org.powermock</groupId>
210 <artifactId>powermock-api-mockito</artifactId>
211 <version>1.6.4</version>
215 <groupId>org.powermock</groupId>
216 <artifactId>powermock-api-support</artifactId>
217 <version>1.6.4</version>
221 <groupId>org.powermock</groupId>
222 <artifactId>powermock-core</artifactId>
223 <version>1.6.4</version>
227 <groupId>org.powermock</groupId>
228 <artifactId>powermock-module-junit4</artifactId>
229 <version>1.6.4</version>
233 <groupId>org.powermock</groupId>
234 <artifactId>powermock-reflect</artifactId>
235 <version>1.6.4</version>
240 Annotation Processors
243 <!-- Generates immutable implementations, builders, the works -->
244 <groupId>org.immutables</groupId>
245 <artifactId>value</artifactId>
246 <version>2.5.6</version>
247 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
248 <scope>provided</scope>
251 <!-- Generates META-INF/services entries for ServiceLoader -->
252 <groupId>org.kohsuke.metainf-services</groupId>
253 <artifactId>metainf-services</artifactId>
254 <version>1.7</version>
255 <optional>true</optional>
262 <groupId>org.slf4j</groupId>
263 <artifactId>jcl-over-slf4j</artifactId>
264 <version>1.7.25</version>
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>1.7.25</version>
272 <groupId>org.slf4j</groupId>
273 <artifactId>slf4j-log4j12</artifactId>
274 <version>1.7.25</version>
277 <groupId>org.slf4j</groupId>
278 <artifactId>log4j-over-slf4j</artifactId>
279 <version>1.7.25</version>
282 <groupId>org.slf4j</groupId>
283 <artifactId>slf4j-simple</artifactId>
284 <version>1.7.25</version>
288 <groupId>ch.qos.logback</groupId>
289 <artifactId>logback-core</artifactId>
290 <version>1.2.3</version>
293 <groupId>ch.qos.logback</groupId>
294 <artifactId>logback-classic</artifactId>
295 <version>1.2.3</version>
298 <groupId>com.google.guava</groupId>
299 <artifactId>guava</artifactId>
300 <version>23.3-jre</version>
303 <groupId>com.google.code.findbugs</groupId>
304 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
305 <artifactId>jsr305</artifactId>
310 <groupId>com.google.guava</groupId>
311 <artifactId>guava-testlib</artifactId>
312 <version>23.3-jre</version>
316 <groupId>com.google.code.findbugs</groupId>
317 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
318 <artifactId>jsr305</artifactId>
323 <groupId>com.mycila.guice.extensions</groupId>
324 <artifactId>mycila-guice-jsr250</artifactId>
325 <!-- Make sure this version is in sync with the guice one below -->
326 <version>4.0.rc1</version>
330 <groupId>com.google.inject</groupId>
331 <artifactId>guice</artifactId>
332 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
333 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
334 <version>4.1.0</version>
337 <groupId>org.apache.commons</groupId>
338 <artifactId>commons-lang3</artifactId>
339 <version>3.6</version>
342 <groupId>org.apache.commons</groupId>
343 <artifactId>commons-text</artifactId>
344 <version>1.1</version>
347 <groupId>commons-lang</groupId>
348 <artifactId>commons-lang</artifactId>
349 <version>2.6</version>
352 <groupId>commons-codec</groupId>
353 <artifactId>commons-codec</artifactId>
354 <version>1.11</version>
356 <!-- Jersey for JAXRS -->
358 <groupId>javax.ws.rs</groupId>
359 <artifactId>javax.ws.rs-api</artifactId>
360 <version>2.0.1</version>
363 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
364 <artifactId>jersey-guava</artifactId>
365 <version>2.22.2</version>
368 <groupId>org.glassfish</groupId>
369 <artifactId>javax.json</artifactId>
370 <version>1.0.4</version>
373 <groupId>com.eclipsesource.jaxrs</groupId>
374 <artifactId>jersey-all</artifactId>
375 <version>2.22.2</version>
378 <!-- servlet 3.x support -->
380 <groupId>org.glassfish.jersey.containers</groupId>
381 <artifactId>jersey-container-servlet</artifactId>
382 <version>2.8</version>
385 <groupId>org.apache.geronimo.bundles</groupId>
386 <artifactId>json</artifactId>
387 <version>20090211_1</version>
389 <!-- FIXME : remove all dependencies for jersey 1.17 -->
391 <groupId>com.sun.jersey</groupId>
392 <artifactId>jersey-core</artifactId>
393 <version>1.17</version>
396 <groupId>com.sun.jersey</groupId>
397 <artifactId>jersey-json</artifactId>
398 <version>1.17</version>
401 <groupId>com.sun.jersey</groupId>
402 <artifactId>jersey-server</artifactId>
403 <version>1.17</version>
406 <groupId>com.sun.jersey</groupId>
407 <artifactId>jersey-servlet</artifactId>
408 <version>1.17</version>
411 <groupId>com.sun.jersey.jersey-test-framework</groupId>
412 <artifactId>jersey-test-framework-grizzly2</artifactId>
413 <version>1.17</version>
417 <groupId>com.sun.jersey.jersey-test-framework</groupId>
418 <artifactId>jersey-test-framework-inmemory</artifactId>
419 <version>1.17</version>
423 <groupId>com.sun.jersey</groupId>
424 <artifactId>jersey-client</artifactId>
425 <version>1.17</version>
428 <groupId>org.opendaylight.controller.thirdparty</groupId>
429 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
430 <version>1.17</version>
433 <groupId>org.apache.shiro</groupId>
434 <artifactId>shiro-core</artifactId>
435 <version>1.3.2</version>
438 <groupId>org.apache.shiro</groupId>
439 <artifactId>shiro-web</artifactId>
440 <version>1.3.2</version>
443 <!-- Plugin integration -->
445 <groupId>net.java.dev.stax-utils</groupId>
446 <artifactId>stax-utils</artifactId>
447 <version>20070216</version>
450 <groupId>org.sonatype.plexus</groupId>
451 <artifactId>plexus-build-api</artifactId>
452 <version>0.0.7</version>
455 <groupId>org.codehaus.plexus</groupId>
456 <artifactId>plexus-slf4j-logging</artifactId>
457 <version>1.1</version>
461 <groupId>org.codehaus.woodstox</groupId>
462 <artifactId>stax2-api</artifactId>
463 <!-- Needs to match jackson's idea of import -->
464 <version>3.1.4</version>
467 <groupId>com.fasterxml.jackson.core</groupId>
468 <artifactId>jackson-annotations</artifactId>
469 <version>2.8.9</version>
472 <groupId>com.fasterxml.jackson.core</groupId>
473 <artifactId>jackson-core</artifactId>
474 <version>2.8.9</version>
477 <groupId>com.fasterxml.jackson.core</groupId>
478 <artifactId>jackson-databind</artifactId>
479 <version>2.8.9</version>
482 <groupId>com.fasterxml.jackson.dataformat</groupId>
483 <artifactId>jackson-dataformat-xml</artifactId>
484 <version>2.8.9</version>
487 <groupId>com.fasterxml.jackson.datatype</groupId>
488 <artifactId>jackson-datatype-json-org</artifactId>
489 <version>2.8.9</version>
492 <groupId>com.fasterxml.jackson.jaxrs</groupId>
493 <artifactId>jackson-jaxrs-base</artifactId>
494 <version>2.8.9</version>
497 <groupId>com.fasterxml.jackson.jaxrs</groupId>
498 <artifactId>jackson-jaxrs-json-provider</artifactId>
499 <version>2.8.9</version>
502 <groupId>com.fasterxml.jackson.module</groupId>
503 <artifactId>jackson-module-jaxb-annotations</artifactId>
504 <version>2.8.9</version>
507 <!-- TODO do we really need resteasy ? -->
509 <groupId>org.jboss.resteasy</groupId>
510 <artifactId>jaxrs-api</artifactId>
511 <version>3.0.12.Final</version>
515 <groupId>com.google.code.findbugs</groupId>
516 <artifactId>annotations</artifactId>
517 <version>3.0.0</version>
519 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
520 the types of this artifact are already shaded inside the :annotations artifact.
521 This state is a temporary solution to allow all projects to gradually switch over
522 switch their <dependency><groupId>com.google.code.findbugs from
523 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
524 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
527 <groupId>net.jcip</groupId>
528 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
529 <artifactId>jcip-annotations</artifactId>
534 <groupId>org.eclipse.jdt</groupId>
535 <artifactId>org.eclipse.jdt.annotation</artifactId>
536 <version>2.1.0</version>
537 <scope>provided</scope>
540 <groupId>com.google.code.gson</groupId>
541 <artifactId>gson</artifactId>
542 <version>2.8.2</version>
545 <groupId>commons-fileupload</groupId>
546 <artifactId>commons-fileupload</artifactId>
547 <version>1.3.3</version>
550 <groupId>commons-io</groupId>
551 <artifactId>commons-io</artifactId>
552 <version>2.6</version>
555 <groupId>commons-net</groupId>
556 <artifactId>commons-net</artifactId>
557 <version>3.6</version>
562 <groupId>io.netty</groupId>
563 <artifactId>netty-all</artifactId>
564 <!-- If these are updated, the version in features.xml needs to be changed too -->
565 <version>4.1.16.Final</version>
568 <groupId>io.netty</groupId>
569 <artifactId>netty-buffer</artifactId>
570 <version>4.1.16.Final</version>
573 <groupId>io.netty</groupId>
574 <artifactId>netty-codec</artifactId>
575 <version>4.1.16.Final</version>
578 <groupId>io.netty</groupId>
579 <artifactId>netty-codec-http</artifactId>
580 <version>4.1.16.Final</version>
583 <groupId>io.netty</groupId>
584 <artifactId>netty-common</artifactId>
585 <version>4.1.16.Final</version>
588 <groupId>io.netty</groupId>
589 <artifactId>netty-handler</artifactId>
590 <version>4.1.16.Final</version>
593 <groupId>io.netty</groupId>
594 <artifactId>netty-transport</artifactId>
595 <version>4.1.16.Final</version>
597 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
598 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
600 <groupId>io.netty</groupId>
601 <artifactId>netty-transport-native-epoll</artifactId>
602 <classifier>linux-x86_64</classifier>
603 <version>4.1.16.Final</version>
606 <groupId>javax.ws.rs</groupId>
607 <artifactId>jsr311-api</artifactId>
608 <version>1.1.1</version>
611 <groupId>javax.servlet</groupId>
612 <artifactId>javax.servlet-api</artifactId>
613 <version>3.1.0</version>
616 <groupId>org.apache.felix</groupId>
617 <artifactId>org.apache.felix.dependencymanager</artifactId>
618 <version>4.4.1</version>
621 <groupId>org.apache.felix</groupId>
622 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
623 <version>4.0.6</version>
626 <groupId>org.apache.felix</groupId>
627 <artifactId>org.apache.felix.metatype</artifactId>
628 <version>1.1.6</version>
631 <groupId>org.bouncycastle</groupId>
632 <artifactId>bcpkix-jdk15on</artifactId>
633 <version>${bouncycastle.version}</version>
636 <groupId>org.bouncycastle</groupId>
637 <artifactId>bcprov-jdk15on</artifactId>
638 <version>${bouncycastle.version}</version>
641 <groupId>org.bouncycastle</groupId>
642 <artifactId>bcprov-ext-jdk15on</artifactId>
643 <version>${bouncycastle.version}</version>
646 <groupId>org.codehaus.enunciate</groupId>
647 <artifactId>enunciate-core-annotations</artifactId>
648 <version>${enunciate.version}</version>
651 <groupId>com.webcohesion.enunciate</groupId>
652 <artifactId>enunciate-core-annotations</artifactId>
653 <version>2.10.1</version>
656 <groupId>org.codehaus.jettison</groupId>
657 <artifactId>jettison</artifactId>
658 <version>1.3.8</version>
660 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
661 pull in javax.validation first:
662 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
664 <groupId>org.eclipse.persistence</groupId>
665 <artifactId>org.eclipse.persistence.antlr</artifactId>
666 <version>2.6.2</version>
669 <groupId>org.eclipse.persistence</groupId>
670 <artifactId>org.eclipse.persistence.core</artifactId>
671 <version>2.6.2</version>
674 <groupId>org.eclipse.persistence</groupId>
675 <artifactId>org.eclipse.persistence.moxy</artifactId>
676 <version>2.6.2</version>
679 <groupId>javax.validation</groupId>
680 <artifactId>validation-api</artifactId>
681 <version>1.1.0.Final</version>
684 <groupId>org.javassist</groupId>
685 <artifactId>javassist</artifactId>
686 <version>3.21.0-GA</version>
689 <groupId>org.jboss.spec.javax.transaction</groupId>
690 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
691 <version>1.0.1.Final</version>
694 <groupId>org.jolokia</groupId>
695 <artifactId>jolokia-osgi</artifactId>
696 <version>1.3.7</version>
699 <groupId>org.json</groupId>
700 <artifactId>json</artifactId>
701 <version>20131018</version>
704 <groupId>org.osgi</groupId>
705 <artifactId>org.osgi.compendium</artifactId>
706 <version>${osgi.core.version}</version>
707 <scope>provided</scope>
710 <groupId>org.osgi</groupId>
711 <artifactId>org.osgi.core</artifactId>
712 <version>${osgi.core.version}</version>
713 <scope>provided</scope>
716 <groupId>org.osgi</groupId>
717 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
718 <artifactId>org.osgi.service.event</artifactId>
719 <version>1.3.1</version>
722 <groupId>org.apache.aries.quiesce</groupId>
723 <artifactId>org.apache.aries.quiesce.api</artifactId>
724 <version>1.0.0</version>
727 <groupId>org.ow2.asm</groupId>
728 <artifactId>asm-all</artifactId>
729 <version>5.1</version>
732 <!-- Configuration library -->
733 <!-- This needs to be kept in sync with the version used by akka -->
735 <groupId>com.typesafe</groupId>
736 <artifactId>config</artifactId>
737 <version>1.3.0</version>
740 <!-- Reactive Streams, used by Akka -->
742 <groupId>org.reactivestreams</groupId>
743 <artifactId>reactive-streams</artifactId>
744 <version>1.0.1</version>
749 <groupId>com.typesafe</groupId>
750 <artifactId>ssl-config-akka_2.12</artifactId>
751 <version>0.2.1</version>
754 <groupId>com.typesafe</groupId>
755 <artifactId>ssl-config-core_2.12</artifactId>
756 <version>0.2.1</version>
759 <groupId>com.typesafe.akka</groupId>
760 <artifactId>akka-actor_2.12</artifactId>
761 <version>${akka.version}</version>
764 <groupId>com.typesafe.akka</groupId>
765 <artifactId>akka-cluster_2.12</artifactId>
766 <version>${akka.version}</version>
769 <groupId>com.typesafe.akka</groupId>
770 <artifactId>akka-osgi_2.12</artifactId>
771 <version>${akka.version}</version>
774 <groupId>com.typesafe.akka</groupId>
775 <artifactId>akka-persistence_2.12</artifactId>
776 <version>${akka.version}</version>
779 <groupId>com.typesafe.akka</groupId>
780 <artifactId>akka-persistence-tck_2.12</artifactId>
781 <version>${akka.version}</version>
785 <groupId>com.typesafe.akka</groupId>
786 <artifactId>akka-protobuf_2.12</artifactId>
787 <version>${akka.version}</version>
790 <groupId>com.typesafe.akka</groupId>
791 <artifactId>akka-remote_2.12</artifactId>
792 <version>${akka.version}</version>
795 <groupId>com.typesafe.akka</groupId>
796 <artifactId>akka-slf4j_2.12</artifactId>
797 <version>${akka.version}</version>
800 <groupId>com.typesafe.akka</groupId>
801 <artifactId>akka-stream_2.12</artifactId>
802 <version>${akka.version}</version>
805 <groupId>com.typesafe.akka</groupId>
806 <artifactId>akka-testkit_2.12</artifactId>
807 <version>${akka.version}</version>
811 <groupId>org.scala-lang.modules</groupId>
812 <artifactId>scala-java8-compat_2.12</artifactId>
813 <version>0.8.0</version>
816 <groupId>org.scala-lang.modules</groupId>
817 <artifactId>scala-parser-combinators_2.12</artifactId>
818 <version>1.0.6</version>
821 <groupId>org.iq80.leveldb</groupId>
822 <artifactId>leveldb</artifactId>
823 <version>${leveldb.version}</version>
826 <groupId>org.fusesource.leveldbjni</groupId>
827 <artifactId>leveldbjni-all</artifactId>
828 <version>1.8-odl</version>
831 <groupId>org.uncommons.maths</groupId>
832 <artifactId>uncommons-maths</artifactId>
833 <version>1.2.3</version>
836 <groupId>com.google.protobuf</groupId>
837 <artifactId>protobuf-java</artifactId>
838 <version>2.5.0</version>
841 <!-- Aeron, required by Akka -->
843 <groupId>org.agrona</groupId>
844 <artifactId>agrona</artifactId>
845 <version>0.9.5</version>
848 <groupId>io.aeron</groupId>
849 <artifactId>aeron-client</artifactId>
850 <version>1.2.5</version>
853 <groupId>io.aeron</groupId>
854 <artifactId>aeron-driver</artifactId>
855 <version>1.2.5</version>
860 <groupId>org.scala-lang</groupId>
861 <artifactId>scala-library</artifactId>
862 <version>2.12.4</version>
865 <groupId>org.scala-lang</groupId>
866 <artifactId>scala-reflect</artifactId>
867 <version>2.12.4</version>
870 <!-- LMAX Disruptor -->
872 <groupId>com.lmax</groupId>
873 <artifactId>disruptor</artifactId>
874 <version>3.3.7</version>
877 <!-- Add Pax Exam -->
879 <groupId>org.ops4j.pax.exam</groupId>
880 <artifactId>pax-exam</artifactId>
881 <version>${exam.version}</version>
885 <groupId>org.ops4j.pax.exam</groupId>
886 <artifactId>pax-exam-container-forked</artifactId>
887 <version>${exam.version}</version>
891 <groupId>org.ops4j.pax.exam</groupId>
892 <artifactId>pax-exam-container-karaf</artifactId>
893 <version>${exam.version}</version>
897 <groupId>org.ops4j.pax.exam</groupId>
898 <artifactId>pax-exam-container-native</artifactId>
899 <version>${exam.version}</version>
903 <groupId>org.ops4j.pax.exam</groupId>
904 <artifactId>pax-exam-extender-service</artifactId>
905 <version>${exam.version}</version>
909 <groupId>org.ops4j.pax.exam</groupId>
910 <artifactId>pax-exam-inject</artifactId>
911 <version>${exam.version}</version>
915 <groupId>org.ops4j.pax.exam</groupId>
916 <artifactId>pax-exam-invoker-junit</artifactId>
917 <version>${exam.version}</version>
921 <groupId>org.ops4j.pax.exam</groupId>
922 <artifactId>pax-exam-features</artifactId>
923 <version>${exam.version}</version>
928 <groupId>org.ops4j.pax.exam</groupId>
929 <artifactId>pax-exam-junit4</artifactId>
930 <version>${exam.version}</version>
934 <groupId>org.ops4j.pax.exam</groupId>
935 <artifactId>pax-exam-link-mvn</artifactId>
936 <version>${exam.version}</version>
940 <groupId>org.ops4j.pax.exam</groupId>
941 <artifactId>pax-exam-link-assembly</artifactId>
942 <version>${exam.version}</version>
947 <groupId>org.ops4j.pax.url</groupId>
948 <artifactId>pax-url-link</artifactId>
949 <version>2.5.3</version>
953 <groupId>org.ops4j.pax.url</groupId>
954 <artifactId>pax-url-aether</artifactId>
955 <version>2.5.3</version>
959 <groupId>org.ops4j.pax.url</groupId>
960 <artifactId>pax-url-wrap</artifactId>
961 <version>2.5.3</version>
965 <groupId>org.springframework.osgi</groupId>
966 <artifactId>spring-osgi-mock</artifactId>
967 <version>1.2.1</version>
971 <groupId>xmlunit</groupId>
972 <artifactId>xmlunit</artifactId>
973 <version>1.6</version>
978 <groupId>org.eclipse.jetty</groupId>
979 <artifactId>jetty-client</artifactId>
980 <version>9.2.19.v20160908</version>
983 <groupId>org.eclipse.jetty</groupId>
984 <artifactId>jetty-server</artifactId>
985 <version>9.2.19.v20160908</version>
988 <groupId>org.eclipse.jetty</groupId>
989 <artifactId>jetty-servlet-tester</artifactId>
990 <version>9.2.19.v20160908</version>
994 <groupId>org.eclipse.jetty</groupId>
995 <artifactId>jetty-servlets</artifactId>
996 <version>9.2.19.v20160908</version>
999 <groupId>org.eclipse.jetty</groupId>
1000 <artifactId>jetty-webapp</artifactId>
1001 <version>9.2.19.v20160908</version>
1005 <groupId>com.h2database</groupId>
1006 <artifactId>h2</artifactId>
1007 <version>1.4.193</version>
1010 <!-- Xtend http://xtend-lang.org
1011 NOTE: When you increase the version here,
1012 then remember to also increase it for the
1013 xtend-maven-plugin below! (We don't want to
1014 use a Maven property, in order not to "leak" that.)
1017 <groupId>org.eclipse.xtend</groupId>
1018 <artifactId>org.eclipse.xtend.lib</artifactId>
1019 <version>2.13.0</version>
1022 <groupId>org.eclipse.xtend</groupId>
1023 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1024 <version>2.13.0</version>
1027 <groupId>org.eclipse.xtext</groupId>
1028 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1029 <version>2.13.0</version>
1032 <!-- Annotations -->
1034 <groupId>javax.inject</groupId>
1035 <artifactId>javax.inject</artifactId>
1036 <version>1</version>
1037 <optional>true</optional>
1040 <groupId>org.ops4j.pax.cdi</groupId>
1041 <artifactId>pax-cdi-api</artifactId>
1042 <version>1.0.0.RC2</version>
1043 <optional>true</optional>
1048 <groupId>com.datastax.cassandra</groupId>
1049 <artifactId>cassandra-driver-core</artifactId>
1050 <version>2.1.9</version>
1055 <groupId>io.dropwizard.metrics</groupId>
1056 <artifactId>metrics-core</artifactId>
1057 <version>3.2.3</version>
1060 <groupId>io.dropwizard.metrics</groupId>
1061 <artifactId>metrics-graphite</artifactId>
1062 <version>3.2.3</version>
1065 <!-- jung, a graph library -->
1067 <groupId>net.sf.jung</groupId>
1068 <artifactId>jung-api</artifactId>
1069 <version>2.1.1</version>
1072 <groupId>net.sf.jung</groupId>
1073 <artifactId>jung-algorithms</artifactId>
1074 <version>2.1.1</version>
1077 <groupId>net.sf.jung</groupId>
1078 <artifactId>jung-graph-impl</artifactId>
1079 <version>2.1.1</version>
1082 <!-- Karaf console support -->
1084 <groupId>org.apache.karaf.shell</groupId>
1085 <artifactId>org.apache.karaf.shell.core</artifactId>
1086 <version>${karaf.version}</version>
1089 <groupId>org.apache.karaf.shell</groupId>
1090 <artifactId>org.apache.karaf.shell.console</artifactId>
1091 <version>${karaf.version}</version>
1094 <!-- When updating this version, consider antl4-maven-plugin below -->
1096 <groupId>org.antlr</groupId>
1097 <artifactId>antlr4-runtime</artifactId>
1098 <version>4.7</version>
1100 <!-- Aries' Blueprint version should be kept in sync to the version actually
1101 used by our ${karaf[4].version} ... please bump this when increasing that.
1102 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1104 <groupId>org.apache.aries.blueprint</groupId>
1105 <artifactId>org.apache.aries.blueprint.core</artifactId>
1106 <version>1.7.1</version>
1110 </dependencyManagement>
1113 <!-- Karaf provides SL4FJ encapsulation -->
1115 <groupId>org.slf4j</groupId>
1116 <artifactId>slf4j-api</artifactId>
1117 <scope>provided</scope>
1121 <groupId>org.slf4j</groupId>
1122 <artifactId>slf4j-simple</artifactId>
1126 <!-- Enable useful code quality annotations everywhere -->
1128 <groupId>com.google.code.findbugs</groupId>
1129 <artifactId>annotations</artifactId>
1130 <scope>provided</scope>
1133 <groupId>org.eclipse.jdt</groupId>
1134 <artifactId>org.eclipse.jdt.annotation</artifactId>
1135 <scope>provided</scope>
1142 <!-- Official maven plugins, alpha-sorted by artifactId.
1143 We do not need to specify the groupId. -->
1145 <artifactId>maven-antrun-plugin</artifactId>
1146 <version>1.8</version>
1149 <artifactId>maven-checkstyle-plugin</artifactId>
1150 <version>${checkstyle.version}</version>
1153 <groupId>com.puppycrawl.tools</groupId>
1154 <artifactId>checkstyle</artifactId>
1155 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1156 <version>8.4</version>
1159 <groupId>org.opendaylight.odlparent</groupId>
1160 <artifactId>checkstyle</artifactId>
1161 <version>3.0.0-SNAPSHOT</version>
1164 <groupId>org.opendaylight.odlparent</groupId>
1165 <artifactId>odl-license</artifactId>
1166 <version>3.0.0-SNAPSHOT</version>
1169 <groupId>com.github.sevntu-checkstyle</groupId>
1170 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1171 <version>1.24.2</version>
1175 <configLocation>odl_checks.xml</configLocation>
1176 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1177 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1178 generated sources directory -->
1179 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1180 <includeResources>true</includeResources>
1181 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1182 <includeTestResources>true</includeTestResources>
1183 <includes>**\/*.java, **\/*.xtend</includes>
1185 org/opendaylight/yang/gen/**,
1186 **/protobuff/messages/**,
1187 **/thrift/gen/*.java
1189 <failsOnError>false</failsOnError>
1190 <consoleOutput>true</consoleOutput>
1194 <id>check-license</id>
1198 <phase>process-sources</phase>
1200 <configLocation>check-license.xml</configLocation>
1201 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1202 <includeResources>false</includeResources>
1203 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1204 <includeTestResources>false</includeTestResources>
1205 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1207 org/opendaylight/yang/gen/**,
1208 **/protobuff/messages/**,
1209 **/thrift/gen/*.java
1211 <failsOnError>false</failsOnError>
1212 <consoleOutput>true</consoleOutput>
1219 <phase>process-sources</phase>
1224 <groupId>org.apache.maven.plugins</groupId>
1225 <artifactId>maven-pmd-plugin</artifactId>
1226 <version>3.8</version>
1230 <phase>process-sources</phase>
1232 <goal>cpd-check</goal>
1235 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1236 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1237 <minimumTokens>101</minimumTokens>
1238 <printFailingErrors>true</printFailingErrors>
1240 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1241 not understand path prefixes nor wildcards. Details are available
1242 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1243 Hence people introducing new generated sources have to include
1246 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1247 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1249 <linkXRef>false</linkXRef>
1255 <artifactId>maven-compiler-plugin</artifactId>
1256 <version>${maven.compile.plugin.version}</version>
1258 <source>1.8</source>
1259 <target>1.8</target>
1260 <showWarnings>true</showWarnings>
1262 <arg>-parameters</arg>
1263 <arg>-Xlint:deprecation</arg>
1268 <artifactId>maven-enforcer-plugin</artifactId>
1269 <version>${enforcer.version}</version>
1272 <artifactId>maven-failsafe-plugin</artifactId>
1273 <version>${failsafe.version}</version>
1276 <artifactId>maven-invoker-plugin</artifactId>
1277 <version>2.0.0</version>
1280 <artifactId>maven-jar-plugin</artifactId>
1281 <version>3.0.2</version>
1284 <artifactId>maven-dependency-plugin</artifactId>
1287 <id>unpack-license</id>
1288 <phase>generate-resources</phase>
1289 <goals><goal>unpack</goal></goals>
1293 <groupId>org.opendaylight.odlparent</groupId>
1294 <artifactId>odl-license</artifactId>
1295 <version>3.0.0-SNAPSHOT</version>
1298 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1299 <excludes>META-INF/**</excludes>
1306 <artifactId>maven-plugin-plugin</artifactId>
1307 <version>${maven.plugin.version}</version>
1311 <artifactId>maven-remote-resources-plugin</artifactId>
1312 <version>1.5</version>
1315 <artifactId>maven-resources-plugin</artifactId>
1316 <version>3.0.1</version>
1319 <artifactId>maven-shade-plugin</artifactId>
1320 <version>3.1.0</version>
1323 <artifactId>maven-source-plugin</artifactId>
1324 <version>3.0.1</version>
1327 <id>attach-sources</id>
1328 <phase>verify</phase>
1330 <goal>jar-no-fork</goal>
1336 <artifactId>maven-surefire-plugin</artifactId>
1337 <version>${maven.surefire.version}</version>
1339 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1340 <trimStackTrace>false</trimStackTrace>
1344 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1346 <!-- Support Blueprint XML construction using annotations -->
1347 <groupId>org.apache.aries.blueprint</groupId>
1348 <artifactId>blueprint-maven-plugin</artifactId>
1349 <version>1.4.0</version>
1352 <scanPath>org.opendaylight</scanPath>
1357 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1358 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1359 <groupId>org.apache.xbean</groupId>
1360 <artifactId>xbean-finder-shaded</artifactId>
1361 <version>4.5</version>
1367 <goal>blueprint-generate</goal>
1374 <groupId>org.apache.felix</groupId>
1375 <artifactId>maven-bundle-plugin</artifactId>
1376 <version>${maven.bundle.version}</version>
1377 <extensions>true</extensions>
1380 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1381 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1382 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1383 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1389 <groupId>org.apache.karaf.tooling</groupId>
1390 <artifactId>karaf-maven-plugin</artifactId>
1391 <version>${karaf.version}</version>
1395 <groupId>org.apache.servicemix.tooling</groupId>
1396 <artifactId>depends-maven-plugin</artifactId>
1397 <version>1.4.0</version>
1400 <id>generate-depends-file</id>
1402 <goal>generate-depends-file</goal>
1409 <groupId>org.codehaus.enunciate</groupId>
1410 <artifactId>maven-enunciate-plugin</artifactId>
1411 <version>${enunciate.version}</version>
1414 <groupId>org.codehaus.groovy.maven</groupId>
1415 <artifactId>gmaven-plugin</artifactId>
1416 <version>1.0</version>
1419 <groupId>org.codehaus.mojo</groupId>
1420 <artifactId>build-helper-maven-plugin</artifactId>
1421 <version>1.12</version>
1424 <groupId>org.codehaus.mojo</groupId>
1425 <artifactId>findbugs-maven-plugin</artifactId>
1426 <version>3.0.4</version>
1429 <groupId>org.opendaylight.odlparent</groupId>
1430 <artifactId>findbugs</artifactId>
1431 <version>3.0.0-SNAPSHOT</version>
1436 Enables analysis which takes more memory but finds more bugs.
1437 If you run out of memory, changes the value of the effort element
1440 <effort>Max</effort>
1441 <!-- Reports all bugs (other values are medium and max) -->
1442 <threshold>Low</threshold>
1443 <!-- Build doesn't fail if problems are found -->
1444 <failOnError>false</failOnError>
1445 <!-- References the excluded rules -->
1446 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1447 <!-- Produces XML report -->
1448 <xmlOutput>true</xmlOutput>
1449 <!-- Configures the directory in which the XML report is created -->
1450 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1454 Ensures that FindBugs inspects source code when project is compiled.
1457 <id>analyze-compile</id>
1458 <phase>compile</phase>
1466 <groupId>com.github.spotbugs</groupId>
1467 <artifactId>spotbugs-maven-plugin</artifactId>
1468 <version>3.1.0-RC6</version>
1471 <groupId>com.github.spotbugs</groupId>
1472 <artifactId>spotbugs</artifactId>
1473 <version>3.1.0</version>
1476 <groupId>org.opendaylight.odlparent</groupId>
1477 <artifactId>findbugs</artifactId>
1478 <version>3.0.0-SNAPSHOT</version>
1483 Enables analysis which takes more memory but finds more bugs.
1484 If you run out of memory, changes the value of the effort element
1487 <effort>Max</effort>
1488 <!-- Reports all bugs (other values are medium and max) -->
1489 <threshold>Low</threshold>
1490 <!-- Build doesn't fail if problems are found -->
1491 <failOnError>false</failOnError>
1492 <!-- References the excluded rules -->
1493 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1494 <!-- Produces XML report -->
1495 <xmlOutput>true</xmlOutput>
1496 <!-- Configures the directory in which the XML report is created -->
1497 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1501 Ensures that SpotBugs inspects source code when project is compiled.
1504 <id>analyze-compile</id>
1505 <phase>compile</phase>
1513 <groupId>org.codehaus.mojo</groupId>
1514 <artifactId>properties-maven-plugin</artifactId>
1515 <version>${propertymavenplugin.version}</version>
1518 <groupId>org.eclipse.xtend</groupId>
1519 <artifactId>xtend-maven-plugin</artifactId>
1520 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1521 <version>2.13.0</version>
1525 <goal>compile</goal>
1526 <goal>testCompile</goal>
1529 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1530 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1536 <groupId>org.eclipse.m2e</groupId>
1537 <artifactId>lifecycle-mapping</artifactId>
1538 <version>1.0.0</version>
1540 <lifecycleMappingMetadata>
1543 <pluginExecutionFilter>
1544 <groupId>org.apache.felix</groupId>
1545 <artifactId>maven-bundle-plugin</artifactId>
1546 <versionRange>[1.0,)</versionRange>
1548 <goal>manifest</goal>
1550 </pluginExecutionFilter>
1556 <pluginExecutionFilter>
1557 <groupId>org.apache.maven.plugins</groupId>
1558 <artifactId>maven-enforcer-plugin</artifactId>
1559 <versionRange>[1.0.0,)</versionRange>
1561 <goal>enforce</goal>
1563 </pluginExecutionFilter>
1569 <pluginExecutionFilter>
1570 <groupId>org.apache.maven.plugins</groupId>
1571 <artifactId>maven-dependency-plugin</artifactId>
1572 <versionRange>[2.10,)</versionRange>
1576 </pluginExecutionFilter>
1582 <pluginExecutionFilter>
1583 <groupId>org.apache.maven.plugins</groupId>
1584 <artifactId>maven-pmd-plugin</artifactId>
1585 <versionRange>[3.6,)</versionRange>
1587 <goal>cpd-check</goal>
1589 </pluginExecutionFilter>
1594 <!-- The plugin will eventually be removed, remove this too at that point -->
1596 <pluginExecutionFilter>
1597 <groupId>org.apache.maven.plugins</groupId>
1598 <artifactId>maven-antrun-plugin</artifactId>
1599 <versionRange>[1.8,)</versionRange>
1603 </pluginExecutionFilter>
1609 <pluginExecutionFilter>
1610 <groupId>org.apache.servicemix.tooling</groupId>
1611 <artifactId>depends-maven-plugin</artifactId>
1612 <versionRange>[1.2,)</versionRange>
1614 <goal>generate-depends-file</goal>
1616 </pluginExecutionFilter>
1622 <pluginExecutionFilter>
1623 <groupId>org.jacoco</groupId>
1624 <artifactId>jacoco-maven-plugin</artifactId>
1625 <versionRange>[0.7.0,)</versionRange>
1627 <goal>prepare-agent</goal>
1630 </pluginExecutionFilter>
1637 <pluginExecutionFilter>
1638 <groupId>org.ops4j.pax.exam</groupId>
1639 <artifactId>maven-paxexam-plugin</artifactId>
1640 <versionRange>[1.2.4,)</versionRange>
1642 <goal>generate-depends-file</goal>
1644 </pluginExecutionFilter>
1651 </lifecycleMappingMetadata>
1656 <groupId>org.jacoco</groupId>
1657 <artifactId>jacoco-maven-plugin</artifactId>
1658 <version>${jacoco.version}</version>
1660 <!-- Note: This exclusion list should match <sonar.exclusions>
1663 <exclude>**/gen/**</exclude>
1664 <exclude>**/generated-sources/**</exclude>
1665 <exclude>**/generated-test-sources/**</exclude>
1666 <exclude>**/yang-gen/**</exclude>
1667 <exclude>**/yang-gen-config/**</exclude>
1668 <exclude>**/yang-gen-sal/**</exclude>
1669 <exclude>**/yang-gen-code/**</exclude>
1670 <exclude>**/pax/**</exclude>
1676 <groupId>org.ops4j.pax.exam</groupId>
1677 <artifactId>maven-paxexam-plugin</artifactId>
1678 <version>1.2.4</version>
1682 <groupId>org.codehaus.mojo</groupId>
1683 <artifactId>jdepend-maven-plugin</artifactId>
1684 <version>2.0</version>
1689 <goal>generate-no-fork</goal>
1695 <!-- When updating this version, consider antl4-runtime above -->
1697 <groupId>org.antlr</groupId>
1698 <artifactId>antlr4-maven-plugin</artifactId>
1699 <version>4.7</version>
1706 <artifactId>maven-enforcer-plugin</artifactId>
1709 <id>enforce-banned-dependencies</id>
1711 <goal>enforce</goal>
1715 <bannedDependencies>
1716 <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>
1718 <exclude>org.mockito:mockito-all</exclude>
1719 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1720 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1721 <!-- as a dependency then clashes with the dependency checker (because it -->
1722 <!-- is not very good at handling annotations). Use the annotations jar -->
1723 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1725 <exclude>com.google.code.findbugs:jsr305</exclude>
1726 <exclude>net.jcip:jcip-annotations</exclude>
1728 </bannedDependencies>
1736 <artifactId>maven-dependency-plugin</artifactId>
1739 <artifactId>maven-checkstyle-plugin</artifactId>
1742 <artifactId>maven-pmd-plugin</artifactId>
1745 <artifactId>maven-source-plugin</artifactId>
1748 <artifactId>maven-javadoc-plugin</artifactId>
1751 <!-- Jacoco / Sonar -->
1753 <groupId>org.jacoco</groupId>
1754 <artifactId>jacoco-maven-plugin</artifactId>
1757 <id>pre-unit-test</id>
1759 <goal>prepare-agent</goal>
1762 <destFile>${sonar.jacoco.reportPath}</destFile>
1766 <id>post-unit-test</id>
1771 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1778 <groupId>com.alexecollins.maven.plugin</groupId>
1779 <artifactId>script-maven-plugin</artifactId>
1780 <version>1.0.0</version>
1783 <phase>prepare-package</phase>
1785 <goal>execute</goal>
1789 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1790 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1791 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1792 // static class methods only - it will be MUCH easier to write!)
1793 void copy(File root, String glob, File target) {
1794 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1795 Iterator dirStreamIterator = dirStream.iterator();
1796 while (dirStreamIterator.hasNext()) {
1797 java.nio.file.Path path = dirStreamIterator.next();
1798 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1799 new java.nio.file.CopyOption[] {
1800 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1801 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1808 File gitRepoRootDir = project.basedir;
1809 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1810 gitRepoRootDir = gitRepoRootDir.getParentFile();
1813 File target = new File(project.build.outputDirectory);
1815 copy(gitRepoRootDir, "README*", target);
1816 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1817 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1824 <groupId>org.apache-extras.beanshell</groupId>
1825 <artifactId>bsh</artifactId>
1826 <version>2.0b6</version>
1831 <!-- Blueprint dependency injection -->
1832 <!-- Remove when upgrading to plugin 1.5.0, and use
1833 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
1834 See https://issues.apache.org/jira/browse/ARIES-1597
1835 BUT beware that the directory is now conditional... -->
1837 <artifactId>maven-antrun-plugin</artifactId>
1839 <!-- This should only run once, in the process-classes phase; but we need it to run after
1840 process-classes in child projects. Attaching to process-test-classes and prepare-package
1841 ensures that the file will be moved whether tests are skipped or not. -->
1843 <id>move-autowire-test</id>
1844 <phase>process-test-classes</phase>
1850 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1852 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1854 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1855 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1856 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1857 failonerror="false" quiet="true" />
1860 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1867 <id>move-autowire-package</id>
1868 <phase>prepare-package</phase>
1874 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
1876 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
1878 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1879 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1880 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1881 failonerror="false" quiet="true" />
1884 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
1893 <groupId>ant-contrib</groupId>
1894 <artifactId>ant-contrib</artifactId>
1895 <version>1.0b3</version>
1898 <groupId>ant</groupId>
1899 <artifactId>ant</artifactId>
1904 <groupId>org.apache.ant</groupId>
1905 <artifactId>ant-nodeps</artifactId>
1906 <version>1.8.1</version>
1916 <artifactId>maven-checkstyle-plugin</artifactId>
1917 <version>${checkstyle.version}</version>
1920 <!-- FIXME: activate this
1922 <artifactId>maven-project-info-reports-plugin</artifactId>
1923 <version>${projectinfo}</version>
1926 <groupId>org.codehaus.mojo</groupId>
1927 <artifactId>jdepend-maven-plugin</artifactId>
1931 <report>generate-no-fork</report>
1937 <artifactId>maven-javadoc-plugin</artifactId>
1940 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
1941 <link>https://google.github.io/guava/releases/23.3-jre/api/docs/</link>
1942 <link>http://netty.io/4.1/api/</link>
1950 Maven Site Configuration
1952 The following configuration is necessary for maven-site-plugin to
1953 correctly identify the correct deployment path for OpenDaylight Maven
1956 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1958 <distributionManagement>
1960 <id>opendaylight-site</id>
1961 <url>${nexus.site.url}/${project.artifactId}/</url>
1963 </distributionManagement>