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, didm, neutron, openflowplugin, persistence; see also affinity -->
52 <maven.bundle.version>3.0.1</maven.bundle.version>
54 <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
55 <!-- Used in controller, didm, l2switch, lacp, persistence; see also toolkit, tsdr, ttp -->
56 <maven.compile.plugin.version>3.5.1</maven.compile.plugin.version>
57 <!-- Used in mdsal, yangtools -->
58 <maven.jar.version>3.0.2</maven.jar.version>
59 <!-- Used in controller, coretutorials, mdsal, snbi, yangtools -->
60 <maven.javadoc.version>2.10.4</maven.javadoc.version>
62 <maven.plugin.version>3.5</maven.plugin.version>
63 <!-- Used in neutron, of-config, tsdr, yangtools -->
64 <!-- Later versions break tests in downstream projects -->
65 <maven.surefire.version>2.18.1</maven.surefire.version>
67 <!-- Maven plugin versions, in random formats -->
68 <!-- Used in aaa, alto, controller, didm, tsdr; see also affinity, snmp4sdn, toolkit, ttp -->
69 <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
70 <!-- TODO rename checkstyle.version to checkstyle.(maven.)plugin.version,
71 or just remove it, incl. all usages of it in a number of pom.xml; because normally,
72 as maven-checkstyle-plugin is in pluginManagement, this should not have to be repeated. -->
73 <!-- Used in alto, controller, lacp, netide, openflowjava, packetcable, snmp4sdn, ttp; see also affinity, opendove,
75 <checkstyle.version>2.17</checkstyle.version>
76 <!-- Used in controller, packetcable -->
77 <odl.checkstyle.version>0.3.0-SNAPSHOT</odl.checkstyle.version>
78 <!-- Used in snmp4sdn; see also toolkit -->
79 <compiler.version>${maven.compile.plugin.version}</compiler.version>
80 <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
81 <enforcer.version>1.4.1</enforcer.version>
82 <!-- Used in affinity, controller, nemo, opendove, snmp4sdn -->
83 <enunciate.version>1.31</enunciate.version>
84 <!-- Used in affinity, coretutorials, netide -->
85 <exam.version>4.9.2</exam.version>
86 <!-- Used in affinity, controller, neutron, of-config; see also snmp4sdn -->
87 <!-- Later versions break tests in downstream projects -->
88 <failsafe.version>2.18.1</failsafe.version>
89 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
90 <jacoco.version>0.7.7.201606060606</jacoco.version>
91 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
92 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
93 <karaf.version>3.0.8</karaf.version>
94 <karaf4.version>4.0.7</karaf4.version>
95 <karaf4.plugin.version>4.0.8-odl</karaf4.plugin.version>
96 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
97 <projectinfo>2.8.1</projectinfo>
98 <!-- Used in of-config; see also snmp4sdn -->
99 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
100 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
101 <releaseplugin.version>2.5.3</releaseplugin.version>
103 <!-- Supporting Libraries -->
104 <!-- Used by controller -->
105 <bouncycastle.version>1.55</bouncycastle.version>
107 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
108 <osgi.core.version>5.0.0</osgi.core.version>
110 <akka.version>2.4.16</akka.version>
111 <scala.version>2.11</scala.version>
112 <scala.micro.version>8</scala.micro.version>
113 <leveldb.version>0.7</leveldb.version>
115 <!-- Default Sonar configuration -->
116 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
117 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
118 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
119 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
120 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
121 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
123 <pmd.cpd.fail>false</pmd.cpd.fail>
126 <dependencyManagement>
130 <groupId>org.opendaylight.odlparent</groupId>
131 <artifactId>odlparent-artifacts</artifactId>
132 <version>1.8.0-SNAPSHOT</version>
133 <scope>import</scope>
137 <!-- Build tool dependencies (normally not here in <dependencies>,
138 but in a <dependency> in <pluginManagement> but for Checkstyle this
139 is required so that we can share the same version of Checkstyle
140 for both the Maven plugin below as well as for custom Checkstyle
141 check rule projects, such as yangtools' checkstyle-logging) -->
143 <groupId>com.puppycrawl.tools</groupId>
144 <artifactId>checkstyle</artifactId>
145 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
146 <version>6.16</version>
149 <!-- Testing Dependencies -->
150 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
151 <!-- Need to stick to JUnit 4.11 until
152 https://github.com/jayway/powermock/issues/560 is fixed (either in
153 PowerMock or with a new JUnit release) -->
155 <groupId>junit</groupId>
156 <artifactId>junit</artifactId>
157 <version>4.11</version>
161 <groupId>junit</groupId>
162 <artifactId>junit-dep</artifactId>
163 <version>4.11</version>
167 <groupId>org.skyscreamer</groupId>
168 <artifactId>jsonassert</artifactId>
169 <version>1.3.0</version>
173 <groupId>org.mockito</groupId>
174 <!-- Bug 7662: @deprecated Do *NOT* use mockito-all, but *ALWAYS* only mockito-core; this should be removed, and non-usage enforced! -->
175 <artifactId>mockito-all</artifactId>
176 <version>1.10.19</version>
180 <groupId>org.mockito</groupId>
181 <artifactId>mockito-core</artifactId>
182 <version>1.10.19</version>
186 <groupId>org.hamcrest</groupId>
187 <artifactId>hamcrest-core</artifactId>
188 <version>1.3</version>
192 <groupId>org.hamcrest</groupId>
193 <artifactId>hamcrest-library</artifactId>
194 <version>1.3</version>
198 <groupId>com.google.truth</groupId>
199 <artifactId>truth</artifactId>
200 <version>0.28</version>
204 <groupId>org.awaitility</groupId>
205 <artifactId>awaitility</artifactId>
206 <version>2.0.0</version>
210 <groupId>org.powermock</groupId>
211 <artifactId>powermock-api-mockito</artifactId>
212 <version>1.6.4</version>
216 <groupId>org.powermock</groupId>
217 <artifactId>powermock-api-support</artifactId>
218 <version>1.6.4</version>
222 <groupId>org.powermock</groupId>
223 <artifactId>powermock-core</artifactId>
224 <version>1.6.4</version>
228 <groupId>org.powermock</groupId>
229 <artifactId>powermock-module-junit4</artifactId>
230 <version>1.6.4</version>
234 <groupId>org.powermock</groupId>
235 <artifactId>powermock-reflect</artifactId>
236 <version>1.6.4</version>
241 Annotation Processors
244 <!-- Generates immutable implementations, builders, the works -->
245 <groupId>org.immutables</groupId>
246 <artifactId>value</artifactId>
247 <version>2.4.2</version>
248 <!-- Must be provided; <scope>test here breaks APT in Eclipse :( -->
249 <scope>provided</scope>
252 <!-- Generates META-INF/services entries for ServiceLoader -->
253 <groupId>org.kohsuke.metainf-services</groupId>
254 <artifactId>metainf-services</artifactId>
255 <version>1.7</version>
256 <optional>true</optional>
263 <groupId>org.slf4j</groupId>
264 <artifactId>jcl-over-slf4j</artifactId>
265 <version>1.7.21</version>
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-api</artifactId>
270 <version>1.7.21</version>
273 <groupId>org.slf4j</groupId>
274 <artifactId>slf4j-log4j12</artifactId>
275 <version>1.7.21</version>
278 <groupId>org.slf4j</groupId>
279 <artifactId>log4j-over-slf4j</artifactId>
280 <version>1.7.21</version>
283 <groupId>org.slf4j</groupId>
284 <artifactId>slf4j-simple</artifactId>
285 <version>1.7.21</version>
289 <groupId>xml-apis</groupId>
290 <artifactId>xml-apis</artifactId>
291 <version>1.4.01</version>
294 <groupId>xerces</groupId>
295 <artifactId>xercesImpl</artifactId>
296 <version>2.11.0</version>
299 <groupId>ch.qos.logback</groupId>
300 <artifactId>logback-core</artifactId>
301 <version>1.1.9</version>
304 <groupId>ch.qos.logback</groupId>
305 <artifactId>logback-classic</artifactId>
306 <version>1.1.9</version>
309 <groupId>com.google.guava</groupId>
310 <artifactId>guava</artifactId>
311 <version>18.0</version>
314 <groupId>com.google.guava</groupId>
315 <artifactId>guava-testlib</artifactId>
316 <version>18.0</version>
320 <groupId>com.mycila.guice.extensions</groupId>
321 <artifactId>mycila-guice-jsr250</artifactId>
322 <!-- Make sure this version is in sync with the guice one below -->
323 <version>4.0.rc1</version>
327 <groupId>com.google.inject</groupId>
328 <artifactId>guice</artifactId>
329 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
330 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
331 <version>4.1.0</version>
334 <groupId>org.apache.commons</groupId>
335 <artifactId>commons-lang3</artifactId>
336 <version>3.5</version>
339 <groupId>commons-lang</groupId>
340 <artifactId>commons-lang</artifactId>
341 <version>2.6</version>
344 <groupId>commons-codec</groupId>
345 <artifactId>commons-codec</artifactId>
346 <version>1.10</version>
348 <!-- Jersey for JAXRS -->
350 <groupId>javax.ws.rs</groupId>
351 <artifactId>javax.ws.rs-api</artifactId>
352 <version>2.0.1</version>
355 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
356 <artifactId>jersey-guava</artifactId>
357 <version>2.22.2</version>
360 <groupId>org.glassfish</groupId>
361 <artifactId>javax.json</artifactId>
362 <version>1.0.4</version>
365 <groupId>com.eclipsesource.jaxrs</groupId>
366 <artifactId>jersey-all</artifactId>
367 <version>2.22.2</version>
370 <!-- servlet 3.x support -->
372 <groupId>org.glassfish.jersey.containers</groupId>
373 <artifactId>jersey-container-servlet</artifactId>
374 <version>2.8</version>
377 <groupId>org.apache.geronimo.bundles</groupId>
378 <artifactId>json</artifactId>
379 <version>20090211_1</version>
381 <!-- FIXME : remove all dependencies for jersey 1.17 -->
383 <groupId>com.sun.jersey</groupId>
384 <artifactId>jersey-core</artifactId>
385 <version>1.17</version>
388 <groupId>com.sun.jersey</groupId>
389 <artifactId>jersey-json</artifactId>
390 <version>1.17</version>
393 <groupId>com.sun.jersey</groupId>
394 <artifactId>jersey-server</artifactId>
395 <version>1.17</version>
398 <groupId>com.sun.jersey</groupId>
399 <artifactId>jersey-servlet</artifactId>
400 <version>1.17</version>
403 <groupId>com.sun.jersey.jersey-test-framework</groupId>
404 <artifactId>jersey-test-framework-grizzly2</artifactId>
405 <version>1.17</version>
409 <groupId>com.sun.jersey.jersey-test-framework</groupId>
410 <artifactId>jersey-test-framework-inmemory</artifactId>
411 <version>1.17</version>
415 <groupId>com.sun.jersey</groupId>
416 <artifactId>jersey-client</artifactId>
417 <version>1.17</version>
420 <groupId>org.opendaylight.controller.thirdparty</groupId>
421 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
422 <version>1.17</version>
425 <groupId>org.apache.shiro</groupId>
426 <artifactId>shiro-core</artifactId>
427 <version>1.3.2</version>
430 <groupId>org.apache.shiro</groupId>
431 <artifactId>shiro-web</artifactId>
432 <version>1.3.2</version>
435 <!-- Plugin integration -->
437 <groupId>net.java.dev.stax-utils</groupId>
438 <artifactId>stax-utils</artifactId>
439 <version>20070216</version>
442 <groupId>org.sonatype.plexus</groupId>
443 <artifactId>plexus-build-api</artifactId>
444 <version>0.0.7</version>
447 <groupId>org.codehaus.plexus</groupId>
448 <artifactId>plexus-slf4j-logging</artifactId>
449 <version>1.1</version>
452 <groupId>com.fasterxml.jackson.core</groupId>
453 <artifactId>jackson-annotations</artifactId>
454 <version>2.3.2</version>
457 <groupId>com.fasterxml.jackson.core</groupId>
458 <artifactId>jackson-core</artifactId>
459 <version>2.3.2</version>
462 <groupId>com.fasterxml.jackson.core</groupId>
463 <artifactId>jackson-databind</artifactId>
464 <version>2.3.2</version>
467 <groupId>com.fasterxml.jackson.datatype</groupId>
468 <artifactId>jackson-datatype-json-org</artifactId>
469 <version>2.3.2</version>
471 <!-- TODO do we really need resteasy ? -->
473 <groupId>org.jboss.resteasy</groupId>
474 <artifactId>jaxrs-api</artifactId>
475 <version>3.0.12.Final</version>
479 <groupId>com.fasterxml.jackson.jaxrs</groupId>
480 <artifactId>jackson-jaxrs-base</artifactId>
481 <version>2.3.2</version>
484 <groupId>com.fasterxml.jackson.jaxrs</groupId>
485 <artifactId>jackson-jaxrs-json-provider</artifactId>
486 <version>2.3.2</version>
489 <groupId>com.fasterxml.jackson.module</groupId>
490 <artifactId>jackson-module-jaxb-annotations</artifactId>
491 <version>2.3.2</version>
494 <groupId>com.sun.xml.txw2</groupId>
495 <artifactId>txw2</artifactId>
496 <version>20110809</version>
499 <groupId>com.github.romix</groupId>
500 <artifactId>java-concurrent-hash-trie-map</artifactId>
501 <version>0.2.23-ODL</version>
504 <groupId>com.google.code.findbugs</groupId>
505 <artifactId>jsr305</artifactId>
506 <version>3.0.0</version>
509 <groupId>com.google.code.findbugs</groupId>
510 <artifactId>annotations</artifactId>
511 <version>3.0.0</version>
513 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
514 the types of this artifact are already shaded inside the :annotations artifact.
515 This state is a temporary solution to allow all projects to gradually switch over
516 switch their <dependency><groupId>com.google.code.findbugs from
517 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
518 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
521 <groupId>net.jcip</groupId>
522 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
523 <artifactId>jcip-annotations</artifactId>
528 <groupId>org.eclipse.jdt</groupId>
529 <artifactId>org.eclipse.jdt.annotation</artifactId>
530 <version>2.0.0</version>
531 <scope>provided</scope>
534 <groupId>com.google.code.gson</groupId>
535 <artifactId>gson</artifactId>
536 <version>2.7</version>
539 <groupId>commons-fileupload</groupId>
540 <artifactId>commons-fileupload</artifactId>
541 <version>1.3.2</version>
544 <groupId>commons-io</groupId>
545 <artifactId>commons-io</artifactId>
546 <version>2.5</version>
549 <groupId>commons-net</groupId>
550 <artifactId>commons-net</artifactId>
551 <version>3.5</version>
554 <groupId>eclipselink</groupId>
555 <artifactId>javax.persistence</artifactId>
556 <version>2.0.4.v201112161009</version>
559 <groupId>eclipselink</groupId>
560 <artifactId>javax.resource</artifactId>
561 <version>1.5.0.v200906010428</version>
564 <groupId>equinoxSDK381</groupId>
565 <artifactId>javax.servlet</artifactId>
566 <version>3.0.0.v201112011016</version>
569 <groupId>equinoxSDK381</groupId>
570 <artifactId>javax.servlet.jsp</artifactId>
571 <version>2.2.0.v201112011158</version>
574 <groupId>equinoxSDK381</groupId>
575 <artifactId>org.apache.felix.gogo.command</artifactId>
576 <version>0.8.0.v201108120515</version>
579 <groupId>equinoxSDK381</groupId>
580 <artifactId>org.apache.felix.gogo.runtime</artifactId>
581 <version>0.8.0.v201108120515</version>
584 <groupId>equinoxSDK381</groupId>
585 <artifactId>org.apache.felix.gogo.shell</artifactId>
586 <version>0.8.0.v201110170705</version>
589 <groupId>equinoxSDK381</groupId>
590 <artifactId>org.eclipse.equinox.cm</artifactId>
591 <version>1.0.400.v20120522-1841</version>
594 <groupId>equinoxSDK381</groupId>
595 <artifactId>org.eclipse.equinox.console</artifactId>
596 <version>1.0.0.v20120522-1841</version>
599 <groupId>equinoxSDK381</groupId>
600 <artifactId>org.eclipse.equinox.ds</artifactId>
601 <version>1.4.0.v20120522-1841</version>
604 <groupId>equinoxSDK381</groupId>
605 <artifactId>org.eclipse.equinox.launcher</artifactId>
606 <version>1.3.0.v20120522-1813</version>
609 <groupId>equinoxSDK381</groupId>
610 <artifactId>org.eclipse.equinox.util</artifactId>
611 <version>1.0.400.v20120522-2049</version>
614 <groupId>equinoxSDK381</groupId>
615 <artifactId>org.eclipse.osgi.services</artifactId>
616 <version>3.3.100.v20120522-1822</version>
620 <groupId>org.eclipse.tycho</groupId>
621 <artifactId>org.eclipse.osgi</artifactId>
622 <version>3.9.1.v20130814-1242</version>
624 <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
626 <groupId>equinoxSDK381</groupId>
627 <artifactId>org.eclipse.osgi</artifactId>
628 <version>3.8.1.v20120830-144521</version>
633 <groupId>geminiweb</groupId>
634 <artifactId>org.eclipse.gemini.web.core</artifactId>
635 <version>2.2.0.RELEASE</version>
638 <groupId>geminiweb</groupId>
639 <artifactId>org.eclipse.gemini.web.extender</artifactId>
640 <version>2.2.0.RELEASE</version>
643 <groupId>geminiweb</groupId>
644 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
645 <version>2.2.0.RELEASE</version>
648 <groupId>geminiweb</groupId>
649 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
650 <version>3.6.0.RELEASE</version>
653 <groupId>geminiweb</groupId>
654 <artifactId>org.eclipse.virgo.util.common</artifactId>
655 <version>3.6.0.RELEASE</version>
658 <groupId>geminiweb</groupId>
659 <artifactId>org.eclipse.virgo.util.io</artifactId>
660 <version>3.6.0.RELEASE</version>
663 <groupId>geminiweb</groupId>
664 <artifactId>org.eclipse.virgo.util.math</artifactId>
665 <version>3.6.0.RELEASE</version>
668 <groupId>geminiweb</groupId>
669 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
670 <version>3.6.0.RELEASE</version>
673 <groupId>geminiweb</groupId>
674 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
675 <version>3.6.0.RELEASE</version>
678 <groupId>geminiweb</groupId>
679 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
680 <version>3.6.0.RELEASE</version>
684 <groupId>io.netty</groupId>
685 <artifactId>netty-all</artifactId>
686 <!-- If these are updated, the version in features.xml needs to be changed too -->
687 <version>4.1.7.Final</version>
690 <groupId>io.netty</groupId>
691 <artifactId>netty-buffer</artifactId>
692 <version>4.1.7.Final</version>
695 <groupId>io.netty</groupId>
696 <artifactId>netty-codec</artifactId>
697 <version>4.1.7.Final</version>
700 <groupId>io.netty</groupId>
701 <artifactId>netty-codec-http</artifactId>
702 <version>4.1.7.Final</version>
705 <groupId>io.netty</groupId>
706 <artifactId>netty-common</artifactId>
707 <version>4.1.7.Final</version>
710 <groupId>io.netty</groupId>
711 <artifactId>netty-handler</artifactId>
712 <version>4.1.7.Final</version>
715 <groupId>io.netty</groupId>
716 <artifactId>netty-transport</artifactId>
717 <version>4.1.7.Final</version>
719 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
720 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
722 <groupId>io.netty</groupId>
723 <artifactId>netty-transport-native-epoll</artifactId>
724 <classifier>linux-x86_64</classifier>
725 <version>4.1.7.Final</version>
728 <groupId>javax.ws.rs</groupId>
729 <artifactId>jsr311-api</artifactId>
730 <version>1.1.1</version>
733 <groupId>orbit</groupId>
734 <artifactId>javax.activation</artifactId>
735 <version>1.1.0.v201211130549</version>
738 <groupId>orbit</groupId>
739 <artifactId>javax.annotation</artifactId>
740 <version>1.1.0.v201209060031</version>
743 <groupId>orbit</groupId>
744 <artifactId>javax.ejb</artifactId>
745 <version>3.1.1.v201204261316</version>
748 <groupId>orbit</groupId>
749 <artifactId>javax.el</artifactId>
750 <version>2.2.0.v201108011116</version>
753 <groupId>orbit</groupId>
754 <artifactId>javax.mail.glassfish</artifactId>
755 <version>1.4.1.v201108011116</version>
758 <groupId>javax.servlet</groupId>
759 <artifactId>javax.servlet-api</artifactId>
760 <version>3.0.1</version>
763 <groupId>orbit</groupId>
764 <artifactId>javax.servlet.jsp.jstl</artifactId>
765 <version>1.2.0.v201105211821</version>
768 <groupId>orbit</groupId>
769 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
770 <version>1.2.0.v201210211230</version>
773 <groupId>orbit</groupId>
774 <artifactId>javax.xml.rpc</artifactId>
775 <version>1.1.0.v201005080400</version>
778 <groupId>orbit</groupId>
779 <artifactId>org.apache.catalina</artifactId>
780 <version>7.0.53.v201406061610</version>
783 <groupId>orbit</groupId>
784 <artifactId>org.apache.catalina.ha</artifactId>
785 <version>7.0.53.v201406070630</version>
788 <groupId>orbit</groupId>
789 <artifactId>org.apache.catalina.tribes</artifactId>
790 <version>7.0.53.v201406070630</version>
793 <groupId>orbit</groupId>
794 <artifactId>org.apache.coyote</artifactId>
795 <version>7.0.53.v201406070630</version>
798 <groupId>orbit</groupId>
799 <artifactId>org.apache.el</artifactId>
800 <version>7.0.53.v201406060720</version>
803 <groupId>orbit</groupId>
804 <artifactId>org.apache.jasper</artifactId>
805 <version>7.0.53.v201406070630</version>
808 <groupId>orbit</groupId>
809 <artifactId>org.apache.juli.extras</artifactId>
810 <version>7.0.53.v201406060720</version>
813 <groupId>orbit</groupId>
814 <artifactId>org.apache.tomcat.api</artifactId>
815 <version>7.0.53.v201406060720</version>
818 <groupId>orbit</groupId>
819 <artifactId>org.apache.tomcat.util</artifactId>
820 <version>7.0.53.v201406070630</version>
823 <groupId>org.aopalliance</groupId>
824 <artifactId>com.springsource.org.aopalliance</artifactId>
825 <version>1.0.0</version>
828 <groupId>org.apache.felix</groupId>
829 <artifactId>org.apache.felix.dependencymanager</artifactId>
830 <version>4.3.0</version>
833 <groupId>org.apache.felix</groupId>
834 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
835 <version>4.0.4</version>
838 <groupId>org.apache.felix</groupId>
839 <artifactId>org.apache.felix.fileinstall</artifactId>
840 <version>3.5.4</version>
843 <groupId>org.apache.felix</groupId>
844 <artifactId>org.apache.felix.metatype</artifactId>
845 <version>1.1.2</version>
847 <!-- felix webconsole -->
849 <groupId>org.apache.felix</groupId>
850 <artifactId>org.apache.felix.webconsole</artifactId>
851 <version>4.2.14</version>
852 <!-- the all bundle includes all the necessary plugins -->
853 <classifier>all</classifier>
856 <groupId>org.bouncycastle</groupId>
857 <artifactId>bcpkix-jdk15on</artifactId>
858 <version>${bouncycastle.version}</version>
861 <groupId>org.bouncycastle</groupId>
862 <artifactId>bcprov-jdk15on</artifactId>
863 <version>${bouncycastle.version}</version>
866 <groupId>org.codehaus.enunciate</groupId>
867 <artifactId>enunciate-core-annotations</artifactId>
868 <version>${enunciate.version}</version>
871 <groupId>com.webcohesion.enunciate</groupId>
872 <artifactId>enunciate-core-annotations</artifactId>
873 <version>2.6.0</version>
876 <groupId>org.codehaus.jettison</groupId>
877 <artifactId>jettison</artifactId>
878 <version>1.3.7</version>
880 <!-- equinox http service bridge -->
882 <groupId>org.eclipse.equinox.http</groupId>
883 <artifactId>servlet</artifactId>
884 <version>1.0.0-v20070606</version>
886 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
887 pull in javax.validation first:
888 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
890 <groupId>org.eclipse.persistence</groupId>
891 <artifactId>org.eclipse.persistence.antlr</artifactId>
892 <version>2.6.2</version>
895 <groupId>org.eclipse.persistence</groupId>
896 <artifactId>org.eclipse.persistence.core</artifactId>
897 <version>2.6.2</version>
900 <groupId>org.eclipse.persistence</groupId>
901 <artifactId>org.eclipse.persistence.moxy</artifactId>
902 <version>2.6.2</version>
905 <groupId>javax.validation</groupId>
906 <artifactId>validation-api</artifactId>
907 <version>1.1.0.Final</version>
910 <groupId>org.javassist</groupId>
911 <artifactId>javassist</artifactId>
912 <version>3.20.0-GA</version>
915 <groupId>org.jboss.spec.javax.transaction</groupId>
916 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
917 <version>1.0.1.Final</version>
920 <groupId>org.jolokia</groupId>
921 <artifactId>jolokia-osgi</artifactId>
922 <version>1.3.3</version>
925 <groupId>org.json</groupId>
926 <artifactId>json</artifactId>
927 <version>20131018</version>
930 <groupId>org.osgi</groupId>
931 <artifactId>org.osgi.compendium</artifactId>
932 <version>5.0.0</version>
933 <scope>provided</scope>
936 <groupId>org.osgi</groupId>
937 <artifactId>org.osgi.core</artifactId>
938 <version>${osgi.core.version}</version>
939 <scope>provided</scope>
942 <groupId>org.ow2.asm</groupId>
943 <artifactId>asm-all</artifactId>
944 <version>5.1</version>
946 <!-- Visual VM hook -->
948 <groupId>org.ow2.chameleon.management</groupId>
949 <artifactId>chameleon-mbeans</artifactId>
950 <version>1.0.0</version>
953 <groupId>org.springframework</groupId>
954 <artifactId>spring-aop</artifactId>
955 <version>3.2.17.RELEASE</version>
958 <groupId>org.springframework</groupId>
959 <artifactId>spring-beans</artifactId>
960 <version>3.2.17.RELEASE</version>
963 <groupId>org.springframework</groupId>
964 <artifactId>spring-context</artifactId>
965 <version>3.2.17.RELEASE</version>
968 <groupId>org.springframework</groupId>
969 <artifactId>spring-core</artifactId>
970 <version>3.2.17.RELEASE</version>
973 <groupId>org.springframework</groupId>
974 <artifactId>spring-expression</artifactId>
975 <version>3.2.17.RELEASE</version>
978 <groupId>org.springframework</groupId>
979 <artifactId>spring-tx</artifactId>
980 <version>3.2.17.RELEASE</version>
983 <groupId>org.springframework</groupId>
984 <artifactId>spring-web</artifactId>
985 <version>3.2.17.RELEASE</version>
988 <groupId>org.springframework</groupId>
989 <artifactId>spring-webmvc</artifactId>
990 <version>3.2.17.RELEASE</version>
992 <!-- Spring security -->
994 <groupId>org.springframework.security</groupId>
995 <artifactId>spring-security-config</artifactId>
996 <version>3.2.9.RELEASE</version>
999 <groupId>org.springframework.security</groupId>
1000 <artifactId>spring-security-core</artifactId>
1001 <version>3.2.9.RELEASE</version>
1004 <groupId>org.springframework.security</groupId>
1005 <artifactId>spring-security-taglibs</artifactId>
1006 <version>3.2.9.RELEASE</version>
1009 <groupId>org.springframework.security</groupId>
1010 <artifactId>spring-security-web</artifactId>
1011 <version>3.2.9.RELEASE</version>
1014 <groupId>virgomirror</groupId>
1015 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1016 <version>3.8.0.I20120518-2145</version>
1019 <!-- Configuration library -->
1020 <!-- This needs to be kept in sync with the version used by akka -->
1022 <groupId>com.typesafe</groupId>
1023 <artifactId>config</artifactId>
1024 <version>1.3.0</version>
1027 <!-- Reactive Streams, used by Akka -->
1029 <groupId>org.reactivestreams</groupId>
1030 <artifactId>reactive-streams</artifactId>
1031 <version>1.0.0</version>
1036 <groupId>com.typesafe</groupId>
1037 <artifactId>ssl-config-akka_${scala.version}</artifactId>
1038 <version>0.2.1</version>
1041 <groupId>com.typesafe</groupId>
1042 <artifactId>ssl-config-core_${scala.version}</artifactId>
1043 <version>0.2.1</version>
1046 <groupId>com.typesafe.akka</groupId>
1047 <artifactId>akka-actor_${scala.version}</artifactId>
1048 <version>${akka.version}</version>
1051 <groupId>com.typesafe.akka</groupId>
1052 <artifactId>akka-cluster_${scala.version}</artifactId>
1053 <version>${akka.version}</version>
1056 <groupId>com.typesafe.akka</groupId>
1057 <artifactId>akka-distributed-data-experimental_${scala.version}</artifactId>
1058 <version>${akka.version}</version>
1061 <groupId>com.typesafe.akka</groupId>
1062 <artifactId>akka-osgi_${scala.version}</artifactId>
1063 <version>${akka.version}</version>
1066 <groupId>com.typesafe.akka</groupId>
1067 <artifactId>akka-persistence_${scala.version}</artifactId>
1068 <version>${akka.version}</version>
1071 <groupId>com.typesafe.akka</groupId>
1072 <artifactId>akka-protobuf_${scala.version}</artifactId>
1073 <version>${akka.version}</version>
1076 <groupId>com.typesafe.akka</groupId>
1077 <artifactId>akka-remote_${scala.version}</artifactId>
1078 <version>${akka.version}</version>
1081 <groupId>com.typesafe.akka</groupId>
1082 <artifactId>akka-slf4j_${scala.version}</artifactId>
1083 <version>${akka.version}</version>
1086 <groupId>com.typesafe.akka</groupId>
1087 <artifactId>akka-stream_${scala.version}</artifactId>
1088 <version>${akka.version}</version>
1091 <groupId>com.typesafe.akka</groupId>
1092 <artifactId>akka-testkit_${scala.version}</artifactId>
1093 <version>${akka.version}</version>
1097 <groupId>org.scala-lang.modules</groupId>
1098 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1099 <version>0.8.0</version>
1102 <groupId>org.scala-lang.modules</groupId>
1103 <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1104 <version>1.0.4</version>
1107 <groupId>org.iq80.leveldb</groupId>
1108 <artifactId>leveldb</artifactId>
1109 <version>${leveldb.version}</version>
1112 <groupId>org.fusesource.leveldbjni</groupId>
1113 <artifactId>leveldbjni-all</artifactId>
1114 <version>1.8-odl</version>
1117 <groupId>org.uncommons.maths</groupId>
1118 <artifactId>uncommons-maths</artifactId>
1119 <version>1.2.2a</version>
1122 <groupId>com.google.protobuf</groupId>
1123 <artifactId>protobuf-java</artifactId>
1124 <version>2.5.0</version>
1127 <!-- Aeron, required by Akka -->
1129 <groupId>org.agrona</groupId>
1130 <artifactId>Agrona</artifactId>
1131 <version>0.9.1</version>
1134 <groupId>io.aeron</groupId>
1135 <artifactId>aeron-client</artifactId>
1136 <version>1.0.5</version>
1139 <groupId>io.aeron</groupId>
1140 <artifactId>aeron-driver</artifactId>
1141 <version>1.0.5</version>
1146 <groupId>org.scala-lang</groupId>
1147 <artifactId>scala-library</artifactId>
1148 <version>${scala.version}.${scala.micro.version}</version>
1151 <groupId>org.scala-lang</groupId>
1152 <artifactId>scala-reflect</artifactId>
1153 <version>${scala.version}.${scala.micro.version}</version>
1156 <!-- LMAX Disruptor -->
1158 <groupId>com.lmax</groupId>
1159 <artifactId>disruptor</artifactId>
1160 <!-- If this is updated, the version in features.xml needs to be changed too -->
1161 <version>3.3.6</version>
1164 <!-- Add Pax Exam -->
1166 <groupId>org.ops4j.pax.exam</groupId>
1167 <artifactId>pax-exam</artifactId>
1168 <version>${exam.version}</version>
1172 <groupId>org.ops4j.pax.exam</groupId>
1173 <artifactId>pax-exam-container-karaf</artifactId>
1174 <version>${exam.version}</version>
1178 <groupId>org.ops4j.pax.exam</groupId>
1179 <artifactId>pax-exam-container-native</artifactId>
1180 <version>${exam.version}</version>
1184 <groupId>org.ops4j.pax.exam</groupId>
1185 <artifactId>pax-exam-junit4</artifactId>
1186 <version>${exam.version}</version>
1190 <groupId>org.ops4j.pax.exam</groupId>
1191 <artifactId>pax-exam-link-mvn</artifactId>
1192 <version>${exam.version}</version>
1197 <groupId>org.ops4j.pax.url</groupId>
1198 <artifactId>pax-url-aether</artifactId>
1199 <version>2.5.1</version>
1203 <groupId>org.ops4j.pax.url</groupId>
1204 <artifactId>pax-url-wrap</artifactId>
1205 <version>2.5.1</version>
1208 <groupId>org.springframework.osgi</groupId>
1209 <artifactId>spring-osgi-mock</artifactId>
1210 <version>1.2.1</version>
1214 <groupId>xmlunit</groupId>
1215 <artifactId>xmlunit</artifactId>
1216 <version>1.6</version>
1220 <groupId>org.eclipse.jetty</groupId>
1221 <artifactId>jetty-client</artifactId>
1222 <version>8.1.19.v20160209</version>
1225 <groupId>org.eclipse.jetty</groupId>
1226 <artifactId>jetty-server</artifactId>
1227 <version>8.1.19.v20160209</version>
1230 <groupId>org.eclipse.jetty</groupId>
1231 <artifactId>jetty-servlet-tester</artifactId>
1232 <version>8.1.19.v20160209</version>
1236 <groupId>org.eclipse.jetty</groupId>
1237 <artifactId>jetty-servlets</artifactId>
1238 <version>8.1.19.v20160209</version>
1241 <groupId>org.eclipse.jetty</groupId>
1242 <artifactId>jetty-webapp</artifactId>
1243 <version>8.1.19.v20160209</version>
1246 <groupId>org.apache.aries.blueprint</groupId>
1247 <artifactId>org.apache.aries.blueprint.core</artifactId>
1248 <version>1.4.2</version>
1251 <!-- Xtend http://xtend-lang.org
1252 NOTE: When you increase the version here,
1253 then remember to also increase it for the
1254 xtend-maven-plugin below! (We don't want to
1255 use a Maven property, in order not to "leak" that.)
1258 <groupId>org.eclipse.xtend</groupId>
1259 <artifactId>org.eclipse.xtend.lib</artifactId>
1260 <version>2.11.0</version>
1263 <groupId>org.eclipse.xtend</groupId>
1264 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1265 <version>2.11.0</version>
1268 <groupId>org.eclipse.xtext</groupId>
1269 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1270 <version>2.11.0</version>
1273 <!-- Annotations -->
1275 <groupId>javax.inject</groupId>
1276 <artifactId>javax.inject</artifactId>
1277 <version>1</version>
1282 <groupId>com.datastax.cassandra</groupId>
1283 <artifactId>cassandra-driver-core</artifactId>
1284 <version>2.1.9</version>
1289 <groupId>io.dropwizard.metrics</groupId>
1290 <artifactId>metrics-core</artifactId>
1291 <version>3.1.2</version>
1294 <groupId>io.dropwizard.metrics</groupId>
1295 <artifactId>metrics-graphite</artifactId>
1296 <version>3.1.2</version>
1299 <!-- Karaf console support -->
1301 <groupId>org.apache.karaf.shell</groupId>
1302 <artifactId>org.apache.karaf.shell.console</artifactId>
1303 <version>${karaf.version}</version>
1307 </dependencyManagement>
1310 <!-- Karaf provides SL4FJ encapsulation -->
1312 <groupId>org.slf4j</groupId>
1313 <artifactId>slf4j-api</artifactId>
1314 <scope>provided</scope>
1318 <groupId>org.slf4j</groupId>
1319 <artifactId>slf4j-simple</artifactId>
1323 <!-- Enable JSR-305 annotations everywhere -->
1325 <groupId>com.google.code.findbugs</groupId>
1326 <artifactId>annotations</artifactId>
1327 <scope>provided</scope>
1329 <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1331 <groupId>com.google.code.findbugs</groupId>
1332 <artifactId>jsr305</artifactId>
1333 <scope>provided</scope>
1336 <groupId>org.eclipse.jdt</groupId>
1337 <artifactId>org.eclipse.jdt.annotation</artifactId>
1338 <scope>provided</scope>
1345 <!-- Official maven plugins, alpha-sorted by artifactId.
1346 We do not need to specify the groupId. -->
1348 <artifactId>maven-antrun-plugin</artifactId>
1349 <version>1.8</version>
1352 <artifactId>maven-checkstyle-plugin</artifactId>
1353 <version>${checkstyle.version}</version>
1356 <groupId>com.puppycrawl.tools</groupId>
1357 <artifactId>checkstyle</artifactId>
1358 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1359 <version>6.16</version>
1362 <groupId>org.opendaylight.odlparent</groupId>
1363 <artifactId>checkstyle</artifactId>
1364 <version>${odl.checkstyle.version}</version>
1367 <groupId>org.opendaylight.odlparent</groupId>
1368 <artifactId>odl-license</artifactId>
1369 <version>0.2.0-SNAPSHOT</version>
1372 <groupId>com.github.sevntu.checkstyle</groupId>
1373 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1374 <version>1.21.0</version>
1378 <configLocation>odl_checks.xml</configLocation>
1379 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1380 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1381 generated sources directory -->
1382 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1383 <includeResources>true</includeResources>
1384 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1385 <includeTestResources>true</includeTestResources>
1386 <includes>**\/*.java, **\/*.xtend</includes>
1388 org/opendaylight/yang/gen/**,
1389 **/protobuff/messages/**,
1390 **/thrift/gen/*.java
1392 <failsOnError>false</failsOnError>
1393 <consoleOutput>true</consoleOutput>
1397 <id>check-license</id>
1401 <phase>process-sources</phase>
1403 <configLocation>check-license.xml</configLocation>
1404 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1405 <includeResources>false</includeResources>
1406 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1407 <includeTestResources>false</includeTestResources>
1408 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1410 org/opendaylight/yang/gen/**,
1411 **/protobuff/messages/**,
1412 **/thrift/gen/*.java
1414 <failsOnError>false</failsOnError>
1415 <consoleOutput>true</consoleOutput>
1422 <phase>process-sources</phase>
1427 <groupId>org.apache.maven.plugins</groupId>
1428 <artifactId>maven-pmd-plugin</artifactId>
1429 <version>3.6</version>
1433 <phase>process-sources</phase>
1435 <goal>cpd-check</goal>
1438 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1439 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1440 <minimumTokens>101</minimumTokens>
1441 <printFailingErrors>true</printFailingErrors>
1443 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1444 not understand path prefixes nor wildcards. Details are available
1445 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1446 Hence people introducing new generated sources have to include
1449 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1450 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1452 <linkXRef>false</linkXRef>
1458 <artifactId>maven-compiler-plugin</artifactId>
1459 <version>${maven.compile.plugin.version}</version>
1461 <source>1.8</source>
1462 <target>1.8</target>
1464 <arg>-parameters</arg>
1469 <artifactId>maven-enforcer-plugin</artifactId>
1470 <version>${enforcer.version}</version>
1473 <artifactId>maven-failsafe-plugin</artifactId>
1474 <version>${failsafe.version}</version>
1477 <artifactId>maven-invoker-plugin</artifactId>
1478 <version>2.0.0</version>
1481 <artifactId>maven-jar-plugin</artifactId>
1482 <version>${maven.jar.version}</version>
1485 <artifactId>maven-dependency-plugin</artifactId>
1486 <version>2.10</version>
1489 <id>unpack-license</id>
1490 <phase>generate-resources</phase>
1491 <goals><goal>unpack</goal></goals>
1495 <groupId>org.opendaylight.odlparent</groupId>
1496 <artifactId>odl-license</artifactId>
1497 <version>0.2.0-SNAPSHOT</version>
1500 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1501 <excludes>META-INF/**</excludes>
1508 <artifactId>maven-plugin-plugin</artifactId>
1509 <version>${maven.plugin.version}</version>
1513 <artifactId>maven-resources-plugin</artifactId>
1514 <version>3.0.1</version>
1517 <artifactId>maven-shade-plugin</artifactId>
1518 <version>2.4.3</version>
1521 <artifactId>maven-source-plugin</artifactId>
1522 <version>3.0.1</version>
1525 <id>attach-sources</id>
1526 <phase>verify</phase>
1528 <goal>jar-no-fork</goal>
1534 <artifactId>maven-surefire-plugin</artifactId>
1535 <version>${maven.surefire.version}</version>
1537 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1538 <trimStackTrace>false</trimStackTrace>
1542 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1544 <!-- Support Blueprint XML construction using annotations -->
1545 <groupId>org.apache.aries.blueprint</groupId>
1546 <artifactId>blueprint-maven-plugin</artifactId>
1547 <version>1.4.0</version>
1550 <scanPath>org.opendaylight</scanPath>
1555 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1556 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1557 <groupId>org.apache.xbean</groupId>
1558 <artifactId>xbean-finder-shaded</artifactId>
1559 <version>4.5</version>
1565 <goal>blueprint-generate</goal>
1572 <groupId>org.apache.felix</groupId>
1573 <artifactId>maven-bundle-plugin</artifactId>
1574 <version>${maven.bundle.version}</version>
1575 <extensions>true</extensions>
1578 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1579 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1580 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1581 <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1587 <groupId>org.apache.karaf.tooling</groupId>
1588 <artifactId>karaf-maven-plugin</artifactId>
1589 <version>${karaf.version}</version>
1593 <groupId>org.apache.servicemix.tooling</groupId>
1594 <artifactId>depends-maven-plugin</artifactId>
1595 <version>1.3.1</version>
1598 <id>generate-depends-file</id>
1600 <goal>generate-depends-file</goal>
1607 <groupId>org.codehaus.enunciate</groupId>
1608 <artifactId>maven-enunciate-plugin</artifactId>
1609 <version>${enunciate.version}</version>
1612 <groupId>org.codehaus.groovy.maven</groupId>
1613 <artifactId>gmaven-plugin</artifactId>
1614 <version>1.0</version>
1617 <groupId>org.codehaus.mojo</groupId>
1618 <artifactId>build-helper-maven-plugin</artifactId>
1619 <version>1.12</version>
1622 <groupId>org.codehaus.mojo</groupId>
1623 <artifactId>findbugs-maven-plugin</artifactId>
1624 <version>3.0.4</version>
1627 <groupId>org.opendaylight.odlparent</groupId>
1628 <artifactId>findbugs</artifactId>
1629 <version>1.8.0-SNAPSHOT</version>
1634 Enables analysis which takes more memory but finds more bugs.
1635 If you run out of memory, changes the value of the effort element
1638 <effort>Max</effort>
1639 <!-- Reports all bugs (other values are medium and max) -->
1640 <threshold>Low</threshold>
1641 <!-- Build doesn't fail if problems are found -->
1642 <failOnError>false</failOnError>
1643 <!-- References the excluded rules -->
1644 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1645 <!-- Produces XML report -->
1646 <xmlOutput>true</xmlOutput>
1647 <!-- Configures the directory in which the XML report is created -->
1648 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1652 Ensures that FindBugs inspects source code when project is compiled.
1655 <id>analyze-compile</id>
1656 <phase>compile</phase>
1664 <groupId>org.codehaus.mojo</groupId>
1665 <artifactId>properties-maven-plugin</artifactId>
1666 <version>${propertymavenplugin.version}</version>
1669 <groupId>org.eclipse.xtend</groupId>
1670 <artifactId>xtend-maven-plugin</artifactId>
1671 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1672 <version>2.11.0</version>
1676 <goal>compile</goal>
1677 <goal>testCompile</goal>
1680 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1681 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1687 <groupId>org.eclipse.m2e</groupId>
1688 <artifactId>lifecycle-mapping</artifactId>
1689 <version>1.0.0</version>
1691 <lifecycleMappingMetadata>
1694 <pluginExecutionFilter>
1695 <groupId>org.apache.felix</groupId>
1696 <artifactId>maven-bundle-plugin</artifactId>
1697 <versionRange>[1.0,)</versionRange>
1699 <goal>manifest</goal>
1701 </pluginExecutionFilter>
1707 <pluginExecutionFilter>
1708 <groupId>org.apache.maven.plugins</groupId>
1709 <artifactId>maven-enforcer-plugin</artifactId>
1710 <versionRange>[1.0.0,)</versionRange>
1712 <goal>enforce</goal>
1714 </pluginExecutionFilter>
1720 <pluginExecutionFilter>
1721 <groupId>org.apache.maven.plugins</groupId>
1722 <artifactId>maven-dependency-plugin</artifactId>
1723 <versionRange>[2.10,)</versionRange>
1727 </pluginExecutionFilter>
1733 <pluginExecutionFilter>
1734 <groupId>org.apache.maven.plugins</groupId>
1735 <artifactId>maven-pmd-plugin</artifactId>
1736 <versionRange>[3.6,)</versionRange>
1738 <goal>cpd-check</goal>
1740 </pluginExecutionFilter>
1745 <!-- The plugin will eventually be removed, remove this too at that point -->
1747 <pluginExecutionFilter>
1748 <groupId>org.apache.maven.plugins</groupId>
1749 <artifactId>maven-antrun-plugin</artifactId>
1750 <versionRange>[1.8,)</versionRange>
1754 </pluginExecutionFilter>
1760 <pluginExecutionFilter>
1761 <groupId>org.apache.servicemix.tooling</groupId>
1762 <artifactId>depends-maven-plugin</artifactId>
1763 <versionRange>[1.2,)</versionRange>
1765 <goal>generate-depends-file</goal>
1767 </pluginExecutionFilter>
1773 <pluginExecutionFilter>
1774 <groupId>org.jacoco</groupId>
1775 <artifactId>jacoco-maven-plugin</artifactId>
1776 <versionRange>[0.7.0,)</versionRange>
1778 <goal>prepare-agent</goal>
1781 </pluginExecutionFilter>
1788 <pluginExecutionFilter>
1789 <groupId>org.ops4j.pax.exam</groupId>
1790 <artifactId>maven-paxexam-plugin</artifactId>
1791 <versionRange>[1.2.4,)</versionRange>
1793 <goal>generate-depends-file</goal>
1795 </pluginExecutionFilter>
1802 </lifecycleMappingMetadata>
1807 <groupId>org.jacoco</groupId>
1808 <artifactId>jacoco-maven-plugin</artifactId>
1809 <version>${jacoco.version}</version>
1811 <!-- Note: This exclusion list should match <sonar.exclusions>
1814 <exclude>**/gen/**</exclude>
1815 <exclude>**/generated-sources/**</exclude>
1816 <exclude>**/generated-test-sources/**</exclude>
1817 <exclude>**/yang-gen/**</exclude>
1818 <exclude>**/yang-gen-config/**</exclude>
1819 <exclude>**/yang-gen-sal/**</exclude>
1820 <exclude>**/yang-gen-code/**</exclude>
1821 <exclude>**/pax/**</exclude>
1827 <groupId>org.ops4j.pax.exam</groupId>
1828 <artifactId>maven-paxexam-plugin</artifactId>
1829 <version>1.2.4</version>
1833 <groupId>org.codehaus.mojo</groupId>
1834 <artifactId>jdepend-maven-plugin</artifactId>
1835 <version>2.0</version>
1840 <goal>generate-no-fork</goal>
1850 <artifactId>maven-dependency-plugin</artifactId>
1853 <artifactId>maven-checkstyle-plugin</artifactId>
1856 <artifactId>maven-pmd-plugin</artifactId>
1859 <artifactId>maven-source-plugin</artifactId>
1862 <artifactId>maven-javadoc-plugin</artifactId>
1865 <!-- Jacoco / Sonar -->
1867 <groupId>org.jacoco</groupId>
1868 <artifactId>jacoco-maven-plugin</artifactId>
1871 <id>pre-unit-test</id>
1873 <goal>prepare-agent</goal>
1876 <destFile>${sonar.jacoco.reportPath}</destFile>
1880 <id>post-unit-test</id>
1885 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1892 <groupId>com.alexecollins.maven.plugin</groupId>
1893 <artifactId>script-maven-plugin</artifactId>
1894 <version>1.0.0</version>
1897 <phase>prepare-package</phase>
1899 <goal>execute</goal>
1903 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1904 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1905 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1906 // static class methods only - it will be MUCH easier to write!)
1907 void copy(File root, String glob, File target) {
1908 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1909 Iterator dirStreamIterator = dirStream.iterator();
1910 while (dirStreamIterator.hasNext()) {
1911 java.nio.file.Path path = dirStreamIterator.next();
1912 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1913 new java.nio.file.CopyOption[] {
1914 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1915 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1922 File gitRepoRootDir = project.basedir;
1923 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1924 gitRepoRootDir = gitRepoRootDir.getParentFile();
1927 File target = new File(project.build.outputDirectory);
1929 copy(gitRepoRootDir, "README*", target);
1930 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1931 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1938 <groupId>org.apache-extras.beanshell</groupId>
1939 <artifactId>bsh</artifactId>
1940 <version>2.0b6</version>
1945 <!-- Blueprint dependency injection -->
1946 <!-- Remove when upgrading to plugin 1.5.0, and use
1947 <configuration><generatedDir>org/opendaylight/blueprint/</...></...> -->
1948 <!-- See https://issues.apache.org/jira/browse/ARIES-1597 -->
1950 <artifactId>maven-antrun-plugin</artifactId>
1952 <!-- This should only run once, in the process-classes phase; but we need it to run after
1953 process-classes in child projects. Attaching to process-test-classes and prepare-package
1954 ensures that the file will be moved whether tests are skipped or not. -->
1956 <id>move-autowire-test</id>
1957 <phase>process-test-classes</phase>
1963 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1964 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1965 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1966 failonerror="false" quiet="true" />
1971 <id>move-autowire-package</id>
1972 <phase>prepare-package</phase>
1978 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1979 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1980 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1981 failonerror="false" quiet="true" />
1993 <artifactId>maven-checkstyle-plugin</artifactId>
1994 <version>${checkstyle.version}</version>
1997 <!-- FIXME: activate this
1999 <artifactId>maven-project-info-reports-plugin</artifactId>
2000 <version>${projectinfo}</version>
2003 <groupId>org.codehaus.mojo</groupId>
2004 <artifactId>jdepend-maven-plugin</artifactId>
2008 <report>generate-no-fork</report>
2014 <artifactId>maven-javadoc-plugin</artifactId>
2017 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2018 <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
2019 <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
2020 <link>http://netty.io/4.0/api/</link>
2028 Maven Site Configuration
2030 The following configuration is necessary for maven-site-plugin to
2031 correctly identify the correct deployment path for OpenDaylight Maven
2034 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2036 <distributionManagement>
2038 <id>opendaylight-site</id>
2039 <url>${nexus.site.url}/${project.artifactId}/</url>
2041 </distributionManagement>