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.6.1</maven.compile.plugin.version>
57 <!-- Used in controller, coretutorials, mdsal, snbi, yangtools -->
58 <maven.javadoc.version>2.10.4</maven.javadoc.version>
60 <maven.plugin.version>3.5</maven.plugin.version>
61 <!-- Used in neutron, of-config, tsdr, yangtools -->
62 <!-- Later versions break tests in downstream projects -->
63 <maven.surefire.version>2.18.1</maven.surefire.version>
65 <!-- Maven plugin versions, in random formats -->
66 <!-- Used in aaa, alto, controller, didm, tsdr; see also affinity, snmp4sdn, toolkit, ttp -->
67 <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
68 <!-- TODO rename checkstyle.version to checkstyle.(maven.)plugin.version,
69 or just remove it, incl. all usages of it in a number of pom.xml; because normally,
70 as maven-checkstyle-plugin is in pluginManagement, this should not have to be repeated. -->
71 <!-- Used in alto, controller, lacp, netide, openflowjava, packetcable, snmp4sdn, ttp; see also affinity, opendove,
73 <checkstyle.version>2.17</checkstyle.version>
74 <!-- Used in controller, packetcable -->
75 <odl.checkstyle.version>0.3.0-SNAPSHOT</odl.checkstyle.version>
76 <!-- Used in snmp4sdn; see also toolkit -->
77 <compiler.version>${maven.compile.plugin.version}</compiler.version>
78 <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
79 <enforcer.version>1.4.1</enforcer.version>
80 <!-- Used in affinity, controller, nemo, opendove, snmp4sdn -->
81 <enunciate.version>1.31</enunciate.version>
82 <!-- Used in affinity, coretutorials, netide -->
83 <exam.version>4.10.0</exam.version>
84 <!-- Used in affinity, controller, neutron, of-config; see also snmp4sdn -->
85 <!-- Later versions break tests in downstream projects -->
86 <failsafe.version>2.18.1</failsafe.version>
87 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
88 <jacoco.version>0.7.7.201606060606</jacoco.version>
89 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
90 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
91 <karaf.version>3.0.8</karaf.version>
92 <karaf4.version>4.0.9</karaf4.version>
93 <karaf4.plugin.version>4.0.9</karaf4.plugin.version>
94 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
95 <projectinfo>2.8.1</projectinfo>
96 <!-- Used in of-config; see also snmp4sdn -->
97 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
98 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
99 <releaseplugin.version>2.5.3</releaseplugin.version>
101 <!-- Supporting Libraries -->
102 <!-- Used by controller -->
103 <bouncycastle.version>1.56</bouncycastle.version>
105 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
106 <osgi.core.version>5.0.0</osgi.core.version>
108 <akka.version>2.4.17</akka.version>
109 <scala.version>2.11</scala.version>
110 <scala.micro.version>8</scala.micro.version>
111 <leveldb.version>0.7</leveldb.version>
113 <!-- Default Sonar configuration -->
114 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
115 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
116 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
117 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
118 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
119 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
121 <pmd.cpd.fail>false</pmd.cpd.fail>
124 <dependencyManagement>
128 <groupId>org.opendaylight.odlparent</groupId>
129 <artifactId>odlparent-artifacts</artifactId>
130 <version>1.8.0-SNAPSHOT</version>
131 <scope>import</scope>
135 <!-- Build tool dependencies (normally not here in <dependencies>,
136 but in a <dependency> in <pluginManagement> but for Checkstyle this
137 is required so that we can share the same version of Checkstyle
138 for both the Maven plugin below as well as for custom Checkstyle
139 check rule projects, such as yangtools' checkstyle-logging) -->
141 <groupId>com.puppycrawl.tools</groupId>
142 <artifactId>checkstyle</artifactId>
143 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
144 <version>6.16</version>
147 <!-- Testing Dependencies -->
148 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
149 <!-- Need to stick to JUnit 4.11 until
150 https://github.com/jayway/powermock/issues/560 is fixed (either in
151 PowerMock or with a new JUnit release) -->
153 <groupId>junit</groupId>
154 <artifactId>junit</artifactId>
155 <version>4.11</version>
159 <groupId>junit</groupId>
160 <artifactId>junit-dep</artifactId>
161 <version>4.11</version>
165 <groupId>org.skyscreamer</groupId>
166 <artifactId>jsonassert</artifactId>
167 <version>1.3.0</version>
170 <!-- Bug 7662: TODO eventually remove mockito-all, because its use is now forbidden via a new rule of maven-enforcer-plugin below
171 It wasn't immediately removed together with the introduction of the maven-enforcer-plugin, because while we transition
172 to replace all uses of mockito-all by mockito-core in all of ODL downstream projects, its much clearer to get a
173 maven-enforcer-plugin violation message than suddenly a confusing 'dependencies.dependency.version' for org.mockito:mockito-all:jar is missing -->
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.9</version>
306 <groupId>ch.qos.logback</groupId>
307 <artifactId>logback-classic</artifactId>
308 <version>1.1.9</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.5</version>
551 <groupId>commons-net</groupId>
552 <artifactId>commons-net</artifactId>
553 <version>3.6</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.8.Final</version>
692 <groupId>io.netty</groupId>
693 <artifactId>netty-buffer</artifactId>
694 <version>4.1.8.Final</version>
697 <groupId>io.netty</groupId>
698 <artifactId>netty-codec</artifactId>
699 <version>4.1.8.Final</version>
702 <groupId>io.netty</groupId>
703 <artifactId>netty-codec-http</artifactId>
704 <version>4.1.8.Final</version>
707 <groupId>io.netty</groupId>
708 <artifactId>netty-common</artifactId>
709 <version>4.1.8.Final</version>
712 <groupId>io.netty</groupId>
713 <artifactId>netty-handler</artifactId>
714 <version>4.1.8.Final</version>
717 <groupId>io.netty</groupId>
718 <artifactId>netty-transport</artifactId>
719 <version>4.1.8.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.8.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-osgi_${scala.version}</artifactId>
1060 <version>${akka.version}</version>
1063 <groupId>com.typesafe.akka</groupId>
1064 <artifactId>akka-persistence_${scala.version}</artifactId>
1065 <version>${akka.version}</version>
1068 <groupId>com.typesafe.akka</groupId>
1069 <artifactId>akka-persistence-tck_${scala.version}</artifactId>
1070 <version>${akka.version}</version>
1074 <groupId>com.typesafe.akka</groupId>
1075 <artifactId>akka-protobuf_${scala.version}</artifactId>
1076 <version>${akka.version}</version>
1079 <groupId>com.typesafe.akka</groupId>
1080 <artifactId>akka-remote_${scala.version}</artifactId>
1081 <version>${akka.version}</version>
1084 <groupId>com.typesafe.akka</groupId>
1085 <artifactId>akka-slf4j_${scala.version}</artifactId>
1086 <version>${akka.version}</version>
1089 <groupId>com.typesafe.akka</groupId>
1090 <artifactId>akka-stream_${scala.version}</artifactId>
1091 <version>${akka.version}</version>
1094 <groupId>com.typesafe.akka</groupId>
1095 <artifactId>akka-testkit_${scala.version}</artifactId>
1096 <version>${akka.version}</version>
1100 <groupId>org.scala-lang.modules</groupId>
1101 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1102 <version>0.8.0</version>
1105 <groupId>org.scala-lang.modules</groupId>
1106 <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1107 <version>1.0.4</version>
1110 <groupId>org.iq80.leveldb</groupId>
1111 <artifactId>leveldb</artifactId>
1112 <version>${leveldb.version}</version>
1115 <groupId>org.fusesource.leveldbjni</groupId>
1116 <artifactId>leveldbjni-all</artifactId>
1117 <version>1.8-odl</version>
1120 <groupId>org.uncommons.maths</groupId>
1121 <artifactId>uncommons-maths</artifactId>
1122 <version>1.2.2a</version>
1125 <groupId>com.google.protobuf</groupId>
1126 <artifactId>protobuf-java</artifactId>
1127 <version>2.5.0</version>
1130 <!-- Aeron, required by Akka -->
1132 <groupId>org.agrona</groupId>
1133 <artifactId>agrona</artifactId>
1134 <version>0.9.2</version>
1137 <groupId>io.aeron</groupId>
1138 <artifactId>aeron-client</artifactId>
1139 <version>1.1.0</version>
1142 <groupId>io.aeron</groupId>
1143 <artifactId>aeron-driver</artifactId>
1144 <version>1.1.0</version>
1149 <groupId>org.scala-lang</groupId>
1150 <artifactId>scala-library</artifactId>
1151 <version>${scala.version}.${scala.micro.version}</version>
1154 <groupId>org.scala-lang</groupId>
1155 <artifactId>scala-reflect</artifactId>
1156 <version>${scala.version}.${scala.micro.version}</version>
1159 <!-- LMAX Disruptor -->
1161 <groupId>com.lmax</groupId>
1162 <artifactId>disruptor</artifactId>
1163 <!-- If this is updated, the version in features.xml needs to be changed too -->
1164 <version>3.3.6</version>
1167 <!-- Add Pax Exam -->
1169 <groupId>org.ops4j.pax.exam</groupId>
1170 <artifactId>pax-exam</artifactId>
1171 <version>${exam.version}</version>
1175 <groupId>org.ops4j.pax.exam</groupId>
1176 <artifactId>pax-exam-container-karaf</artifactId>
1177 <version>${exam.version}</version>
1181 <groupId>org.ops4j.pax.exam</groupId>
1182 <artifactId>pax-exam-container-native</artifactId>
1183 <version>${exam.version}</version>
1187 <groupId>org.ops4j.pax.exam</groupId>
1188 <artifactId>pax-exam-junit4</artifactId>
1189 <version>${exam.version}</version>
1193 <groupId>org.ops4j.pax.exam</groupId>
1194 <artifactId>pax-exam-link-mvn</artifactId>
1195 <version>${exam.version}</version>
1200 <groupId>org.ops4j.pax.url</groupId>
1201 <artifactId>pax-url-aether</artifactId>
1202 <version>2.5.1</version>
1206 <groupId>org.ops4j.pax.url</groupId>
1207 <artifactId>pax-url-wrap</artifactId>
1208 <version>2.5.1</version>
1211 <groupId>org.springframework.osgi</groupId>
1212 <artifactId>spring-osgi-mock</artifactId>
1213 <version>1.2.1</version>
1217 <groupId>xmlunit</groupId>
1218 <artifactId>xmlunit</artifactId>
1219 <version>1.6</version>
1223 <groupId>org.eclipse.jetty</groupId>
1224 <artifactId>jetty-client</artifactId>
1225 <version>9.2.19.v20160908</version>
1228 <groupId>org.eclipse.jetty</groupId>
1229 <artifactId>jetty-server</artifactId>
1230 <version>9.2.19.v20160908</version>
1233 <groupId>org.eclipse.jetty</groupId>
1234 <artifactId>jetty-servlet-tester</artifactId>
1235 <version>9.2.19.v20160908</version>
1239 <groupId>org.eclipse.jetty</groupId>
1240 <artifactId>jetty-servlets</artifactId>
1241 <version>9.2.19.v20160908</version>
1244 <groupId>org.eclipse.jetty</groupId>
1245 <artifactId>jetty-webapp</artifactId>
1246 <version>9.2.19.v20160908</version>
1249 <groupId>org.apache.aries.blueprint</groupId>
1250 <artifactId>org.apache.aries.blueprint.core</artifactId>
1251 <version>1.4.2</version>
1255 <groupId>com.h2database</groupId>
1256 <artifactId>h2</artifactId>
1257 <version>1.4.191</version>
1260 <!-- Xtend http://xtend-lang.org
1261 NOTE: When you increase the version here,
1262 then remember to also increase it for the
1263 xtend-maven-plugin below! (We don't want to
1264 use a Maven property, in order not to "leak" that.)
1267 <groupId>org.eclipse.xtend</groupId>
1268 <artifactId>org.eclipse.xtend.lib</artifactId>
1269 <version>2.11.0</version>
1272 <groupId>org.eclipse.xtend</groupId>
1273 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1274 <version>2.11.0</version>
1277 <groupId>org.eclipse.xtext</groupId>
1278 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1279 <version>2.11.0</version>
1282 <!-- Annotations -->
1284 <groupId>javax.inject</groupId>
1285 <artifactId>javax.inject</artifactId>
1286 <version>1</version>
1291 <groupId>com.datastax.cassandra</groupId>
1292 <artifactId>cassandra-driver-core</artifactId>
1293 <version>2.1.9</version>
1298 <groupId>io.dropwizard.metrics</groupId>
1299 <artifactId>metrics-core</artifactId>
1300 <version>3.1.2</version>
1303 <groupId>io.dropwizard.metrics</groupId>
1304 <artifactId>metrics-graphite</artifactId>
1305 <version>3.1.2</version>
1308 <!-- Karaf console support -->
1310 <groupId>org.apache.karaf.shell</groupId>
1311 <artifactId>org.apache.karaf.shell.console</artifactId>
1312 <version>${karaf.version}</version>
1316 </dependencyManagement>
1319 <!-- Karaf provides SL4FJ encapsulation -->
1321 <groupId>org.slf4j</groupId>
1322 <artifactId>slf4j-api</artifactId>
1323 <scope>provided</scope>
1327 <groupId>org.slf4j</groupId>
1328 <artifactId>slf4j-simple</artifactId>
1332 <!-- Enable JSR-305 annotations everywhere -->
1334 <groupId>com.google.code.findbugs</groupId>
1335 <artifactId>annotations</artifactId>
1336 <scope>provided</scope>
1338 <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1340 <groupId>com.google.code.findbugs</groupId>
1341 <artifactId>jsr305</artifactId>
1342 <scope>provided</scope>
1345 <groupId>org.eclipse.jdt</groupId>
1346 <artifactId>org.eclipse.jdt.annotation</artifactId>
1347 <scope>provided</scope>
1354 <!-- Official maven plugins, alpha-sorted by artifactId.
1355 We do not need to specify the groupId. -->
1357 <artifactId>maven-antrun-plugin</artifactId>
1358 <version>1.8</version>
1361 <artifactId>maven-checkstyle-plugin</artifactId>
1362 <version>${checkstyle.version}</version>
1365 <groupId>com.puppycrawl.tools</groupId>
1366 <artifactId>checkstyle</artifactId>
1367 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1368 <version>6.16</version>
1371 <groupId>org.opendaylight.odlparent</groupId>
1372 <artifactId>checkstyle</artifactId>
1373 <version>${odl.checkstyle.version}</version>
1376 <groupId>org.opendaylight.odlparent</groupId>
1377 <artifactId>odl-license</artifactId>
1378 <version>0.2.0-SNAPSHOT</version>
1381 <groupId>com.github.sevntu.checkstyle</groupId>
1382 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1383 <version>1.21.0</version>
1387 <configLocation>odl_checks.xml</configLocation>
1388 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1389 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1390 generated sources directory -->
1391 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1392 <includeResources>true</includeResources>
1393 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1394 <includeTestResources>true</includeTestResources>
1395 <includes>**\/*.java, **\/*.xtend</includes>
1397 org/opendaylight/yang/gen/**,
1398 **/protobuff/messages/**,
1399 **/thrift/gen/*.java
1401 <failsOnError>false</failsOnError>
1402 <consoleOutput>true</consoleOutput>
1406 <id>check-license</id>
1410 <phase>process-sources</phase>
1412 <configLocation>check-license.xml</configLocation>
1413 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1414 <includeResources>false</includeResources>
1415 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1416 <includeTestResources>false</includeTestResources>
1417 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1419 org/opendaylight/yang/gen/**,
1420 **/protobuff/messages/**,
1421 **/thrift/gen/*.java
1423 <failsOnError>false</failsOnError>
1424 <consoleOutput>true</consoleOutput>
1431 <phase>process-sources</phase>
1436 <groupId>org.apache.maven.plugins</groupId>
1437 <artifactId>maven-pmd-plugin</artifactId>
1438 <version>3.6</version>
1442 <phase>process-sources</phase>
1444 <goal>cpd-check</goal>
1447 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1448 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1449 <minimumTokens>101</minimumTokens>
1450 <printFailingErrors>true</printFailingErrors>
1452 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1453 not understand path prefixes nor wildcards. Details are available
1454 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1455 Hence people introducing new generated sources have to include
1458 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1459 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1461 <linkXRef>false</linkXRef>
1467 <artifactId>maven-compiler-plugin</artifactId>
1468 <version>${maven.compile.plugin.version}</version>
1470 <source>1.8</source>
1471 <target>1.8</target>
1473 <arg>-parameters</arg>
1478 <artifactId>maven-enforcer-plugin</artifactId>
1479 <version>${enforcer.version}</version>
1482 <artifactId>maven-failsafe-plugin</artifactId>
1483 <version>${failsafe.version}</version>
1486 <artifactId>maven-invoker-plugin</artifactId>
1487 <version>2.0.0</version>
1490 <artifactId>maven-jar-plugin</artifactId>
1491 <version>3.0.2</version>
1494 <artifactId>maven-dependency-plugin</artifactId>
1495 <version>2.10</version>
1498 <id>unpack-license</id>
1499 <phase>generate-resources</phase>
1500 <goals><goal>unpack</goal></goals>
1504 <groupId>org.opendaylight.odlparent</groupId>
1505 <artifactId>odl-license</artifactId>
1506 <version>0.2.0-SNAPSHOT</version>
1509 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1510 <excludes>META-INF/**</excludes>
1517 <artifactId>maven-plugin-plugin</artifactId>
1518 <version>${maven.plugin.version}</version>
1522 <artifactId>maven-remote-resources-plugin</artifactId>
1523 <version>1.5</version>
1526 <artifactId>maven-resources-plugin</artifactId>
1527 <version>3.0.1</version>
1530 <artifactId>maven-shade-plugin</artifactId>
1531 <version>2.4.3</version>
1534 <artifactId>maven-source-plugin</artifactId>
1535 <version>3.0.1</version>
1538 <id>attach-sources</id>
1539 <phase>verify</phase>
1541 <goal>jar-no-fork</goal>
1547 <artifactId>maven-surefire-plugin</artifactId>
1548 <version>${maven.surefire.version}</version>
1550 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1551 <trimStackTrace>false</trimStackTrace>
1555 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1557 <!-- Support Blueprint XML construction using annotations -->
1558 <groupId>org.apache.aries.blueprint</groupId>
1559 <artifactId>blueprint-maven-plugin</artifactId>
1560 <version>1.4.0</version>
1563 <scanPath>org.opendaylight</scanPath>
1568 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1569 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1570 <groupId>org.apache.xbean</groupId>
1571 <artifactId>xbean-finder-shaded</artifactId>
1572 <version>4.5</version>
1578 <goal>blueprint-generate</goal>
1585 <groupId>org.apache.felix</groupId>
1586 <artifactId>maven-bundle-plugin</artifactId>
1587 <version>${maven.bundle.version}</version>
1588 <extensions>true</extensions>
1591 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1592 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1593 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1594 <Include-Resource>{maven-resources},target/classes/LICENSE,META-INF/git.properties=-target/classes/META-INF/git.properties</Include-Resource>
1600 <groupId>org.apache.karaf.tooling</groupId>
1601 <artifactId>karaf-maven-plugin</artifactId>
1602 <version>${karaf.version}</version>
1606 <groupId>org.apache.servicemix.tooling</groupId>
1607 <artifactId>depends-maven-plugin</artifactId>
1608 <version>1.3.1</version>
1611 <id>generate-depends-file</id>
1613 <goal>generate-depends-file</goal>
1620 <groupId>org.codehaus.enunciate</groupId>
1621 <artifactId>maven-enunciate-plugin</artifactId>
1622 <version>${enunciate.version}</version>
1625 <groupId>org.codehaus.groovy.maven</groupId>
1626 <artifactId>gmaven-plugin</artifactId>
1627 <version>1.0</version>
1630 <groupId>org.codehaus.mojo</groupId>
1631 <artifactId>build-helper-maven-plugin</artifactId>
1632 <version>1.12</version>
1635 <groupId>org.codehaus.mojo</groupId>
1636 <artifactId>findbugs-maven-plugin</artifactId>
1637 <version>3.0.4</version>
1640 <groupId>org.opendaylight.odlparent</groupId>
1641 <artifactId>findbugs</artifactId>
1642 <version>1.8.0-SNAPSHOT</version>
1647 Enables analysis which takes more memory but finds more bugs.
1648 If you run out of memory, changes the value of the effort element
1651 <effort>Max</effort>
1652 <!-- Reports all bugs (other values are medium and max) -->
1653 <threshold>Low</threshold>
1654 <!-- Build doesn't fail if problems are found -->
1655 <failOnError>false</failOnError>
1656 <!-- References the excluded rules -->
1657 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1658 <!-- Produces XML report -->
1659 <xmlOutput>true</xmlOutput>
1660 <!-- Configures the directory in which the XML report is created -->
1661 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1665 Ensures that FindBugs inspects source code when project is compiled.
1668 <id>analyze-compile</id>
1669 <phase>compile</phase>
1677 <groupId>org.codehaus.mojo</groupId>
1678 <artifactId>properties-maven-plugin</artifactId>
1679 <version>${propertymavenplugin.version}</version>
1682 <groupId>org.eclipse.xtend</groupId>
1683 <artifactId>xtend-maven-plugin</artifactId>
1684 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1685 <version>2.11.0</version>
1689 <goal>compile</goal>
1690 <goal>testCompile</goal>
1693 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1694 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1700 <groupId>org.eclipse.m2e</groupId>
1701 <artifactId>lifecycle-mapping</artifactId>
1702 <version>1.0.0</version>
1704 <lifecycleMappingMetadata>
1707 <pluginExecutionFilter>
1708 <groupId>org.apache.felix</groupId>
1709 <artifactId>maven-bundle-plugin</artifactId>
1710 <versionRange>[1.0,)</versionRange>
1712 <goal>manifest</goal>
1714 </pluginExecutionFilter>
1720 <pluginExecutionFilter>
1721 <groupId>org.apache.maven.plugins</groupId>
1722 <artifactId>maven-enforcer-plugin</artifactId>
1723 <versionRange>[1.0.0,)</versionRange>
1725 <goal>enforce</goal>
1727 </pluginExecutionFilter>
1733 <pluginExecutionFilter>
1734 <groupId>org.apache.maven.plugins</groupId>
1735 <artifactId>maven-dependency-plugin</artifactId>
1736 <versionRange>[2.10,)</versionRange>
1740 </pluginExecutionFilter>
1746 <pluginExecutionFilter>
1747 <groupId>org.apache.maven.plugins</groupId>
1748 <artifactId>maven-pmd-plugin</artifactId>
1749 <versionRange>[3.6,)</versionRange>
1751 <goal>cpd-check</goal>
1753 </pluginExecutionFilter>
1758 <!-- The plugin will eventually be removed, remove this too at that point -->
1760 <pluginExecutionFilter>
1761 <groupId>org.apache.maven.plugins</groupId>
1762 <artifactId>maven-antrun-plugin</artifactId>
1763 <versionRange>[1.8,)</versionRange>
1767 </pluginExecutionFilter>
1773 <pluginExecutionFilter>
1774 <groupId>org.apache.servicemix.tooling</groupId>
1775 <artifactId>depends-maven-plugin</artifactId>
1776 <versionRange>[1.2,)</versionRange>
1778 <goal>generate-depends-file</goal>
1780 </pluginExecutionFilter>
1786 <pluginExecutionFilter>
1787 <groupId>org.jacoco</groupId>
1788 <artifactId>jacoco-maven-plugin</artifactId>
1789 <versionRange>[0.7.0,)</versionRange>
1791 <goal>prepare-agent</goal>
1794 </pluginExecutionFilter>
1801 <pluginExecutionFilter>
1802 <groupId>org.ops4j.pax.exam</groupId>
1803 <artifactId>maven-paxexam-plugin</artifactId>
1804 <versionRange>[1.2.4,)</versionRange>
1806 <goal>generate-depends-file</goal>
1808 </pluginExecutionFilter>
1815 </lifecycleMappingMetadata>
1820 <groupId>org.jacoco</groupId>
1821 <artifactId>jacoco-maven-plugin</artifactId>
1822 <version>${jacoco.version}</version>
1824 <!-- Note: This exclusion list should match <sonar.exclusions>
1827 <exclude>**/gen/**</exclude>
1828 <exclude>**/generated-sources/**</exclude>
1829 <exclude>**/generated-test-sources/**</exclude>
1830 <exclude>**/yang-gen/**</exclude>
1831 <exclude>**/yang-gen-config/**</exclude>
1832 <exclude>**/yang-gen-sal/**</exclude>
1833 <exclude>**/yang-gen-code/**</exclude>
1834 <exclude>**/pax/**</exclude>
1840 <groupId>org.ops4j.pax.exam</groupId>
1841 <artifactId>maven-paxexam-plugin</artifactId>
1842 <version>1.2.4</version>
1846 <groupId>org.codehaus.mojo</groupId>
1847 <artifactId>jdepend-maven-plugin</artifactId>
1848 <version>2.0</version>
1853 <goal>generate-no-fork</goal>
1863 <artifactId>maven-enforcer-plugin</artifactId>
1866 <id>enforce-banned-dependencies</id>
1868 <goal>enforce</goal>
1872 <bannedDependencies>
1873 <message>Please always use mockito-core instead of mockito-all (https://bugs.opendaylight.org/show_bug.cgi?id=7662)</message>
1875 <exclude>org.mockito:mockito-all</exclude>
1877 </bannedDependencies>
1885 <artifactId>maven-dependency-plugin</artifactId>
1888 <artifactId>maven-checkstyle-plugin</artifactId>
1891 <artifactId>maven-pmd-plugin</artifactId>
1894 <artifactId>maven-source-plugin</artifactId>
1897 <artifactId>maven-javadoc-plugin</artifactId>
1900 <!-- Jacoco / Sonar -->
1902 <groupId>org.jacoco</groupId>
1903 <artifactId>jacoco-maven-plugin</artifactId>
1906 <id>pre-unit-test</id>
1908 <goal>prepare-agent</goal>
1911 <destFile>${sonar.jacoco.reportPath}</destFile>
1915 <id>post-unit-test</id>
1920 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1927 <groupId>com.alexecollins.maven.plugin</groupId>
1928 <artifactId>script-maven-plugin</artifactId>
1929 <version>1.0.0</version>
1932 <phase>prepare-package</phase>
1934 <goal>execute</goal>
1938 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1939 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1940 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1941 // static class methods only - it will be MUCH easier to write!)
1942 void copy(File root, String glob, File target) {
1943 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1944 Iterator dirStreamIterator = dirStream.iterator();
1945 while (dirStreamIterator.hasNext()) {
1946 java.nio.file.Path path = dirStreamIterator.next();
1947 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1948 new java.nio.file.CopyOption[] {
1949 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1950 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1957 File gitRepoRootDir = project.basedir;
1958 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1959 gitRepoRootDir = gitRepoRootDir.getParentFile();
1962 File target = new File(project.build.outputDirectory);
1964 copy(gitRepoRootDir, "README*", target);
1965 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1966 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1973 <groupId>org.apache-extras.beanshell</groupId>
1974 <artifactId>bsh</artifactId>
1975 <version>2.0b6</version>
1980 <!-- Blueprint dependency injection -->
1981 <!-- Remove when upgrading to plugin 1.5.0, and use
1982 <configuration><generatedDir>org/opendaylight/blueprint/</...></...> -->
1983 <!-- See https://issues.apache.org/jira/browse/ARIES-1597 -->
1985 <artifactId>maven-antrun-plugin</artifactId>
1987 <!-- This should only run once, in the process-classes phase; but we need it to run after
1988 process-classes in child projects. Attaching to process-test-classes and prepare-package
1989 ensures that the file will be moved whether tests are skipped or not. -->
1991 <id>move-autowire-test</id>
1992 <phase>process-test-classes</phase>
1998 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
1999 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2000 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2001 failonerror="false" quiet="true" />
2006 <id>move-autowire-package</id>
2007 <phase>prepare-package</phase>
2013 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2014 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2015 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2016 failonerror="false" quiet="true" />
2028 <artifactId>maven-checkstyle-plugin</artifactId>
2029 <version>${checkstyle.version}</version>
2032 <!-- FIXME: activate this
2034 <artifactId>maven-project-info-reports-plugin</artifactId>
2035 <version>${projectinfo}</version>
2038 <groupId>org.codehaus.mojo</groupId>
2039 <artifactId>jdepend-maven-plugin</artifactId>
2043 <report>generate-no-fork</report>
2049 <artifactId>maven-javadoc-plugin</artifactId>
2052 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2053 <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
2054 <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
2055 <link>http://netty.io/4.1/api/</link>
2063 Maven Site Configuration
2065 The following configuration is necessary for maven-site-plugin to
2066 correctly identify the correct deployment path for OpenDaylight Maven
2069 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2071 <distributionManagement>
2073 <id>opendaylight-site</id>
2074 <url>${nexus.site.url}/${project.artifactId}/</url>
2076 </distributionManagement>