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.11</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**,**/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>
248 <!-- Supporting Libraries -->
250 <groupId>org.slf4j</groupId>
251 <artifactId>jcl-over-slf4j</artifactId>
252 <version>1.7.21</version>
255 <groupId>org.slf4j</groupId>
256 <artifactId>slf4j-api</artifactId>
257 <version>1.7.21</version>
260 <groupId>org.slf4j</groupId>
261 <artifactId>slf4j-log4j12</artifactId>
262 <version>1.7.21</version>
265 <groupId>org.slf4j</groupId>
266 <artifactId>log4j-over-slf4j</artifactId>
267 <version>1.7.21</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-simple</artifactId>
272 <version>1.7.21</version>
276 <groupId>xml-apis</groupId>
277 <artifactId>xml-apis</artifactId>
278 <version>1.4.01</version>
281 <groupId>xerces</groupId>
282 <artifactId>xercesImpl</artifactId>
283 <version>2.11.0</version>
286 <groupId>ch.qos.logback</groupId>
287 <artifactId>logback-core</artifactId>
288 <version>1.1.7</version>
291 <groupId>ch.qos.logback</groupId>
292 <artifactId>logback-classic</artifactId>
293 <version>1.1.7</version>
296 <groupId>com.google.guava</groupId>
297 <artifactId>guava</artifactId>
298 <version>18.0</version>
301 <groupId>com.google.guava</groupId>
302 <artifactId>guava-testlib</artifactId>
303 <version>18.0</version>
307 <groupId>com.mycila.guice.extensions</groupId>
308 <!-- This transitively pulls com.google.inject:guice along -->
309 <artifactId>mycila-guice-jsr250</artifactId>
310 <!-- Make sure this version is in sync with the guice one below -->
311 <version>4.0.rc1</version>
315 <groupId>org.immutables</groupId>
316 <artifactId>value</artifactId>
317 <version>2.3.9</version>
318 <!-- Must be provided; <scope>test here breaks APT in Eclipse :( -->
319 <scope>provided</scope>
322 <!-- We repeat guice here, because some POM need only Guice, without mycila -->
323 <groupId>com.google.inject</groupId>
324 <artifactId>guice</artifactId>
325 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
326 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
327 <version>4.1.0</version>
331 <groupId>org.apache.commons</groupId>
332 <artifactId>commons-lang3</artifactId>
333 <version>3.5</version>
336 <groupId>commons-lang</groupId>
337 <artifactId>commons-lang</artifactId>
338 <version>2.6</version>
341 <groupId>commons-codec</groupId>
342 <artifactId>commons-codec</artifactId>
343 <version>1.10</version>
345 <!-- Jersey for JAXRS -->
347 <groupId>javax.ws.rs</groupId>
348 <artifactId>javax.ws.rs-api</artifactId>
349 <version>2.0.1</version>
352 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
353 <artifactId>jersey-guava</artifactId>
354 <version>2.22.2</version>
357 <groupId>org.glassfish</groupId>
358 <artifactId>javax.json</artifactId>
359 <version>1.0.4</version>
362 <groupId>com.eclipsesource.jaxrs</groupId>
363 <artifactId>jersey-all</artifactId>
364 <version>2.22.2</version>
367 <!-- servlet 3.x support -->
369 <groupId>org.glassfish.jersey.containers</groupId>
370 <artifactId>jersey-container-servlet</artifactId>
371 <version>2.8</version>
374 <groupId>org.apache.geronimo.bundles</groupId>
375 <artifactId>json</artifactId>
376 <version>20090211_1</version>
378 <!-- FIXME : remove all dependencies for jersey 1.17 -->
380 <groupId>com.sun.jersey</groupId>
381 <artifactId>jersey-core</artifactId>
382 <version>1.17</version>
385 <groupId>com.sun.jersey</groupId>
386 <artifactId>jersey-json</artifactId>
387 <version>1.17</version>
390 <groupId>com.sun.jersey</groupId>
391 <artifactId>jersey-server</artifactId>
392 <version>1.17</version>
395 <groupId>com.sun.jersey</groupId>
396 <artifactId>jersey-servlet</artifactId>
397 <version>1.17</version>
400 <groupId>com.sun.jersey.jersey-test-framework</groupId>
401 <artifactId>jersey-test-framework-grizzly2</artifactId>
402 <version>1.17</version>
406 <groupId>com.sun.jersey.jersey-test-framework</groupId>
407 <artifactId>jersey-test-framework-inmemory</artifactId>
408 <version>1.17</version>
412 <groupId>com.sun.jersey</groupId>
413 <artifactId>jersey-client</artifactId>
414 <version>1.17</version>
417 <groupId>org.opendaylight.controller.thirdparty</groupId>
418 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
419 <version>1.17</version>
422 <groupId>org.apache.shiro</groupId>
423 <artifactId>shiro-core</artifactId>
424 <version>1.3.2</version>
427 <groupId>org.apache.shiro</groupId>
428 <artifactId>shiro-web</artifactId>
429 <version>1.3.2</version>
432 <!-- Plugin integration -->
434 <groupId>net.java.dev.stax-utils</groupId>
435 <artifactId>stax-utils</artifactId>
436 <version>20070216</version>
439 <groupId>org.sonatype.plexus</groupId>
440 <artifactId>plexus-build-api</artifactId>
441 <version>0.0.7</version>
444 <groupId>org.codehaus.plexus</groupId>
445 <artifactId>plexus-slf4j-logging</artifactId>
446 <version>1.1</version>
449 <groupId>com.fasterxml.jackson.core</groupId>
450 <artifactId>jackson-annotations</artifactId>
451 <version>2.3.2</version>
454 <groupId>com.fasterxml.jackson.core</groupId>
455 <artifactId>jackson-core</artifactId>
456 <version>2.3.2</version>
459 <groupId>com.fasterxml.jackson.core</groupId>
460 <artifactId>jackson-databind</artifactId>
461 <version>2.3.2</version>
464 <groupId>com.fasterxml.jackson.datatype</groupId>
465 <artifactId>jackson-datatype-json-org</artifactId>
466 <version>2.3.2</version>
468 <!-- TODO do we really need resteasy ? -->
470 <groupId>org.jboss.resteasy</groupId>
471 <artifactId>jaxrs-api</artifactId>
472 <version>3.0.12.Final</version>
476 <groupId>com.fasterxml.jackson.jaxrs</groupId>
477 <artifactId>jackson-jaxrs-base</artifactId>
478 <version>2.3.2</version>
481 <groupId>com.fasterxml.jackson.jaxrs</groupId>
482 <artifactId>jackson-jaxrs-json-provider</artifactId>
483 <version>2.3.2</version>
486 <groupId>com.fasterxml.jackson.module</groupId>
487 <artifactId>jackson-module-jaxb-annotations</artifactId>
488 <version>2.3.2</version>
491 <groupId>com.sun.xml.txw2</groupId>
492 <artifactId>txw2</artifactId>
493 <version>20110809</version>
496 <groupId>com.github.romix</groupId>
497 <artifactId>java-concurrent-hash-trie-map</artifactId>
498 <version>0.2.23-ODL</version>
501 <groupId>com.google.code.findbugs</groupId>
502 <artifactId>jsr305</artifactId>
503 <version>3.0.0</version>
506 <groupId>com.google.code.findbugs</groupId>
507 <artifactId>annotations</artifactId>
508 <version>3.0.0</version>
510 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
511 the types of this artifact are already shaded inside the :annotations artifact.
512 This state is a temporary solution to allow all projects to gradually switch over
513 switch their <dependency><groupId>com.google.code.findbugs from
514 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
515 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
518 <groupId>net.jcip</groupId>
519 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
520 <artifactId>jcip-annotations</artifactId>
525 <groupId>org.eclipse.jdt</groupId>
526 <artifactId>org.eclipse.jdt.annotation</artifactId>
527 <version>2.0.0</version>
528 <scope>provided</scope>
531 <groupId>com.google.code.gson</groupId>
532 <artifactId>gson</artifactId>
533 <version>2.7</version>
536 <groupId>commons-fileupload</groupId>
537 <artifactId>commons-fileupload</artifactId>
538 <version>1.3.2</version>
541 <groupId>commons-io</groupId>
542 <artifactId>commons-io</artifactId>
543 <version>2.4</version>
546 <groupId>commons-net</groupId>
547 <artifactId>commons-net</artifactId>
548 <version>3.5</version>
551 <groupId>eclipselink</groupId>
552 <artifactId>javax.persistence</artifactId>
553 <version>2.0.4.v201112161009</version>
556 <groupId>eclipselink</groupId>
557 <artifactId>javax.resource</artifactId>
558 <version>1.5.0.v200906010428</version>
561 <groupId>equinoxSDK381</groupId>
562 <artifactId>javax.servlet</artifactId>
563 <version>3.0.0.v201112011016</version>
566 <groupId>equinoxSDK381</groupId>
567 <artifactId>javax.servlet.jsp</artifactId>
568 <version>2.2.0.v201112011158</version>
571 <groupId>equinoxSDK381</groupId>
572 <artifactId>org.apache.felix.gogo.command</artifactId>
573 <version>0.8.0.v201108120515</version>
576 <groupId>equinoxSDK381</groupId>
577 <artifactId>org.apache.felix.gogo.runtime</artifactId>
578 <version>0.8.0.v201108120515</version>
581 <groupId>equinoxSDK381</groupId>
582 <artifactId>org.apache.felix.gogo.shell</artifactId>
583 <version>0.8.0.v201110170705</version>
586 <groupId>equinoxSDK381</groupId>
587 <artifactId>org.eclipse.equinox.cm</artifactId>
588 <version>1.0.400.v20120522-1841</version>
591 <groupId>equinoxSDK381</groupId>
592 <artifactId>org.eclipse.equinox.console</artifactId>
593 <version>1.0.0.v20120522-1841</version>
596 <groupId>equinoxSDK381</groupId>
597 <artifactId>org.eclipse.equinox.ds</artifactId>
598 <version>1.4.0.v20120522-1841</version>
601 <groupId>equinoxSDK381</groupId>
602 <artifactId>org.eclipse.equinox.launcher</artifactId>
603 <version>1.3.0.v20120522-1813</version>
606 <groupId>equinoxSDK381</groupId>
607 <artifactId>org.eclipse.equinox.util</artifactId>
608 <version>1.0.400.v20120522-2049</version>
611 <groupId>equinoxSDK381</groupId>
612 <artifactId>org.eclipse.osgi.services</artifactId>
613 <version>3.3.100.v20120522-1822</version>
617 <groupId>org.eclipse.tycho</groupId>
618 <artifactId>org.eclipse.osgi</artifactId>
619 <version>3.9.1.v20130814-1242</version>
621 <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
623 <groupId>equinoxSDK381</groupId>
624 <artifactId>org.eclipse.osgi</artifactId>
625 <version>3.8.1.v20120830-144521</version>
630 <groupId>geminiweb</groupId>
631 <artifactId>org.eclipse.gemini.web.core</artifactId>
632 <version>2.2.0.RELEASE</version>
635 <groupId>geminiweb</groupId>
636 <artifactId>org.eclipse.gemini.web.extender</artifactId>
637 <version>2.2.0.RELEASE</version>
640 <groupId>geminiweb</groupId>
641 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
642 <version>2.2.0.RELEASE</version>
645 <groupId>geminiweb</groupId>
646 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
647 <version>3.6.0.RELEASE</version>
650 <groupId>geminiweb</groupId>
651 <artifactId>org.eclipse.virgo.util.common</artifactId>
652 <version>3.6.0.RELEASE</version>
655 <groupId>geminiweb</groupId>
656 <artifactId>org.eclipse.virgo.util.io</artifactId>
657 <version>3.6.0.RELEASE</version>
660 <groupId>geminiweb</groupId>
661 <artifactId>org.eclipse.virgo.util.math</artifactId>
662 <version>3.6.0.RELEASE</version>
665 <groupId>geminiweb</groupId>
666 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
667 <version>3.6.0.RELEASE</version>
670 <groupId>geminiweb</groupId>
671 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
672 <version>3.6.0.RELEASE</version>
675 <groupId>geminiweb</groupId>
676 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
677 <version>3.6.0.RELEASE</version>
681 <groupId>io.netty</groupId>
682 <artifactId>netty-all</artifactId>
683 <!-- If these are updated, the version in features.xml needs to be changed too -->
684 <version>4.0.37.Final</version>
687 <groupId>io.netty</groupId>
688 <artifactId>netty-buffer</artifactId>
689 <version>4.0.37.Final</version>
692 <groupId>io.netty</groupId>
693 <artifactId>netty-codec</artifactId>
694 <version>4.0.37.Final</version>
697 <groupId>io.netty</groupId>
698 <artifactId>netty-codec-http</artifactId>
699 <version>4.0.37.Final</version>
702 <groupId>io.netty</groupId>
703 <artifactId>netty-common</artifactId>
704 <version>4.0.37.Final</version>
707 <groupId>io.netty</groupId>
708 <artifactId>netty-handler</artifactId>
709 <version>4.0.37.Final</version>
712 <groupId>io.netty</groupId>
713 <artifactId>netty-transport</artifactId>
714 <version>4.0.37.Final</version>
716 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
717 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
719 <groupId>io.netty</groupId>
720 <artifactId>netty-transport-native-epoll</artifactId>
721 <classifier>linux-x86_64</classifier>
722 <version>4.0.37.Final</version>
725 <groupId>javax.ws.rs</groupId>
726 <artifactId>jsr311-api</artifactId>
727 <version>1.1.1</version>
730 <groupId>orbit</groupId>
731 <artifactId>javax.activation</artifactId>
732 <version>1.1.0.v201211130549</version>
735 <groupId>orbit</groupId>
736 <artifactId>javax.annotation</artifactId>
737 <version>1.1.0.v201209060031</version>
740 <groupId>orbit</groupId>
741 <artifactId>javax.ejb</artifactId>
742 <version>3.1.1.v201204261316</version>
745 <groupId>orbit</groupId>
746 <artifactId>javax.el</artifactId>
747 <version>2.2.0.v201108011116</version>
750 <groupId>orbit</groupId>
751 <artifactId>javax.mail.glassfish</artifactId>
752 <version>1.4.1.v201108011116</version>
755 <groupId>javax.servlet</groupId>
756 <artifactId>javax.servlet-api</artifactId>
757 <version>3.0.1</version>
760 <groupId>orbit</groupId>
761 <artifactId>javax.servlet.jsp.jstl</artifactId>
762 <version>1.2.0.v201105211821</version>
765 <groupId>orbit</groupId>
766 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
767 <version>1.2.0.v201210211230</version>
770 <groupId>orbit</groupId>
771 <artifactId>javax.xml.rpc</artifactId>
772 <version>1.1.0.v201005080400</version>
775 <groupId>orbit</groupId>
776 <artifactId>org.apache.catalina</artifactId>
777 <version>7.0.53.v201406061610</version>
780 <groupId>orbit</groupId>
781 <artifactId>org.apache.catalina.ha</artifactId>
782 <version>7.0.53.v201406070630</version>
785 <groupId>orbit</groupId>
786 <artifactId>org.apache.catalina.tribes</artifactId>
787 <version>7.0.53.v201406070630</version>
790 <groupId>orbit</groupId>
791 <artifactId>org.apache.coyote</artifactId>
792 <version>7.0.53.v201406070630</version>
795 <groupId>orbit</groupId>
796 <artifactId>org.apache.el</artifactId>
797 <version>7.0.53.v201406060720</version>
800 <groupId>orbit</groupId>
801 <artifactId>org.apache.jasper</artifactId>
802 <version>7.0.53.v201406070630</version>
805 <groupId>orbit</groupId>
806 <artifactId>org.apache.juli.extras</artifactId>
807 <version>7.0.53.v201406060720</version>
810 <groupId>orbit</groupId>
811 <artifactId>org.apache.tomcat.api</artifactId>
812 <version>7.0.53.v201406060720</version>
815 <groupId>orbit</groupId>
816 <artifactId>org.apache.tomcat.util</artifactId>
817 <version>7.0.53.v201406070630</version>
820 <groupId>org.aopalliance</groupId>
821 <artifactId>com.springsource.org.aopalliance</artifactId>
822 <version>1.0.0</version>
825 <groupId>org.apache.felix</groupId>
826 <artifactId>org.apache.felix.dependencymanager</artifactId>
827 <version>4.3.0</version>
830 <groupId>org.apache.felix</groupId>
831 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
832 <version>4.0.4</version>
835 <groupId>org.apache.felix</groupId>
836 <artifactId>org.apache.felix.fileinstall</artifactId>
837 <version>3.5.4</version>
840 <groupId>org.apache.felix</groupId>
841 <artifactId>org.apache.felix.metatype</artifactId>
842 <version>1.1.2</version>
844 <!-- felix webconsole -->
846 <groupId>org.apache.felix</groupId>
847 <artifactId>org.apache.felix.webconsole</artifactId>
848 <version>4.2.14</version>
849 <!-- the all bundle includes all the necessary plugins -->
850 <classifier>all</classifier>
853 <groupId>org.bouncycastle</groupId>
854 <artifactId>bcpkix-jdk15on</artifactId>
855 <version>${bouncycastle.version}</version>
858 <groupId>org.bouncycastle</groupId>
859 <artifactId>bcprov-jdk15on</artifactId>
860 <version>${bouncycastle.version}</version>
863 <groupId>org.codehaus.enunciate</groupId>
864 <artifactId>enunciate-core-annotations</artifactId>
865 <version>${enunciate.version}</version>
868 <groupId>com.webcohesion.enunciate</groupId>
869 <artifactId>enunciate-core-annotations</artifactId>
870 <version>2.6.0</version>
873 <groupId>org.codehaus.jettison</groupId>
874 <artifactId>jettison</artifactId>
875 <version>1.3.7</version>
877 <!-- equinox http service bridge -->
879 <groupId>org.eclipse.equinox.http</groupId>
880 <artifactId>servlet</artifactId>
881 <version>1.0.0-v20070606</version>
883 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
884 pull in javax.validation first:
885 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
887 <groupId>org.eclipse.persistence</groupId>
888 <artifactId>org.eclipse.persistence.antlr</artifactId>
889 <version>2.6.2</version>
892 <groupId>org.eclipse.persistence</groupId>
893 <artifactId>org.eclipse.persistence.core</artifactId>
894 <version>2.6.2</version>
897 <groupId>org.eclipse.persistence</groupId>
898 <artifactId>org.eclipse.persistence.moxy</artifactId>
899 <version>2.6.2</version>
902 <groupId>javax.validation</groupId>
903 <artifactId>validation-api</artifactId>
904 <version>1.1.0.Final</version>
907 <groupId>org.javassist</groupId>
908 <artifactId>javassist</artifactId>
909 <version>3.20.0-GA</version>
912 <groupId>org.jboss.spec.javax.transaction</groupId>
913 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
914 <version>1.0.1.Final</version>
917 <groupId>org.jolokia</groupId>
918 <artifactId>jolokia-osgi</artifactId>
919 <version>1.3.3</version>
922 <groupId>org.json</groupId>
923 <artifactId>json</artifactId>
924 <version>20131018</version>
927 <groupId>org.osgi</groupId>
928 <artifactId>org.osgi.compendium</artifactId>
929 <version>5.0.0</version>
930 <scope>provided</scope>
933 <groupId>org.osgi</groupId>
934 <artifactId>org.osgi.core</artifactId>
935 <version>${osgi.core.version}</version>
936 <scope>provided</scope>
939 <groupId>org.ow2.asm</groupId>
940 <artifactId>asm-all</artifactId>
941 <version>5.1</version>
943 <!-- Visual VM hook -->
945 <groupId>org.ow2.chameleon.management</groupId>
946 <artifactId>chameleon-mbeans</artifactId>
947 <version>1.0.0</version>
950 <groupId>org.springframework</groupId>
951 <artifactId>spring-aop</artifactId>
952 <version>3.2.17.RELEASE</version>
955 <groupId>org.springframework</groupId>
956 <artifactId>spring-beans</artifactId>
957 <version>3.2.17.RELEASE</version>
960 <groupId>org.springframework</groupId>
961 <artifactId>spring-context</artifactId>
962 <version>3.2.17.RELEASE</version>
965 <groupId>org.springframework</groupId>
966 <artifactId>spring-core</artifactId>
967 <version>3.2.17.RELEASE</version>
970 <groupId>org.springframework</groupId>
971 <artifactId>spring-expression</artifactId>
972 <version>3.2.17.RELEASE</version>
975 <groupId>org.springframework</groupId>
976 <artifactId>spring-tx</artifactId>
977 <version>3.2.17.RELEASE</version>
980 <groupId>org.springframework</groupId>
981 <artifactId>spring-web</artifactId>
982 <version>3.2.17.RELEASE</version>
985 <groupId>org.springframework</groupId>
986 <artifactId>spring-webmvc</artifactId>
987 <version>3.2.17.RELEASE</version>
989 <!-- Spring security -->
991 <groupId>org.springframework.security</groupId>
992 <artifactId>spring-security-config</artifactId>
993 <version>3.2.9.RELEASE</version>
996 <groupId>org.springframework.security</groupId>
997 <artifactId>spring-security-core</artifactId>
998 <version>3.2.9.RELEASE</version>
1001 <groupId>org.springframework.security</groupId>
1002 <artifactId>spring-security-taglibs</artifactId>
1003 <version>3.2.9.RELEASE</version>
1006 <groupId>org.springframework.security</groupId>
1007 <artifactId>spring-security-web</artifactId>
1008 <version>3.2.9.RELEASE</version>
1011 <groupId>virgomirror</groupId>
1012 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1013 <version>3.8.0.I20120518-2145</version>
1016 <!-- Configuration library -->
1017 <!-- This needs to be kept in sync with the version used by akka -->
1019 <groupId>com.typesafe</groupId>
1020 <artifactId>config</artifactId>
1021 <version>1.3.0</version>
1024 <!-- Reactive Streams, used by Akka -->
1026 <groupId>org.reactivestreams</groupId>
1027 <artifactId>reactive-streams</artifactId>
1028 <version>1.0.0</version>
1033 <groupId>com.typesafe</groupId>
1034 <artifactId>ssl-config-akka_${scala.version}</artifactId>
1035 <version>0.2.1</version>
1038 <groupId>com.typesafe</groupId>
1039 <artifactId>ssl-config-core_${scala.version}</artifactId>
1040 <version>0.2.1</version>
1043 <groupId>com.typesafe.akka</groupId>
1044 <artifactId>akka-actor_${scala.version}</artifactId>
1045 <version>${akka.version}</version>
1048 <groupId>com.typesafe.akka</groupId>
1049 <artifactId>akka-cluster_${scala.version}</artifactId>
1050 <version>${akka.version}</version>
1053 <groupId>com.typesafe.akka</groupId>
1054 <artifactId>akka-distributed-data-experimental_${scala.version}</artifactId>
1055 <version>${akka.version}</version>
1058 <groupId>com.typesafe.akka</groupId>
1059 <artifactId>akka-osgi_${scala.version}</artifactId>
1060 <version>${akka.version}</version>
1063 <groupId>com.typesafe.akka</groupId>
1064 <artifactId>akka-persistence_${scala.version}</artifactId>
1065 <version>${akka.version}</version>
1068 <groupId>com.typesafe.akka</groupId>
1069 <artifactId>akka-protobuf_${scala.version}</artifactId>
1070 <version>${akka.version}</version>
1073 <groupId>com.typesafe.akka</groupId>
1074 <artifactId>akka-remote_${scala.version}</artifactId>
1075 <version>${akka.version}</version>
1078 <groupId>com.typesafe.akka</groupId>
1079 <artifactId>akka-slf4j_${scala.version}</artifactId>
1080 <version>${akka.version}</version>
1083 <groupId>com.typesafe.akka</groupId>
1084 <artifactId>akka-stream_${scala.version}</artifactId>
1085 <version>${akka.version}</version>
1088 <groupId>com.typesafe.akka</groupId>
1089 <artifactId>akka-testkit_${scala.version}</artifactId>
1090 <version>${akka.version}</version>
1094 <groupId>org.scala-lang.modules</groupId>
1095 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1096 <version>0.8.0</version>
1099 <groupId>org.scala-lang.modules</groupId>
1100 <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1101 <version>1.0.4</version>
1104 <groupId>org.iq80.leveldb</groupId>
1105 <artifactId>leveldb</artifactId>
1106 <version>${leveldb.version}</version>
1109 <groupId>org.fusesource.leveldbjni</groupId>
1110 <artifactId>leveldbjni-all</artifactId>
1111 <version>1.8-odl</version>
1114 <groupId>org.uncommons.maths</groupId>
1115 <artifactId>uncommons-maths</artifactId>
1116 <version>1.2.2a</version>
1119 <groupId>com.google.protobuf</groupId>
1120 <artifactId>protobuf-java</artifactId>
1121 <version>2.5.0</version>
1124 <!-- Aeron, required by Akka -->
1126 <groupId>org.agrona</groupId>
1127 <artifactId>Agrona</artifactId>
1128 <version>0.5.4</version>
1131 <groupId>io.aeron</groupId>
1132 <artifactId>aeron-client</artifactId>
1133 <version>1.0.1</version>
1136 <groupId>io.aeron</groupId>
1137 <artifactId>aeron-driver</artifactId>
1138 <version>1.0.1</version>
1143 <groupId>org.scala-lang</groupId>
1144 <artifactId>scala-library</artifactId>
1145 <version>${scala.version}.${scala.micro.version}</version>
1148 <groupId>org.scala-lang</groupId>
1149 <artifactId>scala-reflect</artifactId>
1150 <version>${scala.version}.${scala.micro.version}</version>
1153 <!-- LMAX Disruptor -->
1155 <groupId>com.lmax</groupId>
1156 <artifactId>disruptor</artifactId>
1157 <!-- If this is updated, the version in features.xml needs to be changed too -->
1158 <version>3.3.4</version>
1161 <!-- Add Pax Exam -->
1163 <groupId>org.ops4j.pax.exam</groupId>
1164 <artifactId>pax-exam</artifactId>
1165 <version>${exam.version}</version>
1169 <groupId>org.ops4j.pax.exam</groupId>
1170 <artifactId>pax-exam-container-karaf</artifactId>
1171 <version>${exam.version}</version>
1175 <groupId>org.ops4j.pax.exam</groupId>
1176 <artifactId>pax-exam-container-native</artifactId>
1177 <version>${exam.version}</version>
1181 <groupId>org.ops4j.pax.exam</groupId>
1182 <artifactId>pax-exam-junit4</artifactId>
1183 <version>${exam.version}</version>
1187 <groupId>org.ops4j.pax.exam</groupId>
1188 <artifactId>pax-exam-link-mvn</artifactId>
1189 <version>${exam.version}</version>
1194 <groupId>org.ops4j.pax.url</groupId>
1195 <artifactId>pax-url-aether</artifactId>
1196 <version>2.4.7</version>
1200 <groupId>org.ops4j.pax.url</groupId>
1201 <artifactId>pax-url-wrap</artifactId>
1202 <version>2.4.7</version>
1205 <groupId>org.springframework.osgi</groupId>
1206 <artifactId>spring-osgi-mock</artifactId>
1207 <version>1.2.1</version>
1211 <groupId>xmlunit</groupId>
1212 <artifactId>xmlunit</artifactId>
1213 <version>1.6</version>
1217 <groupId>org.eclipse.jetty</groupId>
1218 <artifactId>jetty-client</artifactId>
1219 <version>8.1.19.v20160209</version>
1222 <groupId>org.eclipse.jetty</groupId>
1223 <artifactId>jetty-server</artifactId>
1224 <version>8.1.19.v20160209</version>
1227 <groupId>org.eclipse.jetty</groupId>
1228 <artifactId>jetty-servlet-tester</artifactId>
1229 <version>8.1.19.v20160209</version>
1233 <groupId>org.eclipse.jetty</groupId>
1234 <artifactId>jetty-servlets</artifactId>
1235 <version>8.1.19.v20160209</version>
1238 <groupId>org.eclipse.jetty</groupId>
1239 <artifactId>jetty-webapp</artifactId>
1240 <version>8.1.19.v20160209</version>
1243 <groupId>org.apache.aries.blueprint</groupId>
1244 <artifactId>org.apache.aries.blueprint.core</artifactId>
1245 <version>1.4.2</version>
1248 <!-- Xtend http://xtend-lang.org
1249 NOTE: When you increase the version here,
1250 then remember to also increase it for the
1251 xtend-maven-plugin below! (We don't want to
1252 use a Maven property, in order not to "leak" that.)
1255 <groupId>org.eclipse.xtend</groupId>
1256 <artifactId>org.eclipse.xtend.lib</artifactId>
1257 <version>2.10.0</version>
1260 <groupId>org.eclipse.xtend</groupId>
1261 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1262 <version>2.10.0</version>
1265 <groupId>org.eclipse.xtext</groupId>
1266 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1267 <version>2.10.0</version>
1270 <!-- Annotations -->
1272 <groupId>javax.inject</groupId>
1273 <artifactId>javax.inject</artifactId>
1274 <version>1</version>
1279 <groupId>com.datastax.cassandra</groupId>
1280 <artifactId>cassandra-driver-core</artifactId>
1281 <version>2.1.9</version>
1286 <groupId>io.dropwizard.metrics</groupId>
1287 <artifactId>metrics-core</artifactId>
1288 <version>3.1.2</version>
1291 <groupId>io.dropwizard.metrics</groupId>
1292 <artifactId>metrics-graphite</artifactId>
1293 <version>3.1.2</version>
1296 <!-- Karaf console support -->
1298 <groupId>org.apache.karaf.shell</groupId>
1299 <artifactId>org.apache.karaf.shell.console</artifactId>
1300 <version>${karaf.version}</version>
1304 </dependencyManagement>
1307 <!-- Karaf provides SL4FJ encapsulation -->
1309 <groupId>org.slf4j</groupId>
1310 <artifactId>slf4j-api</artifactId>
1311 <scope>provided</scope>
1315 <groupId>org.slf4j</groupId>
1316 <artifactId>slf4j-simple</artifactId>
1320 <!-- Enable JSR-305 annotations everywhere -->
1322 <groupId>com.google.code.findbugs</groupId>
1323 <artifactId>annotations</artifactId>
1324 <scope>provided</scope>
1326 <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1328 <groupId>com.google.code.findbugs</groupId>
1329 <artifactId>jsr305</artifactId>
1330 <scope>provided</scope>
1333 <groupId>org.eclipse.jdt</groupId>
1334 <artifactId>org.eclipse.jdt.annotation</artifactId>
1335 <scope>provided</scope>
1342 <!-- Official maven plugins, alpha-sorted by artifactId.
1343 We do not need to specify the groupId. -->
1345 <artifactId>maven-antrun-plugin</artifactId>
1346 <version>${maven.antrun.plugin.version}</version>
1349 <artifactId>maven-checkstyle-plugin</artifactId>
1350 <version>${checkstyle.version}</version>
1353 <groupId>com.puppycrawl.tools</groupId>
1354 <artifactId>checkstyle</artifactId>
1355 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1356 <version>6.16</version>
1359 <groupId>org.opendaylight.odlparent</groupId>
1360 <artifactId>checkstyle</artifactId>
1361 <version>${odl.checkstyle.version}</version>
1364 <groupId>org.opendaylight.odlparent</groupId>
1365 <artifactId>odl-license</artifactId>
1366 <version>0.2.0-SNAPSHOT</version>
1369 <groupId>com.github.sevntu.checkstyle</groupId>
1370 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1371 <version>1.21.0</version>
1375 <configLocation>odl_checks.xml</configLocation>
1376 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1377 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1378 generated sources directory -->
1379 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1380 <includeResources>true</includeResources>
1381 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1382 <includeTestResources>true</includeTestResources>
1383 <includes>**\/*.java, **\/*.xtend</includes>
1385 org/opendaylight/yang/gen/**,
1386 **/protobuff/messages/**,
1387 **/thrift/gen/*.java
1389 <failsOnError>false</failsOnError>
1390 <consoleOutput>true</consoleOutput>
1394 <id>check-license</id>
1398 <phase>process-sources</phase>
1400 <configLocation>check-license.xml</configLocation>
1401 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1402 <includeResources>false</includeResources>
1403 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1404 <includeTestResources>false</includeTestResources>
1405 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1407 org/opendaylight/yang/gen/**,
1408 **/protobuff/messages/**,
1409 **/thrift/gen/*.java
1411 <failsOnError>false</failsOnError>
1412 <consoleOutput>true</consoleOutput>
1419 <phase>process-sources</phase>
1424 <groupId>org.apache.maven.plugins</groupId>
1425 <artifactId>maven-pmd-plugin</artifactId>
1426 <version>3.6</version>
1430 <phase>process-sources</phase>
1432 <goal>cpd-check</goal>
1435 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1436 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1437 <minimumTokens>101</minimumTokens>
1438 <printFailingErrors>true</printFailingErrors>
1440 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1441 not understand path prefixes nor wildcards. Details are available
1442 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1443 Hence people introducing new generated sources have to include
1446 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1448 <linkXRef>false</linkXRef>
1454 <artifactId>maven-compiler-plugin</artifactId>
1455 <version>${maven.compile.plugin.version}</version>
1457 <source>1.8</source>
1458 <target>1.8</target>
1460 <arg>-parameters</arg>
1465 <artifactId>maven-enforcer-plugin</artifactId>
1466 <version>${enforcer.version}</version>
1469 <artifactId>maven-failsafe-plugin</artifactId>
1470 <version>${failsafe.version}</version>
1473 <artifactId>maven-invoker-plugin</artifactId>
1474 <version>2.0.0</version>
1477 <artifactId>maven-jar-plugin</artifactId>
1478 <version>${maven.jar.version}</version>
1481 <artifactId>maven-dependency-plugin</artifactId>
1482 <version>2.10</version>
1485 <id>unpack-license</id>
1486 <phase>generate-resources</phase>
1487 <goals><goal>unpack</goal></goals>
1491 <groupId>org.opendaylight.odlparent</groupId>
1492 <artifactId>odl-license</artifactId>
1493 <version>0.2.0-SNAPSHOT</version>
1496 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1497 <excludes>META-INF/**</excludes>
1504 <artifactId>maven-plugin-plugin</artifactId>
1505 <version>${maven.plugin.version}</version>
1509 <artifactId>maven-resources-plugin</artifactId>
1510 <version>3.0.1</version>
1513 <artifactId>maven-shade-plugin</artifactId>
1514 <version>2.4.3</version>
1517 <artifactId>maven-source-plugin</artifactId>
1518 <version>3.0.1</version>
1521 <id>attach-sources</id>
1522 <phase>verify</phase>
1524 <goal>jar-no-fork</goal>
1530 <artifactId>maven-surefire-plugin</artifactId>
1531 <version>${maven.surefire.version}</version>
1533 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1534 <trimStackTrace>false</trimStackTrace>
1538 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1540 <!-- Support Blueprint XML construction using annotations -->
1541 <groupId>org.apache.aries.blueprint</groupId>
1542 <artifactId>blueprint-maven-plugin</artifactId>
1543 <version>1.4.0</version>
1546 <scanPath>org.opendaylight</scanPath>
1551 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1552 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1553 <groupId>org.apache.xbean</groupId>
1554 <artifactId>xbean-finder-shaded</artifactId>
1555 <version>4.5</version>
1561 <goal>blueprint-generate</goal>
1568 <groupId>org.apache.felix</groupId>
1569 <artifactId>maven-bundle-plugin</artifactId>
1570 <version>${maven.bundle.version}</version>
1571 <extensions>true</extensions>
1574 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1575 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1576 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1577 <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1583 <groupId>org.apache.karaf.tooling</groupId>
1584 <artifactId>karaf-maven-plugin</artifactId>
1585 <version>${karaf.version}</version>
1589 <groupId>org.apache.servicemix.tooling</groupId>
1590 <artifactId>depends-maven-plugin</artifactId>
1591 <version>1.3.1</version>
1594 <id>generate-depends-file</id>
1596 <goal>generate-depends-file</goal>
1603 <groupId>org.codehaus.enunciate</groupId>
1604 <artifactId>maven-enunciate-plugin</artifactId>
1605 <version>${enunciate.version}</version>
1608 <groupId>org.codehaus.groovy.maven</groupId>
1609 <artifactId>gmaven-plugin</artifactId>
1610 <version>1.0</version>
1613 <groupId>org.codehaus.mojo</groupId>
1614 <artifactId>build-helper-maven-plugin</artifactId>
1615 <version>1.12</version>
1618 <groupId>org.codehaus.mojo</groupId>
1619 <artifactId>findbugs-maven-plugin</artifactId>
1620 <version>3.0.4</version>
1623 <groupId>org.opendaylight.odlparent</groupId>
1624 <artifactId>findbugs</artifactId>
1625 <version>1.8.0-SNAPSHOT</version>
1630 Enables analysis which takes more memory but finds more bugs.
1631 If you run out of memory, changes the value of the effort element
1634 <effort>Max</effort>
1635 <!-- Reports all bugs (other values are medium and max) -->
1636 <threshold>Low</threshold>
1637 <!-- Build doesn't fail if problems are found -->
1638 <failOnError>false</failOnError>
1639 <!-- References the excluded rules -->
1640 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1641 <!-- Produces XML report -->
1642 <xmlOutput>true</xmlOutput>
1643 <!-- Configures the directory in which the XML report is created -->
1644 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1648 Ensures that FindBugs inspects source code when project is compiled.
1651 <id>analyze-compile</id>
1652 <phase>compile</phase>
1660 <groupId>org.codehaus.mojo</groupId>
1661 <artifactId>properties-maven-plugin</artifactId>
1662 <version>${propertymavenplugin.version}</version>
1665 <groupId>org.eclipse.xtend</groupId>
1666 <artifactId>xtend-maven-plugin</artifactId>
1667 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1668 <version>2.10.0</version>
1672 <goal>compile</goal>
1673 <goal>testCompile</goal>
1676 <outputDirectory>${project.build.directory}/generated-sources/xtend/main</outputDirectory>
1677 <testOutputDirectory>${project.build.directory}/generated-sources/xtend/test</testOutputDirectory>
1683 <groupId>org.eclipse.m2e</groupId>
1684 <artifactId>lifecycle-mapping</artifactId>
1685 <version>1.0.0</version>
1687 <lifecycleMappingMetadata>
1690 <pluginExecutionFilter>
1691 <groupId>org.apache.felix</groupId>
1692 <artifactId>maven-bundle-plugin</artifactId>
1693 <versionRange>[1.0,)</versionRange>
1695 <goal>manifest</goal>
1697 </pluginExecutionFilter>
1703 <pluginExecutionFilter>
1704 <groupId>org.apache.maven.plugins</groupId>
1705 <artifactId>maven-enforcer-plugin</artifactId>
1706 <versionRange>[1.0.0,)</versionRange>
1708 <goal>enforce</goal>
1710 </pluginExecutionFilter>
1716 <pluginExecutionFilter>
1717 <groupId>org.apache.maven.plugins</groupId>
1718 <artifactId>maven-dependency-plugin</artifactId>
1719 <versionRange>[2.10,)</versionRange>
1723 </pluginExecutionFilter>
1729 <pluginExecutionFilter>
1730 <groupId>org.apache.maven.plugins</groupId>
1731 <artifactId>maven-pmd-plugin</artifactId>
1732 <versionRange>[3.6,)</versionRange>
1734 <goal>cpd-check</goal>
1736 </pluginExecutionFilter>
1741 <!-- The plugin will eventually be removed, remove this too at that point -->
1743 <pluginExecutionFilter>
1744 <groupId>org.apache.maven.plugins</groupId>
1745 <artifactId>maven-antrun-plugin</artifactId>
1746 <versionRange>[1.8,)</versionRange>
1750 </pluginExecutionFilter>
1756 <pluginExecutionFilter>
1757 <groupId>org.apache.servicemix.tooling</groupId>
1758 <artifactId>depends-maven-plugin</artifactId>
1759 <versionRange>[1.2,)</versionRange>
1761 <goal>generate-depends-file</goal>
1763 </pluginExecutionFilter>
1769 <pluginExecutionFilter>
1770 <groupId>org.jacoco</groupId>
1771 <artifactId>jacoco-maven-plugin</artifactId>
1772 <versionRange>[0.7.0,)</versionRange>
1774 <goal>prepare-agent</goal>
1777 </pluginExecutionFilter>
1783 </lifecycleMappingMetadata>
1788 <groupId>org.jacoco</groupId>
1789 <artifactId>jacoco-maven-plugin</artifactId>
1790 <version>${jacoco.version}</version>
1792 <!-- Note: This exclusion list should match <sonar.exclusions>
1795 <exclude>**/gen/**</exclude>
1796 <exclude>**/generated-sources/**</exclude>
1797 <exclude>**/yang-gen/**</exclude>
1798 <exclude>**/pax/**</exclude>
1804 <groupId>org.ops4j.pax.exam</groupId>
1805 <artifactId>maven-paxexam-plugin</artifactId>
1806 <version>1.2.4</version>
1810 <groupId>org.codehaus.mojo</groupId>
1811 <artifactId>jdepend-maven-plugin</artifactId>
1812 <version>2.0</version>
1817 <goal>generate-no-fork</goal>
1827 <artifactId>maven-dependency-plugin</artifactId>
1830 <artifactId>maven-checkstyle-plugin</artifactId>
1833 <artifactId>maven-pmd-plugin</artifactId>
1836 <artifactId>maven-source-plugin</artifactId>
1839 <artifactId>maven-javadoc-plugin</artifactId>
1842 <!-- Jacoco / Sonar -->
1844 <groupId>org.jacoco</groupId>
1845 <artifactId>jacoco-maven-plugin</artifactId>
1848 <id>pre-unit-test</id>
1850 <goal>prepare-agent</goal>
1853 <destFile>${sonar.jacoco.reportPath}</destFile>
1857 <id>post-unit-test</id>
1862 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1869 <groupId>com.alexecollins.maven.plugin</groupId>
1870 <artifactId>script-maven-plugin</artifactId>
1871 <version>1.0.0</version>
1874 <phase>prepare-package</phase>
1876 <goal>execute</goal>
1880 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1881 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1882 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1883 // static class methods only - it will be MUCH easier to write!)
1884 void copy(File root, String glob, File target) {
1885 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1886 Iterator dirStreamIterator = dirStream.iterator();
1887 while (dirStreamIterator.hasNext()) {
1888 java.nio.file.Path path = dirStreamIterator.next();
1889 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1890 new java.nio.file.CopyOption[] {
1891 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1892 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1899 File gitRepoRootDir = project.basedir;
1900 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1901 gitRepoRootDir = gitRepoRootDir.getParentFile();
1904 File target = new File(project.build.outputDirectory);
1906 copy(gitRepoRootDir, "README*", target);
1907 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1908 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1915 <groupId>org.apache-extras.beanshell</groupId>
1916 <artifactId>bsh</artifactId>
1917 <version>2.0b6</version>
1922 <!-- Blueprint dependency injection -->
1923 <!-- Remove when upgrading to plugin 1.5.0, and use
1924 <configuration><generatedDir>org/opendaylight/blueprint/</...></...> -->
1925 <!-- See https://issues.apache.org/jira/browse/ARIES-1597 -->
1927 <artifactId>maven-antrun-plugin</artifactId>
1929 <!-- This should only run once, in the process-classes phase; but we need it to run after
1930 process-classes in child projects. Attaching to process-test-classes and prepare-package
1931 ensures that the file will be moved whether tests are skipped or not. -->
1933 <id>move-autowire-test</id>
1934 <phase>process-test-classes</phase>
1940 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1941 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1942 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1943 failonerror="false" quiet="true" />
1948 <id>move-autowire-package</id>
1949 <phase>prepare-package</phase>
1955 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1956 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1957 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1958 failonerror="false" quiet="true" />
1970 <artifactId>maven-checkstyle-plugin</artifactId>
1971 <version>${checkstyle.version}</version>
1974 <!-- FIXME: activate this
1976 <artifactId>maven-project-info-reports-plugin</artifactId>
1977 <version>${projectinfo}</version>
1980 <groupId>org.codehaus.mojo</groupId>
1981 <artifactId>jdepend-maven-plugin</artifactId>
1985 <report>generate-no-fork</report>
1991 <artifactId>maven-javadoc-plugin</artifactId>
1994 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
1995 <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
1996 <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
1997 <link>http://netty.io/4.0/api/</link>
2005 Maven Site Configuration
2007 The following configuration is necessary for maven-site-plugin to
2008 correctly identify the correct deployment path for OpenDaylight Maven
2011 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2013 <distributionManagement>
2015 <id>opendaylight-site</id>
2016 <url>${nexus.site.url}/${project.artifactId}/</url>
2018 </distributionManagement>