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.9.2</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>
91 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
92 <jacoco.version>0.7.7.201606060606</jacoco.version>
93 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
94 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
95 <karaf.version>3.0.8</karaf.version>
96 <karaf4.version>4.0.7</karaf4.version>
97 <karaf4.plugin.version>4.0.8-odl</karaf4.plugin.version>
98 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
99 <projectinfo>2.8.1</projectinfo>
100 <!-- Used in of-config; see also snmp4sdn -->
101 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
102 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
103 <releaseplugin.version>2.5.3</releaseplugin.version>
105 <!-- Supporting Libraries -->
106 <!-- Used by controller -->
107 <bouncycastle.version>1.55</bouncycastle.version>
109 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
110 <osgi.core.version>5.0.0</osgi.core.version>
112 <akka.version>2.4.16</akka.version>
113 <scala.version>2.11</scala.version>
114 <scala.micro.version>8</scala.micro.version>
115 <leveldb.version>0.7</leveldb.version>
117 <!-- Default Sonar configuration -->
118 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
119 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
120 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
121 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
122 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
123 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
125 <pmd.cpd.fail>false</pmd.cpd.fail>
128 <dependencyManagement>
132 <groupId>org.opendaylight.odlparent</groupId>
133 <artifactId>odlparent-artifacts</artifactId>
134 <version>1.8.0-SNAPSHOT</version>
135 <scope>import</scope>
139 <!-- Build tool dependencies (normally not here in <dependencies>,
140 but in a <dependency> in <pluginManagement> but for Checkstyle this
141 is required so that we can share the same version of Checkstyle
142 for both the Maven plugin below as well as for custom Checkstyle
143 check rule projects, such as yangtools' checkstyle-logging) -->
145 <groupId>com.puppycrawl.tools</groupId>
146 <artifactId>checkstyle</artifactId>
147 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
148 <version>6.16</version>
151 <!-- Testing Dependencies -->
152 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
153 <!-- Need to stick to JUnit 4.11 until
154 https://github.com/jayway/powermock/issues/560 is fixed (either in
155 PowerMock or with a new JUnit release) -->
157 <groupId>junit</groupId>
158 <artifactId>junit</artifactId>
159 <version>4.11</version>
163 <groupId>junit</groupId>
164 <artifactId>junit-dep</artifactId>
165 <version>4.11</version>
169 <groupId>org.skyscreamer</groupId>
170 <artifactId>jsonassert</artifactId>
171 <version>1.3.0</version>
175 <groupId>org.mockito</groupId>
176 <!-- Bug 7662: @deprecated Do *NOT* use mockito-all, but *ALWAYS* only mockito-core; this should be removed, and non-usage enforced! -->
177 <artifactId>mockito-all</artifactId>
178 <version>1.10.19</version>
182 <groupId>org.mockito</groupId>
183 <artifactId>mockito-core</artifactId>
184 <version>1.10.19</version>
188 <groupId>org.hamcrest</groupId>
189 <artifactId>hamcrest-core</artifactId>
190 <version>1.3</version>
194 <groupId>org.hamcrest</groupId>
195 <artifactId>hamcrest-library</artifactId>
196 <version>1.3</version>
200 <groupId>com.google.truth</groupId>
201 <artifactId>truth</artifactId>
202 <version>0.28</version>
206 <groupId>org.awaitility</groupId>
207 <artifactId>awaitility</artifactId>
208 <version>2.0.0</version>
212 <groupId>org.powermock</groupId>
213 <artifactId>powermock-api-mockito</artifactId>
214 <version>1.6.4</version>
218 <groupId>org.powermock</groupId>
219 <artifactId>powermock-api-support</artifactId>
220 <version>1.6.4</version>
224 <groupId>org.powermock</groupId>
225 <artifactId>powermock-core</artifactId>
226 <version>1.6.4</version>
230 <groupId>org.powermock</groupId>
231 <artifactId>powermock-module-junit4</artifactId>
232 <version>1.6.4</version>
236 <groupId>org.powermock</groupId>
237 <artifactId>powermock-reflect</artifactId>
238 <version>1.6.4</version>
243 Annotation Processors
246 <!-- Generates immutable implementations, builders, the works -->
247 <groupId>org.immutables</groupId>
248 <artifactId>value</artifactId>
249 <version>2.4.2</version>
250 <!-- Must be provided; <scope>test here breaks APT in Eclipse :( -->
251 <scope>provided</scope>
254 <!-- Generates META-INF/services entries for ServiceLoader -->
255 <groupId>org.kohsuke.metainf-services</groupId>
256 <artifactId>metainf-services</artifactId>
257 <version>1.7</version>
258 <optional>true</optional>
265 <groupId>org.slf4j</groupId>
266 <artifactId>jcl-over-slf4j</artifactId>
267 <version>1.7.21</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-api</artifactId>
272 <version>1.7.21</version>
275 <groupId>org.slf4j</groupId>
276 <artifactId>slf4j-log4j12</artifactId>
277 <version>1.7.21</version>
280 <groupId>org.slf4j</groupId>
281 <artifactId>log4j-over-slf4j</artifactId>
282 <version>1.7.21</version>
285 <groupId>org.slf4j</groupId>
286 <artifactId>slf4j-simple</artifactId>
287 <version>1.7.21</version>
291 <groupId>xml-apis</groupId>
292 <artifactId>xml-apis</artifactId>
293 <version>1.4.01</version>
296 <groupId>xerces</groupId>
297 <artifactId>xercesImpl</artifactId>
298 <version>2.11.0</version>
301 <groupId>ch.qos.logback</groupId>
302 <artifactId>logback-core</artifactId>
303 <version>1.1.7</version>
306 <groupId>ch.qos.logback</groupId>
307 <artifactId>logback-classic</artifactId>
308 <version>1.1.7</version>
311 <groupId>com.google.guava</groupId>
312 <artifactId>guava</artifactId>
313 <version>18.0</version>
316 <groupId>com.google.guava</groupId>
317 <artifactId>guava-testlib</artifactId>
318 <version>18.0</version>
322 <groupId>com.mycila.guice.extensions</groupId>
323 <artifactId>mycila-guice-jsr250</artifactId>
324 <!-- Make sure this version is in sync with the guice one below -->
325 <version>4.0.rc1</version>
329 <groupId>com.google.inject</groupId>
330 <artifactId>guice</artifactId>
331 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
332 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
333 <version>4.1.0</version>
336 <groupId>org.apache.commons</groupId>
337 <artifactId>commons-lang3</artifactId>
338 <version>3.5</version>
341 <groupId>commons-lang</groupId>
342 <artifactId>commons-lang</artifactId>
343 <version>2.6</version>
346 <groupId>commons-codec</groupId>
347 <artifactId>commons-codec</artifactId>
348 <version>1.10</version>
350 <!-- Jersey for JAXRS -->
352 <groupId>javax.ws.rs</groupId>
353 <artifactId>javax.ws.rs-api</artifactId>
354 <version>2.0.1</version>
357 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
358 <artifactId>jersey-guava</artifactId>
359 <version>2.22.2</version>
362 <groupId>org.glassfish</groupId>
363 <artifactId>javax.json</artifactId>
364 <version>1.0.4</version>
367 <groupId>com.eclipsesource.jaxrs</groupId>
368 <artifactId>jersey-all</artifactId>
369 <version>2.22.2</version>
372 <!-- servlet 3.x support -->
374 <groupId>org.glassfish.jersey.containers</groupId>
375 <artifactId>jersey-container-servlet</artifactId>
376 <version>2.8</version>
379 <groupId>org.apache.geronimo.bundles</groupId>
380 <artifactId>json</artifactId>
381 <version>20090211_1</version>
383 <!-- FIXME : remove all dependencies for jersey 1.17 -->
385 <groupId>com.sun.jersey</groupId>
386 <artifactId>jersey-core</artifactId>
387 <version>1.17</version>
390 <groupId>com.sun.jersey</groupId>
391 <artifactId>jersey-json</artifactId>
392 <version>1.17</version>
395 <groupId>com.sun.jersey</groupId>
396 <artifactId>jersey-server</artifactId>
397 <version>1.17</version>
400 <groupId>com.sun.jersey</groupId>
401 <artifactId>jersey-servlet</artifactId>
402 <version>1.17</version>
405 <groupId>com.sun.jersey.jersey-test-framework</groupId>
406 <artifactId>jersey-test-framework-grizzly2</artifactId>
407 <version>1.17</version>
411 <groupId>com.sun.jersey.jersey-test-framework</groupId>
412 <artifactId>jersey-test-framework-inmemory</artifactId>
413 <version>1.17</version>
417 <groupId>com.sun.jersey</groupId>
418 <artifactId>jersey-client</artifactId>
419 <version>1.17</version>
422 <groupId>org.opendaylight.controller.thirdparty</groupId>
423 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
424 <version>1.17</version>
427 <groupId>org.apache.shiro</groupId>
428 <artifactId>shiro-core</artifactId>
429 <version>1.3.2</version>
432 <groupId>org.apache.shiro</groupId>
433 <artifactId>shiro-web</artifactId>
434 <version>1.3.2</version>
437 <!-- Plugin integration -->
439 <groupId>net.java.dev.stax-utils</groupId>
440 <artifactId>stax-utils</artifactId>
441 <version>20070216</version>
444 <groupId>org.sonatype.plexus</groupId>
445 <artifactId>plexus-build-api</artifactId>
446 <version>0.0.7</version>
449 <groupId>org.codehaus.plexus</groupId>
450 <artifactId>plexus-slf4j-logging</artifactId>
451 <version>1.1</version>
454 <groupId>com.fasterxml.jackson.core</groupId>
455 <artifactId>jackson-annotations</artifactId>
456 <version>2.3.2</version>
459 <groupId>com.fasterxml.jackson.core</groupId>
460 <artifactId>jackson-core</artifactId>
461 <version>2.3.2</version>
464 <groupId>com.fasterxml.jackson.core</groupId>
465 <artifactId>jackson-databind</artifactId>
466 <version>2.3.2</version>
469 <groupId>com.fasterxml.jackson.datatype</groupId>
470 <artifactId>jackson-datatype-json-org</artifactId>
471 <version>2.3.2</version>
473 <!-- TODO do we really need resteasy ? -->
475 <groupId>org.jboss.resteasy</groupId>
476 <artifactId>jaxrs-api</artifactId>
477 <version>3.0.12.Final</version>
481 <groupId>com.fasterxml.jackson.jaxrs</groupId>
482 <artifactId>jackson-jaxrs-base</artifactId>
483 <version>2.3.2</version>
486 <groupId>com.fasterxml.jackson.jaxrs</groupId>
487 <artifactId>jackson-jaxrs-json-provider</artifactId>
488 <version>2.3.2</version>
491 <groupId>com.fasterxml.jackson.module</groupId>
492 <artifactId>jackson-module-jaxb-annotations</artifactId>
493 <version>2.3.2</version>
496 <groupId>com.sun.xml.txw2</groupId>
497 <artifactId>txw2</artifactId>
498 <version>20110809</version>
501 <groupId>com.github.romix</groupId>
502 <artifactId>java-concurrent-hash-trie-map</artifactId>
503 <version>0.2.23-ODL</version>
506 <groupId>com.google.code.findbugs</groupId>
507 <artifactId>jsr305</artifactId>
508 <version>3.0.0</version>
511 <groupId>com.google.code.findbugs</groupId>
512 <artifactId>annotations</artifactId>
513 <version>3.0.0</version>
515 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
516 the types of this artifact are already shaded inside the :annotations artifact.
517 This state is a temporary solution to allow all projects to gradually switch over
518 switch their <dependency><groupId>com.google.code.findbugs from
519 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
520 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
523 <groupId>net.jcip</groupId>
524 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
525 <artifactId>jcip-annotations</artifactId>
530 <groupId>org.eclipse.jdt</groupId>
531 <artifactId>org.eclipse.jdt.annotation</artifactId>
532 <version>2.0.0</version>
533 <scope>provided</scope>
536 <groupId>com.google.code.gson</groupId>
537 <artifactId>gson</artifactId>
538 <version>2.7</version>
541 <groupId>commons-fileupload</groupId>
542 <artifactId>commons-fileupload</artifactId>
543 <version>1.3.2</version>
546 <groupId>commons-io</groupId>
547 <artifactId>commons-io</artifactId>
548 <version>2.4</version>
551 <groupId>commons-net</groupId>
552 <artifactId>commons-net</artifactId>
553 <version>3.5</version>
556 <groupId>eclipselink</groupId>
557 <artifactId>javax.persistence</artifactId>
558 <version>2.0.4.v201112161009</version>
561 <groupId>eclipselink</groupId>
562 <artifactId>javax.resource</artifactId>
563 <version>1.5.0.v200906010428</version>
566 <groupId>equinoxSDK381</groupId>
567 <artifactId>javax.servlet</artifactId>
568 <version>3.0.0.v201112011016</version>
571 <groupId>equinoxSDK381</groupId>
572 <artifactId>javax.servlet.jsp</artifactId>
573 <version>2.2.0.v201112011158</version>
576 <groupId>equinoxSDK381</groupId>
577 <artifactId>org.apache.felix.gogo.command</artifactId>
578 <version>0.8.0.v201108120515</version>
581 <groupId>equinoxSDK381</groupId>
582 <artifactId>org.apache.felix.gogo.runtime</artifactId>
583 <version>0.8.0.v201108120515</version>
586 <groupId>equinoxSDK381</groupId>
587 <artifactId>org.apache.felix.gogo.shell</artifactId>
588 <version>0.8.0.v201110170705</version>
591 <groupId>equinoxSDK381</groupId>
592 <artifactId>org.eclipse.equinox.cm</artifactId>
593 <version>1.0.400.v20120522-1841</version>
596 <groupId>equinoxSDK381</groupId>
597 <artifactId>org.eclipse.equinox.console</artifactId>
598 <version>1.0.0.v20120522-1841</version>
601 <groupId>equinoxSDK381</groupId>
602 <artifactId>org.eclipse.equinox.ds</artifactId>
603 <version>1.4.0.v20120522-1841</version>
606 <groupId>equinoxSDK381</groupId>
607 <artifactId>org.eclipse.equinox.launcher</artifactId>
608 <version>1.3.0.v20120522-1813</version>
611 <groupId>equinoxSDK381</groupId>
612 <artifactId>org.eclipse.equinox.util</artifactId>
613 <version>1.0.400.v20120522-2049</version>
616 <groupId>equinoxSDK381</groupId>
617 <artifactId>org.eclipse.osgi.services</artifactId>
618 <version>3.3.100.v20120522-1822</version>
622 <groupId>org.eclipse.tycho</groupId>
623 <artifactId>org.eclipse.osgi</artifactId>
624 <version>3.9.1.v20130814-1242</version>
626 <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
628 <groupId>equinoxSDK381</groupId>
629 <artifactId>org.eclipse.osgi</artifactId>
630 <version>3.8.1.v20120830-144521</version>
635 <groupId>geminiweb</groupId>
636 <artifactId>org.eclipse.gemini.web.core</artifactId>
637 <version>2.2.0.RELEASE</version>
640 <groupId>geminiweb</groupId>
641 <artifactId>org.eclipse.gemini.web.extender</artifactId>
642 <version>2.2.0.RELEASE</version>
645 <groupId>geminiweb</groupId>
646 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
647 <version>2.2.0.RELEASE</version>
650 <groupId>geminiweb</groupId>
651 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
652 <version>3.6.0.RELEASE</version>
655 <groupId>geminiweb</groupId>
656 <artifactId>org.eclipse.virgo.util.common</artifactId>
657 <version>3.6.0.RELEASE</version>
660 <groupId>geminiweb</groupId>
661 <artifactId>org.eclipse.virgo.util.io</artifactId>
662 <version>3.6.0.RELEASE</version>
665 <groupId>geminiweb</groupId>
666 <artifactId>org.eclipse.virgo.util.math</artifactId>
667 <version>3.6.0.RELEASE</version>
670 <groupId>geminiweb</groupId>
671 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
672 <version>3.6.0.RELEASE</version>
675 <groupId>geminiweb</groupId>
676 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
677 <version>3.6.0.RELEASE</version>
680 <groupId>geminiweb</groupId>
681 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
682 <version>3.6.0.RELEASE</version>
686 <groupId>io.netty</groupId>
687 <artifactId>netty-all</artifactId>
688 <!-- If these are updated, the version in features.xml needs to be changed too -->
689 <version>4.1.7.Final</version>
692 <groupId>io.netty</groupId>
693 <artifactId>netty-buffer</artifactId>
694 <version>4.1.7.Final</version>
697 <groupId>io.netty</groupId>
698 <artifactId>netty-codec</artifactId>
699 <version>4.1.7.Final</version>
702 <groupId>io.netty</groupId>
703 <artifactId>netty-codec-http</artifactId>
704 <version>4.1.7.Final</version>
707 <groupId>io.netty</groupId>
708 <artifactId>netty-common</artifactId>
709 <version>4.1.7.Final</version>
712 <groupId>io.netty</groupId>
713 <artifactId>netty-handler</artifactId>
714 <version>4.1.7.Final</version>
717 <groupId>io.netty</groupId>
718 <artifactId>netty-transport</artifactId>
719 <version>4.1.7.Final</version>
721 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
722 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
724 <groupId>io.netty</groupId>
725 <artifactId>netty-transport-native-epoll</artifactId>
726 <classifier>linux-x86_64</classifier>
727 <version>4.1.7.Final</version>
730 <groupId>javax.ws.rs</groupId>
731 <artifactId>jsr311-api</artifactId>
732 <version>1.1.1</version>
735 <groupId>orbit</groupId>
736 <artifactId>javax.activation</artifactId>
737 <version>1.1.0.v201211130549</version>
740 <groupId>orbit</groupId>
741 <artifactId>javax.annotation</artifactId>
742 <version>1.1.0.v201209060031</version>
745 <groupId>orbit</groupId>
746 <artifactId>javax.ejb</artifactId>
747 <version>3.1.1.v201204261316</version>
750 <groupId>orbit</groupId>
751 <artifactId>javax.el</artifactId>
752 <version>2.2.0.v201108011116</version>
755 <groupId>orbit</groupId>
756 <artifactId>javax.mail.glassfish</artifactId>
757 <version>1.4.1.v201108011116</version>
760 <groupId>javax.servlet</groupId>
761 <artifactId>javax.servlet-api</artifactId>
762 <version>3.0.1</version>
765 <groupId>orbit</groupId>
766 <artifactId>javax.servlet.jsp.jstl</artifactId>
767 <version>1.2.0.v201105211821</version>
770 <groupId>orbit</groupId>
771 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
772 <version>1.2.0.v201210211230</version>
775 <groupId>orbit</groupId>
776 <artifactId>javax.xml.rpc</artifactId>
777 <version>1.1.0.v201005080400</version>
780 <groupId>orbit</groupId>
781 <artifactId>org.apache.catalina</artifactId>
782 <version>7.0.53.v201406061610</version>
785 <groupId>orbit</groupId>
786 <artifactId>org.apache.catalina.ha</artifactId>
787 <version>7.0.53.v201406070630</version>
790 <groupId>orbit</groupId>
791 <artifactId>org.apache.catalina.tribes</artifactId>
792 <version>7.0.53.v201406070630</version>
795 <groupId>orbit</groupId>
796 <artifactId>org.apache.coyote</artifactId>
797 <version>7.0.53.v201406070630</version>
800 <groupId>orbit</groupId>
801 <artifactId>org.apache.el</artifactId>
802 <version>7.0.53.v201406060720</version>
805 <groupId>orbit</groupId>
806 <artifactId>org.apache.jasper</artifactId>
807 <version>7.0.53.v201406070630</version>
810 <groupId>orbit</groupId>
811 <artifactId>org.apache.juli.extras</artifactId>
812 <version>7.0.53.v201406060720</version>
815 <groupId>orbit</groupId>
816 <artifactId>org.apache.tomcat.api</artifactId>
817 <version>7.0.53.v201406060720</version>
820 <groupId>orbit</groupId>
821 <artifactId>org.apache.tomcat.util</artifactId>
822 <version>7.0.53.v201406070630</version>
825 <groupId>org.aopalliance</groupId>
826 <artifactId>com.springsource.org.aopalliance</artifactId>
827 <version>1.0.0</version>
830 <groupId>org.apache.felix</groupId>
831 <artifactId>org.apache.felix.dependencymanager</artifactId>
832 <version>4.3.0</version>
835 <groupId>org.apache.felix</groupId>
836 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
837 <version>4.0.4</version>
840 <groupId>org.apache.felix</groupId>
841 <artifactId>org.apache.felix.fileinstall</artifactId>
842 <version>3.5.4</version>
845 <groupId>org.apache.felix</groupId>
846 <artifactId>org.apache.felix.metatype</artifactId>
847 <version>1.1.2</version>
849 <!-- felix webconsole -->
851 <groupId>org.apache.felix</groupId>
852 <artifactId>org.apache.felix.webconsole</artifactId>
853 <version>4.2.14</version>
854 <!-- the all bundle includes all the necessary plugins -->
855 <classifier>all</classifier>
858 <groupId>org.bouncycastle</groupId>
859 <artifactId>bcpkix-jdk15on</artifactId>
860 <version>${bouncycastle.version}</version>
863 <groupId>org.bouncycastle</groupId>
864 <artifactId>bcprov-jdk15on</artifactId>
865 <version>${bouncycastle.version}</version>
868 <groupId>org.codehaus.enunciate</groupId>
869 <artifactId>enunciate-core-annotations</artifactId>
870 <version>${enunciate.version}</version>
873 <groupId>com.webcohesion.enunciate</groupId>
874 <artifactId>enunciate-core-annotations</artifactId>
875 <version>2.6.0</version>
878 <groupId>org.codehaus.jettison</groupId>
879 <artifactId>jettison</artifactId>
880 <version>1.3.7</version>
882 <!-- equinox http service bridge -->
884 <groupId>org.eclipse.equinox.http</groupId>
885 <artifactId>servlet</artifactId>
886 <version>1.0.0-v20070606</version>
888 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
889 pull in javax.validation first:
890 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
892 <groupId>org.eclipse.persistence</groupId>
893 <artifactId>org.eclipse.persistence.antlr</artifactId>
894 <version>2.6.2</version>
897 <groupId>org.eclipse.persistence</groupId>
898 <artifactId>org.eclipse.persistence.core</artifactId>
899 <version>2.6.2</version>
902 <groupId>org.eclipse.persistence</groupId>
903 <artifactId>org.eclipse.persistence.moxy</artifactId>
904 <version>2.6.2</version>
907 <groupId>javax.validation</groupId>
908 <artifactId>validation-api</artifactId>
909 <version>1.1.0.Final</version>
912 <groupId>org.javassist</groupId>
913 <artifactId>javassist</artifactId>
914 <version>3.20.0-GA</version>
917 <groupId>org.jboss.spec.javax.transaction</groupId>
918 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
919 <version>1.0.1.Final</version>
922 <groupId>org.jolokia</groupId>
923 <artifactId>jolokia-osgi</artifactId>
924 <version>1.3.3</version>
927 <groupId>org.json</groupId>
928 <artifactId>json</artifactId>
929 <version>20131018</version>
932 <groupId>org.osgi</groupId>
933 <artifactId>org.osgi.compendium</artifactId>
934 <version>5.0.0</version>
935 <scope>provided</scope>
938 <groupId>org.osgi</groupId>
939 <artifactId>org.osgi.core</artifactId>
940 <version>${osgi.core.version}</version>
941 <scope>provided</scope>
944 <groupId>org.ow2.asm</groupId>
945 <artifactId>asm-all</artifactId>
946 <version>5.1</version>
948 <!-- Visual VM hook -->
950 <groupId>org.ow2.chameleon.management</groupId>
951 <artifactId>chameleon-mbeans</artifactId>
952 <version>1.0.0</version>
955 <groupId>org.springframework</groupId>
956 <artifactId>spring-aop</artifactId>
957 <version>3.2.17.RELEASE</version>
960 <groupId>org.springframework</groupId>
961 <artifactId>spring-beans</artifactId>
962 <version>3.2.17.RELEASE</version>
965 <groupId>org.springframework</groupId>
966 <artifactId>spring-context</artifactId>
967 <version>3.2.17.RELEASE</version>
970 <groupId>org.springframework</groupId>
971 <artifactId>spring-core</artifactId>
972 <version>3.2.17.RELEASE</version>
975 <groupId>org.springframework</groupId>
976 <artifactId>spring-expression</artifactId>
977 <version>3.2.17.RELEASE</version>
980 <groupId>org.springframework</groupId>
981 <artifactId>spring-tx</artifactId>
982 <version>3.2.17.RELEASE</version>
985 <groupId>org.springframework</groupId>
986 <artifactId>spring-web</artifactId>
987 <version>3.2.17.RELEASE</version>
990 <groupId>org.springframework</groupId>
991 <artifactId>spring-webmvc</artifactId>
992 <version>3.2.17.RELEASE</version>
994 <!-- Spring security -->
996 <groupId>org.springframework.security</groupId>
997 <artifactId>spring-security-config</artifactId>
998 <version>3.2.9.RELEASE</version>
1001 <groupId>org.springframework.security</groupId>
1002 <artifactId>spring-security-core</artifactId>
1003 <version>3.2.9.RELEASE</version>
1006 <groupId>org.springframework.security</groupId>
1007 <artifactId>spring-security-taglibs</artifactId>
1008 <version>3.2.9.RELEASE</version>
1011 <groupId>org.springframework.security</groupId>
1012 <artifactId>spring-security-web</artifactId>
1013 <version>3.2.9.RELEASE</version>
1016 <groupId>virgomirror</groupId>
1017 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1018 <version>3.8.0.I20120518-2145</version>
1021 <!-- Configuration library -->
1022 <!-- This needs to be kept in sync with the version used by akka -->
1024 <groupId>com.typesafe</groupId>
1025 <artifactId>config</artifactId>
1026 <version>1.3.0</version>
1029 <!-- Reactive Streams, used by Akka -->
1031 <groupId>org.reactivestreams</groupId>
1032 <artifactId>reactive-streams</artifactId>
1033 <version>1.0.0</version>
1038 <groupId>com.typesafe</groupId>
1039 <artifactId>ssl-config-akka_${scala.version}</artifactId>
1040 <version>0.2.1</version>
1043 <groupId>com.typesafe</groupId>
1044 <artifactId>ssl-config-core_${scala.version}</artifactId>
1045 <version>0.2.1</version>
1048 <groupId>com.typesafe.akka</groupId>
1049 <artifactId>akka-actor_${scala.version}</artifactId>
1050 <version>${akka.version}</version>
1053 <groupId>com.typesafe.akka</groupId>
1054 <artifactId>akka-cluster_${scala.version}</artifactId>
1055 <version>${akka.version}</version>
1058 <groupId>com.typesafe.akka</groupId>
1059 <artifactId>akka-distributed-data-experimental_${scala.version}</artifactId>
1060 <version>${akka.version}</version>
1063 <groupId>com.typesafe.akka</groupId>
1064 <artifactId>akka-osgi_${scala.version}</artifactId>
1065 <version>${akka.version}</version>
1068 <groupId>com.typesafe.akka</groupId>
1069 <artifactId>akka-persistence_${scala.version}</artifactId>
1070 <version>${akka.version}</version>
1073 <groupId>com.typesafe.akka</groupId>
1074 <artifactId>akka-protobuf_${scala.version}</artifactId>
1075 <version>${akka.version}</version>
1078 <groupId>com.typesafe.akka</groupId>
1079 <artifactId>akka-remote_${scala.version}</artifactId>
1080 <version>${akka.version}</version>
1083 <groupId>com.typesafe.akka</groupId>
1084 <artifactId>akka-slf4j_${scala.version}</artifactId>
1085 <version>${akka.version}</version>
1088 <groupId>com.typesafe.akka</groupId>
1089 <artifactId>akka-stream_${scala.version}</artifactId>
1090 <version>${akka.version}</version>
1093 <groupId>com.typesafe.akka</groupId>
1094 <artifactId>akka-testkit_${scala.version}</artifactId>
1095 <version>${akka.version}</version>
1099 <groupId>org.scala-lang.modules</groupId>
1100 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1101 <version>0.8.0</version>
1104 <groupId>org.scala-lang.modules</groupId>
1105 <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1106 <version>1.0.4</version>
1109 <groupId>org.iq80.leveldb</groupId>
1110 <artifactId>leveldb</artifactId>
1111 <version>${leveldb.version}</version>
1114 <groupId>org.fusesource.leveldbjni</groupId>
1115 <artifactId>leveldbjni-all</artifactId>
1116 <version>1.8-odl</version>
1119 <groupId>org.uncommons.maths</groupId>
1120 <artifactId>uncommons-maths</artifactId>
1121 <version>1.2.2a</version>
1124 <groupId>com.google.protobuf</groupId>
1125 <artifactId>protobuf-java</artifactId>
1126 <version>2.5.0</version>
1129 <!-- Aeron, required by Akka -->
1131 <groupId>org.agrona</groupId>
1132 <artifactId>Agrona</artifactId>
1133 <version>0.9.1</version>
1136 <groupId>io.aeron</groupId>
1137 <artifactId>aeron-client</artifactId>
1138 <version>1.0.5</version>
1141 <groupId>io.aeron</groupId>
1142 <artifactId>aeron-driver</artifactId>
1143 <version>1.0.5</version>
1148 <groupId>org.scala-lang</groupId>
1149 <artifactId>scala-library</artifactId>
1150 <version>${scala.version}.${scala.micro.version}</version>
1153 <groupId>org.scala-lang</groupId>
1154 <artifactId>scala-reflect</artifactId>
1155 <version>${scala.version}.${scala.micro.version}</version>
1158 <!-- LMAX Disruptor -->
1160 <groupId>com.lmax</groupId>
1161 <artifactId>disruptor</artifactId>
1162 <!-- If this is updated, the version in features.xml needs to be changed too -->
1163 <version>3.3.4</version>
1166 <!-- Add Pax Exam -->
1168 <groupId>org.ops4j.pax.exam</groupId>
1169 <artifactId>pax-exam</artifactId>
1170 <version>${exam.version}</version>
1174 <groupId>org.ops4j.pax.exam</groupId>
1175 <artifactId>pax-exam-container-karaf</artifactId>
1176 <version>${exam.version}</version>
1180 <groupId>org.ops4j.pax.exam</groupId>
1181 <artifactId>pax-exam-container-native</artifactId>
1182 <version>${exam.version}</version>
1186 <groupId>org.ops4j.pax.exam</groupId>
1187 <artifactId>pax-exam-junit4</artifactId>
1188 <version>${exam.version}</version>
1192 <groupId>org.ops4j.pax.exam</groupId>
1193 <artifactId>pax-exam-link-mvn</artifactId>
1194 <version>${exam.version}</version>
1199 <groupId>org.ops4j.pax.url</groupId>
1200 <artifactId>pax-url-aether</artifactId>
1201 <version>2.5.1</version>
1205 <groupId>org.ops4j.pax.url</groupId>
1206 <artifactId>pax-url-wrap</artifactId>
1207 <version>2.5.1</version>
1210 <groupId>org.springframework.osgi</groupId>
1211 <artifactId>spring-osgi-mock</artifactId>
1212 <version>1.2.1</version>
1216 <groupId>xmlunit</groupId>
1217 <artifactId>xmlunit</artifactId>
1218 <version>1.6</version>
1222 <groupId>org.eclipse.jetty</groupId>
1223 <artifactId>jetty-client</artifactId>
1224 <version>8.1.19.v20160209</version>
1227 <groupId>org.eclipse.jetty</groupId>
1228 <artifactId>jetty-server</artifactId>
1229 <version>8.1.19.v20160209</version>
1232 <groupId>org.eclipse.jetty</groupId>
1233 <artifactId>jetty-servlet-tester</artifactId>
1234 <version>8.1.19.v20160209</version>
1238 <groupId>org.eclipse.jetty</groupId>
1239 <artifactId>jetty-servlets</artifactId>
1240 <version>8.1.19.v20160209</version>
1243 <groupId>org.eclipse.jetty</groupId>
1244 <artifactId>jetty-webapp</artifactId>
1245 <version>8.1.19.v20160209</version>
1248 <groupId>org.apache.aries.blueprint</groupId>
1249 <artifactId>org.apache.aries.blueprint.core</artifactId>
1250 <version>1.4.2</version>
1253 <!-- Xtend http://xtend-lang.org
1254 NOTE: When you increase the version here,
1255 then remember to also increase it for the
1256 xtend-maven-plugin below! (We don't want to
1257 use a Maven property, in order not to "leak" that.)
1260 <groupId>org.eclipse.xtend</groupId>
1261 <artifactId>org.eclipse.xtend.lib</artifactId>
1262 <version>2.11.0.RC2</version>
1265 <groupId>org.eclipse.xtend</groupId>
1266 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1267 <version>2.11.0.RC2</version>
1270 <groupId>org.eclipse.xtext</groupId>
1271 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1272 <version>2.11.0.RC2</version>
1275 <!-- Annotations -->
1277 <groupId>javax.inject</groupId>
1278 <artifactId>javax.inject</artifactId>
1279 <version>1</version>
1284 <groupId>com.datastax.cassandra</groupId>
1285 <artifactId>cassandra-driver-core</artifactId>
1286 <version>2.1.9</version>
1291 <groupId>io.dropwizard.metrics</groupId>
1292 <artifactId>metrics-core</artifactId>
1293 <version>3.1.2</version>
1296 <groupId>io.dropwizard.metrics</groupId>
1297 <artifactId>metrics-graphite</artifactId>
1298 <version>3.1.2</version>
1301 <!-- Karaf console support -->
1303 <groupId>org.apache.karaf.shell</groupId>
1304 <artifactId>org.apache.karaf.shell.console</artifactId>
1305 <version>${karaf.version}</version>
1309 </dependencyManagement>
1312 <!-- Karaf provides SL4FJ encapsulation -->
1314 <groupId>org.slf4j</groupId>
1315 <artifactId>slf4j-api</artifactId>
1316 <scope>provided</scope>
1320 <groupId>org.slf4j</groupId>
1321 <artifactId>slf4j-simple</artifactId>
1325 <!-- Enable JSR-305 annotations everywhere -->
1327 <groupId>com.google.code.findbugs</groupId>
1328 <artifactId>annotations</artifactId>
1329 <scope>provided</scope>
1331 <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1333 <groupId>com.google.code.findbugs</groupId>
1334 <artifactId>jsr305</artifactId>
1335 <scope>provided</scope>
1338 <groupId>org.eclipse.jdt</groupId>
1339 <artifactId>org.eclipse.jdt.annotation</artifactId>
1340 <scope>provided</scope>
1347 <!-- Official maven plugins, alpha-sorted by artifactId.
1348 We do not need to specify the groupId. -->
1350 <artifactId>maven-antrun-plugin</artifactId>
1351 <version>${maven.antrun.plugin.version}</version>
1354 <artifactId>maven-checkstyle-plugin</artifactId>
1355 <version>${checkstyle.version}</version>
1358 <groupId>com.puppycrawl.tools</groupId>
1359 <artifactId>checkstyle</artifactId>
1360 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1361 <version>6.16</version>
1364 <groupId>org.opendaylight.odlparent</groupId>
1365 <artifactId>checkstyle</artifactId>
1366 <version>${odl.checkstyle.version}</version>
1369 <groupId>org.opendaylight.odlparent</groupId>
1370 <artifactId>odl-license</artifactId>
1371 <version>0.2.0-SNAPSHOT</version>
1374 <groupId>com.github.sevntu.checkstyle</groupId>
1375 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1376 <version>1.21.0</version>
1380 <configLocation>odl_checks.xml</configLocation>
1381 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1382 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1383 generated sources directory -->
1384 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1385 <includeResources>true</includeResources>
1386 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1387 <includeTestResources>true</includeTestResources>
1388 <includes>**\/*.java, **\/*.xtend</includes>
1390 org/opendaylight/yang/gen/**,
1391 **/protobuff/messages/**,
1392 **/thrift/gen/*.java
1394 <failsOnError>false</failsOnError>
1395 <consoleOutput>true</consoleOutput>
1399 <id>check-license</id>
1403 <phase>process-sources</phase>
1405 <configLocation>check-license.xml</configLocation>
1406 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1407 <includeResources>false</includeResources>
1408 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1409 <includeTestResources>false</includeTestResources>
1410 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1412 org/opendaylight/yang/gen/**,
1413 **/protobuff/messages/**,
1414 **/thrift/gen/*.java
1416 <failsOnError>false</failsOnError>
1417 <consoleOutput>true</consoleOutput>
1424 <phase>process-sources</phase>
1429 <groupId>org.apache.maven.plugins</groupId>
1430 <artifactId>maven-pmd-plugin</artifactId>
1431 <version>3.6</version>
1435 <phase>process-sources</phase>
1437 <goal>cpd-check</goal>
1440 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1441 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1442 <minimumTokens>101</minimumTokens>
1443 <printFailingErrors>true</printFailingErrors>
1445 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1446 not understand path prefixes nor wildcards. Details are available
1447 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1448 Hence people introducing new generated sources have to include
1451 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1452 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1454 <linkXRef>false</linkXRef>
1460 <artifactId>maven-compiler-plugin</artifactId>
1461 <version>${maven.compile.plugin.version}</version>
1463 <source>1.8</source>
1464 <target>1.8</target>
1466 <arg>-parameters</arg>
1471 <artifactId>maven-enforcer-plugin</artifactId>
1472 <version>${enforcer.version}</version>
1475 <artifactId>maven-failsafe-plugin</artifactId>
1476 <version>${failsafe.version}</version>
1479 <artifactId>maven-invoker-plugin</artifactId>
1480 <version>2.0.0</version>
1483 <artifactId>maven-jar-plugin</artifactId>
1484 <version>${maven.jar.version}</version>
1487 <artifactId>maven-dependency-plugin</artifactId>
1488 <version>2.10</version>
1491 <id>unpack-license</id>
1492 <phase>generate-resources</phase>
1493 <goals><goal>unpack</goal></goals>
1497 <groupId>org.opendaylight.odlparent</groupId>
1498 <artifactId>odl-license</artifactId>
1499 <version>0.2.0-SNAPSHOT</version>
1502 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1503 <excludes>META-INF/**</excludes>
1510 <artifactId>maven-plugin-plugin</artifactId>
1511 <version>${maven.plugin.version}</version>
1515 <artifactId>maven-resources-plugin</artifactId>
1516 <version>3.0.1</version>
1519 <artifactId>maven-shade-plugin</artifactId>
1520 <version>2.4.3</version>
1523 <artifactId>maven-source-plugin</artifactId>
1524 <version>3.0.1</version>
1527 <id>attach-sources</id>
1528 <phase>verify</phase>
1530 <goal>jar-no-fork</goal>
1536 <artifactId>maven-surefire-plugin</artifactId>
1537 <version>${maven.surefire.version}</version>
1539 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1540 <trimStackTrace>false</trimStackTrace>
1544 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1546 <!-- Support Blueprint XML construction using annotations -->
1547 <groupId>org.apache.aries.blueprint</groupId>
1548 <artifactId>blueprint-maven-plugin</artifactId>
1549 <version>1.4.0</version>
1552 <scanPath>org.opendaylight</scanPath>
1557 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1558 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1559 <groupId>org.apache.xbean</groupId>
1560 <artifactId>xbean-finder-shaded</artifactId>
1561 <version>4.5</version>
1567 <goal>blueprint-generate</goal>
1574 <groupId>org.apache.felix</groupId>
1575 <artifactId>maven-bundle-plugin</artifactId>
1576 <version>${maven.bundle.version}</version>
1577 <extensions>true</extensions>
1580 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1581 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1582 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1583 <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1589 <groupId>org.apache.karaf.tooling</groupId>
1590 <artifactId>karaf-maven-plugin</artifactId>
1591 <version>${karaf.version}</version>
1595 <groupId>org.apache.servicemix.tooling</groupId>
1596 <artifactId>depends-maven-plugin</artifactId>
1597 <version>1.3.1</version>
1600 <id>generate-depends-file</id>
1602 <goal>generate-depends-file</goal>
1609 <groupId>org.codehaus.enunciate</groupId>
1610 <artifactId>maven-enunciate-plugin</artifactId>
1611 <version>${enunciate.version}</version>
1614 <groupId>org.codehaus.groovy.maven</groupId>
1615 <artifactId>gmaven-plugin</artifactId>
1616 <version>1.0</version>
1619 <groupId>org.codehaus.mojo</groupId>
1620 <artifactId>build-helper-maven-plugin</artifactId>
1621 <version>1.12</version>
1624 <groupId>org.codehaus.mojo</groupId>
1625 <artifactId>findbugs-maven-plugin</artifactId>
1626 <version>3.0.4</version>
1629 <groupId>org.opendaylight.odlparent</groupId>
1630 <artifactId>findbugs</artifactId>
1631 <version>1.8.0-SNAPSHOT</version>
1636 Enables analysis which takes more memory but finds more bugs.
1637 If you run out of memory, changes the value of the effort element
1640 <effort>Max</effort>
1641 <!-- Reports all bugs (other values are medium and max) -->
1642 <threshold>Low</threshold>
1643 <!-- Build doesn't fail if problems are found -->
1644 <failOnError>false</failOnError>
1645 <!-- References the excluded rules -->
1646 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1647 <!-- Produces XML report -->
1648 <xmlOutput>true</xmlOutput>
1649 <!-- Configures the directory in which the XML report is created -->
1650 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1654 Ensures that FindBugs inspects source code when project is compiled.
1657 <id>analyze-compile</id>
1658 <phase>compile</phase>
1666 <groupId>org.codehaus.mojo</groupId>
1667 <artifactId>properties-maven-plugin</artifactId>
1668 <version>${propertymavenplugin.version}</version>
1671 <groupId>org.eclipse.xtend</groupId>
1672 <artifactId>xtend-maven-plugin</artifactId>
1673 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1674 <version>2.11.0.RC2</version>
1678 <goal>compile</goal>
1679 <goal>testCompile</goal>
1682 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1683 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1689 <groupId>org.eclipse.m2e</groupId>
1690 <artifactId>lifecycle-mapping</artifactId>
1691 <version>1.0.0</version>
1693 <lifecycleMappingMetadata>
1696 <pluginExecutionFilter>
1697 <groupId>org.apache.felix</groupId>
1698 <artifactId>maven-bundle-plugin</artifactId>
1699 <versionRange>[1.0,)</versionRange>
1701 <goal>manifest</goal>
1703 </pluginExecutionFilter>
1709 <pluginExecutionFilter>
1710 <groupId>org.apache.maven.plugins</groupId>
1711 <artifactId>maven-enforcer-plugin</artifactId>
1712 <versionRange>[1.0.0,)</versionRange>
1714 <goal>enforce</goal>
1716 </pluginExecutionFilter>
1722 <pluginExecutionFilter>
1723 <groupId>org.apache.maven.plugins</groupId>
1724 <artifactId>maven-dependency-plugin</artifactId>
1725 <versionRange>[2.10,)</versionRange>
1729 </pluginExecutionFilter>
1735 <pluginExecutionFilter>
1736 <groupId>org.apache.maven.plugins</groupId>
1737 <artifactId>maven-pmd-plugin</artifactId>
1738 <versionRange>[3.6,)</versionRange>
1740 <goal>cpd-check</goal>
1742 </pluginExecutionFilter>
1747 <!-- The plugin will eventually be removed, remove this too at that point -->
1749 <pluginExecutionFilter>
1750 <groupId>org.apache.maven.plugins</groupId>
1751 <artifactId>maven-antrun-plugin</artifactId>
1752 <versionRange>[1.8,)</versionRange>
1756 </pluginExecutionFilter>
1762 <pluginExecutionFilter>
1763 <groupId>org.apache.servicemix.tooling</groupId>
1764 <artifactId>depends-maven-plugin</artifactId>
1765 <versionRange>[1.2,)</versionRange>
1767 <goal>generate-depends-file</goal>
1769 </pluginExecutionFilter>
1775 <pluginExecutionFilter>
1776 <groupId>org.jacoco</groupId>
1777 <artifactId>jacoco-maven-plugin</artifactId>
1778 <versionRange>[0.7.0,)</versionRange>
1780 <goal>prepare-agent</goal>
1783 </pluginExecutionFilter>
1790 <pluginExecutionFilter>
1791 <groupId>org.ops4j.pax.exam</groupId>
1792 <artifactId>maven-paxexam-plugin</artifactId>
1793 <versionRange>[1.2.4,)</versionRange>
1795 <goal>generate-depends-file</goal>
1797 </pluginExecutionFilter>
1804 </lifecycleMappingMetadata>
1809 <groupId>org.jacoco</groupId>
1810 <artifactId>jacoco-maven-plugin</artifactId>
1811 <version>${jacoco.version}</version>
1813 <!-- Note: This exclusion list should match <sonar.exclusions>
1816 <exclude>**/gen/**</exclude>
1817 <exclude>**/generated-sources/**</exclude>
1818 <exclude>**/generated-test-sources/**</exclude>
1819 <exclude>**/yang-gen/**</exclude>
1820 <exclude>**/yang-gen-config/**</exclude>
1821 <exclude>**/yang-gen-sal/**</exclude>
1822 <exclude>**/yang-gen-code/**</exclude>
1823 <exclude>**/pax/**</exclude>
1829 <groupId>org.ops4j.pax.exam</groupId>
1830 <artifactId>maven-paxexam-plugin</artifactId>
1831 <version>1.2.4</version>
1835 <groupId>org.codehaus.mojo</groupId>
1836 <artifactId>jdepend-maven-plugin</artifactId>
1837 <version>2.0</version>
1842 <goal>generate-no-fork</goal>
1852 <artifactId>maven-dependency-plugin</artifactId>
1855 <artifactId>maven-checkstyle-plugin</artifactId>
1858 <artifactId>maven-pmd-plugin</artifactId>
1861 <artifactId>maven-source-plugin</artifactId>
1864 <artifactId>maven-javadoc-plugin</artifactId>
1867 <!-- Jacoco / Sonar -->
1869 <groupId>org.jacoco</groupId>
1870 <artifactId>jacoco-maven-plugin</artifactId>
1873 <id>pre-unit-test</id>
1875 <goal>prepare-agent</goal>
1878 <destFile>${sonar.jacoco.reportPath}</destFile>
1882 <id>post-unit-test</id>
1887 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1894 <groupId>com.alexecollins.maven.plugin</groupId>
1895 <artifactId>script-maven-plugin</artifactId>
1896 <version>1.0.0</version>
1899 <phase>prepare-package</phase>
1901 <goal>execute</goal>
1905 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1906 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1907 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1908 // static class methods only - it will be MUCH easier to write!)
1909 void copy(File root, String glob, File target) {
1910 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1911 Iterator dirStreamIterator = dirStream.iterator();
1912 while (dirStreamIterator.hasNext()) {
1913 java.nio.file.Path path = dirStreamIterator.next();
1914 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1915 new java.nio.file.CopyOption[] {
1916 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1917 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1924 File gitRepoRootDir = project.basedir;
1925 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1926 gitRepoRootDir = gitRepoRootDir.getParentFile();
1929 File target = new File(project.build.outputDirectory);
1931 copy(gitRepoRootDir, "README*", target);
1932 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1933 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1940 <groupId>org.apache-extras.beanshell</groupId>
1941 <artifactId>bsh</artifactId>
1942 <version>2.0b6</version>
1947 <!-- Blueprint dependency injection -->
1948 <!-- Remove when upgrading to plugin 1.5.0, and use
1949 <configuration><generatedDir>org/opendaylight/blueprint/</...></...> -->
1950 <!-- See https://issues.apache.org/jira/browse/ARIES-1597 -->
1952 <artifactId>maven-antrun-plugin</artifactId>
1954 <!-- This should only run once, in the process-classes phase; but we need it to run after
1955 process-classes in child projects. Attaching to process-test-classes and prepare-package
1956 ensures that the file will be moved whether tests are skipped or not. -->
1958 <id>move-autowire-test</id>
1959 <phase>process-test-classes</phase>
1965 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1966 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1967 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1968 failonerror="false" quiet="true" />
1973 <id>move-autowire-package</id>
1974 <phase>prepare-package</phase>
1980 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1981 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
1982 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
1983 failonerror="false" quiet="true" />
1995 <artifactId>maven-checkstyle-plugin</artifactId>
1996 <version>${checkstyle.version}</version>
1999 <!-- FIXME: activate this
2001 <artifactId>maven-project-info-reports-plugin</artifactId>
2002 <version>${projectinfo}</version>
2005 <groupId>org.codehaus.mojo</groupId>
2006 <artifactId>jdepend-maven-plugin</artifactId>
2010 <report>generate-no-fork</report>
2016 <artifactId>maven-javadoc-plugin</artifactId>
2019 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2020 <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
2021 <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
2022 <link>http://netty.io/4.0/api/</link>
2030 Maven Site Configuration
2032 The following configuration is necessary for maven-site-plugin to
2033 correctly identify the correct deployment path for OpenDaylight Maven
2036 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2038 <distributionManagement>
2040 <id>opendaylight-site</id>
2041 <url>${nexus.site.url}/${project.artifactId}/</url>
2043 </distributionManagement>