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>1.4.1</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 <!-- Later versions break tests in downstream projects -->
86 <failsafe.version>2.18.1</failsafe.version>
87 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
88 <jacoco.version>0.7.7.201606060606</jacoco.version>
89 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
90 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
91 <karaf.version>4.0.10</karaf.version>
92 <karaf.plugin.version>4.0.10</karaf.plugin.version>
93 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
94 <projectinfo>2.8.1</projectinfo>
95 <!-- Used in of-config; see also snmp4sdn -->
96 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
97 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
98 <releaseplugin.version>2.5.3</releaseplugin.version>
100 <!-- Supporting Libraries -->
101 <!-- Used by controller -->
102 <bouncycastle.version>1.58</bouncycastle.version>
104 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
105 <osgi.core.version>5.0.0</osgi.core.version>
107 <akka.version>2.5.4</akka.version>
108 <leveldb.version>0.7</leveldb.version>
110 <!-- Default Sonar configuration -->
111 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
112 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
113 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
114 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
115 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
116 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
118 <pmd.cpd.fail>false</pmd.cpd.fail>
121 <dependencyManagement>
125 <groupId>org.opendaylight.odlparent</groupId>
126 <artifactId>odlparent-artifacts</artifactId>
127 <version>3.0.0-SNAPSHOT</version>
128 <scope>import</scope>
132 <!-- Build tool dependencies (normally not here in <dependencies>,
133 but in a <dependency> in <pluginManagement> but for Checkstyle this
134 is required so that we can share the same version of Checkstyle
135 for both the Maven plugin below as well as for custom Checkstyle
136 check rule projects, such as yangtools' checkstyle-logging) -->
138 <groupId>com.puppycrawl.tools</groupId>
139 <artifactId>checkstyle</artifactId>
140 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
141 <version>8.2</version>
144 <!-- Testing Dependencies -->
145 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
146 <!-- Need to stick to JUnit 4.11 until
147 https://github.com/jayway/powermock/issues/560 is fixed (either in
148 PowerMock or with a new JUnit release) -->
150 <groupId>junit</groupId>
151 <artifactId>junit</artifactId>
152 <version>4.11</version>
156 <groupId>junit</groupId>
157 <artifactId>junit-dep</artifactId>
158 <version>4.11</version>
162 <groupId>org.skyscreamer</groupId>
163 <artifactId>jsonassert</artifactId>
164 <version>1.3.0</version>
168 <groupId>org.mockito</groupId>
169 <artifactId>mockito-core</artifactId>
170 <version>1.10.19</version>
174 <groupId>org.hamcrest</groupId>
175 <artifactId>hamcrest-core</artifactId>
176 <version>1.3</version>
180 <groupId>org.hamcrest</groupId>
181 <artifactId>hamcrest-library</artifactId>
182 <version>1.3</version>
186 <groupId>com.google.truth</groupId>
187 <artifactId>truth</artifactId>
188 <version>0.28</version>
192 <groupId>org.awaitility</groupId>
193 <artifactId>awaitility</artifactId>
194 <version>2.0.0</version>
198 <groupId>org.powermock</groupId>
199 <artifactId>powermock-api-mockito</artifactId>
200 <version>1.6.4</version>
204 <groupId>org.powermock</groupId>
205 <artifactId>powermock-api-support</artifactId>
206 <version>1.6.4</version>
210 <groupId>org.powermock</groupId>
211 <artifactId>powermock-core</artifactId>
212 <version>1.6.4</version>
216 <groupId>org.powermock</groupId>
217 <artifactId>powermock-module-junit4</artifactId>
218 <version>1.6.4</version>
222 <groupId>org.powermock</groupId>
223 <artifactId>powermock-reflect</artifactId>
224 <version>1.6.4</version>
229 Annotation Processors
232 <!-- Generates immutable implementations, builders, the works -->
233 <groupId>org.immutables</groupId>
234 <artifactId>value</artifactId>
235 <version>2.5.6</version>
236 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
237 <scope>provided</scope>
240 <!-- Generates META-INF/services entries for ServiceLoader -->
241 <groupId>org.kohsuke.metainf-services</groupId>
242 <artifactId>metainf-services</artifactId>
243 <version>1.7</version>
244 <optional>true</optional>
251 <groupId>org.slf4j</groupId>
252 <artifactId>jcl-over-slf4j</artifactId>
253 <version>1.7.21</version>
256 <groupId>org.slf4j</groupId>
257 <artifactId>slf4j-api</artifactId>
258 <version>1.7.21</version>
261 <groupId>org.slf4j</groupId>
262 <artifactId>slf4j-log4j12</artifactId>
263 <version>1.7.21</version>
266 <groupId>org.slf4j</groupId>
267 <artifactId>log4j-over-slf4j</artifactId>
268 <version>1.7.21</version>
271 <groupId>org.slf4j</groupId>
272 <artifactId>slf4j-simple</artifactId>
273 <version>1.7.21</version>
277 <groupId>xml-apis</groupId>
278 <artifactId>xml-apis</artifactId>
279 <version>1.4.01</version>
282 <groupId>xerces</groupId>
283 <artifactId>xercesImpl</artifactId>
284 <version>2.11.0</version>
287 <groupId>ch.qos.logback</groupId>
288 <artifactId>logback-core</artifactId>
289 <version>1.2.2</version>
292 <groupId>ch.qos.logback</groupId>
293 <artifactId>logback-classic</artifactId>
294 <version>1.2.2</version>
297 <groupId>com.google.guava</groupId>
298 <artifactId>guava</artifactId>
299 <version>23.2-jre</version>
302 <groupId>com.google.code.findbugs</groupId>
303 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
304 <artifactId>jsr305</artifactId>
309 <groupId>com.google.guava</groupId>
310 <artifactId>guava-testlib</artifactId>
311 <version>23.2-jre</version>
315 <groupId>com.google.code.findbugs</groupId>
316 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
317 <artifactId>jsr305</artifactId>
322 <groupId>com.mycila.guice.extensions</groupId>
323 <artifactId>mycila-guice-jsr250</artifactId>
324 <!-- Make sure this version is in sync with the guice one below -->
325 <version>4.0.rc1</version>
329 <groupId>com.google.inject</groupId>
330 <artifactId>guice</artifactId>
331 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
332 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
333 <version>4.1.0</version>
336 <groupId>org.apache.commons</groupId>
337 <artifactId>commons-lang3</artifactId>
338 <version>3.6</version>
341 <groupId>org.apache.commons</groupId>
342 <artifactId>commons-text</artifactId>
343 <version>1.1</version>
346 <groupId>commons-lang</groupId>
347 <artifactId>commons-lang</artifactId>
348 <version>2.6</version>
351 <groupId>commons-codec</groupId>
352 <artifactId>commons-codec</artifactId>
353 <version>1.10</version>
355 <!-- Jersey for JAXRS -->
357 <groupId>javax.ws.rs</groupId>
358 <artifactId>javax.ws.rs-api</artifactId>
359 <version>2.0.1</version>
362 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
363 <artifactId>jersey-guava</artifactId>
364 <version>2.22.2</version>
367 <groupId>org.glassfish</groupId>
368 <artifactId>javax.json</artifactId>
369 <version>1.0.4</version>
372 <groupId>com.eclipsesource.jaxrs</groupId>
373 <artifactId>jersey-all</artifactId>
374 <version>2.22.2</version>
377 <!-- servlet 3.x support -->
379 <groupId>org.glassfish.jersey.containers</groupId>
380 <artifactId>jersey-container-servlet</artifactId>
381 <version>2.8</version>
384 <groupId>org.apache.geronimo.bundles</groupId>
385 <artifactId>json</artifactId>
386 <version>20090211_1</version>
388 <!-- FIXME : remove all dependencies for jersey 1.17 -->
390 <groupId>com.sun.jersey</groupId>
391 <artifactId>jersey-core</artifactId>
392 <version>1.17</version>
395 <groupId>com.sun.jersey</groupId>
396 <artifactId>jersey-json</artifactId>
397 <version>1.17</version>
400 <groupId>com.sun.jersey</groupId>
401 <artifactId>jersey-server</artifactId>
402 <version>1.17</version>
405 <groupId>com.sun.jersey</groupId>
406 <artifactId>jersey-servlet</artifactId>
407 <version>1.17</version>
410 <groupId>com.sun.jersey.jersey-test-framework</groupId>
411 <artifactId>jersey-test-framework-grizzly2</artifactId>
412 <version>1.17</version>
416 <groupId>com.sun.jersey.jersey-test-framework</groupId>
417 <artifactId>jersey-test-framework-inmemory</artifactId>
418 <version>1.17</version>
422 <groupId>com.sun.jersey</groupId>
423 <artifactId>jersey-client</artifactId>
424 <version>1.17</version>
427 <groupId>org.opendaylight.controller.thirdparty</groupId>
428 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
429 <version>1.17</version>
432 <groupId>org.apache.shiro</groupId>
433 <artifactId>shiro-core</artifactId>
434 <version>1.3.2</version>
437 <groupId>org.apache.shiro</groupId>
438 <artifactId>shiro-web</artifactId>
439 <version>1.3.2</version>
442 <!-- Plugin integration -->
444 <groupId>net.java.dev.stax-utils</groupId>
445 <artifactId>stax-utils</artifactId>
446 <version>20070216</version>
449 <groupId>org.sonatype.plexus</groupId>
450 <artifactId>plexus-build-api</artifactId>
451 <version>0.0.7</version>
454 <groupId>org.codehaus.plexus</groupId>
455 <artifactId>plexus-slf4j-logging</artifactId>
456 <version>1.1</version>
460 <groupId>org.codehaus.woodstox</groupId>
461 <artifactId>stax2-api</artifactId>
462 <!-- Needs to match jackson's idea of import -->
463 <version>3.1.4</version>
466 <groupId>com.fasterxml.jackson.core</groupId>
467 <artifactId>jackson-annotations</artifactId>
468 <version>2.8.9</version>
471 <groupId>com.fasterxml.jackson.core</groupId>
472 <artifactId>jackson-core</artifactId>
473 <version>2.8.9</version>
476 <groupId>com.fasterxml.jackson.core</groupId>
477 <artifactId>jackson-databind</artifactId>
478 <version>2.8.9</version>
481 <groupId>com.fasterxml.jackson.dataformat</groupId>
482 <artifactId>jackson-dataformat-xml</artifactId>
483 <version>2.8.9</version>
486 <groupId>com.fasterxml.jackson.datatype</groupId>
487 <artifactId>jackson-datatype-json-org</artifactId>
488 <version>2.8.9</version>
491 <groupId>com.fasterxml.jackson.jaxrs</groupId>
492 <artifactId>jackson-jaxrs-base</artifactId>
493 <version>2.8.9</version>
496 <groupId>com.fasterxml.jackson.jaxrs</groupId>
497 <artifactId>jackson-jaxrs-json-provider</artifactId>
498 <version>2.8.9</version>
501 <groupId>com.fasterxml.jackson.module</groupId>
502 <artifactId>jackson-module-jaxb-annotations</artifactId>
503 <version>2.8.9</version>
506 <!-- TODO do we really need resteasy ? -->
508 <groupId>org.jboss.resteasy</groupId>
509 <artifactId>jaxrs-api</artifactId>
510 <version>3.0.12.Final</version>
514 <groupId>com.sun.xml.txw2</groupId>
515 <artifactId>txw2</artifactId>
516 <version>20110809</version>
519 <groupId>com.google.code.findbugs</groupId>
520 <artifactId>annotations</artifactId>
521 <version>3.0.0</version>
523 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
524 the types of this artifact are already shaded inside the :annotations artifact.
525 This state is a temporary solution to allow all projects to gradually switch over
526 switch their <dependency><groupId>com.google.code.findbugs from
527 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
528 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
531 <groupId>net.jcip</groupId>
532 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
533 <artifactId>jcip-annotations</artifactId>
538 <groupId>org.eclipse.jdt</groupId>
539 <artifactId>org.eclipse.jdt.annotation</artifactId>
540 <version>2.1.0</version>
541 <scope>provided</scope>
544 <groupId>com.google.code.gson</groupId>
545 <artifactId>gson</artifactId>
546 <version>2.7</version>
549 <groupId>commons-fileupload</groupId>
550 <artifactId>commons-fileupload</artifactId>
551 <version>1.3.2</version>
554 <groupId>commons-io</groupId>
555 <artifactId>commons-io</artifactId>
556 <version>2.5</version>
559 <groupId>commons-net</groupId>
560 <artifactId>commons-net</artifactId>
561 <version>3.6</version>
564 <groupId>eclipselink</groupId>
565 <artifactId>javax.persistence</artifactId>
566 <version>2.0.4.v201112161009</version>
569 <groupId>eclipselink</groupId>
570 <artifactId>javax.resource</artifactId>
571 <version>1.5.0.v200906010428</version>
575 <groupId>org.eclipse.tycho</groupId>
576 <artifactId>org.eclipse.osgi</artifactId>
577 <version>3.9.1.v20130814-1242</version>
582 <groupId>geminiweb</groupId>
583 <artifactId>org.eclipse.gemini.web.core</artifactId>
584 <version>2.2.0.RELEASE</version>
587 <groupId>geminiweb</groupId>
588 <artifactId>org.eclipse.gemini.web.extender</artifactId>
589 <version>2.2.0.RELEASE</version>
592 <groupId>geminiweb</groupId>
593 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
594 <version>2.2.0.RELEASE</version>
597 <groupId>geminiweb</groupId>
598 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
599 <version>3.6.0.RELEASE</version>
602 <groupId>geminiweb</groupId>
603 <artifactId>org.eclipse.virgo.util.common</artifactId>
604 <version>3.6.0.RELEASE</version>
607 <groupId>geminiweb</groupId>
608 <artifactId>org.eclipse.virgo.util.io</artifactId>
609 <version>3.6.0.RELEASE</version>
612 <groupId>geminiweb</groupId>
613 <artifactId>org.eclipse.virgo.util.math</artifactId>
614 <version>3.6.0.RELEASE</version>
617 <groupId>geminiweb</groupId>
618 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
619 <version>3.6.0.RELEASE</version>
622 <groupId>geminiweb</groupId>
623 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
624 <version>3.6.0.RELEASE</version>
627 <groupId>geminiweb</groupId>
628 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
629 <version>3.6.0.RELEASE</version>
633 <groupId>io.netty</groupId>
634 <artifactId>netty-all</artifactId>
635 <!-- If these are updated, the version in features.xml needs to be changed too -->
636 <version>4.1.16.Final</version>
639 <groupId>io.netty</groupId>
640 <artifactId>netty-buffer</artifactId>
641 <version>4.1.16.Final</version>
644 <groupId>io.netty</groupId>
645 <artifactId>netty-codec</artifactId>
646 <version>4.1.16.Final</version>
649 <groupId>io.netty</groupId>
650 <artifactId>netty-codec-http</artifactId>
651 <version>4.1.16.Final</version>
654 <groupId>io.netty</groupId>
655 <artifactId>netty-common</artifactId>
656 <version>4.1.16.Final</version>
659 <groupId>io.netty</groupId>
660 <artifactId>netty-handler</artifactId>
661 <version>4.1.16.Final</version>
664 <groupId>io.netty</groupId>
665 <artifactId>netty-transport</artifactId>
666 <version>4.1.16.Final</version>
668 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
669 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
671 <groupId>io.netty</groupId>
672 <artifactId>netty-transport-native-epoll</artifactId>
673 <classifier>linux-x86_64</classifier>
674 <version>4.1.16.Final</version>
677 <groupId>javax.ws.rs</groupId>
678 <artifactId>jsr311-api</artifactId>
679 <version>1.1.1</version>
682 <groupId>orbit</groupId>
683 <artifactId>javax.activation</artifactId>
684 <version>1.1.0.v201211130549</version>
687 <groupId>orbit</groupId>
688 <artifactId>javax.annotation</artifactId>
689 <version>1.1.0.v201209060031</version>
692 <groupId>orbit</groupId>
693 <artifactId>javax.ejb</artifactId>
694 <version>3.1.1.v201204261316</version>
697 <groupId>orbit</groupId>
698 <artifactId>javax.el</artifactId>
699 <version>2.2.0.v201108011116</version>
702 <groupId>orbit</groupId>
703 <artifactId>javax.mail.glassfish</artifactId>
704 <version>1.4.1.v201108011116</version>
707 <groupId>javax.servlet</groupId>
708 <artifactId>javax.servlet-api</artifactId>
709 <version>3.1.0</version>
712 <groupId>orbit</groupId>
713 <artifactId>javax.servlet.jsp.jstl</artifactId>
714 <version>1.2.0.v201105211821</version>
717 <groupId>orbit</groupId>
718 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
719 <version>1.2.0.v201210211230</version>
722 <groupId>orbit</groupId>
723 <artifactId>javax.xml.rpc</artifactId>
724 <version>1.1.0.v201005080400</version>
727 <groupId>orbit</groupId>
728 <artifactId>org.apache.catalina</artifactId>
729 <version>7.0.53.v201406061610</version>
732 <groupId>orbit</groupId>
733 <artifactId>org.apache.catalina.ha</artifactId>
734 <version>7.0.53.v201406070630</version>
737 <groupId>orbit</groupId>
738 <artifactId>org.apache.catalina.tribes</artifactId>
739 <version>7.0.53.v201406070630</version>
742 <groupId>orbit</groupId>
743 <artifactId>org.apache.coyote</artifactId>
744 <version>7.0.53.v201406070630</version>
747 <groupId>orbit</groupId>
748 <artifactId>org.apache.el</artifactId>
749 <version>7.0.53.v201406060720</version>
752 <groupId>orbit</groupId>
753 <artifactId>org.apache.jasper</artifactId>
754 <version>7.0.53.v201406070630</version>
757 <groupId>orbit</groupId>
758 <artifactId>org.apache.juli.extras</artifactId>
759 <version>7.0.53.v201406060720</version>
762 <groupId>orbit</groupId>
763 <artifactId>org.apache.tomcat.api</artifactId>
764 <version>7.0.53.v201406060720</version>
767 <groupId>orbit</groupId>
768 <artifactId>org.apache.tomcat.util</artifactId>
769 <version>7.0.53.v201406070630</version>
772 <groupId>org.aopalliance</groupId>
773 <artifactId>com.springsource.org.aopalliance</artifactId>
774 <version>1.0.0</version>
777 <groupId>org.apache.felix</groupId>
778 <artifactId>org.apache.felix.dependencymanager</artifactId>
779 <version>4.3.0</version>
782 <groupId>org.apache.felix</groupId>
783 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
784 <version>4.0.4</version>
787 <groupId>org.apache.felix</groupId>
788 <artifactId>org.apache.felix.fileinstall</artifactId>
789 <version>3.5.4</version>
792 <groupId>org.apache.felix</groupId>
793 <artifactId>org.apache.felix.metatype</artifactId>
794 <version>1.1.2</version>
796 <!-- felix webconsole -->
798 <groupId>org.apache.felix</groupId>
799 <artifactId>org.apache.felix.webconsole</artifactId>
800 <version>4.2.14</version>
801 <!-- the all bundle includes all the necessary plugins -->
802 <classifier>all</classifier>
805 <groupId>org.bouncycastle</groupId>
806 <artifactId>bcpkix-jdk15on</artifactId>
807 <version>${bouncycastle.version}</version>
810 <groupId>org.bouncycastle</groupId>
811 <artifactId>bcprov-jdk15on</artifactId>
812 <version>${bouncycastle.version}</version>
815 <groupId>org.bouncycastle</groupId>
816 <artifactId>bcprov-ext-jdk15on</artifactId>
817 <version>${bouncycastle.version}</version>
820 <groupId>org.codehaus.enunciate</groupId>
821 <artifactId>enunciate-core-annotations</artifactId>
822 <version>${enunciate.version}</version>
825 <groupId>com.webcohesion.enunciate</groupId>
826 <artifactId>enunciate-core-annotations</artifactId>
827 <version>2.6.0</version>
830 <groupId>org.codehaus.jettison</groupId>
831 <artifactId>jettison</artifactId>
832 <version>1.3.8</version>
834 <!-- equinox http service bridge -->
836 <groupId>org.eclipse.equinox.http</groupId>
837 <artifactId>servlet</artifactId>
838 <version>1.0.0-v20070606</version>
840 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
841 pull in javax.validation first:
842 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
844 <groupId>org.eclipse.persistence</groupId>
845 <artifactId>org.eclipse.persistence.antlr</artifactId>
846 <version>2.6.2</version>
849 <groupId>org.eclipse.persistence</groupId>
850 <artifactId>org.eclipse.persistence.core</artifactId>
851 <version>2.6.2</version>
854 <groupId>org.eclipse.persistence</groupId>
855 <artifactId>org.eclipse.persistence.moxy</artifactId>
856 <version>2.6.2</version>
859 <groupId>javax.validation</groupId>
860 <artifactId>validation-api</artifactId>
861 <version>1.1.0.Final</version>
864 <groupId>org.javassist</groupId>
865 <artifactId>javassist</artifactId>
866 <version>3.21.0-GA</version>
869 <groupId>org.jboss.spec.javax.transaction</groupId>
870 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
871 <version>1.0.1.Final</version>
874 <groupId>org.jolokia</groupId>
875 <artifactId>jolokia-osgi</artifactId>
876 <version>1.3.7</version>
879 <groupId>org.json</groupId>
880 <artifactId>json</artifactId>
881 <version>20131018</version>
884 <groupId>org.osgi</groupId>
885 <artifactId>org.osgi.compendium</artifactId>
886 <version>${osgi.core.version}</version>
887 <scope>provided</scope>
890 <groupId>org.osgi</groupId>
891 <artifactId>org.osgi.core</artifactId>
892 <version>${osgi.core.version}</version>
893 <scope>provided</scope>
896 <groupId>org.osgi</groupId>
897 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
898 <artifactId>org.osgi.service.event</artifactId>
899 <version>1.3.1</version>
902 <groupId>org.apache.aries.quiesce</groupId>
903 <artifactId>org.apache.aries.quiesce.api</artifactId>
904 <version>1.0.0</version>
907 <groupId>org.ow2.asm</groupId>
908 <artifactId>asm-all</artifactId>
909 <version>5.1</version>
911 <!-- Visual VM hook -->
913 <groupId>org.ow2.chameleon.management</groupId>
914 <artifactId>chameleon-mbeans</artifactId>
915 <version>1.0.0</version>
918 <groupId>org.springframework</groupId>
919 <artifactId>spring-aop</artifactId>
920 <version>3.2.17.RELEASE</version>
923 <groupId>org.springframework</groupId>
924 <artifactId>spring-beans</artifactId>
925 <version>3.2.17.RELEASE</version>
928 <groupId>org.springframework</groupId>
929 <artifactId>spring-context</artifactId>
930 <version>3.2.17.RELEASE</version>
933 <groupId>org.springframework</groupId>
934 <artifactId>spring-core</artifactId>
935 <version>3.2.17.RELEASE</version>
938 <groupId>org.springframework</groupId>
939 <artifactId>spring-expression</artifactId>
940 <version>3.2.17.RELEASE</version>
943 <groupId>org.springframework</groupId>
944 <artifactId>spring-tx</artifactId>
945 <version>3.2.17.RELEASE</version>
948 <groupId>org.springframework</groupId>
949 <artifactId>spring-web</artifactId>
950 <version>3.2.17.RELEASE</version>
953 <groupId>org.springframework</groupId>
954 <artifactId>spring-webmvc</artifactId>
955 <version>3.2.17.RELEASE</version>
957 <!-- Spring security -->
959 <groupId>org.springframework.security</groupId>
960 <artifactId>spring-security-config</artifactId>
961 <version>3.2.9.RELEASE</version>
964 <groupId>org.springframework.security</groupId>
965 <artifactId>spring-security-core</artifactId>
966 <version>3.2.9.RELEASE</version>
969 <groupId>org.springframework.security</groupId>
970 <artifactId>spring-security-taglibs</artifactId>
971 <version>3.2.9.RELEASE</version>
974 <groupId>org.springframework.security</groupId>
975 <artifactId>spring-security-web</artifactId>
976 <version>3.2.9.RELEASE</version>
979 <groupId>virgomirror</groupId>
980 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
981 <version>3.8.0.I20120518-2145</version>
984 <!-- Configuration library -->
985 <!-- This needs to be kept in sync with the version used by akka -->
987 <groupId>com.typesafe</groupId>
988 <artifactId>config</artifactId>
989 <version>1.3.0</version>
992 <!-- Reactive Streams, used by Akka -->
994 <groupId>org.reactivestreams</groupId>
995 <artifactId>reactive-streams</artifactId>
996 <version>1.0.1</version>
1001 <groupId>com.typesafe</groupId>
1002 <artifactId>ssl-config-akka_2.12</artifactId>
1003 <version>0.2.1</version>
1006 <groupId>com.typesafe</groupId>
1007 <artifactId>ssl-config-core_2.12</artifactId>
1008 <version>0.2.1</version>
1011 <groupId>com.typesafe.akka</groupId>
1012 <artifactId>akka-actor_2.12</artifactId>
1013 <version>${akka.version}</version>
1016 <groupId>com.typesafe.akka</groupId>
1017 <artifactId>akka-cluster_2.12</artifactId>
1018 <version>${akka.version}</version>
1021 <groupId>com.typesafe.akka</groupId>
1022 <artifactId>akka-osgi_2.12</artifactId>
1023 <version>${akka.version}</version>
1026 <groupId>com.typesafe.akka</groupId>
1027 <artifactId>akka-persistence_2.12</artifactId>
1028 <version>${akka.version}</version>
1031 <groupId>com.typesafe.akka</groupId>
1032 <artifactId>akka-persistence-tck_2.12</artifactId>
1033 <version>${akka.version}</version>
1037 <groupId>com.typesafe.akka</groupId>
1038 <artifactId>akka-protobuf_2.12</artifactId>
1039 <version>${akka.version}</version>
1042 <groupId>com.typesafe.akka</groupId>
1043 <artifactId>akka-remote_2.12</artifactId>
1044 <version>${akka.version}</version>
1047 <groupId>com.typesafe.akka</groupId>
1048 <artifactId>akka-slf4j_2.12</artifactId>
1049 <version>${akka.version}</version>
1052 <groupId>com.typesafe.akka</groupId>
1053 <artifactId>akka-stream_2.12</artifactId>
1054 <version>${akka.version}</version>
1057 <groupId>com.typesafe.akka</groupId>
1058 <artifactId>akka-testkit_2.12</artifactId>
1059 <version>${akka.version}</version>
1063 <groupId>org.scala-lang.modules</groupId>
1064 <artifactId>scala-java8-compat_2.12</artifactId>
1065 <version>0.8.0</version>
1068 <groupId>org.scala-lang.modules</groupId>
1069 <artifactId>scala-parser-combinators_2.12</artifactId>
1070 <version>1.0.6</version>
1073 <groupId>org.iq80.leveldb</groupId>
1074 <artifactId>leveldb</artifactId>
1075 <version>${leveldb.version}</version>
1078 <groupId>org.fusesource.leveldbjni</groupId>
1079 <artifactId>leveldbjni-all</artifactId>
1080 <version>1.8-odl</version>
1083 <groupId>org.uncommons.maths</groupId>
1084 <artifactId>uncommons-maths</artifactId>
1085 <version>1.2.2a</version>
1088 <groupId>com.google.protobuf</groupId>
1089 <artifactId>protobuf-java</artifactId>
1090 <version>2.5.0</version>
1093 <!-- Aeron, required by Akka -->
1095 <groupId>org.agrona</groupId>
1096 <artifactId>agrona</artifactId>
1097 <version>0.9.5</version>
1100 <groupId>io.aeron</groupId>
1101 <artifactId>aeron-client</artifactId>
1102 <version>1.2.5</version>
1105 <groupId>io.aeron</groupId>
1106 <artifactId>aeron-driver</artifactId>
1107 <version>1.2.5</version>
1112 <groupId>org.scala-lang</groupId>
1113 <artifactId>scala-library</artifactId>
1114 <version>2.12.3</version>
1117 <groupId>org.scala-lang</groupId>
1118 <artifactId>scala-reflect</artifactId>
1119 <version>2.12.3</version>
1122 <!-- LMAX Disruptor -->
1124 <groupId>com.lmax</groupId>
1125 <artifactId>disruptor</artifactId>
1126 <!-- If this is updated, the version in features.xml needs to be changed too -->
1127 <version>3.3.6</version>
1130 <!-- Add Pax Exam -->
1132 <groupId>org.ops4j.pax.exam</groupId>
1133 <artifactId>pax-exam</artifactId>
1134 <version>${exam.version}</version>
1138 <groupId>org.ops4j.pax.exam</groupId>
1139 <artifactId>pax-exam-container-forked</artifactId>
1140 <version>${exam.version}</version>
1144 <groupId>org.ops4j.pax.exam</groupId>
1145 <artifactId>pax-exam-container-karaf</artifactId>
1146 <version>${exam.version}</version>
1150 <groupId>org.ops4j.pax.exam</groupId>
1151 <artifactId>pax-exam-container-native</artifactId>
1152 <version>${exam.version}</version>
1156 <groupId>org.ops4j.pax.exam</groupId>
1157 <artifactId>pax-exam-extender-service</artifactId>
1158 <version>${exam.version}</version>
1162 <groupId>org.ops4j.pax.exam</groupId>
1163 <artifactId>pax-exam-inject</artifactId>
1164 <version>${exam.version}</version>
1168 <groupId>org.ops4j.pax.exam</groupId>
1169 <artifactId>pax-exam-invoker-junit</artifactId>
1170 <version>${exam.version}</version>
1174 <groupId>org.ops4j.pax.exam</groupId>
1175 <artifactId>pax-exam-features</artifactId>
1176 <version>${exam.version}</version>
1181 <groupId>org.ops4j.pax.exam</groupId>
1182 <artifactId>pax-exam-junit4</artifactId>
1183 <version>${exam.version}</version>
1187 <groupId>org.ops4j.pax.exam</groupId>
1188 <artifactId>pax-exam-link-mvn</artifactId>
1189 <version>${exam.version}</version>
1193 <groupId>org.ops4j.pax.exam</groupId>
1194 <artifactId>pax-exam-link-assembly</artifactId>
1195 <version>${exam.version}</version>
1200 <groupId>org.ops4j.pax.url</groupId>
1201 <artifactId>pax-url-link</artifactId>
1202 <version>2.5.3</version>
1206 <groupId>org.ops4j.pax.url</groupId>
1207 <artifactId>pax-url-aether</artifactId>
1208 <version>2.5.3</version>
1212 <groupId>org.ops4j.pax.url</groupId>
1213 <artifactId>pax-url-wrap</artifactId>
1214 <version>2.5.3</version>
1218 <groupId>org.springframework.osgi</groupId>
1219 <artifactId>spring-osgi-mock</artifactId>
1220 <version>1.2.1</version>
1224 <groupId>xmlunit</groupId>
1225 <artifactId>xmlunit</artifactId>
1226 <version>1.6</version>
1231 <groupId>org.eclipse.jetty</groupId>
1232 <artifactId>jetty-client</artifactId>
1233 <version>9.2.19.v20160908</version>
1236 <groupId>org.eclipse.jetty</groupId>
1237 <artifactId>jetty-server</artifactId>
1238 <version>9.2.19.v20160908</version>
1241 <groupId>org.eclipse.jetty</groupId>
1242 <artifactId>jetty-servlet-tester</artifactId>
1243 <version>9.2.19.v20160908</version>
1247 <groupId>org.eclipse.jetty</groupId>
1248 <artifactId>jetty-servlets</artifactId>
1249 <version>9.2.19.v20160908</version>
1252 <groupId>org.eclipse.jetty</groupId>
1253 <artifactId>jetty-webapp</artifactId>
1254 <version>9.2.19.v20160908</version>
1258 <groupId>com.h2database</groupId>
1259 <artifactId>h2</artifactId>
1260 <version>1.4.193</version>
1263 <!-- Xtend http://xtend-lang.org
1264 NOTE: When you increase the version here,
1265 then remember to also increase it for the
1266 xtend-maven-plugin below! (We don't want to
1267 use a Maven property, in order not to "leak" that.)
1270 <groupId>org.eclipse.xtend</groupId>
1271 <artifactId>org.eclipse.xtend.lib</artifactId>
1272 <version>2.12.0</version>
1275 <groupId>org.eclipse.xtend</groupId>
1276 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1277 <version>2.12.0</version>
1280 <groupId>org.eclipse.xtext</groupId>
1281 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1282 <version>2.12.0</version>
1285 <!-- Annotations -->
1287 <groupId>javax.inject</groupId>
1288 <artifactId>javax.inject</artifactId>
1289 <version>1</version>
1290 <optional>true</optional>
1293 <groupId>org.ops4j.pax.cdi</groupId>
1294 <artifactId>pax-cdi-api</artifactId>
1295 <version>1.0.0.RC2</version>
1296 <optional>true</optional>
1301 <groupId>com.datastax.cassandra</groupId>
1302 <artifactId>cassandra-driver-core</artifactId>
1303 <version>2.1.9</version>
1308 <groupId>io.dropwizard.metrics</groupId>
1309 <artifactId>metrics-core</artifactId>
1310 <version>3.1.2</version>
1313 <groupId>io.dropwizard.metrics</groupId>
1314 <artifactId>metrics-graphite</artifactId>
1315 <version>3.1.2</version>
1318 <!-- jung, a graph library -->
1320 <groupId>net.sf.jung</groupId>
1321 <artifactId>jung-api</artifactId>
1322 <version>2.1.1</version>
1325 <groupId>net.sf.jung</groupId>
1326 <artifactId>jung-algorithms</artifactId>
1327 <version>2.1.1</version>
1330 <groupId>net.sf.jung</groupId>
1331 <artifactId>jung-graph-impl</artifactId>
1332 <version>2.1.1</version>
1335 <!-- Karaf console support -->
1337 <groupId>org.apache.karaf.shell</groupId>
1338 <artifactId>org.apache.karaf.shell.core</artifactId>
1339 <version>${karaf.version}</version>
1342 <groupId>org.apache.karaf.shell</groupId>
1343 <artifactId>org.apache.karaf.shell.console</artifactId>
1344 <version>${karaf.version}</version>
1347 <!-- When updating this version, consider antl4-maven-plugin below -->
1349 <groupId>org.antlr</groupId>
1350 <artifactId>antlr4-runtime</artifactId>
1351 <version>4.7</version>
1353 <!-- Aries' Blueprint version should be kept in sync to the version actually
1354 used by our ${karaf[4].version} ... please bump this when increasing that.
1355 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1357 <groupId>org.apache.aries.blueprint</groupId>
1358 <artifactId>org.apache.aries.blueprint.core</artifactId>
1359 <version>1.7.1</version>
1363 </dependencyManagement>
1366 <!-- Karaf provides SL4FJ encapsulation -->
1368 <groupId>org.slf4j</groupId>
1369 <artifactId>slf4j-api</artifactId>
1370 <scope>provided</scope>
1374 <groupId>org.slf4j</groupId>
1375 <artifactId>slf4j-simple</artifactId>
1379 <!-- Enable useful code quality annotations everywhere -->
1381 <groupId>com.google.code.findbugs</groupId>
1382 <artifactId>annotations</artifactId>
1383 <scope>provided</scope>
1386 <groupId>org.eclipse.jdt</groupId>
1387 <artifactId>org.eclipse.jdt.annotation</artifactId>
1388 <scope>provided</scope>
1395 <!-- Official maven plugins, alpha-sorted by artifactId.
1396 We do not need to specify the groupId. -->
1398 <artifactId>maven-antrun-plugin</artifactId>
1399 <version>1.8</version>
1402 <artifactId>maven-checkstyle-plugin</artifactId>
1403 <version>${checkstyle.version}</version>
1406 <groupId>com.puppycrawl.tools</groupId>
1407 <artifactId>checkstyle</artifactId>
1408 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1409 <version>8.2</version>
1412 <groupId>org.opendaylight.odlparent</groupId>
1413 <artifactId>checkstyle</artifactId>
1414 <version>3.0.0-SNAPSHOT</version>
1417 <groupId>org.opendaylight.odlparent</groupId>
1418 <artifactId>odl-license</artifactId>
1419 <version>3.0.0-SNAPSHOT</version>
1422 <groupId>com.github.sevntu-checkstyle</groupId>
1423 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1424 <version>1.24.2</version>
1428 <configLocation>odl_checks.xml</configLocation>
1429 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1430 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1431 generated sources directory -->
1432 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1433 <includeResources>true</includeResources>
1434 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1435 <includeTestResources>true</includeTestResources>
1436 <includes>**\/*.java, **\/*.xtend</includes>
1438 org/opendaylight/yang/gen/**,
1439 **/protobuff/messages/**,
1440 **/thrift/gen/*.java
1442 <failsOnError>false</failsOnError>
1443 <consoleOutput>true</consoleOutput>
1447 <id>check-license</id>
1451 <phase>process-sources</phase>
1453 <configLocation>check-license.xml</configLocation>
1454 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1455 <includeResources>false</includeResources>
1456 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1457 <includeTestResources>false</includeTestResources>
1458 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1460 org/opendaylight/yang/gen/**,
1461 **/protobuff/messages/**,
1462 **/thrift/gen/*.java
1464 <failsOnError>false</failsOnError>
1465 <consoleOutput>true</consoleOutput>
1472 <phase>process-sources</phase>
1477 <groupId>org.apache.maven.plugins</groupId>
1478 <artifactId>maven-pmd-plugin</artifactId>
1479 <version>3.8</version>
1483 <phase>process-sources</phase>
1485 <goal>cpd-check</goal>
1488 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1489 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1490 <minimumTokens>101</minimumTokens>
1491 <printFailingErrors>true</printFailingErrors>
1493 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1494 not understand path prefixes nor wildcards. Details are available
1495 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1496 Hence people introducing new generated sources have to include
1499 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1500 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1502 <linkXRef>false</linkXRef>
1508 <artifactId>maven-compiler-plugin</artifactId>
1509 <version>${maven.compile.plugin.version}</version>
1511 <source>1.8</source>
1512 <target>1.8</target>
1514 <arg>-parameters</arg>
1519 <artifactId>maven-enforcer-plugin</artifactId>
1520 <version>${enforcer.version}</version>
1523 <artifactId>maven-failsafe-plugin</artifactId>
1524 <version>${failsafe.version}</version>
1527 <artifactId>maven-invoker-plugin</artifactId>
1528 <version>2.0.0</version>
1531 <artifactId>maven-jar-plugin</artifactId>
1532 <version>3.0.2</version>
1535 <artifactId>maven-dependency-plugin</artifactId>
1538 <id>unpack-license</id>
1539 <phase>generate-resources</phase>
1540 <goals><goal>unpack</goal></goals>
1544 <groupId>org.opendaylight.odlparent</groupId>
1545 <artifactId>odl-license</artifactId>
1546 <version>3.0.0-SNAPSHOT</version>
1549 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1550 <excludes>META-INF/**</excludes>
1557 <artifactId>maven-plugin-plugin</artifactId>
1558 <version>${maven.plugin.version}</version>
1562 <artifactId>maven-remote-resources-plugin</artifactId>
1563 <version>1.5</version>
1566 <artifactId>maven-resources-plugin</artifactId>
1567 <version>3.0.1</version>
1570 <artifactId>maven-shade-plugin</artifactId>
1571 <version>2.4.3</version>
1574 <artifactId>maven-source-plugin</artifactId>
1575 <version>3.0.1</version>
1578 <id>attach-sources</id>
1579 <phase>verify</phase>
1581 <goal>jar-no-fork</goal>
1587 <artifactId>maven-surefire-plugin</artifactId>
1588 <version>${maven.surefire.version}</version>
1590 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1591 <trimStackTrace>false</trimStackTrace>
1595 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1597 <!-- Support Blueprint XML construction using annotations -->
1598 <groupId>org.apache.aries.blueprint</groupId>
1599 <artifactId>blueprint-maven-plugin</artifactId>
1600 <version>1.4.0</version>
1603 <scanPath>org.opendaylight</scanPath>
1608 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1609 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1610 <groupId>org.apache.xbean</groupId>
1611 <artifactId>xbean-finder-shaded</artifactId>
1612 <version>4.5</version>
1618 <goal>blueprint-generate</goal>
1625 <groupId>org.apache.felix</groupId>
1626 <artifactId>maven-bundle-plugin</artifactId>
1627 <version>${maven.bundle.version}</version>
1628 <extensions>true</extensions>
1631 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1632 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1633 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1634 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1640 <groupId>org.apache.karaf.tooling</groupId>
1641 <artifactId>karaf-maven-plugin</artifactId>
1642 <version>${karaf.version}</version>
1646 <groupId>org.apache.servicemix.tooling</groupId>
1647 <artifactId>depends-maven-plugin</artifactId>
1648 <version>1.4.0</version>
1651 <id>generate-depends-file</id>
1653 <goal>generate-depends-file</goal>
1660 <groupId>org.codehaus.enunciate</groupId>
1661 <artifactId>maven-enunciate-plugin</artifactId>
1662 <version>${enunciate.version}</version>
1665 <groupId>org.codehaus.groovy.maven</groupId>
1666 <artifactId>gmaven-plugin</artifactId>
1667 <version>1.0</version>
1670 <groupId>org.codehaus.mojo</groupId>
1671 <artifactId>build-helper-maven-plugin</artifactId>
1672 <version>1.12</version>
1675 <groupId>org.codehaus.mojo</groupId>
1676 <artifactId>findbugs-maven-plugin</artifactId>
1677 <version>3.0.4</version>
1680 <groupId>org.opendaylight.odlparent</groupId>
1681 <artifactId>findbugs</artifactId>
1682 <version>3.0.0-SNAPSHOT</version>
1687 Enables analysis which takes more memory but finds more bugs.
1688 If you run out of memory, changes the value of the effort element
1691 <effort>Max</effort>
1692 <!-- Reports all bugs (other values are medium and max) -->
1693 <threshold>Low</threshold>
1694 <!-- Build doesn't fail if problems are found -->
1695 <failOnError>false</failOnError>
1696 <!-- References the excluded rules -->
1697 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1698 <!-- Produces XML report -->
1699 <xmlOutput>true</xmlOutput>
1700 <!-- Configures the directory in which the XML report is created -->
1701 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1705 Ensures that FindBugs inspects source code when project is compiled.
1708 <id>analyze-compile</id>
1709 <phase>compile</phase>
1717 <groupId>com.github.spotbugs</groupId>
1718 <artifactId>spotbugs-maven-plugin</artifactId>
1719 <version>3.1.0-RC6</version>
1722 <groupId>com.github.spotbugs</groupId>
1723 <artifactId>spotbugs</artifactId>
1724 <version>3.1.0</version>
1727 <groupId>org.opendaylight.odlparent</groupId>
1728 <artifactId>findbugs</artifactId>
1729 <version>3.0.0-SNAPSHOT</version>
1734 Enables analysis which takes more memory but finds more bugs.
1735 If you run out of memory, changes the value of the effort element
1738 <effort>Max</effort>
1739 <!-- Reports all bugs (other values are medium and max) -->
1740 <threshold>Low</threshold>
1741 <!-- Build doesn't fail if problems are found -->
1742 <failOnError>false</failOnError>
1743 <!-- References the excluded rules -->
1744 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1745 <!-- Produces XML report -->
1746 <xmlOutput>true</xmlOutput>
1747 <!-- Configures the directory in which the XML report is created -->
1748 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1752 Ensures that SpotBugs inspects source code when project is compiled.
1755 <id>analyze-compile</id>
1756 <phase>compile</phase>
1764 <groupId>org.codehaus.mojo</groupId>
1765 <artifactId>properties-maven-plugin</artifactId>
1766 <version>${propertymavenplugin.version}</version>
1769 <groupId>org.eclipse.xtend</groupId>
1770 <artifactId>xtend-maven-plugin</artifactId>
1771 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1772 <version>2.12.0</version>
1776 <goal>compile</goal>
1777 <goal>testCompile</goal>
1780 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1781 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1787 <groupId>org.eclipse.m2e</groupId>
1788 <artifactId>lifecycle-mapping</artifactId>
1789 <version>1.0.0</version>
1791 <lifecycleMappingMetadata>
1794 <pluginExecutionFilter>
1795 <groupId>org.apache.felix</groupId>
1796 <artifactId>maven-bundle-plugin</artifactId>
1797 <versionRange>[1.0,)</versionRange>
1799 <goal>manifest</goal>
1801 </pluginExecutionFilter>
1807 <pluginExecutionFilter>
1808 <groupId>org.apache.maven.plugins</groupId>
1809 <artifactId>maven-enforcer-plugin</artifactId>
1810 <versionRange>[1.0.0,)</versionRange>
1812 <goal>enforce</goal>
1814 </pluginExecutionFilter>
1820 <pluginExecutionFilter>
1821 <groupId>org.apache.maven.plugins</groupId>
1822 <artifactId>maven-dependency-plugin</artifactId>
1823 <versionRange>[2.10,)</versionRange>
1827 </pluginExecutionFilter>
1833 <pluginExecutionFilter>
1834 <groupId>org.apache.maven.plugins</groupId>
1835 <artifactId>maven-pmd-plugin</artifactId>
1836 <versionRange>[3.6,)</versionRange>
1838 <goal>cpd-check</goal>
1840 </pluginExecutionFilter>
1845 <!-- The plugin will eventually be removed, remove this too at that point -->
1847 <pluginExecutionFilter>
1848 <groupId>org.apache.maven.plugins</groupId>
1849 <artifactId>maven-antrun-plugin</artifactId>
1850 <versionRange>[1.8,)</versionRange>
1854 </pluginExecutionFilter>
1860 <pluginExecutionFilter>
1861 <groupId>org.apache.servicemix.tooling</groupId>
1862 <artifactId>depends-maven-plugin</artifactId>
1863 <versionRange>[1.2,)</versionRange>
1865 <goal>generate-depends-file</goal>
1867 </pluginExecutionFilter>
1873 <pluginExecutionFilter>
1874 <groupId>org.jacoco</groupId>
1875 <artifactId>jacoco-maven-plugin</artifactId>
1876 <versionRange>[0.7.0,)</versionRange>
1878 <goal>prepare-agent</goal>
1881 </pluginExecutionFilter>
1888 <pluginExecutionFilter>
1889 <groupId>org.ops4j.pax.exam</groupId>
1890 <artifactId>maven-paxexam-plugin</artifactId>
1891 <versionRange>[1.2.4,)</versionRange>
1893 <goal>generate-depends-file</goal>
1895 </pluginExecutionFilter>
1902 </lifecycleMappingMetadata>
1907 <groupId>org.jacoco</groupId>
1908 <artifactId>jacoco-maven-plugin</artifactId>
1909 <version>${jacoco.version}</version>
1911 <!-- Note: This exclusion list should match <sonar.exclusions>
1914 <exclude>**/gen/**</exclude>
1915 <exclude>**/generated-sources/**</exclude>
1916 <exclude>**/generated-test-sources/**</exclude>
1917 <exclude>**/yang-gen/**</exclude>
1918 <exclude>**/yang-gen-config/**</exclude>
1919 <exclude>**/yang-gen-sal/**</exclude>
1920 <exclude>**/yang-gen-code/**</exclude>
1921 <exclude>**/pax/**</exclude>
1927 <groupId>org.ops4j.pax.exam</groupId>
1928 <artifactId>maven-paxexam-plugin</artifactId>
1929 <version>1.2.4</version>
1933 <groupId>org.codehaus.mojo</groupId>
1934 <artifactId>jdepend-maven-plugin</artifactId>
1935 <version>2.0</version>
1940 <goal>generate-no-fork</goal>
1946 <!-- When updating this version, consider antl4-runtime above -->
1948 <groupId>org.antlr</groupId>
1949 <artifactId>antlr4-maven-plugin</artifactId>
1950 <version>4.7</version>
1957 <artifactId>maven-enforcer-plugin</artifactId>
1960 <id>enforce-banned-dependencies</id>
1962 <goal>enforce</goal>
1966 <bannedDependencies>
1967 <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>
1969 <exclude>org.mockito:mockito-all</exclude>
1970 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1971 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1972 <!-- as a dependency then clashes with the dependency checker (because it -->
1973 <!-- is not very good at handling annotations). Use the annotations jar -->
1974 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1976 <exclude>com.google.code.findbugs:jsr305</exclude>
1977 <exclude>net.jcip:jcip-annotations</exclude>
1979 </bannedDependencies>
1987 <artifactId>maven-dependency-plugin</artifactId>
1990 <artifactId>maven-checkstyle-plugin</artifactId>
1993 <artifactId>maven-pmd-plugin</artifactId>
1996 <artifactId>maven-source-plugin</artifactId>
1999 <artifactId>maven-javadoc-plugin</artifactId>
2002 <!-- Jacoco / Sonar -->
2004 <groupId>org.jacoco</groupId>
2005 <artifactId>jacoco-maven-plugin</artifactId>
2008 <id>pre-unit-test</id>
2010 <goal>prepare-agent</goal>
2013 <destFile>${sonar.jacoco.reportPath}</destFile>
2017 <id>post-unit-test</id>
2022 <dataFile>${sonar.jacoco.reportPath}</dataFile>
2029 <groupId>com.alexecollins.maven.plugin</groupId>
2030 <artifactId>script-maven-plugin</artifactId>
2031 <version>1.0.0</version>
2034 <phase>prepare-package</phase>
2036 <goal>execute</goal>
2040 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
2041 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
2042 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
2043 // static class methods only - it will be MUCH easier to write!)
2044 void copy(File root, String glob, File target) {
2045 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
2046 Iterator dirStreamIterator = dirStream.iterator();
2047 while (dirStreamIterator.hasNext()) {
2048 java.nio.file.Path path = dirStreamIterator.next();
2049 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
2050 new java.nio.file.CopyOption[] {
2051 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
2052 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
2059 File gitRepoRootDir = project.basedir;
2060 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
2061 gitRepoRootDir = gitRepoRootDir.getParentFile();
2064 File target = new File(project.build.outputDirectory);
2066 copy(gitRepoRootDir, "README*", target);
2067 copy(gitRepoRootDir, "CONTRIBUTING*", target);
2068 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
2075 <groupId>org.apache-extras.beanshell</groupId>
2076 <artifactId>bsh</artifactId>
2077 <version>2.0b6</version>
2082 <!-- Blueprint dependency injection -->
2083 <!-- Remove when upgrading to plugin 1.5.0, and use
2084 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
2085 See https://issues.apache.org/jira/browse/ARIES-1597
2086 BUT beware that the directory is now conditional... -->
2088 <artifactId>maven-antrun-plugin</artifactId>
2090 <!-- This should only run once, in the process-classes phase; but we need it to run after
2091 process-classes in child projects. Attaching to process-test-classes and prepare-package
2092 ensures that the file will be moved whether tests are skipped or not. -->
2094 <id>move-autowire-test</id>
2095 <phase>process-test-classes</phase>
2101 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2103 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2105 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2106 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2107 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2108 failonerror="false" quiet="true" />
2111 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2118 <id>move-autowire-package</id>
2119 <phase>prepare-package</phase>
2125 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2127 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2129 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2130 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2131 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2132 failonerror="false" quiet="true" />
2135 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2144 <groupId>ant-contrib</groupId>
2145 <artifactId>ant-contrib</artifactId>
2146 <version>1.0b3</version>
2149 <groupId>ant</groupId>
2150 <artifactId>ant</artifactId>
2155 <groupId>org.apache.ant</groupId>
2156 <artifactId>ant-nodeps</artifactId>
2157 <version>1.8.1</version>
2167 <artifactId>maven-checkstyle-plugin</artifactId>
2168 <version>${checkstyle.version}</version>
2171 <!-- FIXME: activate this
2173 <artifactId>maven-project-info-reports-plugin</artifactId>
2174 <version>${projectinfo}</version>
2177 <groupId>org.codehaus.mojo</groupId>
2178 <artifactId>jdepend-maven-plugin</artifactId>
2182 <report>generate-no-fork</report>
2188 <artifactId>maven-javadoc-plugin</artifactId>
2191 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2192 <link>https://google.github.io/guava/releases/23.2-jre/api/docs/</link>
2193 <link>http://netty.io/4.1/api/</link>
2201 Maven Site Configuration
2203 The following configuration is necessary for maven-site-plugin to
2204 correctly identify the correct deployment path for OpenDaylight Maven
2207 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2209 <distributionManagement>
2211 <id>opendaylight-site</id>
2212 <url>${nexus.site.url}/${project.artifactId}/</url>
2214 </distributionManagement>