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>2.0.6-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.0.1</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.6.1</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>2.0.3-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.57</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.4.20</akka.version>
108 <scala.version>2.11</scala.version>
109 <scala.micro.version>12</scala.micro.version>
110 <leveldb.version>0.7</leveldb.version>
112 <!-- Default Sonar configuration -->
113 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
114 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
115 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
116 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
117 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
118 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
120 <pmd.cpd.fail>false</pmd.cpd.fail>
123 <dependencyManagement>
127 <groupId>org.opendaylight.odlparent</groupId>
128 <artifactId>odlparent-artifacts</artifactId>
129 <version>2.0.6-SNAPSHOT</version>
130 <scope>import</scope>
134 <!-- Build tool dependencies (normally not here in <dependencies>,
135 but in a <dependency> in <pluginManagement> but for Checkstyle this
136 is required so that we can share the same version of Checkstyle
137 for both the Maven plugin below as well as for custom Checkstyle
138 check rule projects, such as yangtools' checkstyle-logging) -->
140 <groupId>com.puppycrawl.tools</groupId>
141 <artifactId>checkstyle</artifactId>
142 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
143 <version>7.6.1</version>
146 <!-- Testing Dependencies -->
147 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
148 <!-- Need to stick to JUnit 4.11 until
149 https://github.com/jayway/powermock/issues/560 is fixed (either in
150 PowerMock or with a new JUnit release) -->
152 <groupId>junit</groupId>
153 <artifactId>junit</artifactId>
154 <version>4.11</version>
158 <groupId>junit</groupId>
159 <artifactId>junit-dep</artifactId>
160 <version>4.11</version>
164 <groupId>org.skyscreamer</groupId>
165 <artifactId>jsonassert</artifactId>
166 <version>1.3.0</version>
169 <!-- Bug 7662: TODO eventually remove mockito-all, because its use is now forbidden via a new rule of maven-enforcer-plugin below
170 It wasn't immediately removed together with the introduction of the maven-enforcer-plugin, because while we transition
171 to replace all uses of mockito-all by mockito-core in all of ODL downstream projects, its much clearer to get a
172 maven-enforcer-plugin violation message than suddenly a confusing 'dependencies.dependency.version' for org.mockito:mockito-all:jar is missing -->
174 <groupId>org.mockito</groupId>
175 <!-- Bug 7662: @deprecated Do *NOT* use mockito-all, but *ALWAYS* only mockito-core; this should be removed, and non-usage enforced! -->
176 <artifactId>mockito-all</artifactId>
177 <version>1.10.19</version>
181 <groupId>org.mockito</groupId>
182 <artifactId>mockito-core</artifactId>
183 <version>1.10.19</version>
187 <groupId>org.hamcrest</groupId>
188 <artifactId>hamcrest-core</artifactId>
189 <version>1.3</version>
193 <groupId>org.hamcrest</groupId>
194 <artifactId>hamcrest-library</artifactId>
195 <version>1.3</version>
199 <groupId>com.google.truth</groupId>
200 <artifactId>truth</artifactId>
201 <version>0.28</version>
205 <groupId>org.awaitility</groupId>
206 <artifactId>awaitility</artifactId>
207 <version>2.0.0</version>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-api-mockito</artifactId>
213 <version>1.6.4</version>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-api-support</artifactId>
219 <version>1.6.4</version>
223 <groupId>org.powermock</groupId>
224 <artifactId>powermock-core</artifactId>
225 <version>1.6.4</version>
229 <groupId>org.powermock</groupId>
230 <artifactId>powermock-module-junit4</artifactId>
231 <version>1.6.4</version>
235 <groupId>org.powermock</groupId>
236 <artifactId>powermock-reflect</artifactId>
237 <version>1.6.4</version>
242 Annotation Processors
245 <!-- Generates immutable implementations, builders, the works -->
246 <groupId>org.immutables</groupId>
247 <artifactId>value</artifactId>
248 <version>2.4.2</version>
249 <!-- Must be provided; <scope>test here breaks APT in Eclipse :( -->
250 <scope>provided</scope>
253 <!-- Generates META-INF/services entries for ServiceLoader -->
254 <groupId>org.kohsuke.metainf-services</groupId>
255 <artifactId>metainf-services</artifactId>
256 <version>1.7</version>
257 <optional>true</optional>
264 <groupId>org.slf4j</groupId>
265 <artifactId>jcl-over-slf4j</artifactId>
266 <version>1.7.21</version>
269 <groupId>org.slf4j</groupId>
270 <artifactId>slf4j-api</artifactId>
271 <version>1.7.21</version>
274 <groupId>org.slf4j</groupId>
275 <artifactId>slf4j-log4j12</artifactId>
276 <version>1.7.21</version>
279 <groupId>org.slf4j</groupId>
280 <artifactId>log4j-over-slf4j</artifactId>
281 <version>1.7.21</version>
284 <groupId>org.slf4j</groupId>
285 <artifactId>slf4j-simple</artifactId>
286 <version>1.7.21</version>
290 <groupId>xml-apis</groupId>
291 <artifactId>xml-apis</artifactId>
292 <version>1.4.01</version>
295 <groupId>xerces</groupId>
296 <artifactId>xercesImpl</artifactId>
297 <version>2.11.0</version>
300 <groupId>ch.qos.logback</groupId>
301 <artifactId>logback-core</artifactId>
302 <version>1.2.2</version>
305 <groupId>ch.qos.logback</groupId>
306 <artifactId>logback-classic</artifactId>
307 <version>1.2.2</version>
310 <groupId>com.google.guava</groupId>
311 <artifactId>guava</artifactId>
312 <version>22.0</version>
315 <groupId>com.google.guava</groupId>
316 <artifactId>guava-testlib</artifactId>
317 <version>22.0</version>
321 <groupId>com.mycila.guice.extensions</groupId>
322 <artifactId>mycila-guice-jsr250</artifactId>
323 <!-- Make sure this version is in sync with the guice one below -->
324 <version>4.0.rc1</version>
328 <groupId>com.google.inject</groupId>
329 <artifactId>guice</artifactId>
330 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
331 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
332 <version>4.1.0</version>
335 <groupId>org.apache.commons</groupId>
336 <artifactId>commons-lang3</artifactId>
337 <version>3.6</version>
340 <groupId>commons-lang</groupId>
341 <artifactId>commons-lang</artifactId>
342 <version>2.6</version>
345 <groupId>commons-codec</groupId>
346 <artifactId>commons-codec</artifactId>
347 <version>1.10</version>
349 <!-- Jersey for JAXRS -->
351 <groupId>javax.ws.rs</groupId>
352 <artifactId>javax.ws.rs-api</artifactId>
353 <version>2.0.1</version>
356 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
357 <artifactId>jersey-guava</artifactId>
358 <version>2.22.2</version>
361 <groupId>org.glassfish</groupId>
362 <artifactId>javax.json</artifactId>
363 <version>1.0.4</version>
366 <groupId>com.eclipsesource.jaxrs</groupId>
367 <artifactId>jersey-all</artifactId>
368 <version>2.22.2</version>
371 <!-- servlet 3.x support -->
373 <groupId>org.glassfish.jersey.containers</groupId>
374 <artifactId>jersey-container-servlet</artifactId>
375 <version>2.8</version>
378 <groupId>org.apache.geronimo.bundles</groupId>
379 <artifactId>json</artifactId>
380 <version>20090211_1</version>
382 <!-- FIXME : remove all dependencies for jersey 1.17 -->
384 <groupId>com.sun.jersey</groupId>
385 <artifactId>jersey-core</artifactId>
386 <version>1.17</version>
389 <groupId>com.sun.jersey</groupId>
390 <artifactId>jersey-json</artifactId>
391 <version>1.17</version>
394 <groupId>com.sun.jersey</groupId>
395 <artifactId>jersey-server</artifactId>
396 <version>1.17</version>
399 <groupId>com.sun.jersey</groupId>
400 <artifactId>jersey-servlet</artifactId>
401 <version>1.17</version>
404 <groupId>com.sun.jersey.jersey-test-framework</groupId>
405 <artifactId>jersey-test-framework-grizzly2</artifactId>
406 <version>1.17</version>
410 <groupId>com.sun.jersey.jersey-test-framework</groupId>
411 <artifactId>jersey-test-framework-inmemory</artifactId>
412 <version>1.17</version>
416 <groupId>com.sun.jersey</groupId>
417 <artifactId>jersey-client</artifactId>
418 <version>1.17</version>
421 <groupId>org.opendaylight.controller.thirdparty</groupId>
422 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
423 <version>1.17</version>
426 <groupId>org.apache.shiro</groupId>
427 <artifactId>shiro-core</artifactId>
428 <version>1.3.2</version>
431 <groupId>org.apache.shiro</groupId>
432 <artifactId>shiro-web</artifactId>
433 <version>1.3.2</version>
436 <!-- Plugin integration -->
438 <groupId>net.java.dev.stax-utils</groupId>
439 <artifactId>stax-utils</artifactId>
440 <version>20070216</version>
443 <groupId>org.sonatype.plexus</groupId>
444 <artifactId>plexus-build-api</artifactId>
445 <version>0.0.7</version>
448 <groupId>org.codehaus.plexus</groupId>
449 <artifactId>plexus-slf4j-logging</artifactId>
450 <version>1.1</version>
454 <groupId>org.codehaus.woodstox</groupId>
455 <artifactId>stax2-api</artifactId>
456 <!-- Needs to match jackson's idea of import -->
457 <version>3.1.4</version>
460 <groupId>com.fasterxml.jackson.core</groupId>
461 <artifactId>jackson-annotations</artifactId>
462 <version>2.3.2</version>
465 <groupId>com.fasterxml.jackson.core</groupId>
466 <artifactId>jackson-core</artifactId>
467 <version>2.3.2</version>
470 <groupId>com.fasterxml.jackson.core</groupId>
471 <artifactId>jackson-databind</artifactId>
472 <version>2.3.2</version>
475 <groupId>com.fasterxml.jackson.dataformat</groupId>
476 <artifactId>jackson-dataformat-xml</artifactId>
477 <version>2.3.2</version>
480 <groupId>com.fasterxml.jackson.datatype</groupId>
481 <artifactId>jackson-datatype-json-org</artifactId>
482 <version>2.3.2</version>
485 <groupId>com.fasterxml.jackson.jaxrs</groupId>
486 <artifactId>jackson-jaxrs-base</artifactId>
487 <version>2.3.2</version>
490 <groupId>com.fasterxml.jackson.jaxrs</groupId>
491 <artifactId>jackson-jaxrs-json-provider</artifactId>
492 <version>2.3.2</version>
495 <groupId>com.fasterxml.jackson.module</groupId>
496 <artifactId>jackson-module-jaxb-annotations</artifactId>
497 <version>2.3.2</version>
500 <!-- TODO do we really need resteasy ? -->
502 <groupId>org.jboss.resteasy</groupId>
503 <artifactId>jaxrs-api</artifactId>
504 <version>3.0.12.Final</version>
508 <groupId>com.sun.xml.txw2</groupId>
509 <artifactId>txw2</artifactId>
510 <version>20110809</version>
513 <groupId>com.github.romix</groupId>
514 <artifactId>java-concurrent-hash-trie-map</artifactId>
515 <version>0.2.23-ODL</version>
518 <groupId>com.google.code.findbugs</groupId>
519 <artifactId>jsr305</artifactId>
520 <version>3.0.0</version>
523 <groupId>com.google.code.findbugs</groupId>
524 <artifactId>annotations</artifactId>
525 <version>3.0.0</version>
527 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
528 the types of this artifact are already shaded inside the :annotations artifact.
529 This state is a temporary solution to allow all projects to gradually switch over
530 switch their <dependency><groupId>com.google.code.findbugs from
531 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
532 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
535 <groupId>net.jcip</groupId>
536 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
537 <artifactId>jcip-annotations</artifactId>
542 <groupId>org.eclipse.jdt</groupId>
543 <artifactId>org.eclipse.jdt.annotation</artifactId>
544 <version>2.0.0</version>
545 <scope>provided</scope>
548 <groupId>com.google.code.gson</groupId>
549 <artifactId>gson</artifactId>
550 <version>2.7</version>
553 <groupId>commons-fileupload</groupId>
554 <artifactId>commons-fileupload</artifactId>
555 <version>1.3.2</version>
558 <groupId>commons-io</groupId>
559 <artifactId>commons-io</artifactId>
560 <version>2.5</version>
563 <groupId>commons-net</groupId>
564 <artifactId>commons-net</artifactId>
565 <version>3.6</version>
568 <groupId>eclipselink</groupId>
569 <artifactId>javax.persistence</artifactId>
570 <version>2.0.4.v201112161009</version>
573 <groupId>eclipselink</groupId>
574 <artifactId>javax.resource</artifactId>
575 <version>1.5.0.v200906010428</version>
578 <groupId>equinoxSDK381</groupId>
579 <artifactId>javax.servlet</artifactId>
580 <version>3.0.0.v201112011016</version>
583 <groupId>equinoxSDK381</groupId>
584 <artifactId>javax.servlet.jsp</artifactId>
585 <version>2.2.0.v201112011158</version>
588 <groupId>equinoxSDK381</groupId>
589 <artifactId>org.apache.felix.gogo.command</artifactId>
590 <version>0.8.0.v201108120515</version>
593 <groupId>equinoxSDK381</groupId>
594 <artifactId>org.apache.felix.gogo.runtime</artifactId>
595 <version>0.8.0.v201108120515</version>
598 <groupId>equinoxSDK381</groupId>
599 <artifactId>org.apache.felix.gogo.shell</artifactId>
600 <version>0.8.0.v201110170705</version>
603 <groupId>equinoxSDK381</groupId>
604 <artifactId>org.eclipse.equinox.cm</artifactId>
605 <version>1.0.400.v20120522-1841</version>
608 <groupId>equinoxSDK381</groupId>
609 <artifactId>org.eclipse.equinox.console</artifactId>
610 <version>1.0.0.v20120522-1841</version>
613 <groupId>equinoxSDK381</groupId>
614 <artifactId>org.eclipse.equinox.ds</artifactId>
615 <version>1.4.0.v20120522-1841</version>
618 <groupId>equinoxSDK381</groupId>
619 <artifactId>org.eclipse.equinox.launcher</artifactId>
620 <version>1.3.0.v20120522-1813</version>
623 <groupId>equinoxSDK381</groupId>
624 <artifactId>org.eclipse.equinox.util</artifactId>
625 <version>1.0.400.v20120522-2049</version>
628 <groupId>equinoxSDK381</groupId>
629 <artifactId>org.eclipse.osgi.services</artifactId>
630 <version>3.3.100.v20120522-1822</version>
634 <groupId>org.eclipse.tycho</groupId>
635 <artifactId>org.eclipse.osgi</artifactId>
636 <version>3.9.1.v20130814-1242</version>
638 <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
640 <groupId>equinoxSDK381</groupId>
641 <artifactId>org.eclipse.osgi</artifactId>
642 <version>3.8.1.v20120830-144521</version>
647 <groupId>geminiweb</groupId>
648 <artifactId>org.eclipse.gemini.web.core</artifactId>
649 <version>2.2.0.RELEASE</version>
652 <groupId>geminiweb</groupId>
653 <artifactId>org.eclipse.gemini.web.extender</artifactId>
654 <version>2.2.0.RELEASE</version>
657 <groupId>geminiweb</groupId>
658 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
659 <version>2.2.0.RELEASE</version>
662 <groupId>geminiweb</groupId>
663 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
664 <version>3.6.0.RELEASE</version>
667 <groupId>geminiweb</groupId>
668 <artifactId>org.eclipse.virgo.util.common</artifactId>
669 <version>3.6.0.RELEASE</version>
672 <groupId>geminiweb</groupId>
673 <artifactId>org.eclipse.virgo.util.io</artifactId>
674 <version>3.6.0.RELEASE</version>
677 <groupId>geminiweb</groupId>
678 <artifactId>org.eclipse.virgo.util.math</artifactId>
679 <version>3.6.0.RELEASE</version>
682 <groupId>geminiweb</groupId>
683 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
684 <version>3.6.0.RELEASE</version>
687 <groupId>geminiweb</groupId>
688 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
689 <version>3.6.0.RELEASE</version>
692 <groupId>geminiweb</groupId>
693 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
694 <version>3.6.0.RELEASE</version>
698 <groupId>io.netty</groupId>
699 <artifactId>netty-all</artifactId>
700 <!-- If these are updated, the version in features.xml needs to be changed too -->
701 <version>4.1.8.Final</version>
704 <groupId>io.netty</groupId>
705 <artifactId>netty-buffer</artifactId>
706 <version>4.1.8.Final</version>
709 <groupId>io.netty</groupId>
710 <artifactId>netty-codec</artifactId>
711 <version>4.1.8.Final</version>
714 <groupId>io.netty</groupId>
715 <artifactId>netty-codec-http</artifactId>
716 <version>4.1.8.Final</version>
719 <groupId>io.netty</groupId>
720 <artifactId>netty-common</artifactId>
721 <version>4.1.8.Final</version>
724 <groupId>io.netty</groupId>
725 <artifactId>netty-handler</artifactId>
726 <version>4.1.8.Final</version>
729 <groupId>io.netty</groupId>
730 <artifactId>netty-transport</artifactId>
731 <version>4.1.8.Final</version>
733 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
734 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
736 <groupId>io.netty</groupId>
737 <artifactId>netty-transport-native-epoll</artifactId>
738 <classifier>linux-x86_64</classifier>
739 <version>4.1.8.Final</version>
742 <groupId>javax.ws.rs</groupId>
743 <artifactId>jsr311-api</artifactId>
744 <version>1.1.1</version>
747 <groupId>orbit</groupId>
748 <artifactId>javax.activation</artifactId>
749 <version>1.1.0.v201211130549</version>
752 <groupId>orbit</groupId>
753 <artifactId>javax.annotation</artifactId>
754 <version>1.1.0.v201209060031</version>
757 <groupId>orbit</groupId>
758 <artifactId>javax.ejb</artifactId>
759 <version>3.1.1.v201204261316</version>
762 <groupId>orbit</groupId>
763 <artifactId>javax.el</artifactId>
764 <version>2.2.0.v201108011116</version>
767 <groupId>orbit</groupId>
768 <artifactId>javax.mail.glassfish</artifactId>
769 <version>1.4.1.v201108011116</version>
772 <groupId>javax.servlet</groupId>
773 <artifactId>javax.servlet-api</artifactId>
774 <version>3.1.0</version>
777 <groupId>orbit</groupId>
778 <artifactId>javax.servlet.jsp.jstl</artifactId>
779 <version>1.2.0.v201105211821</version>
782 <groupId>orbit</groupId>
783 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
784 <version>1.2.0.v201210211230</version>
787 <groupId>orbit</groupId>
788 <artifactId>javax.xml.rpc</artifactId>
789 <version>1.1.0.v201005080400</version>
792 <groupId>orbit</groupId>
793 <artifactId>org.apache.catalina</artifactId>
794 <version>7.0.53.v201406061610</version>
797 <groupId>orbit</groupId>
798 <artifactId>org.apache.catalina.ha</artifactId>
799 <version>7.0.53.v201406070630</version>
802 <groupId>orbit</groupId>
803 <artifactId>org.apache.catalina.tribes</artifactId>
804 <version>7.0.53.v201406070630</version>
807 <groupId>orbit</groupId>
808 <artifactId>org.apache.coyote</artifactId>
809 <version>7.0.53.v201406070630</version>
812 <groupId>orbit</groupId>
813 <artifactId>org.apache.el</artifactId>
814 <version>7.0.53.v201406060720</version>
817 <groupId>orbit</groupId>
818 <artifactId>org.apache.jasper</artifactId>
819 <version>7.0.53.v201406070630</version>
822 <groupId>orbit</groupId>
823 <artifactId>org.apache.juli.extras</artifactId>
824 <version>7.0.53.v201406060720</version>
827 <groupId>orbit</groupId>
828 <artifactId>org.apache.tomcat.api</artifactId>
829 <version>7.0.53.v201406060720</version>
832 <groupId>orbit</groupId>
833 <artifactId>org.apache.tomcat.util</artifactId>
834 <version>7.0.53.v201406070630</version>
837 <groupId>org.aopalliance</groupId>
838 <artifactId>com.springsource.org.aopalliance</artifactId>
839 <version>1.0.0</version>
842 <groupId>org.apache.felix</groupId>
843 <artifactId>org.apache.felix.dependencymanager</artifactId>
844 <version>4.3.0</version>
847 <groupId>org.apache.felix</groupId>
848 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
849 <version>4.0.4</version>
852 <groupId>org.apache.felix</groupId>
853 <artifactId>org.apache.felix.fileinstall</artifactId>
854 <version>3.5.4</version>
857 <groupId>org.apache.felix</groupId>
858 <artifactId>org.apache.felix.metatype</artifactId>
859 <version>1.1.2</version>
861 <!-- felix webconsole -->
863 <groupId>org.apache.felix</groupId>
864 <artifactId>org.apache.felix.webconsole</artifactId>
865 <version>4.2.14</version>
866 <!-- the all bundle includes all the necessary plugins -->
867 <classifier>all</classifier>
870 <groupId>org.bouncycastle</groupId>
871 <artifactId>bcpkix-jdk15on</artifactId>
872 <version>${bouncycastle.version}</version>
875 <groupId>org.bouncycastle</groupId>
876 <artifactId>bcprov-jdk15on</artifactId>
877 <version>${bouncycastle.version}</version>
880 <groupId>org.bouncycastle</groupId>
881 <artifactId>bcprov-ext-jdk15on</artifactId>
882 <version>${bouncycastle.version}</version>
885 <groupId>org.codehaus.enunciate</groupId>
886 <artifactId>enunciate-core-annotations</artifactId>
887 <version>${enunciate.version}</version>
890 <groupId>com.webcohesion.enunciate</groupId>
891 <artifactId>enunciate-core-annotations</artifactId>
892 <version>2.6.0</version>
895 <groupId>org.codehaus.jettison</groupId>
896 <artifactId>jettison</artifactId>
897 <version>1.3.7</version>
899 <!-- equinox http service bridge -->
901 <groupId>org.eclipse.equinox.http</groupId>
902 <artifactId>servlet</artifactId>
903 <version>1.0.0-v20070606</version>
905 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
906 pull in javax.validation first:
907 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
909 <groupId>org.eclipse.persistence</groupId>
910 <artifactId>org.eclipse.persistence.antlr</artifactId>
911 <version>2.6.2</version>
914 <groupId>org.eclipse.persistence</groupId>
915 <artifactId>org.eclipse.persistence.core</artifactId>
916 <version>2.6.2</version>
919 <groupId>org.eclipse.persistence</groupId>
920 <artifactId>org.eclipse.persistence.moxy</artifactId>
921 <version>2.6.2</version>
924 <groupId>javax.validation</groupId>
925 <artifactId>validation-api</artifactId>
926 <version>1.1.0.Final</version>
929 <groupId>org.javassist</groupId>
930 <artifactId>javassist</artifactId>
931 <version>3.20.0-GA</version>
934 <groupId>org.jboss.spec.javax.transaction</groupId>
935 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
936 <version>1.0.1.Final</version>
939 <groupId>org.jolokia</groupId>
940 <artifactId>jolokia-osgi</artifactId>
941 <version>1.3.6</version>
944 <groupId>org.json</groupId>
945 <artifactId>json</artifactId>
946 <version>20131018</version>
949 <groupId>org.osgi</groupId>
950 <artifactId>org.osgi.compendium</artifactId>
951 <version>${osgi.core.version}</version>
952 <scope>provided</scope>
955 <groupId>org.osgi</groupId>
956 <artifactId>org.osgi.core</artifactId>
957 <version>${osgi.core.version}</version>
958 <scope>provided</scope>
961 <groupId>org.osgi</groupId>
962 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
963 <artifactId>org.osgi.service.event</artifactId>
964 <version>1.3.1</version>
967 <groupId>org.apache.aries.quiesce</groupId>
968 <artifactId>org.apache.aries.quiesce.api</artifactId>
969 <version>1.0.0</version>
972 <groupId>org.ow2.asm</groupId>
973 <artifactId>asm-all</artifactId>
974 <version>5.1</version>
976 <!-- Visual VM hook -->
978 <groupId>org.ow2.chameleon.management</groupId>
979 <artifactId>chameleon-mbeans</artifactId>
980 <version>1.0.0</version>
983 <groupId>org.springframework</groupId>
984 <artifactId>spring-aop</artifactId>
985 <version>3.2.17.RELEASE</version>
988 <groupId>org.springframework</groupId>
989 <artifactId>spring-beans</artifactId>
990 <version>3.2.17.RELEASE</version>
993 <groupId>org.springframework</groupId>
994 <artifactId>spring-context</artifactId>
995 <version>3.2.17.RELEASE</version>
998 <groupId>org.springframework</groupId>
999 <artifactId>spring-core</artifactId>
1000 <version>3.2.17.RELEASE</version>
1003 <groupId>org.springframework</groupId>
1004 <artifactId>spring-expression</artifactId>
1005 <version>3.2.17.RELEASE</version>
1008 <groupId>org.springframework</groupId>
1009 <artifactId>spring-tx</artifactId>
1010 <version>3.2.17.RELEASE</version>
1013 <groupId>org.springframework</groupId>
1014 <artifactId>spring-web</artifactId>
1015 <version>3.2.17.RELEASE</version>
1018 <groupId>org.springframework</groupId>
1019 <artifactId>spring-webmvc</artifactId>
1020 <version>3.2.17.RELEASE</version>
1022 <!-- Spring security -->
1024 <groupId>org.springframework.security</groupId>
1025 <artifactId>spring-security-config</artifactId>
1026 <version>3.2.9.RELEASE</version>
1029 <groupId>org.springframework.security</groupId>
1030 <artifactId>spring-security-core</artifactId>
1031 <version>3.2.9.RELEASE</version>
1034 <groupId>org.springframework.security</groupId>
1035 <artifactId>spring-security-taglibs</artifactId>
1036 <version>3.2.9.RELEASE</version>
1039 <groupId>org.springframework.security</groupId>
1040 <artifactId>spring-security-web</artifactId>
1041 <version>3.2.9.RELEASE</version>
1044 <groupId>virgomirror</groupId>
1045 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1046 <version>3.8.0.I20120518-2145</version>
1049 <!-- Configuration library -->
1050 <!-- This needs to be kept in sync with the version used by akka -->
1052 <groupId>com.typesafe</groupId>
1053 <artifactId>config</artifactId>
1054 <version>1.3.0</version>
1057 <!-- Reactive Streams, used by Akka -->
1059 <groupId>org.reactivestreams</groupId>
1060 <artifactId>reactive-streams</artifactId>
1061 <version>1.0.0</version>
1066 <groupId>com.typesafe</groupId>
1067 <artifactId>ssl-config-akka_${scala.version}</artifactId>
1068 <version>0.2.1</version>
1071 <groupId>com.typesafe</groupId>
1072 <artifactId>ssl-config-core_${scala.version}</artifactId>
1073 <version>0.2.1</version>
1076 <groupId>com.typesafe.akka</groupId>
1077 <artifactId>akka-actor_${scala.version}</artifactId>
1078 <version>${akka.version}</version>
1081 <groupId>com.typesafe.akka</groupId>
1082 <artifactId>akka-cluster_${scala.version}</artifactId>
1083 <version>${akka.version}</version>
1086 <groupId>com.typesafe.akka</groupId>
1087 <artifactId>akka-osgi_${scala.version}</artifactId>
1088 <version>${akka.version}</version>
1091 <groupId>com.typesafe.akka</groupId>
1092 <artifactId>akka-persistence_${scala.version}</artifactId>
1093 <version>${akka.version}</version>
1096 <groupId>com.typesafe.akka</groupId>
1097 <artifactId>akka-persistence-tck_${scala.version}</artifactId>
1098 <version>${akka.version}</version>
1102 <groupId>com.typesafe.akka</groupId>
1103 <artifactId>akka-protobuf_${scala.version}</artifactId>
1104 <version>${akka.version}</version>
1107 <groupId>com.typesafe.akka</groupId>
1108 <artifactId>akka-remote_${scala.version}</artifactId>
1109 <version>${akka.version}</version>
1112 <groupId>com.typesafe.akka</groupId>
1113 <artifactId>akka-slf4j_${scala.version}</artifactId>
1114 <version>${akka.version}</version>
1117 <groupId>com.typesafe.akka</groupId>
1118 <artifactId>akka-stream_${scala.version}</artifactId>
1119 <version>${akka.version}</version>
1122 <groupId>com.typesafe.akka</groupId>
1123 <artifactId>akka-testkit_${scala.version}</artifactId>
1124 <version>${akka.version}</version>
1128 <groupId>org.scala-lang.modules</groupId>
1129 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1130 <version>0.8.0</version>
1133 <groupId>org.scala-lang.modules</groupId>
1134 <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1135 <version>1.0.4</version>
1138 <groupId>org.iq80.leveldb</groupId>
1139 <artifactId>leveldb</artifactId>
1140 <version>${leveldb.version}</version>
1143 <groupId>org.fusesource.leveldbjni</groupId>
1144 <artifactId>leveldbjni-all</artifactId>
1145 <version>1.8-odl</version>
1148 <groupId>org.uncommons.maths</groupId>
1149 <artifactId>uncommons-maths</artifactId>
1150 <version>1.2.2a</version>
1153 <groupId>com.google.protobuf</groupId>
1154 <artifactId>protobuf-java</artifactId>
1155 <version>2.5.0</version>
1158 <!-- Aeron, required by Akka -->
1160 <groupId>org.agrona</groupId>
1161 <artifactId>agrona</artifactId>
1162 <version>0.9.5</version>
1165 <groupId>io.aeron</groupId>
1166 <artifactId>aeron-client</artifactId>
1167 <version>1.2.5</version>
1170 <groupId>io.aeron</groupId>
1171 <artifactId>aeron-driver</artifactId>
1172 <version>1.2.5</version>
1177 <groupId>org.scala-lang</groupId>
1178 <artifactId>scala-library</artifactId>
1179 <version>${scala.version}.${scala.micro.version}</version>
1182 <groupId>org.scala-lang</groupId>
1183 <artifactId>scala-reflect</artifactId>
1184 <version>${scala.version}.${scala.micro.version}</version>
1187 <!-- LMAX Disruptor -->
1189 <groupId>com.lmax</groupId>
1190 <artifactId>disruptor</artifactId>
1191 <!-- If this is updated, the version in features.xml needs to be changed too -->
1192 <version>3.3.6</version>
1195 <!-- Add Pax Exam -->
1197 <groupId>org.ops4j.pax.exam</groupId>
1198 <artifactId>pax-exam</artifactId>
1199 <version>${exam.version}</version>
1203 <groupId>org.ops4j.pax.exam</groupId>
1204 <artifactId>pax-exam-container-forked</artifactId>
1205 <version>${exam.version}</version>
1209 <groupId>org.ops4j.pax.exam</groupId>
1210 <artifactId>pax-exam-container-karaf</artifactId>
1211 <version>${exam.version}</version>
1215 <groupId>org.ops4j.pax.exam</groupId>
1216 <artifactId>pax-exam-container-native</artifactId>
1217 <version>${exam.version}</version>
1221 <groupId>org.ops4j.pax.exam</groupId>
1222 <artifactId>pax-exam-extender-service</artifactId>
1223 <version>${exam.version}</version>
1227 <groupId>org.ops4j.pax.exam</groupId>
1228 <artifactId>pax-exam-inject</artifactId>
1229 <version>${exam.version}</version>
1233 <groupId>org.ops4j.pax.exam</groupId>
1234 <artifactId>pax-exam-invoker-junit</artifactId>
1235 <version>${exam.version}</version>
1239 <groupId>org.ops4j.pax.exam</groupId>
1240 <artifactId>pax-exam-features</artifactId>
1241 <version>${exam.version}</version>
1246 <groupId>org.ops4j.pax.exam</groupId>
1247 <artifactId>pax-exam-junit4</artifactId>
1248 <version>${exam.version}</version>
1252 <groupId>org.ops4j.pax.exam</groupId>
1253 <artifactId>pax-exam-link-mvn</artifactId>
1254 <version>${exam.version}</version>
1258 <groupId>org.ops4j.pax.exam</groupId>
1259 <artifactId>pax-exam-link-assembly</artifactId>
1260 <version>${exam.version}</version>
1265 <groupId>org.ops4j.pax.url</groupId>
1266 <artifactId>pax-url-link</artifactId>
1267 <version>2.5.3</version>
1271 <groupId>org.ops4j.pax.url</groupId>
1272 <artifactId>pax-url-aether</artifactId>
1273 <version>2.5.3</version>
1277 <groupId>org.ops4j.pax.url</groupId>
1278 <artifactId>pax-url-wrap</artifactId>
1279 <version>2.5.3</version>
1283 <groupId>org.springframework.osgi</groupId>
1284 <artifactId>spring-osgi-mock</artifactId>
1285 <version>1.2.1</version>
1289 <groupId>xmlunit</groupId>
1290 <artifactId>xmlunit</artifactId>
1291 <version>1.6</version>
1296 <groupId>org.eclipse.jetty</groupId>
1297 <artifactId>jetty-client</artifactId>
1298 <version>9.2.19.v20160908</version>
1301 <groupId>org.eclipse.jetty</groupId>
1302 <artifactId>jetty-server</artifactId>
1303 <version>9.2.19.v20160908</version>
1306 <groupId>org.eclipse.jetty</groupId>
1307 <artifactId>jetty-servlet-tester</artifactId>
1308 <version>9.2.19.v20160908</version>
1312 <groupId>org.eclipse.jetty</groupId>
1313 <artifactId>jetty-servlets</artifactId>
1314 <version>9.2.19.v20160908</version>
1317 <groupId>org.eclipse.jetty</groupId>
1318 <artifactId>jetty-webapp</artifactId>
1319 <version>9.2.19.v20160908</version>
1323 <groupId>com.h2database</groupId>
1324 <artifactId>h2</artifactId>
1325 <version>1.4.191</version>
1328 <!-- Xtend http://xtend-lang.org
1329 NOTE: When you increase the version here,
1330 then remember to also increase it for the
1331 xtend-maven-plugin below! (We don't want to
1332 use a Maven property, in order not to "leak" that.)
1335 <groupId>org.eclipse.xtend</groupId>
1336 <artifactId>org.eclipse.xtend.lib</artifactId>
1337 <version>2.12.0</version>
1340 <groupId>org.eclipse.xtend</groupId>
1341 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1342 <version>2.12.0</version>
1345 <groupId>org.eclipse.xtext</groupId>
1346 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1347 <version>2.12.0</version>
1350 <!-- Annotations -->
1352 <groupId>javax.inject</groupId>
1353 <artifactId>javax.inject</artifactId>
1354 <version>1</version>
1355 <optional>true</optional>
1358 <groupId>org.ops4j.pax.cdi</groupId>
1359 <artifactId>pax-cdi-api</artifactId>
1360 <version>1.0.0.RC2</version>
1361 <optional>true</optional>
1366 <groupId>com.datastax.cassandra</groupId>
1367 <artifactId>cassandra-driver-core</artifactId>
1368 <version>2.1.9</version>
1373 <groupId>io.dropwizard.metrics</groupId>
1374 <artifactId>metrics-core</artifactId>
1375 <version>3.1.2</version>
1378 <groupId>io.dropwizard.metrics</groupId>
1379 <artifactId>metrics-graphite</artifactId>
1380 <version>3.1.2</version>
1383 <!-- Karaf console support -->
1385 <groupId>org.apache.karaf.shell</groupId>
1386 <artifactId>org.apache.karaf.shell.core</artifactId>
1387 <version>${karaf.version}</version>
1390 <groupId>org.apache.karaf.shell</groupId>
1391 <artifactId>org.apache.karaf.shell.console</artifactId>
1392 <version>${karaf.version}</version>
1395 <!-- When updating this version, consider antl4-maven-plugin below -->
1397 <groupId>org.antlr</groupId>
1398 <artifactId>antlr4-runtime</artifactId>
1399 <version>4.7</version>
1401 <!-- Aries' Blueprint version should be kept in sync to the version actually
1402 used by our ${karaf[4].version} ... please bump this when increasing that.
1403 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1405 <groupId>org.apache.aries.blueprint</groupId>
1406 <artifactId>org.apache.aries.blueprint.core</artifactId>
1407 <version>1.7.1</version>
1411 </dependencyManagement>
1414 <!-- Karaf provides SL4FJ encapsulation -->
1416 <groupId>org.slf4j</groupId>
1417 <artifactId>slf4j-api</artifactId>
1418 <scope>provided</scope>
1422 <groupId>org.slf4j</groupId>
1423 <artifactId>slf4j-simple</artifactId>
1427 <!-- Enable JSR-305 annotations everywhere -->
1429 <groupId>com.google.code.findbugs</groupId>
1430 <artifactId>annotations</artifactId>
1431 <scope>provided</scope>
1433 <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1435 <groupId>com.google.code.findbugs</groupId>
1436 <artifactId>jsr305</artifactId>
1437 <scope>provided</scope>
1440 <groupId>org.eclipse.jdt</groupId>
1441 <artifactId>org.eclipse.jdt.annotation</artifactId>
1442 <scope>provided</scope>
1449 <!-- Official maven plugins, alpha-sorted by artifactId.
1450 We do not need to specify the groupId. -->
1452 <artifactId>maven-antrun-plugin</artifactId>
1453 <version>1.8</version>
1456 <artifactId>maven-checkstyle-plugin</artifactId>
1457 <version>${checkstyle.version}</version>
1460 <groupId>com.puppycrawl.tools</groupId>
1461 <artifactId>checkstyle</artifactId>
1462 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1463 <version>7.6.1</version>
1466 <groupId>org.opendaylight.odlparent</groupId>
1467 <artifactId>checkstyle</artifactId>
1468 <version>2.0.6-SNAPSHOT</version>
1471 <groupId>org.opendaylight.odlparent</groupId>
1472 <artifactId>odl-license</artifactId>
1473 <version>2.0.6-SNAPSHOT</version>
1476 <groupId>com.github.sevntu.checkstyle</groupId>
1477 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1478 <version>1.21.0</version>
1482 <configLocation>odl_checks.xml</configLocation>
1483 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1484 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1485 generated sources directory -->
1486 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1487 <includeResources>true</includeResources>
1488 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1489 <includeTestResources>true</includeTestResources>
1490 <includes>**\/*.java, **\/*.xtend</includes>
1492 org/opendaylight/yang/gen/**,
1493 **/protobuff/messages/**,
1494 **/thrift/gen/*.java
1496 <failsOnError>false</failsOnError>
1497 <consoleOutput>true</consoleOutput>
1501 <id>check-license</id>
1505 <phase>process-sources</phase>
1507 <configLocation>check-license.xml</configLocation>
1508 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1509 <includeResources>false</includeResources>
1510 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1511 <includeTestResources>false</includeTestResources>
1512 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1514 org/opendaylight/yang/gen/**,
1515 **/protobuff/messages/**,
1516 **/thrift/gen/*.java
1518 <failsOnError>false</failsOnError>
1519 <consoleOutput>true</consoleOutput>
1526 <phase>process-sources</phase>
1531 <groupId>org.apache.maven.plugins</groupId>
1532 <artifactId>maven-pmd-plugin</artifactId>
1533 <version>3.8</version>
1537 <phase>process-sources</phase>
1539 <goal>cpd-check</goal>
1542 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1543 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1544 <minimumTokens>101</minimumTokens>
1545 <printFailingErrors>true</printFailingErrors>
1547 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1548 not understand path prefixes nor wildcards. Details are available
1549 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1550 Hence people introducing new generated sources have to include
1553 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1554 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1556 <linkXRef>false</linkXRef>
1562 <artifactId>maven-compiler-plugin</artifactId>
1563 <version>${maven.compile.plugin.version}</version>
1565 <source>1.8</source>
1566 <target>1.8</target>
1568 <arg>-parameters</arg>
1573 <artifactId>maven-enforcer-plugin</artifactId>
1574 <version>${enforcer.version}</version>
1577 <artifactId>maven-failsafe-plugin</artifactId>
1578 <version>${failsafe.version}</version>
1581 <artifactId>maven-invoker-plugin</artifactId>
1582 <version>2.0.0</version>
1585 <artifactId>maven-jar-plugin</artifactId>
1586 <version>3.0.2</version>
1589 <artifactId>maven-dependency-plugin</artifactId>
1592 <id>unpack-license</id>
1593 <phase>generate-resources</phase>
1594 <goals><goal>unpack</goal></goals>
1598 <groupId>org.opendaylight.odlparent</groupId>
1599 <artifactId>odl-license</artifactId>
1600 <version>2.0.6-SNAPSHOT</version>
1603 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1604 <excludes>META-INF/**</excludes>
1611 <artifactId>maven-plugin-plugin</artifactId>
1612 <version>${maven.plugin.version}</version>
1616 <artifactId>maven-remote-resources-plugin</artifactId>
1617 <version>1.5</version>
1620 <artifactId>maven-resources-plugin</artifactId>
1621 <version>3.0.1</version>
1624 <artifactId>maven-shade-plugin</artifactId>
1625 <version>2.4.3</version>
1628 <artifactId>maven-source-plugin</artifactId>
1629 <version>3.0.1</version>
1632 <id>attach-sources</id>
1633 <phase>verify</phase>
1635 <goal>jar-no-fork</goal>
1641 <artifactId>maven-surefire-plugin</artifactId>
1642 <version>${maven.surefire.version}</version>
1644 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1645 <trimStackTrace>false</trimStackTrace>
1649 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1651 <!-- Support Blueprint XML construction using annotations -->
1652 <groupId>org.apache.aries.blueprint</groupId>
1653 <artifactId>blueprint-maven-plugin</artifactId>
1654 <version>1.4.0</version>
1657 <scanPath>org.opendaylight</scanPath>
1662 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1663 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1664 <groupId>org.apache.xbean</groupId>
1665 <artifactId>xbean-finder-shaded</artifactId>
1666 <version>4.5</version>
1672 <goal>blueprint-generate</goal>
1679 <groupId>org.apache.felix</groupId>
1680 <artifactId>maven-bundle-plugin</artifactId>
1681 <version>${maven.bundle.version}</version>
1682 <extensions>true</extensions>
1685 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1686 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1687 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1688 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1694 <groupId>org.apache.karaf.tooling</groupId>
1695 <artifactId>karaf-maven-plugin</artifactId>
1696 <version>${karaf.version}</version>
1700 <groupId>org.apache.servicemix.tooling</groupId>
1701 <artifactId>depends-maven-plugin</artifactId>
1702 <version>1.3.1</version>
1705 <id>generate-depends-file</id>
1707 <goal>generate-depends-file</goal>
1714 <groupId>org.codehaus.enunciate</groupId>
1715 <artifactId>maven-enunciate-plugin</artifactId>
1716 <version>${enunciate.version}</version>
1719 <groupId>org.codehaus.groovy.maven</groupId>
1720 <artifactId>gmaven-plugin</artifactId>
1721 <version>1.0</version>
1724 <groupId>org.codehaus.mojo</groupId>
1725 <artifactId>build-helper-maven-plugin</artifactId>
1726 <version>1.12</version>
1729 <groupId>org.codehaus.mojo</groupId>
1730 <artifactId>findbugs-maven-plugin</artifactId>
1731 <version>3.0.4</version>
1734 <groupId>org.opendaylight.odlparent</groupId>
1735 <artifactId>findbugs</artifactId>
1736 <version>2.0.6-SNAPSHOT</version>
1741 Enables analysis which takes more memory but finds more bugs.
1742 If you run out of memory, changes the value of the effort element
1745 <effort>Max</effort>
1746 <!-- Reports all bugs (other values are medium and max) -->
1747 <threshold>Low</threshold>
1748 <!-- Build doesn't fail if problems are found -->
1749 <failOnError>false</failOnError>
1750 <!-- References the excluded rules -->
1751 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1752 <!-- Produces XML report -->
1753 <xmlOutput>true</xmlOutput>
1754 <!-- Configures the directory in which the XML report is created -->
1755 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1759 Ensures that FindBugs inspects source code when project is compiled.
1762 <id>analyze-compile</id>
1763 <phase>compile</phase>
1771 <groupId>org.codehaus.mojo</groupId>
1772 <artifactId>properties-maven-plugin</artifactId>
1773 <version>${propertymavenplugin.version}</version>
1776 <groupId>org.eclipse.xtend</groupId>
1777 <artifactId>xtend-maven-plugin</artifactId>
1778 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1779 <version>2.12.0</version>
1783 <goal>compile</goal>
1784 <goal>testCompile</goal>
1787 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1788 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1794 <groupId>org.eclipse.m2e</groupId>
1795 <artifactId>lifecycle-mapping</artifactId>
1796 <version>1.0.0</version>
1798 <lifecycleMappingMetadata>
1801 <pluginExecutionFilter>
1802 <groupId>org.apache.felix</groupId>
1803 <artifactId>maven-bundle-plugin</artifactId>
1804 <versionRange>[1.0,)</versionRange>
1806 <goal>manifest</goal>
1808 </pluginExecutionFilter>
1814 <pluginExecutionFilter>
1815 <groupId>org.apache.maven.plugins</groupId>
1816 <artifactId>maven-enforcer-plugin</artifactId>
1817 <versionRange>[1.0.0,)</versionRange>
1819 <goal>enforce</goal>
1821 </pluginExecutionFilter>
1827 <pluginExecutionFilter>
1828 <groupId>org.apache.maven.plugins</groupId>
1829 <artifactId>maven-dependency-plugin</artifactId>
1830 <versionRange>[2.10,)</versionRange>
1834 </pluginExecutionFilter>
1840 <pluginExecutionFilter>
1841 <groupId>org.apache.maven.plugins</groupId>
1842 <artifactId>maven-pmd-plugin</artifactId>
1843 <versionRange>[3.6,)</versionRange>
1845 <goal>cpd-check</goal>
1847 </pluginExecutionFilter>
1852 <!-- The plugin will eventually be removed, remove this too at that point -->
1854 <pluginExecutionFilter>
1855 <groupId>org.apache.maven.plugins</groupId>
1856 <artifactId>maven-antrun-plugin</artifactId>
1857 <versionRange>[1.8,)</versionRange>
1861 </pluginExecutionFilter>
1867 <pluginExecutionFilter>
1868 <groupId>org.apache.servicemix.tooling</groupId>
1869 <artifactId>depends-maven-plugin</artifactId>
1870 <versionRange>[1.2,)</versionRange>
1872 <goal>generate-depends-file</goal>
1874 </pluginExecutionFilter>
1880 <pluginExecutionFilter>
1881 <groupId>org.jacoco</groupId>
1882 <artifactId>jacoco-maven-plugin</artifactId>
1883 <versionRange>[0.7.0,)</versionRange>
1885 <goal>prepare-agent</goal>
1888 </pluginExecutionFilter>
1895 <pluginExecutionFilter>
1896 <groupId>org.ops4j.pax.exam</groupId>
1897 <artifactId>maven-paxexam-plugin</artifactId>
1898 <versionRange>[1.2.4,)</versionRange>
1900 <goal>generate-depends-file</goal>
1902 </pluginExecutionFilter>
1909 </lifecycleMappingMetadata>
1914 <groupId>org.jacoco</groupId>
1915 <artifactId>jacoco-maven-plugin</artifactId>
1916 <version>${jacoco.version}</version>
1918 <!-- Note: This exclusion list should match <sonar.exclusions>
1921 <exclude>**/gen/**</exclude>
1922 <exclude>**/generated-sources/**</exclude>
1923 <exclude>**/generated-test-sources/**</exclude>
1924 <exclude>**/yang-gen/**</exclude>
1925 <exclude>**/yang-gen-config/**</exclude>
1926 <exclude>**/yang-gen-sal/**</exclude>
1927 <exclude>**/yang-gen-code/**</exclude>
1928 <exclude>**/pax/**</exclude>
1934 <groupId>org.ops4j.pax.exam</groupId>
1935 <artifactId>maven-paxexam-plugin</artifactId>
1936 <version>1.2.4</version>
1940 <groupId>org.codehaus.mojo</groupId>
1941 <artifactId>jdepend-maven-plugin</artifactId>
1942 <version>2.0</version>
1947 <goal>generate-no-fork</goal>
1953 <!-- When updating this version, consider antl4-runtime above -->
1955 <groupId>org.antlr</groupId>
1956 <artifactId>antlr4-maven-plugin</artifactId>
1957 <version>4.7</version>
1964 <artifactId>maven-enforcer-plugin</artifactId>
1967 <id>enforce-banned-dependencies</id>
1969 <goal>enforce</goal>
1973 <bannedDependencies>
1974 <message>Please always use mockito-core instead of mockito-all (https://bugs.opendaylight.org/show_bug.cgi?id=7662)</message>
1976 <exclude>org.mockito:mockito-all</exclude>
1978 </bannedDependencies>
1986 <artifactId>maven-dependency-plugin</artifactId>
1989 <artifactId>maven-checkstyle-plugin</artifactId>
1992 <artifactId>maven-pmd-plugin</artifactId>
1995 <artifactId>maven-source-plugin</artifactId>
1998 <artifactId>maven-javadoc-plugin</artifactId>
2001 <!-- Jacoco / Sonar -->
2003 <groupId>org.jacoco</groupId>
2004 <artifactId>jacoco-maven-plugin</artifactId>
2007 <id>pre-unit-test</id>
2009 <goal>prepare-agent</goal>
2012 <destFile>${sonar.jacoco.reportPath}</destFile>
2016 <id>post-unit-test</id>
2021 <dataFile>${sonar.jacoco.reportPath}</dataFile>
2028 <groupId>com.alexecollins.maven.plugin</groupId>
2029 <artifactId>script-maven-plugin</artifactId>
2030 <version>1.0.0</version>
2033 <phase>prepare-package</phase>
2035 <goal>execute</goal>
2039 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
2040 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
2041 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
2042 // static class methods only - it will be MUCH easier to write!)
2043 void copy(File root, String glob, File target) {
2044 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
2045 Iterator dirStreamIterator = dirStream.iterator();
2046 while (dirStreamIterator.hasNext()) {
2047 java.nio.file.Path path = dirStreamIterator.next();
2048 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
2049 new java.nio.file.CopyOption[] {
2050 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
2051 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
2058 File gitRepoRootDir = project.basedir;
2059 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
2060 gitRepoRootDir = gitRepoRootDir.getParentFile();
2063 File target = new File(project.build.outputDirectory);
2065 copy(gitRepoRootDir, "README*", target);
2066 copy(gitRepoRootDir, "CONTRIBUTING*", target);
2067 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
2074 <groupId>org.apache-extras.beanshell</groupId>
2075 <artifactId>bsh</artifactId>
2076 <version>2.0b6</version>
2081 <!-- Blueprint dependency injection -->
2082 <!-- Remove when upgrading to plugin 1.5.0, and use
2083 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
2084 See https://issues.apache.org/jira/browse/ARIES-1597
2085 BUT beware that the directory is now conditional... -->
2087 <artifactId>maven-antrun-plugin</artifactId>
2089 <!-- This should only run once, in the process-classes phase; but we need it to run after
2090 process-classes in child projects. Attaching to process-test-classes and prepare-package
2091 ensures that the file will be moved whether tests are skipped or not. -->
2093 <id>move-autowire-test</id>
2094 <phase>process-test-classes</phase>
2100 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2102 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2104 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2105 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2106 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2107 failonerror="false" quiet="true" />
2110 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2117 <id>move-autowire-package</id>
2118 <phase>prepare-package</phase>
2124 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2126 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2128 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2129 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2130 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2131 failonerror="false" quiet="true" />
2134 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2143 <groupId>ant-contrib</groupId>
2144 <artifactId>ant-contrib</artifactId>
2145 <version>1.0b3</version>
2148 <groupId>ant</groupId>
2149 <artifactId>ant</artifactId>
2154 <groupId>org.apache.ant</groupId>
2155 <artifactId>ant-nodeps</artifactId>
2156 <version>1.8.1</version>
2166 <artifactId>maven-checkstyle-plugin</artifactId>
2167 <version>${checkstyle.version}</version>
2170 <!-- FIXME: activate this
2172 <artifactId>maven-project-info-reports-plugin</artifactId>
2173 <version>${projectinfo}</version>
2176 <groupId>org.codehaus.mojo</groupId>
2177 <artifactId>jdepend-maven-plugin</artifactId>
2181 <report>generate-no-fork</report>
2187 <artifactId>maven-javadoc-plugin</artifactId>
2190 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2191 <link>https://google.github.io/guava/releases/22.0/api/docs/</link>
2192 <link>http://netty.io/4.1/api/</link>
2200 Maven Site Configuration
2202 The following configuration is necessary for maven-site-plugin to
2203 correctly identify the correct deployment path for OpenDaylight Maven
2206 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2208 <distributionManagement>
2210 <id>opendaylight-site</id>
2211 <url>${nexus.site.url}/${project.artifactId}/</url>
2213 </distributionManagement>