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>1.8.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 -->
52 <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
53 <!-- Used in controller, didm, neutron, openflowplugin, persistence; see also affinity -->
54 <maven.bundle.version>3.0.1</maven.bundle.version>
56 <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
57 <!-- Used in controller, didm, l2switch, lacp, persistence; see also toolkit, tsdr, ttp -->
58 <maven.compile.plugin.version>3.5.1</maven.compile.plugin.version>
59 <!-- Used in mdsal, yangtools -->
60 <maven.jar.version>3.0.2</maven.jar.version>
61 <!-- Used in controller, coretutorials, mdsal, snbi, yangtools -->
62 <maven.javadoc.version>2.10.4</maven.javadoc.version>
64 <maven.plugin.version>3.5</maven.plugin.version>
65 <!-- Used in neutron, of-config, tsdr, yangtools -->
66 <!-- Later versions break tests in downstream projects -->
67 <maven.surefire.version>2.18.1</maven.surefire.version>
69 <!-- Maven plugin versions, in random formats -->
70 <!-- Used in aaa, alto, controller, didm, tsdr; see also affinity, snmp4sdn, toolkit, ttp -->
71 <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
72 <!-- TODO rename checkstyle.version to checkstyle.(maven.)plugin.version,
73 or just remove it, incl. all usages of it in a number of pom.xml; because normally,
74 as maven-checkstyle-plugin is in pluginManagement, this should not have to be repeated. -->
75 <!-- Used in alto, controller, lacp, netide, openflowjava, packetcable, snmp4sdn, ttp; see also affinity, opendove,
77 <checkstyle.version>2.17</checkstyle.version>
78 <!-- Used in controller, packetcable -->
79 <odl.checkstyle.version>0.3.0-SNAPSHOT</odl.checkstyle.version>
80 <!-- Used in snmp4sdn; see also toolkit -->
81 <compiler.version>${maven.compile.plugin.version}</compiler.version>
82 <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
83 <enforcer.version>1.4.1</enforcer.version>
84 <!-- Used in affinity, controller, nemo, opendove, snmp4sdn -->
85 <enunciate.version>1.31</enunciate.version>
86 <!-- Used in affinity, coretutorials, netide -->
87 <exam.version>4.4.0</exam.version>
88 <!-- Used in affinity, controller, neutron, of-config; see also snmp4sdn -->
89 <!-- Later versions break tests in downstream projects -->
90 <failsafe.version>2.18.1</failsafe.version>
92 Regression in jacoco-plugin 0.7.5 prevents us from upgrading to it
93 http://jira.xwiki.org/browse/XCOMMONS-821
95 Additionally we need to stay on jacoco 0.7.2.201409121644. Future
96 versions appear to have issues picking up code coverage for projects
98 https://github.com/jayway/powermock/issues/564
100 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
101 <jacoco.version>0.7.2.201409121644</jacoco.version>
102 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
103 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
104 <karaf.version>3.0.8</karaf.version>
105 <karaf4.version>4.0.7</karaf4.version>
106 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
107 <projectinfo>2.8.1</projectinfo>
108 <!-- Used in of-config; see also snmp4sdn -->
109 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
110 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
111 <releaseplugin.version>2.5.3</releaseplugin.version>
113 <!-- Supporting Libraries -->
114 <!-- Used by controller -->
115 <bouncycastle.version>1.55</bouncycastle.version>
117 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
118 <osgi.core.version>5.0.0</osgi.core.version>
120 <akka.version>2.4.16</akka.version>
121 <scala.version>2.11</scala.version>
122 <scala.micro.version>8</scala.micro.version>
123 <leveldb.version>0.7</leveldb.version>
125 <!-- Default Sonar configuration -->
126 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
127 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
128 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
129 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
130 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
131 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
133 <pmd.cpd.fail>false</pmd.cpd.fail>
136 <dependencyManagement>
140 <groupId>org.opendaylight.odlparent</groupId>
141 <artifactId>odlparent-artifacts</artifactId>
142 <version>1.8.0-SNAPSHOT</version>
143 <scope>import</scope>
147 <!-- Build tool dependencies (normally not here in <dependencies>,
148 but in a <dependency> in <pluginManagement> but for Checkstyle this
149 is required so that we can share the same version of Checkstyle
150 for both the Maven plugin below as well as for custom Checkstyle
151 check rule projects, such as yangtools' checkstyle-logging) -->
153 <groupId>com.puppycrawl.tools</groupId>
154 <artifactId>checkstyle</artifactId>
155 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
156 <version>6.16</version>
159 <!-- Testing Dependencies -->
160 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
161 <!-- Need to stick to JUnit 4.11 until
162 https://github.com/jayway/powermock/issues/560 is fixed (either in
163 PowerMock or with a new JUnit release) -->
165 <groupId>junit</groupId>
166 <artifactId>junit</artifactId>
167 <version>4.11</version>
171 <groupId>junit</groupId>
172 <artifactId>junit-dep</artifactId>
173 <version>4.11</version>
177 <groupId>org.skyscreamer</groupId>
178 <artifactId>jsonassert</artifactId>
179 <version>1.3.0</version>
183 <groupId>org.mockito</groupId>
184 <artifactId>mockito-all</artifactId>
185 <version>1.10.19</version>
189 <groupId>org.mockito</groupId>
190 <artifactId>mockito-core</artifactId>
191 <version>1.10.19</version>
195 <groupId>org.hamcrest</groupId>
196 <artifactId>hamcrest-core</artifactId>
197 <version>1.3</version>
201 <groupId>org.hamcrest</groupId>
202 <artifactId>hamcrest-library</artifactId>
203 <version>1.3</version>
207 <groupId>com.google.truth</groupId>
208 <artifactId>truth</artifactId>
209 <version>0.28</version>
213 <groupId>org.awaitility</groupId>
214 <artifactId>awaitility</artifactId>
215 <version>2.0.0</version>
219 <groupId>org.powermock</groupId>
220 <artifactId>powermock-api-mockito</artifactId>
221 <version>1.6.4</version>
225 <groupId>org.powermock</groupId>
226 <artifactId>powermock-api-support</artifactId>
227 <version>1.6.4</version>
231 <groupId>org.powermock</groupId>
232 <artifactId>powermock-core</artifactId>
233 <version>1.6.4</version>
237 <groupId>org.powermock</groupId>
238 <artifactId>powermock-module-junit4</artifactId>
239 <version>1.6.4</version>
243 <groupId>org.powermock</groupId>
244 <artifactId>powermock-reflect</artifactId>
245 <version>1.6.4</version>
250 Annotation Processors
253 <!-- Generates immutable implementations, builders, the works -->
254 <groupId>org.immutables</groupId>
255 <artifactId>value</artifactId>
256 <version>2.3.9</version>
257 <!-- Must be provided; <scope>test here breaks APT in Eclipse :( -->
258 <scope>provided</scope>
261 <!-- Generates META-INF/services entries for ServiceLoader -->
262 <groupId>org.kohsuke.metainf-services</groupId>
263 <artifactId>metainf-services</artifactId>
264 <version>1.7</version>
265 <optional>true</optional>
272 <groupId>org.slf4j</groupId>
273 <artifactId>jcl-over-slf4j</artifactId>
274 <version>1.7.21</version>
277 <groupId>org.slf4j</groupId>
278 <artifactId>slf4j-api</artifactId>
279 <version>1.7.21</version>
282 <groupId>org.slf4j</groupId>
283 <artifactId>slf4j-log4j12</artifactId>
284 <version>1.7.21</version>
287 <groupId>org.slf4j</groupId>
288 <artifactId>log4j-over-slf4j</artifactId>
289 <version>1.7.21</version>
292 <groupId>org.slf4j</groupId>
293 <artifactId>slf4j-simple</artifactId>
294 <version>1.7.21</version>
298 <groupId>xml-apis</groupId>
299 <artifactId>xml-apis</artifactId>
300 <version>1.4.01</version>
303 <groupId>xerces</groupId>
304 <artifactId>xercesImpl</artifactId>
305 <version>2.11.0</version>
308 <groupId>ch.qos.logback</groupId>
309 <artifactId>logback-core</artifactId>
310 <version>1.1.7</version>
313 <groupId>ch.qos.logback</groupId>
314 <artifactId>logback-classic</artifactId>
315 <version>1.1.7</version>
318 <groupId>com.google.guava</groupId>
319 <artifactId>guava</artifactId>
320 <version>18.0</version>
323 <groupId>com.google.guava</groupId>
324 <artifactId>guava-testlib</artifactId>
325 <version>18.0</version>
329 <groupId>com.mycila.guice.extensions</groupId>
330 <artifactId>mycila-guice-jsr250</artifactId>
331 <!-- Make sure this version is in sync with the guice one below -->
332 <version>4.0.rc1</version>
336 <groupId>com.google.inject</groupId>
337 <artifactId>guice</artifactId>
338 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
339 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
340 <version>4.1.0</version>
343 <groupId>org.apache.commons</groupId>
344 <artifactId>commons-lang3</artifactId>
345 <version>3.5</version>
348 <groupId>commons-lang</groupId>
349 <artifactId>commons-lang</artifactId>
350 <version>2.6</version>
353 <groupId>commons-codec</groupId>
354 <artifactId>commons-codec</artifactId>
355 <version>1.10</version>
357 <!-- Jersey for JAXRS -->
359 <groupId>javax.ws.rs</groupId>
360 <artifactId>javax.ws.rs-api</artifactId>
361 <version>2.0.1</version>
364 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
365 <artifactId>jersey-guava</artifactId>
366 <version>2.22.2</version>
369 <groupId>org.glassfish</groupId>
370 <artifactId>javax.json</artifactId>
371 <version>1.0.4</version>
374 <groupId>com.eclipsesource.jaxrs</groupId>
375 <artifactId>jersey-all</artifactId>
376 <version>2.22.2</version>
379 <!-- servlet 3.x support -->
381 <groupId>org.glassfish.jersey.containers</groupId>
382 <artifactId>jersey-container-servlet</artifactId>
383 <version>2.8</version>
386 <groupId>org.apache.geronimo.bundles</groupId>
387 <artifactId>json</artifactId>
388 <version>20090211_1</version>
390 <!-- FIXME : remove all dependencies for jersey 1.17 -->
392 <groupId>com.sun.jersey</groupId>
393 <artifactId>jersey-core</artifactId>
394 <version>1.17</version>
397 <groupId>com.sun.jersey</groupId>
398 <artifactId>jersey-json</artifactId>
399 <version>1.17</version>
402 <groupId>com.sun.jersey</groupId>
403 <artifactId>jersey-server</artifactId>
404 <version>1.17</version>
407 <groupId>com.sun.jersey</groupId>
408 <artifactId>jersey-servlet</artifactId>
409 <version>1.17</version>
412 <groupId>com.sun.jersey.jersey-test-framework</groupId>
413 <artifactId>jersey-test-framework-grizzly2</artifactId>
414 <version>1.17</version>
418 <groupId>com.sun.jersey.jersey-test-framework</groupId>
419 <artifactId>jersey-test-framework-inmemory</artifactId>
420 <version>1.17</version>
424 <groupId>com.sun.jersey</groupId>
425 <artifactId>jersey-client</artifactId>
426 <version>1.17</version>
429 <groupId>org.opendaylight.controller.thirdparty</groupId>
430 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
431 <version>1.17</version>
434 <groupId>org.apache.shiro</groupId>
435 <artifactId>shiro-core</artifactId>
436 <version>1.3.2</version>
439 <groupId>org.apache.shiro</groupId>
440 <artifactId>shiro-web</artifactId>
441 <version>1.3.2</version>
444 <!-- Plugin integration -->
446 <groupId>net.java.dev.stax-utils</groupId>
447 <artifactId>stax-utils</artifactId>
448 <version>20070216</version>
451 <groupId>org.sonatype.plexus</groupId>
452 <artifactId>plexus-build-api</artifactId>
453 <version>0.0.7</version>
456 <groupId>org.codehaus.plexus</groupId>
457 <artifactId>plexus-slf4j-logging</artifactId>
458 <version>1.1</version>
461 <groupId>com.fasterxml.jackson.core</groupId>
462 <artifactId>jackson-annotations</artifactId>
463 <version>2.3.2</version>
466 <groupId>com.fasterxml.jackson.core</groupId>
467 <artifactId>jackson-core</artifactId>
468 <version>2.3.2</version>
471 <groupId>com.fasterxml.jackson.core</groupId>
472 <artifactId>jackson-databind</artifactId>
473 <version>2.3.2</version>
476 <groupId>com.fasterxml.jackson.datatype</groupId>
477 <artifactId>jackson-datatype-json-org</artifactId>
478 <version>2.3.2</version>
480 <!-- TODO do we really need resteasy ? -->
482 <groupId>org.jboss.resteasy</groupId>
483 <artifactId>jaxrs-api</artifactId>
484 <version>3.0.12.Final</version>
488 <groupId>com.fasterxml.jackson.jaxrs</groupId>
489 <artifactId>jackson-jaxrs-base</artifactId>
490 <version>2.3.2</version>
493 <groupId>com.fasterxml.jackson.jaxrs</groupId>
494 <artifactId>jackson-jaxrs-json-provider</artifactId>
495 <version>2.3.2</version>
498 <groupId>com.fasterxml.jackson.module</groupId>
499 <artifactId>jackson-module-jaxb-annotations</artifactId>
500 <version>2.3.2</version>
503 <groupId>com.sun.xml.txw2</groupId>
504 <artifactId>txw2</artifactId>
505 <version>20110809</version>
508 <groupId>com.github.romix</groupId>
509 <artifactId>java-concurrent-hash-trie-map</artifactId>
510 <version>0.2.23-ODL</version>
513 <groupId>com.google.code.findbugs</groupId>
514 <artifactId>jsr305</artifactId>
515 <version>3.0.0</version>
518 <groupId>com.google.code.findbugs</groupId>
519 <artifactId>annotations</artifactId>
520 <version>3.0.0</version>
522 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
523 the types of this artifact are already shaded inside the :annotations artifact.
524 This state is a temporary solution to allow all projects to gradually switch over
525 switch their <dependency><groupId>com.google.code.findbugs from
526 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
527 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
530 <groupId>net.jcip</groupId>
531 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
532 <artifactId>jcip-annotations</artifactId>
537 <groupId>org.eclipse.jdt</groupId>
538 <artifactId>org.eclipse.jdt.annotation</artifactId>
539 <version>2.0.0</version>
540 <scope>provided</scope>
543 <groupId>com.google.code.gson</groupId>
544 <artifactId>gson</artifactId>
545 <version>2.7</version>
548 <groupId>commons-fileupload</groupId>
549 <artifactId>commons-fileupload</artifactId>
550 <version>1.3.2</version>
553 <groupId>commons-io</groupId>
554 <artifactId>commons-io</artifactId>
555 <version>2.4</version>
558 <groupId>commons-net</groupId>
559 <artifactId>commons-net</artifactId>
560 <version>3.5</version>
563 <groupId>eclipselink</groupId>
564 <artifactId>javax.persistence</artifactId>
565 <version>2.0.4.v201112161009</version>
568 <groupId>eclipselink</groupId>
569 <artifactId>javax.resource</artifactId>
570 <version>1.5.0.v200906010428</version>
573 <groupId>equinoxSDK381</groupId>
574 <artifactId>javax.servlet</artifactId>
575 <version>3.0.0.v201112011016</version>
578 <groupId>equinoxSDK381</groupId>
579 <artifactId>javax.servlet.jsp</artifactId>
580 <version>2.2.0.v201112011158</version>
583 <groupId>equinoxSDK381</groupId>
584 <artifactId>org.apache.felix.gogo.command</artifactId>
585 <version>0.8.0.v201108120515</version>
588 <groupId>equinoxSDK381</groupId>
589 <artifactId>org.apache.felix.gogo.runtime</artifactId>
590 <version>0.8.0.v201108120515</version>
593 <groupId>equinoxSDK381</groupId>
594 <artifactId>org.apache.felix.gogo.shell</artifactId>
595 <version>0.8.0.v201110170705</version>
598 <groupId>equinoxSDK381</groupId>
599 <artifactId>org.eclipse.equinox.cm</artifactId>
600 <version>1.0.400.v20120522-1841</version>
603 <groupId>equinoxSDK381</groupId>
604 <artifactId>org.eclipse.equinox.console</artifactId>
605 <version>1.0.0.v20120522-1841</version>
608 <groupId>equinoxSDK381</groupId>
609 <artifactId>org.eclipse.equinox.ds</artifactId>
610 <version>1.4.0.v20120522-1841</version>
613 <groupId>equinoxSDK381</groupId>
614 <artifactId>org.eclipse.equinox.launcher</artifactId>
615 <version>1.3.0.v20120522-1813</version>
618 <groupId>equinoxSDK381</groupId>
619 <artifactId>org.eclipse.equinox.util</artifactId>
620 <version>1.0.400.v20120522-2049</version>
623 <groupId>equinoxSDK381</groupId>
624 <artifactId>org.eclipse.osgi.services</artifactId>
625 <version>3.3.100.v20120522-1822</version>
629 <groupId>org.eclipse.tycho</groupId>
630 <artifactId>org.eclipse.osgi</artifactId>
631 <version>3.9.1.v20130814-1242</version>
633 <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
635 <groupId>equinoxSDK381</groupId>
636 <artifactId>org.eclipse.osgi</artifactId>
637 <version>3.8.1.v20120830-144521</version>
642 <groupId>geminiweb</groupId>
643 <artifactId>org.eclipse.gemini.web.core</artifactId>
644 <version>2.2.0.RELEASE</version>
647 <groupId>geminiweb</groupId>
648 <artifactId>org.eclipse.gemini.web.extender</artifactId>
649 <version>2.2.0.RELEASE</version>
652 <groupId>geminiweb</groupId>
653 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
654 <version>2.2.0.RELEASE</version>
657 <groupId>geminiweb</groupId>
658 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
659 <version>3.6.0.RELEASE</version>
662 <groupId>geminiweb</groupId>
663 <artifactId>org.eclipse.virgo.util.common</artifactId>
664 <version>3.6.0.RELEASE</version>
667 <groupId>geminiweb</groupId>
668 <artifactId>org.eclipse.virgo.util.io</artifactId>
669 <version>3.6.0.RELEASE</version>
672 <groupId>geminiweb</groupId>
673 <artifactId>org.eclipse.virgo.util.math</artifactId>
674 <version>3.6.0.RELEASE</version>
677 <groupId>geminiweb</groupId>
678 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
679 <version>3.6.0.RELEASE</version>
682 <groupId>geminiweb</groupId>
683 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
684 <version>3.6.0.RELEASE</version>
687 <groupId>geminiweb</groupId>
688 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
689 <version>3.6.0.RELEASE</version>
693 <groupId>io.netty</groupId>
694 <artifactId>netty-all</artifactId>
695 <!-- If these are updated, the version in features.xml needs to be changed too -->
696 <version>4.0.37.Final</version>
699 <groupId>io.netty</groupId>
700 <artifactId>netty-buffer</artifactId>
701 <version>4.0.37.Final</version>
704 <groupId>io.netty</groupId>
705 <artifactId>netty-codec</artifactId>
706 <version>4.0.37.Final</version>
709 <groupId>io.netty</groupId>
710 <artifactId>netty-codec-http</artifactId>
711 <version>4.0.37.Final</version>
714 <groupId>io.netty</groupId>
715 <artifactId>netty-common</artifactId>
716 <version>4.0.37.Final</version>
719 <groupId>io.netty</groupId>
720 <artifactId>netty-handler</artifactId>
721 <version>4.0.37.Final</version>
724 <groupId>io.netty</groupId>
725 <artifactId>netty-transport</artifactId>
726 <version>4.0.37.Final</version>
728 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
729 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
731 <groupId>io.netty</groupId>
732 <artifactId>netty-transport-native-epoll</artifactId>
733 <classifier>linux-x86_64</classifier>
734 <version>4.0.37.Final</version>
737 <groupId>javax.ws.rs</groupId>
738 <artifactId>jsr311-api</artifactId>
739 <version>1.1.1</version>
742 <groupId>orbit</groupId>
743 <artifactId>javax.activation</artifactId>
744 <version>1.1.0.v201211130549</version>
747 <groupId>orbit</groupId>
748 <artifactId>javax.annotation</artifactId>
749 <version>1.1.0.v201209060031</version>
752 <groupId>orbit</groupId>
753 <artifactId>javax.ejb</artifactId>
754 <version>3.1.1.v201204261316</version>
757 <groupId>orbit</groupId>
758 <artifactId>javax.el</artifactId>
759 <version>2.2.0.v201108011116</version>
762 <groupId>orbit</groupId>
763 <artifactId>javax.mail.glassfish</artifactId>
764 <version>1.4.1.v201108011116</version>
767 <groupId>javax.servlet</groupId>
768 <artifactId>javax.servlet-api</artifactId>
769 <version>3.0.1</version>
772 <groupId>orbit</groupId>
773 <artifactId>javax.servlet.jsp.jstl</artifactId>
774 <version>1.2.0.v201105211821</version>
777 <groupId>orbit</groupId>
778 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
779 <version>1.2.0.v201210211230</version>
782 <groupId>orbit</groupId>
783 <artifactId>javax.xml.rpc</artifactId>
784 <version>1.1.0.v201005080400</version>
787 <groupId>orbit</groupId>
788 <artifactId>org.apache.catalina</artifactId>
789 <version>7.0.53.v201406061610</version>
792 <groupId>orbit</groupId>
793 <artifactId>org.apache.catalina.ha</artifactId>
794 <version>7.0.53.v201406070630</version>
797 <groupId>orbit</groupId>
798 <artifactId>org.apache.catalina.tribes</artifactId>
799 <version>7.0.53.v201406070630</version>
802 <groupId>orbit</groupId>
803 <artifactId>org.apache.coyote</artifactId>
804 <version>7.0.53.v201406070630</version>
807 <groupId>orbit</groupId>
808 <artifactId>org.apache.el</artifactId>
809 <version>7.0.53.v201406060720</version>
812 <groupId>orbit</groupId>
813 <artifactId>org.apache.jasper</artifactId>
814 <version>7.0.53.v201406070630</version>
817 <groupId>orbit</groupId>
818 <artifactId>org.apache.juli.extras</artifactId>
819 <version>7.0.53.v201406060720</version>
822 <groupId>orbit</groupId>
823 <artifactId>org.apache.tomcat.api</artifactId>
824 <version>7.0.53.v201406060720</version>
827 <groupId>orbit</groupId>
828 <artifactId>org.apache.tomcat.util</artifactId>
829 <version>7.0.53.v201406070630</version>
832 <groupId>org.aopalliance</groupId>
833 <artifactId>com.springsource.org.aopalliance</artifactId>
834 <version>1.0.0</version>
837 <groupId>org.apache.felix</groupId>
838 <artifactId>org.apache.felix.dependencymanager</artifactId>
839 <version>4.3.0</version>
842 <groupId>org.apache.felix</groupId>
843 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
844 <version>4.0.4</version>
847 <groupId>org.apache.felix</groupId>
848 <artifactId>org.apache.felix.fileinstall</artifactId>
849 <version>3.5.4</version>
852 <groupId>org.apache.felix</groupId>
853 <artifactId>org.apache.felix.metatype</artifactId>
854 <version>1.1.2</version>
856 <!-- felix webconsole -->
858 <groupId>org.apache.felix</groupId>
859 <artifactId>org.apache.felix.webconsole</artifactId>
860 <version>4.2.14</version>
861 <!-- the all bundle includes all the necessary plugins -->
862 <classifier>all</classifier>
865 <groupId>org.bouncycastle</groupId>
866 <artifactId>bcpkix-jdk15on</artifactId>
867 <version>${bouncycastle.version}</version>
870 <groupId>org.bouncycastle</groupId>
871 <artifactId>bcprov-jdk15on</artifactId>
872 <version>${bouncycastle.version}</version>
875 <groupId>org.codehaus.enunciate</groupId>
876 <artifactId>enunciate-core-annotations</artifactId>
877 <version>${enunciate.version}</version>
880 <groupId>com.webcohesion.enunciate</groupId>
881 <artifactId>enunciate-core-annotations</artifactId>
882 <version>2.6.0</version>
885 <groupId>org.codehaus.jettison</groupId>
886 <artifactId>jettison</artifactId>
887 <version>1.3.7</version>
889 <!-- equinox http service bridge -->
891 <groupId>org.eclipse.equinox.http</groupId>
892 <artifactId>servlet</artifactId>
893 <version>1.0.0-v20070606</version>
895 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
896 pull in javax.validation first:
897 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
899 <groupId>org.eclipse.persistence</groupId>
900 <artifactId>org.eclipse.persistence.antlr</artifactId>
901 <version>2.6.2</version>
904 <groupId>org.eclipse.persistence</groupId>
905 <artifactId>org.eclipse.persistence.core</artifactId>
906 <version>2.6.2</version>
909 <groupId>org.eclipse.persistence</groupId>
910 <artifactId>org.eclipse.persistence.moxy</artifactId>
911 <version>2.6.2</version>
914 <groupId>javax.validation</groupId>
915 <artifactId>validation-api</artifactId>
916 <version>1.1.0.Final</version>
919 <groupId>org.javassist</groupId>
920 <artifactId>javassist</artifactId>
921 <version>3.20.0-GA</version>
924 <groupId>org.jboss.spec.javax.transaction</groupId>
925 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
926 <version>1.0.1.Final</version>
929 <groupId>org.jolokia</groupId>
930 <artifactId>jolokia-osgi</artifactId>
931 <version>1.3.3</version>
934 <groupId>org.json</groupId>
935 <artifactId>json</artifactId>
936 <version>20131018</version>
939 <groupId>org.osgi</groupId>
940 <artifactId>org.osgi.compendium</artifactId>
941 <version>5.0.0</version>
942 <scope>provided</scope>
945 <groupId>org.osgi</groupId>
946 <artifactId>org.osgi.core</artifactId>
947 <version>${osgi.core.version}</version>
948 <scope>provided</scope>
951 <groupId>org.ow2.asm</groupId>
952 <artifactId>asm-all</artifactId>
953 <version>5.1</version>
955 <!-- Visual VM hook -->
957 <groupId>org.ow2.chameleon.management</groupId>
958 <artifactId>chameleon-mbeans</artifactId>
959 <version>1.0.0</version>
962 <groupId>org.springframework</groupId>
963 <artifactId>spring-aop</artifactId>
964 <version>3.2.17.RELEASE</version>
967 <groupId>org.springframework</groupId>
968 <artifactId>spring-beans</artifactId>
969 <version>3.2.17.RELEASE</version>
972 <groupId>org.springframework</groupId>
973 <artifactId>spring-context</artifactId>
974 <version>3.2.17.RELEASE</version>
977 <groupId>org.springframework</groupId>
978 <artifactId>spring-core</artifactId>
979 <version>3.2.17.RELEASE</version>
982 <groupId>org.springframework</groupId>
983 <artifactId>spring-expression</artifactId>
984 <version>3.2.17.RELEASE</version>
987 <groupId>org.springframework</groupId>
988 <artifactId>spring-tx</artifactId>
989 <version>3.2.17.RELEASE</version>
992 <groupId>org.springframework</groupId>
993 <artifactId>spring-web</artifactId>
994 <version>3.2.17.RELEASE</version>
997 <groupId>org.springframework</groupId>
998 <artifactId>spring-webmvc</artifactId>
999 <version>3.2.17.RELEASE</version>
1001 <!-- Spring security -->
1003 <groupId>org.springframework.security</groupId>
1004 <artifactId>spring-security-config</artifactId>
1005 <version>3.2.9.RELEASE</version>
1008 <groupId>org.springframework.security</groupId>
1009 <artifactId>spring-security-core</artifactId>
1010 <version>3.2.9.RELEASE</version>
1013 <groupId>org.springframework.security</groupId>
1014 <artifactId>spring-security-taglibs</artifactId>
1015 <version>3.2.9.RELEASE</version>
1018 <groupId>org.springframework.security</groupId>
1019 <artifactId>spring-security-web</artifactId>
1020 <version>3.2.9.RELEASE</version>
1023 <groupId>virgomirror</groupId>
1024 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1025 <version>3.8.0.I20120518-2145</version>
1028 <!-- Configuration library -->
1029 <!-- This needs to be kept in sync with the version used by akka -->
1031 <groupId>com.typesafe</groupId>
1032 <artifactId>config</artifactId>
1033 <version>1.3.0</version>
1036 <!-- Reactive Streams, used by Akka -->
1038 <groupId>org.reactivestreams</groupId>
1039 <artifactId>reactive-streams</artifactId>
1040 <version>1.0.0</version>
1045 <groupId>com.typesafe</groupId>
1046 <artifactId>ssl-config-akka_${scala.version}</artifactId>
1047 <version>0.2.1</version>
1050 <groupId>com.typesafe</groupId>
1051 <artifactId>ssl-config-core_${scala.version}</artifactId>
1052 <version>0.2.1</version>
1055 <groupId>com.typesafe.akka</groupId>
1056 <artifactId>akka-actor_${scala.version}</artifactId>
1057 <version>${akka.version}</version>
1060 <groupId>com.typesafe.akka</groupId>
1061 <artifactId>akka-cluster_${scala.version}</artifactId>
1062 <version>${akka.version}</version>
1065 <groupId>com.typesafe.akka</groupId>
1066 <artifactId>akka-distributed-data-experimental_${scala.version}</artifactId>
1067 <version>${akka.version}</version>
1070 <groupId>com.typesafe.akka</groupId>
1071 <artifactId>akka-osgi_${scala.version}</artifactId>
1072 <version>${akka.version}</version>
1075 <groupId>com.typesafe.akka</groupId>
1076 <artifactId>akka-persistence_${scala.version}</artifactId>
1077 <version>${akka.version}</version>
1080 <groupId>com.typesafe.akka</groupId>
1081 <artifactId>akka-protobuf_${scala.version}</artifactId>
1082 <version>${akka.version}</version>
1085 <groupId>com.typesafe.akka</groupId>
1086 <artifactId>akka-remote_${scala.version}</artifactId>
1087 <version>${akka.version}</version>
1090 <groupId>com.typesafe.akka</groupId>
1091 <artifactId>akka-slf4j_${scala.version}</artifactId>
1092 <version>${akka.version}</version>
1095 <groupId>com.typesafe.akka</groupId>
1096 <artifactId>akka-stream_${scala.version}</artifactId>
1097 <version>${akka.version}</version>
1100 <groupId>com.typesafe.akka</groupId>
1101 <artifactId>akka-testkit_${scala.version}</artifactId>
1102 <version>${akka.version}</version>
1106 <groupId>org.scala-lang.modules</groupId>
1107 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1108 <version>0.8.0</version>
1111 <groupId>org.scala-lang.modules</groupId>
1112 <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1113 <version>1.0.4</version>
1116 <groupId>org.iq80.leveldb</groupId>
1117 <artifactId>leveldb</artifactId>
1118 <version>${leveldb.version}</version>
1121 <groupId>org.fusesource.leveldbjni</groupId>
1122 <artifactId>leveldbjni-all</artifactId>
1123 <version>1.8-odl</version>
1126 <groupId>org.uncommons.maths</groupId>
1127 <artifactId>uncommons-maths</artifactId>
1128 <version>1.2.2a</version>
1131 <groupId>com.google.protobuf</groupId>
1132 <artifactId>protobuf-java</artifactId>
1133 <version>2.5.0</version>
1136 <!-- Aeron, required by Akka -->
1138 <groupId>org.agrona</groupId>
1139 <artifactId>Agrona</artifactId>
1140 <version>0.9.1</version>
1143 <groupId>io.aeron</groupId>
1144 <artifactId>aeron-client</artifactId>
1145 <version>1.0.5</version>
1148 <groupId>io.aeron</groupId>
1149 <artifactId>aeron-driver</artifactId>
1150 <version>1.0.5</version>
1155 <groupId>org.scala-lang</groupId>
1156 <artifactId>scala-library</artifactId>
1157 <version>${scala.version}.${scala.micro.version}</version>
1160 <groupId>org.scala-lang</groupId>
1161 <artifactId>scala-reflect</artifactId>
1162 <version>${scala.version}.${scala.micro.version}</version>
1165 <!-- LMAX Disruptor -->
1167 <groupId>com.lmax</groupId>
1168 <artifactId>disruptor</artifactId>
1169 <!-- If this is updated, the version in features.xml needs to be changed too -->
1170 <version>3.3.4</version>
1173 <!-- Add Pax Exam -->
1175 <groupId>org.ops4j.pax.exam</groupId>
1176 <artifactId>pax-exam</artifactId>
1177 <version>${exam.version}</version>
1181 <groupId>org.ops4j.pax.exam</groupId>
1182 <artifactId>pax-exam-container-karaf</artifactId>
1183 <version>${exam.version}</version>
1187 <groupId>org.ops4j.pax.exam</groupId>
1188 <artifactId>pax-exam-container-native</artifactId>
1189 <version>${exam.version}</version>
1193 <groupId>org.ops4j.pax.exam</groupId>
1194 <artifactId>pax-exam-junit4</artifactId>
1195 <version>${exam.version}</version>
1199 <groupId>org.ops4j.pax.exam</groupId>
1200 <artifactId>pax-exam-link-mvn</artifactId>
1201 <version>${exam.version}</version>
1206 <groupId>org.ops4j.pax.url</groupId>
1207 <artifactId>pax-url-aether</artifactId>
1208 <version>2.4.7</version>
1212 <groupId>org.ops4j.pax.url</groupId>
1213 <artifactId>pax-url-wrap</artifactId>
1214 <version>2.4.7</version>
1217 <groupId>org.springframework.osgi</groupId>
1218 <artifactId>spring-osgi-mock</artifactId>
1219 <version>1.2.1</version>
1223 <groupId>xmlunit</groupId>
1224 <artifactId>xmlunit</artifactId>
1225 <version>1.6</version>
1229 <groupId>org.eclipse.jetty</groupId>
1230 <artifactId>jetty-client</artifactId>
1231 <version>8.1.19.v20160209</version>
1234 <groupId>org.eclipse.jetty</groupId>
1235 <artifactId>jetty-server</artifactId>
1236 <version>8.1.19.v20160209</version>
1239 <groupId>org.eclipse.jetty</groupId>
1240 <artifactId>jetty-servlet-tester</artifactId>
1241 <version>8.1.19.v20160209</version>
1245 <groupId>org.eclipse.jetty</groupId>
1246 <artifactId>jetty-servlets</artifactId>
1247 <version>8.1.19.v20160209</version>
1250 <groupId>org.eclipse.jetty</groupId>
1251 <artifactId>jetty-webapp</artifactId>
1252 <version>8.1.19.v20160209</version>
1255 <groupId>org.apache.aries.blueprint</groupId>
1256 <artifactId>org.apache.aries.blueprint.core</artifactId>
1257 <version>1.4.2</version>
1260 <!-- Xtend http://xtend-lang.org
1261 NOTE: When you increase the version here,
1262 then remember to also increase it for the
1263 xtend-maven-plugin below! (We don't want to
1264 use a Maven property, in order not to "leak" that.)
1267 <groupId>org.eclipse.xtend</groupId>
1268 <artifactId>org.eclipse.xtend.lib</artifactId>
1269 <version>2.10.0</version>
1272 <groupId>org.eclipse.xtend</groupId>
1273 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1274 <version>2.10.0</version>
1277 <groupId>org.eclipse.xtext</groupId>
1278 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1279 <version>2.10.0</version>
1282 <!-- Annotations -->
1284 <groupId>javax.inject</groupId>
1285 <artifactId>javax.inject</artifactId>
1286 <version>1</version>
1291 <groupId>com.datastax.cassandra</groupId>
1292 <artifactId>cassandra-driver-core</artifactId>
1293 <version>2.1.9</version>
1298 <groupId>io.dropwizard.metrics</groupId>
1299 <artifactId>metrics-core</artifactId>
1300 <version>3.1.2</version>
1303 <groupId>io.dropwizard.metrics</groupId>
1304 <artifactId>metrics-graphite</artifactId>
1305 <version>3.1.2</version>
1308 <!-- Karaf console support -->
1310 <groupId>org.apache.karaf.shell</groupId>
1311 <artifactId>org.apache.karaf.shell.console</artifactId>
1312 <version>${karaf.version}</version>
1316 </dependencyManagement>
1319 <!-- Karaf provides SL4FJ encapsulation -->
1321 <groupId>org.slf4j</groupId>
1322 <artifactId>slf4j-api</artifactId>
1323 <scope>provided</scope>
1327 <groupId>org.slf4j</groupId>
1328 <artifactId>slf4j-simple</artifactId>
1332 <!-- Enable JSR-305 annotations everywhere -->
1334 <groupId>com.google.code.findbugs</groupId>
1335 <artifactId>annotations</artifactId>
1336 <scope>provided</scope>
1338 <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1340 <groupId>com.google.code.findbugs</groupId>
1341 <artifactId>jsr305</artifactId>
1342 <scope>provided</scope>
1345 <groupId>org.eclipse.jdt</groupId>
1346 <artifactId>org.eclipse.jdt.annotation</artifactId>
1347 <scope>provided</scope>
1354 <!-- Official maven plugins, alpha-sorted by artifactId.
1355 We do not need to specify the groupId. -->
1357 <artifactId>maven-antrun-plugin</artifactId>
1358 <version>${maven.antrun.plugin.version}</version>
1361 <artifactId>maven-checkstyle-plugin</artifactId>
1362 <version>${checkstyle.version}</version>
1365 <groupId>com.puppycrawl.tools</groupId>
1366 <artifactId>checkstyle</artifactId>
1367 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1368 <version>6.16</version>
1371 <groupId>org.opendaylight.odlparent</groupId>
1372 <artifactId>checkstyle</artifactId>
1373 <version>${odl.checkstyle.version}</version>
1376 <groupId>org.opendaylight.odlparent</groupId>
1377 <artifactId>odl-license</artifactId>
1378 <version>0.2.0-SNAPSHOT</version>
1381 <groupId>com.github.sevntu.checkstyle</groupId>
1382 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1383 <version>1.21.0</version>
1387 <configLocation>odl_checks.xml</configLocation>
1388 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1389 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1390 generated sources directory -->
1391 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1392 <includeResources>true</includeResources>
1393 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1394 <includeTestResources>true</includeTestResources>
1395 <includes>**\/*.java, **\/*.xtend</includes>
1397 org/opendaylight/yang/gen/**,
1398 **/protobuff/messages/**,
1399 **/thrift/gen/*.java
1401 <failsOnError>false</failsOnError>
1402 <consoleOutput>true</consoleOutput>
1406 <id>check-license</id>
1410 <phase>process-sources</phase>
1412 <configLocation>check-license.xml</configLocation>
1413 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1414 <includeResources>false</includeResources>
1415 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1416 <includeTestResources>false</includeTestResources>
1417 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1419 org/opendaylight/yang/gen/**,
1420 **/protobuff/messages/**,
1421 **/thrift/gen/*.java
1423 <failsOnError>false</failsOnError>
1424 <consoleOutput>true</consoleOutput>
1431 <phase>process-sources</phase>
1436 <groupId>org.apache.maven.plugins</groupId>
1437 <artifactId>maven-pmd-plugin</artifactId>
1438 <version>3.6</version>
1442 <phase>process-sources</phase>
1444 <goal>cpd-check</goal>
1447 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1448 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1449 <minimumTokens>101</minimumTokens>
1450 <printFailingErrors>true</printFailingErrors>
1452 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1453 not understand path prefixes nor wildcards. Details are available
1454 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1455 Hence people introducing new generated sources have to include
1458 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1460 <linkXRef>false</linkXRef>
1466 <artifactId>maven-compiler-plugin</artifactId>
1467 <version>${maven.compile.plugin.version}</version>
1469 <source>1.8</source>
1470 <target>1.8</target>
1472 <arg>-parameters</arg>
1477 <artifactId>maven-enforcer-plugin</artifactId>
1478 <version>${enforcer.version}</version>
1481 <artifactId>maven-failsafe-plugin</artifactId>
1482 <version>${failsafe.version}</version>
1485 <artifactId>maven-invoker-plugin</artifactId>
1486 <version>2.0.0</version>
1489 <artifactId>maven-jar-plugin</artifactId>
1490 <version>${maven.jar.version}</version>
1493 <artifactId>maven-dependency-plugin</artifactId>
1494 <version>2.10</version>
1497 <id>unpack-license</id>
1498 <phase>generate-resources</phase>
1499 <goals><goal>unpack</goal></goals>
1503 <groupId>org.opendaylight.odlparent</groupId>
1504 <artifactId>odl-license</artifactId>
1505 <version>0.2.0-SNAPSHOT</version>
1508 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1509 <excludes>META-INF/**</excludes>
1516 <artifactId>maven-plugin-plugin</artifactId>
1517 <version>${maven.plugin.version}</version>
1521 <artifactId>maven-resources-plugin</artifactId>
1522 <version>3.0.1</version>
1525 <artifactId>maven-shade-plugin</artifactId>
1526 <version>2.4.3</version>
1529 <artifactId>maven-source-plugin</artifactId>
1530 <version>3.0.1</version>
1533 <id>attach-sources</id>
1534 <phase>verify</phase>
1536 <goal>jar-no-fork</goal>
1542 <artifactId>maven-surefire-plugin</artifactId>
1543 <version>${maven.surefire.version}</version>
1545 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1546 <trimStackTrace>false</trimStackTrace>
1550 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1552 <!-- Support Blueprint XML construction using annotations -->
1553 <groupId>org.apache.aries.blueprint</groupId>
1554 <artifactId>blueprint-maven-plugin</artifactId>
1555 <version>1.4.0</version>
1558 <scanPath>org.opendaylight</scanPath>
1563 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1564 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1565 <groupId>org.apache.xbean</groupId>
1566 <artifactId>xbean-finder-shaded</artifactId>
1567 <version>4.5</version>
1573 <goal>blueprint-generate</goal>
1580 <groupId>org.apache.felix</groupId>
1581 <artifactId>maven-bundle-plugin</artifactId>
1582 <version>${maven.bundle.version}</version>
1583 <extensions>true</extensions>
1586 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1587 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1588 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1589 <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1595 <groupId>org.apache.karaf.tooling</groupId>
1596 <artifactId>karaf-maven-plugin</artifactId>
1597 <version>${karaf.version}</version>
1601 <groupId>org.apache.servicemix.tooling</groupId>
1602 <artifactId>depends-maven-plugin</artifactId>
1603 <version>1.3.1</version>
1606 <id>generate-depends-file</id>
1608 <goal>generate-depends-file</goal>
1615 <groupId>org.codehaus.enunciate</groupId>
1616 <artifactId>maven-enunciate-plugin</artifactId>
1617 <version>${enunciate.version}</version>
1620 <groupId>org.codehaus.groovy.maven</groupId>
1621 <artifactId>gmaven-plugin</artifactId>
1622 <version>1.0</version>
1625 <groupId>org.codehaus.mojo</groupId>
1626 <artifactId>build-helper-maven-plugin</artifactId>
1627 <version>1.12</version>
1630 <groupId>org.codehaus.mojo</groupId>
1631 <artifactId>findbugs-maven-plugin</artifactId>
1632 <version>3.0.4</version>
1635 <groupId>org.opendaylight.odlparent</groupId>
1636 <artifactId>findbugs</artifactId>
1637 <version>1.8.0-SNAPSHOT</version>
1642 Enables analysis which takes more memory but finds more bugs.
1643 If you run out of memory, changes the value of the effort element
1646 <effort>Max</effort>
1647 <!-- Reports all bugs (other values are medium and max) -->
1648 <threshold>Low</threshold>
1649 <!-- Build doesn't fail if problems are found -->
1650 <failOnError>false</failOnError>
1651 <!-- References the excluded rules -->
1652 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1653 <!-- Produces XML report -->
1654 <xmlOutput>true</xmlOutput>
1655 <!-- Configures the directory in which the XML report is created -->
1656 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1660 Ensures that FindBugs inspects source code when project is compiled.
1663 <id>analyze-compile</id>
1664 <phase>compile</phase>
1672 <groupId>org.codehaus.mojo</groupId>
1673 <artifactId>properties-maven-plugin</artifactId>
1674 <version>${propertymavenplugin.version}</version>
1677 <groupId>org.eclipse.xtend</groupId>
1678 <artifactId>xtend-maven-plugin</artifactId>
1679 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1680 <version>2.10.0</version>
1684 <goal>compile</goal>
1685 <goal>testCompile</goal>
1688 <outputDirectory>${project.build.directory}/generated-sources/xtend/main</outputDirectory>
1689 <testOutputDirectory>${project.build.directory}/generated-sources/xtend/test</testOutputDirectory>
1695 <groupId>org.eclipse.m2e</groupId>
1696 <artifactId>lifecycle-mapping</artifactId>
1697 <version>1.0.0</version>
1699 <lifecycleMappingMetadata>
1702 <pluginExecutionFilter>
1703 <groupId>org.apache.felix</groupId>
1704 <artifactId>maven-bundle-plugin</artifactId>
1705 <versionRange>[1.0,)</versionRange>
1707 <goal>manifest</goal>
1709 </pluginExecutionFilter>
1715 <pluginExecutionFilter>
1716 <groupId>org.apache.maven.plugins</groupId>
1717 <artifactId>maven-enforcer-plugin</artifactId>
1718 <versionRange>[1.0.0,)</versionRange>
1720 <goal>enforce</goal>
1722 </pluginExecutionFilter>
1728 <pluginExecutionFilter>
1729 <groupId>org.apache.maven.plugins</groupId>
1730 <artifactId>maven-dependency-plugin</artifactId>
1731 <versionRange>[2.10,)</versionRange>
1735 </pluginExecutionFilter>
1741 <pluginExecutionFilter>
1742 <groupId>org.apache.maven.plugins</groupId>
1743 <artifactId>maven-pmd-plugin</artifactId>
1744 <versionRange>[3.6,)</versionRange>
1746 <goal>cpd-check</goal>
1748 </pluginExecutionFilter>
1753 <!-- The plugin will eventually be removed, remove this too at that point -->
1755 <pluginExecutionFilter>
1756 <groupId>org.apache.maven.plugins</groupId>
1757 <artifactId>maven-antrun-plugin</artifactId>
1758 <versionRange>[1.8,)</versionRange>
1762 </pluginExecutionFilter>
1768 <pluginExecutionFilter>
1769 <groupId>org.apache.servicemix.tooling</groupId>
1770 <artifactId>depends-maven-plugin</artifactId>
1771 <versionRange>[1.2,)</versionRange>
1773 <goal>generate-depends-file</goal>
1775 </pluginExecutionFilter>
1781 <pluginExecutionFilter>
1782 <groupId>org.jacoco</groupId>
1783 <artifactId>jacoco-maven-plugin</artifactId>
1784 <versionRange>[0.7.0,)</versionRange>
1786 <goal>prepare-agent</goal>
1789 </pluginExecutionFilter>
1796 <pluginExecutionFilter>
1797 <groupId>org.ops4j.pax.exam</groupId>
1798 <artifactId>maven-paxexam-plugin</artifactId>
1799 <versionRange>[1.2.4,)</versionRange>
1801 <goal>generate-depends-file</goal>
1803 </pluginExecutionFilter>
1810 </lifecycleMappingMetadata>
1815 <groupId>org.jacoco</groupId>
1816 <artifactId>jacoco-maven-plugin</artifactId>
1817 <version>${jacoco.version}</version>
1819 <!-- Note: This exclusion list should match <sonar.exclusions>
1822 <exclude>**/gen/**</exclude>
1823 <exclude>**/generated-sources/**</exclude>
1824 <exclude>**/yang-gen/**</exclude>
1825 <exclude>**/yang-gen-config/**</exclude>
1826 <exclude>**/yang-gen-sal/**</exclude>
1827 <exclude>**/yang-gen-code/**</exclude>
1828 <exclude>**/pax/**</exclude>
1834 <groupId>org.ops4j.pax.exam</groupId>
1835 <artifactId>maven-paxexam-plugin</artifactId>
1836 <version>1.2.4</version>
1840 <groupId>org.codehaus.mojo</groupId>
1841 <artifactId>jdepend-maven-plugin</artifactId>
1842 <version>2.0</version>
1847 <goal>generate-no-fork</goal>
1857 <artifactId>maven-dependency-plugin</artifactId>
1860 <artifactId>maven-checkstyle-plugin</artifactId>
1863 <artifactId>maven-pmd-plugin</artifactId>
1866 <artifactId>maven-source-plugin</artifactId>
1869 <artifactId>maven-javadoc-plugin</artifactId>
1872 <!-- Jacoco / Sonar -->
1874 <groupId>org.jacoco</groupId>
1875 <artifactId>jacoco-maven-plugin</artifactId>
1878 <id>pre-unit-test</id>
1880 <goal>prepare-agent</goal>
1883 <destFile>${sonar.jacoco.reportPath}</destFile>
1887 <id>post-unit-test</id>
1892 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1899 <groupId>com.alexecollins.maven.plugin</groupId>
1900 <artifactId>script-maven-plugin</artifactId>
1901 <version>1.0.0</version>
1904 <phase>prepare-package</phase>
1906 <goal>execute</goal>
1910 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1911 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1912 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1913 // static class methods only - it will be MUCH easier to write!)
1914 void copy(File root, String glob, File target) {
1915 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1916 Iterator dirStreamIterator = dirStream.iterator();
1917 while (dirStreamIterator.hasNext()) {
1918 java.nio.file.Path path = dirStreamIterator.next();
1919 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1920 new java.nio.file.CopyOption[] {
1921 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1922 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1929 File gitRepoRootDir = project.basedir;
1930 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1931 gitRepoRootDir = gitRepoRootDir.getParentFile();
1934 File target = new File(project.build.outputDirectory);
1936 copy(gitRepoRootDir, "README*", target);
1937 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1938 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1945 <groupId>org.apache-extras.beanshell</groupId>
1946 <artifactId>bsh</artifactId>
1947 <version>2.0b6</version>
1952 <!-- Blueprint dependency injection -->
1953 <!-- Remove when upgrading to plugin 1.5.0, and use
1954 <configuration><generatedDir>org/opendaylight/blueprint/</...></...> -->
1955 <!-- See https://issues.apache.org/jira/browse/ARIES-1597 -->
1957 <artifactId>maven-antrun-plugin</artifactId>
1959 <!-- This should only run once, in the process-classes phase; but we need it to run after
1960 process-classes in child projects. Attaching to process-test-classes and prepare-package
1961 ensures that the file will be moved whether tests are skipped or not. -->
1963 <id>move-autowire-test</id>
1964 <phase>process-test-classes</phase>
1970 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1971 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1972 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1973 failonerror="false" quiet="true" />
1978 <id>move-autowire-package</id>
1979 <phase>prepare-package</phase>
1985 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1986 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1987 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1988 failonerror="false" quiet="true" />
2000 <artifactId>maven-checkstyle-plugin</artifactId>
2001 <version>${checkstyle.version}</version>
2004 <!-- FIXME: activate this
2006 <artifactId>maven-project-info-reports-plugin</artifactId>
2007 <version>${projectinfo}</version>
2010 <groupId>org.codehaus.mojo</groupId>
2011 <artifactId>jdepend-maven-plugin</artifactId>
2015 <report>generate-no-fork</report>
2021 <artifactId>maven-javadoc-plugin</artifactId>
2024 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2025 <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
2026 <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
2027 <link>http://netty.io/4.0/api/</link>
2035 Maven Site Configuration
2037 The following configuration is necessary for maven-site-plugin to
2038 correctly identify the correct deployment path for OpenDaylight Maven
2041 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2043 <distributionManagement>
2045 <id>opendaylight-site</id>
2046 <url>${nexus.site.url}/${project.artifactId}/</url>
2048 </distributionManagement>