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>2.0.5-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>2.0.3-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.11.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>4.0.9</karaf.version>
92 <karaf.plugin.version>4.0.9</karaf.plugin.version>
93 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
94 <projectinfo>2.8.1</projectinfo>
95 <!-- Used in of-config; see also snmp4sdn -->
96 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
97 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
98 <releaseplugin.version>2.5.3</releaseplugin.version>
100 <!-- Supporting Libraries -->
101 <!-- Used by controller -->
102 <bouncycastle.version>1.57</bouncycastle.version>
104 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
105 <osgi.core.version>5.0.0</osgi.core.version>
107 <akka.version>2.4.18</akka.version>
108 <scala.version>2.11</scala.version>
109 <scala.micro.version>11</scala.micro.version>
110 <leveldb.version>0.7</leveldb.version>
112 <!-- Default Sonar configuration -->
113 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
114 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
115 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
116 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
117 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
118 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
120 <pmd.cpd.fail>false</pmd.cpd.fail>
123 <dependencyManagement>
127 <groupId>org.opendaylight.odlparent</groupId>
128 <artifactId>odlparent-artifacts</artifactId>
129 <version>2.0.5-SNAPSHOT</version>
130 <scope>import</scope>
134 <!-- Build tool dependencies (normally not here in <dependencies>,
135 but in a <dependency> in <pluginManagement> but for Checkstyle this
136 is required so that we can share the same version of Checkstyle
137 for both the Maven plugin below as well as for custom Checkstyle
138 check rule projects, such as yangtools' checkstyle-logging) -->
140 <groupId>com.puppycrawl.tools</groupId>
141 <artifactId>checkstyle</artifactId>
142 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
143 <version>7.6.1</version>
146 <!-- Testing Dependencies -->
147 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
148 <!-- Need to stick to JUnit 4.11 until
149 https://github.com/jayway/powermock/issues/560 is fixed (either in
150 PowerMock or with a new JUnit release) -->
152 <groupId>junit</groupId>
153 <artifactId>junit</artifactId>
154 <version>4.11</version>
158 <groupId>junit</groupId>
159 <artifactId>junit-dep</artifactId>
160 <version>4.11</version>
164 <groupId>org.skyscreamer</groupId>
165 <artifactId>jsonassert</artifactId>
166 <version>1.3.0</version>
169 <!-- Bug 7662: TODO eventually remove mockito-all, because its use is now forbidden via a new rule of maven-enforcer-plugin below
170 It wasn't immediately removed together with the introduction of the maven-enforcer-plugin, because while we transition
171 to replace all uses of mockito-all by mockito-core in all of ODL downstream projects, its much clearer to get a
172 maven-enforcer-plugin violation message than suddenly a confusing 'dependencies.dependency.version' for org.mockito:mockito-all:jar is missing -->
174 <groupId>org.mockito</groupId>
175 <!-- Bug 7662: @deprecated Do *NOT* use mockito-all, but *ALWAYS* only mockito-core; this should be removed, and non-usage enforced! -->
176 <artifactId>mockito-all</artifactId>
177 <version>1.10.19</version>
181 <groupId>org.mockito</groupId>
182 <artifactId>mockito-core</artifactId>
183 <version>1.10.19</version>
187 <groupId>org.hamcrest</groupId>
188 <artifactId>hamcrest-core</artifactId>
189 <version>1.3</version>
193 <groupId>org.hamcrest</groupId>
194 <artifactId>hamcrest-library</artifactId>
195 <version>1.3</version>
199 <groupId>com.google.truth</groupId>
200 <artifactId>truth</artifactId>
201 <version>0.28</version>
205 <groupId>org.awaitility</groupId>
206 <artifactId>awaitility</artifactId>
207 <version>2.0.0</version>
211 <groupId>org.powermock</groupId>
212 <artifactId>powermock-api-mockito</artifactId>
213 <version>1.6.4</version>
217 <groupId>org.powermock</groupId>
218 <artifactId>powermock-api-support</artifactId>
219 <version>1.6.4</version>
223 <groupId>org.powermock</groupId>
224 <artifactId>powermock-core</artifactId>
225 <version>1.6.4</version>
229 <groupId>org.powermock</groupId>
230 <artifactId>powermock-module-junit4</artifactId>
231 <version>1.6.4</version>
235 <groupId>org.powermock</groupId>
236 <artifactId>powermock-reflect</artifactId>
237 <version>1.6.4</version>
242 Annotation Processors
245 <!-- Generates immutable implementations, builders, the works -->
246 <groupId>org.immutables</groupId>
247 <artifactId>value</artifactId>
248 <version>2.4.2</version>
249 <!-- Must be provided; <scope>test here breaks APT in Eclipse :( -->
250 <scope>provided</scope>
253 <!-- Generates META-INF/services entries for ServiceLoader -->
254 <groupId>org.kohsuke.metainf-services</groupId>
255 <artifactId>metainf-services</artifactId>
256 <version>1.7</version>
257 <optional>true</optional>
264 <groupId>org.slf4j</groupId>
265 <artifactId>jcl-over-slf4j</artifactId>
266 <version>1.7.21</version>
269 <groupId>org.slf4j</groupId>
270 <artifactId>slf4j-api</artifactId>
271 <version>1.7.21</version>
274 <groupId>org.slf4j</groupId>
275 <artifactId>slf4j-log4j12</artifactId>
276 <version>1.7.21</version>
279 <groupId>org.slf4j</groupId>
280 <artifactId>log4j-over-slf4j</artifactId>
281 <version>1.7.21</version>
284 <groupId>org.slf4j</groupId>
285 <artifactId>slf4j-simple</artifactId>
286 <version>1.7.21</version>
290 <groupId>xml-apis</groupId>
291 <artifactId>xml-apis</artifactId>
292 <version>1.4.01</version>
295 <groupId>xerces</groupId>
296 <artifactId>xercesImpl</artifactId>
297 <version>2.11.0</version>
300 <groupId>ch.qos.logback</groupId>
301 <artifactId>logback-core</artifactId>
302 <version>1.2.2</version>
305 <groupId>ch.qos.logback</groupId>
306 <artifactId>logback-classic</artifactId>
307 <version>1.2.2</version>
310 <groupId>com.google.guava</groupId>
311 <artifactId>guava</artifactId>
312 <version>22.0</version>
315 <groupId>com.google.guava</groupId>
316 <artifactId>guava-testlib</artifactId>
317 <version>22.0</version>
321 <groupId>com.mycila.guice.extensions</groupId>
322 <artifactId>mycila-guice-jsr250</artifactId>
323 <!-- Make sure this version is in sync with the guice one below -->
324 <version>4.0.rc1</version>
328 <groupId>com.google.inject</groupId>
329 <artifactId>guice</artifactId>
330 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
331 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
332 <version>4.1.0</version>
335 <groupId>org.apache.commons</groupId>
336 <artifactId>commons-lang3</artifactId>
337 <version>3.6</version>
340 <groupId>commons-lang</groupId>
341 <artifactId>commons-lang</artifactId>
342 <version>2.6</version>
345 <groupId>commons-codec</groupId>
346 <artifactId>commons-codec</artifactId>
347 <version>1.10</version>
349 <!-- Jersey for JAXRS -->
351 <groupId>javax.ws.rs</groupId>
352 <artifactId>javax.ws.rs-api</artifactId>
353 <version>2.0.1</version>
356 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
357 <artifactId>jersey-guava</artifactId>
358 <version>2.22.2</version>
361 <groupId>org.glassfish</groupId>
362 <artifactId>javax.json</artifactId>
363 <version>1.0.4</version>
366 <groupId>com.eclipsesource.jaxrs</groupId>
367 <artifactId>jersey-all</artifactId>
368 <version>2.22.2</version>
371 <!-- servlet 3.x support -->
373 <groupId>org.glassfish.jersey.containers</groupId>
374 <artifactId>jersey-container-servlet</artifactId>
375 <version>2.8</version>
378 <groupId>org.apache.geronimo.bundles</groupId>
379 <artifactId>json</artifactId>
380 <version>20090211_1</version>
382 <!-- FIXME : remove all dependencies for jersey 1.17 -->
384 <groupId>com.sun.jersey</groupId>
385 <artifactId>jersey-core</artifactId>
386 <version>1.17</version>
389 <groupId>com.sun.jersey</groupId>
390 <artifactId>jersey-json</artifactId>
391 <version>1.17</version>
394 <groupId>com.sun.jersey</groupId>
395 <artifactId>jersey-server</artifactId>
396 <version>1.17</version>
399 <groupId>com.sun.jersey</groupId>
400 <artifactId>jersey-servlet</artifactId>
401 <version>1.17</version>
404 <groupId>com.sun.jersey.jersey-test-framework</groupId>
405 <artifactId>jersey-test-framework-grizzly2</artifactId>
406 <version>1.17</version>
410 <groupId>com.sun.jersey.jersey-test-framework</groupId>
411 <artifactId>jersey-test-framework-inmemory</artifactId>
412 <version>1.17</version>
416 <groupId>com.sun.jersey</groupId>
417 <artifactId>jersey-client</artifactId>
418 <version>1.17</version>
421 <groupId>org.opendaylight.controller.thirdparty</groupId>
422 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
423 <version>1.17</version>
426 <groupId>org.apache.shiro</groupId>
427 <artifactId>shiro-core</artifactId>
428 <version>1.3.2</version>
431 <groupId>org.apache.shiro</groupId>
432 <artifactId>shiro-web</artifactId>
433 <version>1.3.2</version>
436 <!-- Plugin integration -->
438 <groupId>net.java.dev.stax-utils</groupId>
439 <artifactId>stax-utils</artifactId>
440 <version>20070216</version>
443 <groupId>org.sonatype.plexus</groupId>
444 <artifactId>plexus-build-api</artifactId>
445 <version>0.0.7</version>
448 <groupId>org.codehaus.plexus</groupId>
449 <artifactId>plexus-slf4j-logging</artifactId>
450 <version>1.1</version>
454 <groupId>org.codehaus.woodstox</groupId>
455 <artifactId>stax2-api</artifactId>
456 <!-- Needs to match jackson's idea of import -->
457 <version>3.1.4</version>
460 <groupId>com.fasterxml.jackson.core</groupId>
461 <artifactId>jackson-annotations</artifactId>
462 <version>2.3.2</version>
465 <groupId>com.fasterxml.jackson.core</groupId>
466 <artifactId>jackson-core</artifactId>
467 <version>2.3.2</version>
470 <groupId>com.fasterxml.jackson.core</groupId>
471 <artifactId>jackson-databind</artifactId>
472 <version>2.3.2</version>
475 <groupId>com.fasterxml.jackson.dataformat</groupId>
476 <artifactId>jackson-dataformat-xml</artifactId>
477 <version>2.3.2</version>
480 <groupId>com.fasterxml.jackson.datatype</groupId>
481 <artifactId>jackson-datatype-json-org</artifactId>
482 <version>2.3.2</version>
485 <groupId>com.fasterxml.jackson.jaxrs</groupId>
486 <artifactId>jackson-jaxrs-base</artifactId>
487 <version>2.3.2</version>
490 <groupId>com.fasterxml.jackson.jaxrs</groupId>
491 <artifactId>jackson-jaxrs-json-provider</artifactId>
492 <version>2.3.2</version>
495 <groupId>com.fasterxml.jackson.module</groupId>
496 <artifactId>jackson-module-jaxb-annotations</artifactId>
497 <version>2.3.2</version>
500 <!-- TODO do we really need resteasy ? -->
502 <groupId>org.jboss.resteasy</groupId>
503 <artifactId>jaxrs-api</artifactId>
504 <version>3.0.12.Final</version>
508 <groupId>com.sun.xml.txw2</groupId>
509 <artifactId>txw2</artifactId>
510 <version>20110809</version>
513 <groupId>com.github.romix</groupId>
514 <artifactId>java-concurrent-hash-trie-map</artifactId>
515 <version>0.2.23-ODL</version>
518 <groupId>com.google.code.findbugs</groupId>
519 <artifactId>jsr305</artifactId>
520 <version>3.0.0</version>
523 <groupId>com.google.code.findbugs</groupId>
524 <artifactId>annotations</artifactId>
525 <version>3.0.0</version>
527 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
528 the types of this artifact are already shaded inside the :annotations artifact.
529 This state is a temporary solution to allow all projects to gradually switch over
530 switch their <dependency><groupId>com.google.code.findbugs from
531 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
532 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
535 <groupId>net.jcip</groupId>
536 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
537 <artifactId>jcip-annotations</artifactId>
542 <groupId>org.eclipse.jdt</groupId>
543 <artifactId>org.eclipse.jdt.annotation</artifactId>
544 <version>2.0.0</version>
545 <scope>provided</scope>
548 <groupId>com.google.code.gson</groupId>
549 <artifactId>gson</artifactId>
550 <version>2.7</version>
553 <groupId>commons-fileupload</groupId>
554 <artifactId>commons-fileupload</artifactId>
555 <version>1.3.2</version>
558 <groupId>commons-io</groupId>
559 <artifactId>commons-io</artifactId>
560 <version>2.5</version>
563 <groupId>commons-net</groupId>
564 <artifactId>commons-net</artifactId>
565 <version>3.6</version>
568 <groupId>eclipselink</groupId>
569 <artifactId>javax.persistence</artifactId>
570 <version>2.0.4.v201112161009</version>
573 <groupId>eclipselink</groupId>
574 <artifactId>javax.resource</artifactId>
575 <version>1.5.0.v200906010428</version>
578 <groupId>equinoxSDK381</groupId>
579 <artifactId>javax.servlet</artifactId>
580 <version>3.0.0.v201112011016</version>
583 <groupId>equinoxSDK381</groupId>
584 <artifactId>javax.servlet.jsp</artifactId>
585 <version>2.2.0.v201112011158</version>
588 <groupId>equinoxSDK381</groupId>
589 <artifactId>org.apache.felix.gogo.command</artifactId>
590 <version>0.8.0.v201108120515</version>
593 <groupId>equinoxSDK381</groupId>
594 <artifactId>org.apache.felix.gogo.runtime</artifactId>
595 <version>0.8.0.v201108120515</version>
598 <groupId>equinoxSDK381</groupId>
599 <artifactId>org.apache.felix.gogo.shell</artifactId>
600 <version>0.8.0.v201110170705</version>
603 <groupId>equinoxSDK381</groupId>
604 <artifactId>org.eclipse.equinox.cm</artifactId>
605 <version>1.0.400.v20120522-1841</version>
608 <groupId>equinoxSDK381</groupId>
609 <artifactId>org.eclipse.equinox.console</artifactId>
610 <version>1.0.0.v20120522-1841</version>
613 <groupId>equinoxSDK381</groupId>
614 <artifactId>org.eclipse.equinox.ds</artifactId>
615 <version>1.4.0.v20120522-1841</version>
618 <groupId>equinoxSDK381</groupId>
619 <artifactId>org.eclipse.equinox.launcher</artifactId>
620 <version>1.3.0.v20120522-1813</version>
623 <groupId>equinoxSDK381</groupId>
624 <artifactId>org.eclipse.equinox.util</artifactId>
625 <version>1.0.400.v20120522-2049</version>
628 <groupId>equinoxSDK381</groupId>
629 <artifactId>org.eclipse.osgi.services</artifactId>
630 <version>3.3.100.v20120522-1822</version>
634 <groupId>org.eclipse.tycho</groupId>
635 <artifactId>org.eclipse.osgi</artifactId>
636 <version>3.9.1.v20130814-1242</version>
638 <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
640 <groupId>equinoxSDK381</groupId>
641 <artifactId>org.eclipse.osgi</artifactId>
642 <version>3.8.1.v20120830-144521</version>
647 <groupId>geminiweb</groupId>
648 <artifactId>org.eclipse.gemini.web.core</artifactId>
649 <version>2.2.0.RELEASE</version>
652 <groupId>geminiweb</groupId>
653 <artifactId>org.eclipse.gemini.web.extender</artifactId>
654 <version>2.2.0.RELEASE</version>
657 <groupId>geminiweb</groupId>
658 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
659 <version>2.2.0.RELEASE</version>
662 <groupId>geminiweb</groupId>
663 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
664 <version>3.6.0.RELEASE</version>
667 <groupId>geminiweb</groupId>
668 <artifactId>org.eclipse.virgo.util.common</artifactId>
669 <version>3.6.0.RELEASE</version>
672 <groupId>geminiweb</groupId>
673 <artifactId>org.eclipse.virgo.util.io</artifactId>
674 <version>3.6.0.RELEASE</version>
677 <groupId>geminiweb</groupId>
678 <artifactId>org.eclipse.virgo.util.math</artifactId>
679 <version>3.6.0.RELEASE</version>
682 <groupId>geminiweb</groupId>
683 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
684 <version>3.6.0.RELEASE</version>
687 <groupId>geminiweb</groupId>
688 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
689 <version>3.6.0.RELEASE</version>
692 <groupId>geminiweb</groupId>
693 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
694 <version>3.6.0.RELEASE</version>
698 <groupId>io.netty</groupId>
699 <artifactId>netty-all</artifactId>
700 <!-- If these are updated, the version in features.xml needs to be changed too -->
701 <version>4.1.8.Final</version>
704 <groupId>io.netty</groupId>
705 <artifactId>netty-buffer</artifactId>
706 <version>4.1.8.Final</version>
709 <groupId>io.netty</groupId>
710 <artifactId>netty-codec</artifactId>
711 <version>4.1.8.Final</version>
714 <groupId>io.netty</groupId>
715 <artifactId>netty-codec-http</artifactId>
716 <version>4.1.8.Final</version>
719 <groupId>io.netty</groupId>
720 <artifactId>netty-common</artifactId>
721 <version>4.1.8.Final</version>
724 <groupId>io.netty</groupId>
725 <artifactId>netty-handler</artifactId>
726 <version>4.1.8.Final</version>
729 <groupId>io.netty</groupId>
730 <artifactId>netty-transport</artifactId>
731 <version>4.1.8.Final</version>
733 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
734 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
736 <groupId>io.netty</groupId>
737 <artifactId>netty-transport-native-epoll</artifactId>
738 <classifier>linux-x86_64</classifier>
739 <version>4.1.8.Final</version>
742 <groupId>javax.ws.rs</groupId>
743 <artifactId>jsr311-api</artifactId>
744 <version>1.1.1</version>
747 <groupId>orbit</groupId>
748 <artifactId>javax.activation</artifactId>
749 <version>1.1.0.v201211130549</version>
752 <groupId>orbit</groupId>
753 <artifactId>javax.annotation</artifactId>
754 <version>1.1.0.v201209060031</version>
757 <groupId>orbit</groupId>
758 <artifactId>javax.ejb</artifactId>
759 <version>3.1.1.v201204261316</version>
762 <groupId>orbit</groupId>
763 <artifactId>javax.el</artifactId>
764 <version>2.2.0.v201108011116</version>
767 <groupId>orbit</groupId>
768 <artifactId>javax.mail.glassfish</artifactId>
769 <version>1.4.1.v201108011116</version>
772 <groupId>javax.servlet</groupId>
773 <artifactId>javax.servlet-api</artifactId>
774 <version>3.0.1</version>
777 <groupId>orbit</groupId>
778 <artifactId>javax.servlet.jsp.jstl</artifactId>
779 <version>1.2.0.v201105211821</version>
782 <groupId>orbit</groupId>
783 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
784 <version>1.2.0.v201210211230</version>
787 <groupId>orbit</groupId>
788 <artifactId>javax.xml.rpc</artifactId>
789 <version>1.1.0.v201005080400</version>
792 <groupId>orbit</groupId>
793 <artifactId>org.apache.catalina</artifactId>
794 <version>7.0.53.v201406061610</version>
797 <groupId>orbit</groupId>
798 <artifactId>org.apache.catalina.ha</artifactId>
799 <version>7.0.53.v201406070630</version>
802 <groupId>orbit</groupId>
803 <artifactId>org.apache.catalina.tribes</artifactId>
804 <version>7.0.53.v201406070630</version>
807 <groupId>orbit</groupId>
808 <artifactId>org.apache.coyote</artifactId>
809 <version>7.0.53.v201406070630</version>
812 <groupId>orbit</groupId>
813 <artifactId>org.apache.el</artifactId>
814 <version>7.0.53.v201406060720</version>
817 <groupId>orbit</groupId>
818 <artifactId>org.apache.jasper</artifactId>
819 <version>7.0.53.v201406070630</version>
822 <groupId>orbit</groupId>
823 <artifactId>org.apache.juli.extras</artifactId>
824 <version>7.0.53.v201406060720</version>
827 <groupId>orbit</groupId>
828 <artifactId>org.apache.tomcat.api</artifactId>
829 <version>7.0.53.v201406060720</version>
832 <groupId>orbit</groupId>
833 <artifactId>org.apache.tomcat.util</artifactId>
834 <version>7.0.53.v201406070630</version>
837 <groupId>org.aopalliance</groupId>
838 <artifactId>com.springsource.org.aopalliance</artifactId>
839 <version>1.0.0</version>
842 <groupId>org.apache.felix</groupId>
843 <artifactId>org.apache.felix.dependencymanager</artifactId>
844 <version>4.3.0</version>
847 <groupId>org.apache.felix</groupId>
848 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
849 <version>4.0.4</version>
852 <groupId>org.apache.felix</groupId>
853 <artifactId>org.apache.felix.fileinstall</artifactId>
854 <version>3.5.4</version>
857 <groupId>org.apache.felix</groupId>
858 <artifactId>org.apache.felix.metatype</artifactId>
859 <version>1.1.2</version>
861 <!-- felix webconsole -->
863 <groupId>org.apache.felix</groupId>
864 <artifactId>org.apache.felix.webconsole</artifactId>
865 <version>4.2.14</version>
866 <!-- the all bundle includes all the necessary plugins -->
867 <classifier>all</classifier>
870 <groupId>org.bouncycastle</groupId>
871 <artifactId>bcpkix-jdk15on</artifactId>
872 <version>${bouncycastle.version}</version>
875 <groupId>org.bouncycastle</groupId>
876 <artifactId>bcprov-jdk15on</artifactId>
877 <version>${bouncycastle.version}</version>
880 <groupId>org.codehaus.enunciate</groupId>
881 <artifactId>enunciate-core-annotations</artifactId>
882 <version>${enunciate.version}</version>
885 <groupId>com.webcohesion.enunciate</groupId>
886 <artifactId>enunciate-core-annotations</artifactId>
887 <version>2.6.0</version>
890 <groupId>org.codehaus.jettison</groupId>
891 <artifactId>jettison</artifactId>
892 <version>1.3.7</version>
894 <!-- equinox http service bridge -->
896 <groupId>org.eclipse.equinox.http</groupId>
897 <artifactId>servlet</artifactId>
898 <version>1.0.0-v20070606</version>
900 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
901 pull in javax.validation first:
902 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
904 <groupId>org.eclipse.persistence</groupId>
905 <artifactId>org.eclipse.persistence.antlr</artifactId>
906 <version>2.6.2</version>
909 <groupId>org.eclipse.persistence</groupId>
910 <artifactId>org.eclipse.persistence.core</artifactId>
911 <version>2.6.2</version>
914 <groupId>org.eclipse.persistence</groupId>
915 <artifactId>org.eclipse.persistence.moxy</artifactId>
916 <version>2.6.2</version>
919 <groupId>javax.validation</groupId>
920 <artifactId>validation-api</artifactId>
921 <version>1.1.0.Final</version>
924 <groupId>org.javassist</groupId>
925 <artifactId>javassist</artifactId>
926 <version>3.20.0-GA</version>
929 <groupId>org.jboss.spec.javax.transaction</groupId>
930 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
931 <version>1.0.1.Final</version>
934 <groupId>org.jolokia</groupId>
935 <artifactId>jolokia-osgi</artifactId>
936 <version>1.3.6</version>
939 <groupId>org.json</groupId>
940 <artifactId>json</artifactId>
941 <version>20131018</version>
944 <groupId>org.osgi</groupId>
945 <artifactId>org.osgi.compendium</artifactId>
946 <version>${osgi.core.version}</version>
947 <scope>provided</scope>
950 <groupId>org.osgi</groupId>
951 <artifactId>org.osgi.core</artifactId>
952 <version>${osgi.core.version}</version>
953 <scope>provided</scope>
956 <groupId>org.osgi</groupId>
957 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
958 <artifactId>org.osgi.service.event</artifactId>
959 <version>1.3.1</version>
962 <groupId>org.apache.aries.quiesce</groupId>
963 <artifactId>org.apache.aries.quiesce.api</artifactId>
964 <version>1.0.0</version>
967 <groupId>org.ow2.asm</groupId>
968 <artifactId>asm-all</artifactId>
969 <version>5.1</version>
971 <!-- Visual VM hook -->
973 <groupId>org.ow2.chameleon.management</groupId>
974 <artifactId>chameleon-mbeans</artifactId>
975 <version>1.0.0</version>
978 <groupId>org.springframework</groupId>
979 <artifactId>spring-aop</artifactId>
980 <version>3.2.17.RELEASE</version>
983 <groupId>org.springframework</groupId>
984 <artifactId>spring-beans</artifactId>
985 <version>3.2.17.RELEASE</version>
988 <groupId>org.springframework</groupId>
989 <artifactId>spring-context</artifactId>
990 <version>3.2.17.RELEASE</version>
993 <groupId>org.springframework</groupId>
994 <artifactId>spring-core</artifactId>
995 <version>3.2.17.RELEASE</version>
998 <groupId>org.springframework</groupId>
999 <artifactId>spring-expression</artifactId>
1000 <version>3.2.17.RELEASE</version>
1003 <groupId>org.springframework</groupId>
1004 <artifactId>spring-tx</artifactId>
1005 <version>3.2.17.RELEASE</version>
1008 <groupId>org.springframework</groupId>
1009 <artifactId>spring-web</artifactId>
1010 <version>3.2.17.RELEASE</version>
1013 <groupId>org.springframework</groupId>
1014 <artifactId>spring-webmvc</artifactId>
1015 <version>3.2.17.RELEASE</version>
1017 <!-- Spring security -->
1019 <groupId>org.springframework.security</groupId>
1020 <artifactId>spring-security-config</artifactId>
1021 <version>3.2.9.RELEASE</version>
1024 <groupId>org.springframework.security</groupId>
1025 <artifactId>spring-security-core</artifactId>
1026 <version>3.2.9.RELEASE</version>
1029 <groupId>org.springframework.security</groupId>
1030 <artifactId>spring-security-taglibs</artifactId>
1031 <version>3.2.9.RELEASE</version>
1034 <groupId>org.springframework.security</groupId>
1035 <artifactId>spring-security-web</artifactId>
1036 <version>3.2.9.RELEASE</version>
1039 <groupId>virgomirror</groupId>
1040 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
1041 <version>3.8.0.I20120518-2145</version>
1044 <!-- Configuration library -->
1045 <!-- This needs to be kept in sync with the version used by akka -->
1047 <groupId>com.typesafe</groupId>
1048 <artifactId>config</artifactId>
1049 <version>1.3.0</version>
1052 <!-- Reactive Streams, used by Akka -->
1054 <groupId>org.reactivestreams</groupId>
1055 <artifactId>reactive-streams</artifactId>
1056 <version>1.0.0</version>
1061 <groupId>com.typesafe</groupId>
1062 <artifactId>ssl-config-akka_${scala.version}</artifactId>
1063 <version>0.2.1</version>
1066 <groupId>com.typesafe</groupId>
1067 <artifactId>ssl-config-core_${scala.version}</artifactId>
1068 <version>0.2.1</version>
1071 <groupId>com.typesafe.akka</groupId>
1072 <artifactId>akka-actor_${scala.version}</artifactId>
1073 <version>${akka.version}</version>
1076 <groupId>com.typesafe.akka</groupId>
1077 <artifactId>akka-cluster_${scala.version}</artifactId>
1078 <version>${akka.version}</version>
1081 <groupId>com.typesafe.akka</groupId>
1082 <artifactId>akka-osgi_${scala.version}</artifactId>
1083 <version>${akka.version}</version>
1086 <groupId>com.typesafe.akka</groupId>
1087 <artifactId>akka-persistence_${scala.version}</artifactId>
1088 <version>${akka.version}</version>
1091 <groupId>com.typesafe.akka</groupId>
1092 <artifactId>akka-persistence-tck_${scala.version}</artifactId>
1093 <version>${akka.version}</version>
1097 <groupId>com.typesafe.akka</groupId>
1098 <artifactId>akka-protobuf_${scala.version}</artifactId>
1099 <version>${akka.version}</version>
1102 <groupId>com.typesafe.akka</groupId>
1103 <artifactId>akka-remote_${scala.version}</artifactId>
1104 <version>${akka.version}</version>
1107 <groupId>com.typesafe.akka</groupId>
1108 <artifactId>akka-slf4j_${scala.version}</artifactId>
1109 <version>${akka.version}</version>
1112 <groupId>com.typesafe.akka</groupId>
1113 <artifactId>akka-stream_${scala.version}</artifactId>
1114 <version>${akka.version}</version>
1117 <groupId>com.typesafe.akka</groupId>
1118 <artifactId>akka-testkit_${scala.version}</artifactId>
1119 <version>${akka.version}</version>
1123 <groupId>org.scala-lang.modules</groupId>
1124 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1125 <version>0.8.0</version>
1128 <groupId>org.scala-lang.modules</groupId>
1129 <artifactId>scala-parser-combinators_${scala.version}</artifactId>
1130 <version>1.0.4</version>
1133 <groupId>org.iq80.leveldb</groupId>
1134 <artifactId>leveldb</artifactId>
1135 <version>${leveldb.version}</version>
1138 <groupId>org.fusesource.leveldbjni</groupId>
1139 <artifactId>leveldbjni-all</artifactId>
1140 <version>1.8-odl</version>
1143 <groupId>org.uncommons.maths</groupId>
1144 <artifactId>uncommons-maths</artifactId>
1145 <version>1.2.2a</version>
1148 <groupId>com.google.protobuf</groupId>
1149 <artifactId>protobuf-java</artifactId>
1150 <version>2.5.0</version>
1153 <!-- Aeron, required by Akka -->
1155 <groupId>org.agrona</groupId>
1156 <artifactId>agrona</artifactId>
1157 <version>0.9.5</version>
1160 <groupId>io.aeron</groupId>
1161 <artifactId>aeron-client</artifactId>
1162 <version>1.2.5</version>
1165 <groupId>io.aeron</groupId>
1166 <artifactId>aeron-driver</artifactId>
1167 <version>1.2.5</version>
1172 <groupId>org.scala-lang</groupId>
1173 <artifactId>scala-library</artifactId>
1174 <version>${scala.version}.${scala.micro.version}</version>
1177 <groupId>org.scala-lang</groupId>
1178 <artifactId>scala-reflect</artifactId>
1179 <version>${scala.version}.${scala.micro.version}</version>
1182 <!-- LMAX Disruptor -->
1184 <groupId>com.lmax</groupId>
1185 <artifactId>disruptor</artifactId>
1186 <!-- If this is updated, the version in features.xml needs to be changed too -->
1187 <version>3.3.6</version>
1190 <!-- Add Pax Exam -->
1192 <groupId>org.ops4j.pax.exam</groupId>
1193 <artifactId>pax-exam</artifactId>
1194 <version>${exam.version}</version>
1198 <groupId>org.ops4j.pax.exam</groupId>
1199 <artifactId>pax-exam-container-forked</artifactId>
1200 <version>${exam.version}</version>
1204 <groupId>org.ops4j.pax.exam</groupId>
1205 <artifactId>pax-exam-container-karaf</artifactId>
1206 <version>${exam.version}</version>
1210 <groupId>org.ops4j.pax.exam</groupId>
1211 <artifactId>pax-exam-container-native</artifactId>
1212 <version>${exam.version}</version>
1216 <groupId>org.ops4j.pax.exam</groupId>
1217 <artifactId>pax-exam-extender-service</artifactId>
1218 <version>${exam.version}</version>
1222 <groupId>org.ops4j.pax.exam</groupId>
1223 <artifactId>pax-exam-inject</artifactId>
1224 <version>${exam.version}</version>
1228 <groupId>org.ops4j.pax.exam</groupId>
1229 <artifactId>pax-exam-invoker-junit</artifactId>
1230 <version>${exam.version}</version>
1234 <groupId>org.ops4j.pax.exam</groupId>
1235 <artifactId>pax-exam-features</artifactId>
1236 <version>${exam.version}</version>
1241 <groupId>org.ops4j.pax.exam</groupId>
1242 <artifactId>pax-exam-junit4</artifactId>
1243 <version>${exam.version}</version>
1247 <groupId>org.ops4j.pax.exam</groupId>
1248 <artifactId>pax-exam-link-mvn</artifactId>
1249 <version>${exam.version}</version>
1253 <groupId>org.ops4j.pax.exam</groupId>
1254 <artifactId>pax-exam-link-assembly</artifactId>
1255 <version>${exam.version}</version>
1260 <groupId>org.ops4j.pax.url</groupId>
1261 <artifactId>pax-url-link</artifactId>
1262 <version>2.5.2</version>
1266 <groupId>org.ops4j.pax.url</groupId>
1267 <artifactId>pax-url-aether</artifactId>
1268 <version>2.5.2</version>
1272 <groupId>org.ops4j.pax.url</groupId>
1273 <artifactId>pax-url-wrap</artifactId>
1274 <version>2.5.2</version>
1278 <groupId>org.springframework.osgi</groupId>
1279 <artifactId>spring-osgi-mock</artifactId>
1280 <version>1.2.1</version>
1284 <groupId>xmlunit</groupId>
1285 <artifactId>xmlunit</artifactId>
1286 <version>1.6</version>
1291 <groupId>org.eclipse.jetty</groupId>
1292 <artifactId>jetty-client</artifactId>
1293 <version>9.2.19.v20160908</version>
1296 <groupId>org.eclipse.jetty</groupId>
1297 <artifactId>jetty-server</artifactId>
1298 <version>9.2.19.v20160908</version>
1301 <groupId>org.eclipse.jetty</groupId>
1302 <artifactId>jetty-servlet-tester</artifactId>
1303 <version>9.2.19.v20160908</version>
1307 <groupId>org.eclipse.jetty</groupId>
1308 <artifactId>jetty-servlets</artifactId>
1309 <version>9.2.19.v20160908</version>
1312 <groupId>org.eclipse.jetty</groupId>
1313 <artifactId>jetty-webapp</artifactId>
1314 <version>9.2.19.v20160908</version>
1318 <groupId>com.h2database</groupId>
1319 <artifactId>h2</artifactId>
1320 <version>1.4.191</version>
1323 <!-- Xtend http://xtend-lang.org
1324 NOTE: When you increase the version here,
1325 then remember to also increase it for the
1326 xtend-maven-plugin below! (We don't want to
1327 use a Maven property, in order not to "leak" that.)
1330 <groupId>org.eclipse.xtend</groupId>
1331 <artifactId>org.eclipse.xtend.lib</artifactId>
1332 <version>2.12.0</version>
1335 <groupId>org.eclipse.xtend</groupId>
1336 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1337 <version>2.12.0</version>
1340 <groupId>org.eclipse.xtext</groupId>
1341 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1342 <version>2.12.0</version>
1345 <!-- Annotations -->
1347 <groupId>javax.inject</groupId>
1348 <artifactId>javax.inject</artifactId>
1349 <version>1</version>
1350 <optional>true</optional>
1353 <groupId>org.ops4j.pax.cdi</groupId>
1354 <artifactId>pax-cdi-api</artifactId>
1355 <version>1.0.0.RC2</version>
1356 <optional>true</optional>
1361 <groupId>com.datastax.cassandra</groupId>
1362 <artifactId>cassandra-driver-core</artifactId>
1363 <version>2.1.9</version>
1368 <groupId>io.dropwizard.metrics</groupId>
1369 <artifactId>metrics-core</artifactId>
1370 <version>3.1.2</version>
1373 <groupId>io.dropwizard.metrics</groupId>
1374 <artifactId>metrics-graphite</artifactId>
1375 <version>3.1.2</version>
1378 <!-- Karaf console support -->
1380 <groupId>org.apache.karaf.shell</groupId>
1381 <artifactId>org.apache.karaf.shell.core</artifactId>
1382 <version>${karaf.version}</version>
1385 <groupId>org.apache.karaf.shell</groupId>
1386 <artifactId>org.apache.karaf.shell.console</artifactId>
1387 <version>${karaf.version}</version>
1390 <!-- When updating this version, consider antl4-maven-plugin below -->
1392 <groupId>org.antlr</groupId>
1393 <artifactId>antlr4-runtime</artifactId>
1394 <version>4.7</version>
1396 <!-- Aries' Blueprint version should be kept in sync to the version actually
1397 used by our ${karaf[4].version} ... please bump this when increasing that.
1398 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1400 <groupId>org.apache.aries.blueprint</groupId>
1401 <artifactId>org.apache.aries.blueprint.core</artifactId>
1402 <version>1.7.1</version>
1406 </dependencyManagement>
1409 <!-- Karaf provides SL4FJ encapsulation -->
1411 <groupId>org.slf4j</groupId>
1412 <artifactId>slf4j-api</artifactId>
1413 <scope>provided</scope>
1417 <groupId>org.slf4j</groupId>
1418 <artifactId>slf4j-simple</artifactId>
1422 <!-- Enable JSR-305 annotations everywhere -->
1424 <groupId>com.google.code.findbugs</groupId>
1425 <artifactId>annotations</artifactId>
1426 <scope>provided</scope>
1428 <!-- See note above; having both :jsr305 and :annotations here is an intermediate step -->
1430 <groupId>com.google.code.findbugs</groupId>
1431 <artifactId>jsr305</artifactId>
1432 <scope>provided</scope>
1435 <groupId>org.eclipse.jdt</groupId>
1436 <artifactId>org.eclipse.jdt.annotation</artifactId>
1437 <scope>provided</scope>
1444 <!-- Official maven plugins, alpha-sorted by artifactId.
1445 We do not need to specify the groupId. -->
1447 <artifactId>maven-antrun-plugin</artifactId>
1448 <version>1.8</version>
1451 <artifactId>maven-checkstyle-plugin</artifactId>
1452 <version>${checkstyle.version}</version>
1455 <groupId>com.puppycrawl.tools</groupId>
1456 <artifactId>checkstyle</artifactId>
1457 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1458 <version>7.6.1</version>
1461 <groupId>org.opendaylight.odlparent</groupId>
1462 <artifactId>checkstyle</artifactId>
1463 <version>2.0.5-SNAPSHOT</version>
1466 <groupId>org.opendaylight.odlparent</groupId>
1467 <artifactId>odl-license</artifactId>
1468 <version>2.0.5-SNAPSHOT</version>
1471 <groupId>com.github.sevntu.checkstyle</groupId>
1472 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1473 <version>1.21.0</version>
1477 <configLocation>odl_checks.xml</configLocation>
1478 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1479 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1480 generated sources directory -->
1481 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1482 <includeResources>true</includeResources>
1483 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1484 <includeTestResources>true</includeTestResources>
1485 <includes>**\/*.java, **\/*.xtend</includes>
1487 org/opendaylight/yang/gen/**,
1488 **/protobuff/messages/**,
1489 **/thrift/gen/*.java
1491 <failsOnError>false</failsOnError>
1492 <consoleOutput>true</consoleOutput>
1496 <id>check-license</id>
1500 <phase>process-sources</phase>
1502 <configLocation>check-license.xml</configLocation>
1503 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1504 <includeResources>false</includeResources>
1505 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1506 <includeTestResources>false</includeTestResources>
1507 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1509 org/opendaylight/yang/gen/**,
1510 **/protobuff/messages/**,
1511 **/thrift/gen/*.java
1513 <failsOnError>false</failsOnError>
1514 <consoleOutput>true</consoleOutput>
1521 <phase>process-sources</phase>
1526 <groupId>org.apache.maven.plugins</groupId>
1527 <artifactId>maven-pmd-plugin</artifactId>
1528 <version>3.8</version>
1532 <phase>process-sources</phase>
1534 <goal>cpd-check</goal>
1537 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1538 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1539 <minimumTokens>101</minimumTokens>
1540 <printFailingErrors>true</printFailingErrors>
1542 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1543 not understand path prefixes nor wildcards. Details are available
1544 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1545 Hence people introducing new generated sources have to include
1548 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1549 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1551 <linkXRef>false</linkXRef>
1557 <artifactId>maven-compiler-plugin</artifactId>
1558 <version>${maven.compile.plugin.version}</version>
1560 <source>1.8</source>
1561 <target>1.8</target>
1563 <arg>-parameters</arg>
1568 <artifactId>maven-enforcer-plugin</artifactId>
1569 <version>${enforcer.version}</version>
1572 <artifactId>maven-failsafe-plugin</artifactId>
1573 <version>${failsafe.version}</version>
1576 <artifactId>maven-invoker-plugin</artifactId>
1577 <version>2.0.0</version>
1580 <artifactId>maven-jar-plugin</artifactId>
1581 <version>3.0.2</version>
1584 <artifactId>maven-dependency-plugin</artifactId>
1587 <id>unpack-license</id>
1588 <phase>generate-resources</phase>
1589 <goals><goal>unpack</goal></goals>
1593 <groupId>org.opendaylight.odlparent</groupId>
1594 <artifactId>odl-license</artifactId>
1595 <version>2.0.5-SNAPSHOT</version>
1598 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1599 <excludes>META-INF/**</excludes>
1606 <artifactId>maven-plugin-plugin</artifactId>
1607 <version>${maven.plugin.version}</version>
1611 <artifactId>maven-remote-resources-plugin</artifactId>
1612 <version>1.5</version>
1615 <artifactId>maven-resources-plugin</artifactId>
1616 <version>3.0.1</version>
1619 <artifactId>maven-shade-plugin</artifactId>
1620 <version>2.4.3</version>
1623 <artifactId>maven-source-plugin</artifactId>
1624 <version>3.0.1</version>
1627 <id>attach-sources</id>
1628 <phase>verify</phase>
1630 <goal>jar-no-fork</goal>
1636 <artifactId>maven-surefire-plugin</artifactId>
1637 <version>${maven.surefire.version}</version>
1639 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1640 <trimStackTrace>false</trimStackTrace>
1644 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1646 <!-- Support Blueprint XML construction using annotations -->
1647 <groupId>org.apache.aries.blueprint</groupId>
1648 <artifactId>blueprint-maven-plugin</artifactId>
1649 <version>1.4.0</version>
1652 <scanPath>org.opendaylight</scanPath>
1657 <!-- See https://issues.apache.org/jira/browse/ARIES-1596 -->
1658 <!-- This shouldn't be necessary with plugin version 1.5.0 -->
1659 <groupId>org.apache.xbean</groupId>
1660 <artifactId>xbean-finder-shaded</artifactId>
1661 <version>4.5</version>
1667 <goal>blueprint-generate</goal>
1674 <groupId>org.apache.felix</groupId>
1675 <artifactId>maven-bundle-plugin</artifactId>
1676 <version>${maven.bundle.version}</version>
1677 <extensions>true</extensions>
1680 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1681 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1682 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1683 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1689 <groupId>org.apache.karaf.tooling</groupId>
1690 <artifactId>karaf-maven-plugin</artifactId>
1691 <version>${karaf.version}</version>
1695 <groupId>org.apache.servicemix.tooling</groupId>
1696 <artifactId>depends-maven-plugin</artifactId>
1697 <version>1.3.1</version>
1700 <id>generate-depends-file</id>
1702 <goal>generate-depends-file</goal>
1709 <groupId>org.codehaus.enunciate</groupId>
1710 <artifactId>maven-enunciate-plugin</artifactId>
1711 <version>${enunciate.version}</version>
1714 <groupId>org.codehaus.groovy.maven</groupId>
1715 <artifactId>gmaven-plugin</artifactId>
1716 <version>1.0</version>
1719 <groupId>org.codehaus.mojo</groupId>
1720 <artifactId>build-helper-maven-plugin</artifactId>
1721 <version>1.12</version>
1724 <groupId>org.codehaus.mojo</groupId>
1725 <artifactId>findbugs-maven-plugin</artifactId>
1726 <version>3.0.4</version>
1729 <groupId>org.opendaylight.odlparent</groupId>
1730 <artifactId>findbugs</artifactId>
1731 <version>2.0.5-SNAPSHOT</version>
1736 Enables analysis which takes more memory but finds more bugs.
1737 If you run out of memory, changes the value of the effort element
1740 <effort>Max</effort>
1741 <!-- Reports all bugs (other values are medium and max) -->
1742 <threshold>Low</threshold>
1743 <!-- Build doesn't fail if problems are found -->
1744 <failOnError>false</failOnError>
1745 <!-- References the excluded rules -->
1746 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1747 <!-- Produces XML report -->
1748 <xmlOutput>true</xmlOutput>
1749 <!-- Configures the directory in which the XML report is created -->
1750 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1754 Ensures that FindBugs inspects source code when project is compiled.
1757 <id>analyze-compile</id>
1758 <phase>compile</phase>
1766 <groupId>org.codehaus.mojo</groupId>
1767 <artifactId>properties-maven-plugin</artifactId>
1768 <version>${propertymavenplugin.version}</version>
1771 <groupId>org.eclipse.xtend</groupId>
1772 <artifactId>xtend-maven-plugin</artifactId>
1773 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1774 <version>2.12.0</version>
1778 <goal>compile</goal>
1779 <goal>testCompile</goal>
1782 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1783 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1789 <groupId>org.eclipse.m2e</groupId>
1790 <artifactId>lifecycle-mapping</artifactId>
1791 <version>1.0.0</version>
1793 <lifecycleMappingMetadata>
1796 <pluginExecutionFilter>
1797 <groupId>org.apache.felix</groupId>
1798 <artifactId>maven-bundle-plugin</artifactId>
1799 <versionRange>[1.0,)</versionRange>
1801 <goal>manifest</goal>
1803 </pluginExecutionFilter>
1809 <pluginExecutionFilter>
1810 <groupId>org.apache.maven.plugins</groupId>
1811 <artifactId>maven-enforcer-plugin</artifactId>
1812 <versionRange>[1.0.0,)</versionRange>
1814 <goal>enforce</goal>
1816 </pluginExecutionFilter>
1822 <pluginExecutionFilter>
1823 <groupId>org.apache.maven.plugins</groupId>
1824 <artifactId>maven-dependency-plugin</artifactId>
1825 <versionRange>[2.10,)</versionRange>
1829 </pluginExecutionFilter>
1835 <pluginExecutionFilter>
1836 <groupId>org.apache.maven.plugins</groupId>
1837 <artifactId>maven-pmd-plugin</artifactId>
1838 <versionRange>[3.6,)</versionRange>
1840 <goal>cpd-check</goal>
1842 </pluginExecutionFilter>
1847 <!-- The plugin will eventually be removed, remove this too at that point -->
1849 <pluginExecutionFilter>
1850 <groupId>org.apache.maven.plugins</groupId>
1851 <artifactId>maven-antrun-plugin</artifactId>
1852 <versionRange>[1.8,)</versionRange>
1856 </pluginExecutionFilter>
1862 <pluginExecutionFilter>
1863 <groupId>org.apache.servicemix.tooling</groupId>
1864 <artifactId>depends-maven-plugin</artifactId>
1865 <versionRange>[1.2,)</versionRange>
1867 <goal>generate-depends-file</goal>
1869 </pluginExecutionFilter>
1875 <pluginExecutionFilter>
1876 <groupId>org.jacoco</groupId>
1877 <artifactId>jacoco-maven-plugin</artifactId>
1878 <versionRange>[0.7.0,)</versionRange>
1880 <goal>prepare-agent</goal>
1883 </pluginExecutionFilter>
1890 <pluginExecutionFilter>
1891 <groupId>org.ops4j.pax.exam</groupId>
1892 <artifactId>maven-paxexam-plugin</artifactId>
1893 <versionRange>[1.2.4,)</versionRange>
1895 <goal>generate-depends-file</goal>
1897 </pluginExecutionFilter>
1904 </lifecycleMappingMetadata>
1909 <groupId>org.jacoco</groupId>
1910 <artifactId>jacoco-maven-plugin</artifactId>
1911 <version>${jacoco.version}</version>
1913 <!-- Note: This exclusion list should match <sonar.exclusions>
1916 <exclude>**/gen/**</exclude>
1917 <exclude>**/generated-sources/**</exclude>
1918 <exclude>**/generated-test-sources/**</exclude>
1919 <exclude>**/yang-gen/**</exclude>
1920 <exclude>**/yang-gen-config/**</exclude>
1921 <exclude>**/yang-gen-sal/**</exclude>
1922 <exclude>**/yang-gen-code/**</exclude>
1923 <exclude>**/pax/**</exclude>
1929 <groupId>org.ops4j.pax.exam</groupId>
1930 <artifactId>maven-paxexam-plugin</artifactId>
1931 <version>1.2.4</version>
1935 <groupId>org.codehaus.mojo</groupId>
1936 <artifactId>jdepend-maven-plugin</artifactId>
1937 <version>2.0</version>
1942 <goal>generate-no-fork</goal>
1948 <!-- When updating this version, consider antl4-runtime above -->
1950 <groupId>org.antlr</groupId>
1951 <artifactId>antlr4-maven-plugin</artifactId>
1952 <version>4.7</version>
1959 <artifactId>maven-enforcer-plugin</artifactId>
1962 <id>enforce-banned-dependencies</id>
1964 <goal>enforce</goal>
1968 <bannedDependencies>
1969 <message>Please always use mockito-core instead of mockito-all (https://bugs.opendaylight.org/show_bug.cgi?id=7662)</message>
1971 <exclude>org.mockito:mockito-all</exclude>
1973 </bannedDependencies>
1981 <artifactId>maven-dependency-plugin</artifactId>
1984 <artifactId>maven-checkstyle-plugin</artifactId>
1987 <artifactId>maven-pmd-plugin</artifactId>
1990 <artifactId>maven-source-plugin</artifactId>
1993 <artifactId>maven-javadoc-plugin</artifactId>
1996 <!-- Jacoco / Sonar -->
1998 <groupId>org.jacoco</groupId>
1999 <artifactId>jacoco-maven-plugin</artifactId>
2002 <id>pre-unit-test</id>
2004 <goal>prepare-agent</goal>
2007 <destFile>${sonar.jacoco.reportPath}</destFile>
2011 <id>post-unit-test</id>
2016 <dataFile>${sonar.jacoco.reportPath}</dataFile>
2023 <groupId>com.alexecollins.maven.plugin</groupId>
2024 <artifactId>script-maven-plugin</artifactId>
2025 <version>1.0.0</version>
2028 <phase>prepare-package</phase>
2030 <goal>execute</goal>
2034 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
2035 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
2036 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
2037 // static class methods only - it will be MUCH easier to write!)
2038 void copy(File root, String glob, File target) {
2039 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
2040 Iterator dirStreamIterator = dirStream.iterator();
2041 while (dirStreamIterator.hasNext()) {
2042 java.nio.file.Path path = dirStreamIterator.next();
2043 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
2044 new java.nio.file.CopyOption[] {
2045 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
2046 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
2053 File gitRepoRootDir = project.basedir;
2054 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
2055 gitRepoRootDir = gitRepoRootDir.getParentFile();
2058 File target = new File(project.build.outputDirectory);
2060 copy(gitRepoRootDir, "README*", target);
2061 copy(gitRepoRootDir, "CONTRIBUTING*", target);
2062 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
2069 <groupId>org.apache-extras.beanshell</groupId>
2070 <artifactId>bsh</artifactId>
2071 <version>2.0b6</version>
2076 <!-- Blueprint dependency injection -->
2077 <!-- Remove when upgrading to plugin 1.5.0, and use
2078 <configuration><generatedDir>org/opendaylight/blueprint/</...></...>
2079 See https://issues.apache.org/jira/browse/ARIES-1597
2080 BUT beware that the directory is now conditional... -->
2082 <artifactId>maven-antrun-plugin</artifactId>
2084 <!-- This should only run once, in the process-classes phase; but we need it to run after
2085 process-classes in child projects. Attaching to process-test-classes and prepare-package
2086 ensures that the file will be moved whether tests are skipped or not. -->
2088 <id>move-autowire-test</id>
2089 <phase>process-test-classes</phase>
2095 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2097 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2099 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2100 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2101 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2102 failonerror="false" quiet="true" />
2105 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2112 <id>move-autowire-package</id>
2113 <phase>prepare-package</phase>
2119 <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
2121 <available file="${project.basedir}/src/main/resources/org/opendaylight/blueprint" type="dir"/>
2123 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
2124 <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
2125 todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
2126 failonerror="false" quiet="true" />
2129 <echo>NOT moving autowire.xml (to org/opendaylight/blueprint)</echo>
2138 <groupId>ant-contrib</groupId>
2139 <artifactId>ant-contrib</artifactId>
2140 <version>1.0b3</version>
2143 <groupId>ant</groupId>
2144 <artifactId>ant</artifactId>
2149 <groupId>org.apache.ant</groupId>
2150 <artifactId>ant-nodeps</artifactId>
2151 <version>1.8.1</version>
2161 <artifactId>maven-checkstyle-plugin</artifactId>
2162 <version>${checkstyle.version}</version>
2165 <!-- FIXME: activate this
2167 <artifactId>maven-project-info-reports-plugin</artifactId>
2168 <version>${projectinfo}</version>
2171 <groupId>org.codehaus.mojo</groupId>
2172 <artifactId>jdepend-maven-plugin</artifactId>
2176 <report>generate-no-fork</report>
2182 <artifactId>maven-javadoc-plugin</artifactId>
2185 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
2186 <link>https://google.github.io/guava/releases/22.0/api/docs/</link>
2187 <link>http://netty.io/4.1/api/</link>
2195 Maven Site Configuration
2197 The following configuration is necessary for maven-site-plugin to
2198 correctly identify the correct deployment path for OpenDaylight Maven
2201 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
2203 <distributionManagement>
2205 <id>opendaylight-site</id>
2206 <url>${nexus.site.url}/${project.artifactId}/</url>
2208 </distributionManagement>