1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
4 Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>odlparent-lite</artifactId>
16 <version>1.8.0-SNAPSHOT</version>
17 <relativePath>../odlparent-lite</relativePath>
20 <artifactId>odlparent</artifactId>
21 <packaging>pom</packaging>
22 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
28 <url>https://wiki.opendaylight.org/view/ODL_Root_Parent:Main</url>
31 <!-- Variables should only be used where genuinely useful (to avoid
32 repetition); in general versions should be specified in the
33 corresponding dependencyManagement or pluginManagement element, not as
34 a variable. Duplication within odlparent doesn't count if it can be
35 managed using maven-versions-plugin. -->
37 <nexus.repository.release>opendaylight.release</nexus.repository.release>
38 <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <!-- Java Versions -->
44 <!-- FIXME: confirm these two are picked by maven-compiler-plugin -->
45 <maven.compiler.source>1.8</maven.compiler.source>
46 <maven.compiler.target>1.8</maven.compiler.target>
47 <java.version.source>${maven.compiler.source}</java.version.source>
48 <java.version.target>${maven.compiler.target}</java.version.target>
50 <!-- Maven plugin versions, in the 'canonical' format -->
51 <!-- Used in controller -->
52 <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
53 <!-- Used in controller, didm, neutron, openflowplugin, persistence; see also affinity -->
54 <maven.bundle.version>3.0.1</maven.bundle.version>
56 <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
57 <!-- Used in controller, didm, l2switch, lacp, persistence; see also toolkit, tsdr, ttp -->
58 <maven.compile.plugin.version>3.5.1</maven.compile.plugin.version>
59 <!-- Used in mdsal, yangtools -->
60 <maven.jar.version>3.0.0</maven.jar.version>
61 <!-- Used in controller, coretutorials, mdsal, snbi, yangtools -->
62 <maven.javadoc.version>2.10.3</maven.javadoc.version>
64 <maven.plugin.version>3.4</maven.plugin.version>
65 <!-- Used in neutron, of-config, tsdr, yangtools -->
66 <!-- Later versions break tests in downstream projects -->
67 <maven.surefire.version>2.18.1</maven.surefire.version>
69 <!-- Maven plugin versions, in random formats -->
70 <!-- Used in aaa, alto, controller, didm, tsdr; see also affinity, snmp4sdn, toolkit, ttp -->
71 <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
72 <!-- TODO rename checkstyle.version to checkstyle.(maven.)plugin.version,
73 or just remove it, incl. all usages of it in a number of pom.xml; because normally,
74 as maven-checkstyle-plugin is in pluginManagement, this should not have to be repeated. -->
75 <!-- Used in alto, controller, lacp, netide, openflowjava, packetcable, snmp4sdn, ttp; see also affinity, opendove,
77 <checkstyle.version>2.17</checkstyle.version>
78 <!-- Used in controller, packetcable -->
79 <odl.checkstyle.version>0.3.0-SNAPSHOT</odl.checkstyle.version>
80 <!-- Used in snmp4sdn; see also toolkit -->
81 <compiler.version>${maven.compile.plugin.version}</compiler.version>
82 <!-- Used in controller, l2switch, netide, openflowjava, openflowplugin, snbi, tsdr, ttp; see also toolkit -->
83 <enforcer.version>1.4.1</enforcer.version>
84 <!-- Used in affinity, controller, nemo, opendove, snmp4sdn -->
85 <enunciate.version>1.31</enunciate.version>
86 <!-- Used in affinity, coretutorials, netide -->
87 <exam.version>4.4.0</exam.version>
88 <!-- Used in affinity, controller, neutron, of-config; see also snmp4sdn -->
89 <!-- Later versions break tests in downstream projects -->
90 <failsafe.version>2.18.1</failsafe.version>
92 Regression in jacoco-plugin 0.7.5 prevents us from upgrading to it
93 http://jira.xwiki.org/browse/XCOMMONS-821
95 Additionally we need to stay on jacoco 0.7.2.201409121644. Future
96 versions appear to have issues picking up code coverage for projects
98 https://github.com/jayway/powermock/issues/564
100 <!-- Used in controller, netvirt, neutron, of-config, ovsdb, persistence, snmp4sdn, vtn; see also usc -->
101 <jacoco.version>0.7.2.201409121644</jacoco.version>
102 <!-- Used in aaa, controller, coretutorials, integration/distribution, l2switch, lacp, lispflowmapping, netide,
103 nic, openflowplugin, ovsdb, persistence, sfc, snbi, snmp4sdn?, sxp, topoprocessing, unimgr, vtn -->
104 <karaf.version>3.0.7</karaf.version>
105 <!-- Used in lispflowmapping, snmp4sdn, vtn -->
106 <projectinfo>2.8.1</projectinfo>
107 <!-- Used in of-config; see also snmp4sdn -->
108 <propertymavenplugin.version>1.0.0</propertymavenplugin.version>
109 <!-- Used in topoprocessing; see also defense4all, snmp4sdn, toolkit -->
110 <releaseplugin.version>2.5.3</releaseplugin.version>
112 <!-- Supporting Libraries -->
113 <!-- Used by controller -->
114 <bouncycastle.version>1.54</bouncycastle.version>
116 <!-- Used by controller, snbi; see also centinel, dlux, toolkit -->
117 <osgi.core.version>5.0.0</osgi.core.version>
119 <akka.version>2.4.7</akka.version>
120 <scala.version>2.11</scala.version>
121 <scala.micro.version>8</scala.micro.version>
122 <leveldb.version>0.7</leveldb.version>
124 <!-- Default Sonar configuration -->
125 <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
126 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
127 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
128 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
129 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
130 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
132 <pmd.cpd.fail>false</pmd.cpd.fail>
135 <dependencyManagement>
139 <groupId>org.opendaylight.odlparent</groupId>
140 <artifactId>odlparent-artifacts</artifactId>
141 <version>1.8.0-SNAPSHOT</version>
142 <scope>import</scope>
146 <!-- Build tool dependencies (normally not here in <dependencies>,
147 but in a <dependency> in <pluginManagement> but for Checkstyle this
148 is required so that we can share the same version of Checkstyle
149 for both the Maven plugin below as well as for custom Checkstyle
150 check rule projects, such as yangtools' checkstyle-logging) -->
152 <groupId>com.puppycrawl.tools</groupId>
153 <artifactId>checkstyle</artifactId>
154 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
155 <version>6.16</version>
158 <!-- Testing Dependencies -->
159 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
160 <!-- Need to stick to JUnit 4.11 until
161 https://github.com/jayway/powermock/issues/560 is fixed (either in
162 PowerMock or with a new JUnit release) -->
164 <groupId>junit</groupId>
165 <artifactId>junit</artifactId>
166 <version>4.11</version>
170 <groupId>junit</groupId>
171 <artifactId>junit-dep</artifactId>
172 <version>4.11</version>
176 <groupId>org.skyscreamer</groupId>
177 <artifactId>jsonassert</artifactId>
178 <version>1.2.3</version>
182 <groupId>org.mockito</groupId>
183 <artifactId>mockito-all</artifactId>
184 <version>1.10.19</version>
188 <groupId>org.mockito</groupId>
189 <artifactId>mockito-core</artifactId>
190 <version>1.10.19</version>
194 <groupId>org.hamcrest</groupId>
195 <artifactId>hamcrest-core</artifactId>
196 <version>1.3</version>
200 <groupId>org.hamcrest</groupId>
201 <artifactId>hamcrest-library</artifactId>
202 <version>1.3</version>
206 <groupId>com.google.truth</groupId>
207 <artifactId>truth</artifactId>
208 <version>0.28</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>
241 <!-- Supporting Libraries -->
243 <groupId>org.slf4j</groupId>
244 <artifactId>jcl-over-slf4j</artifactId>
245 <version>1.7.21</version>
248 <groupId>org.slf4j</groupId>
249 <artifactId>slf4j-api</artifactId>
250 <version>1.7.21</version>
253 <groupId>org.slf4j</groupId>
254 <artifactId>slf4j-log4j12</artifactId>
255 <version>1.7.21</version>
258 <groupId>org.slf4j</groupId>
259 <artifactId>log4j-over-slf4j</artifactId>
260 <version>1.7.21</version>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-simple</artifactId>
265 <version>1.7.21</version>
269 <groupId>xml-apis</groupId>
270 <artifactId>xml-apis</artifactId>
271 <version>1.4.01</version>
274 <groupId>xerces</groupId>
275 <artifactId>xercesImpl</artifactId>
276 <version>2.11.0</version>
279 <groupId>ch.qos.logback</groupId>
280 <artifactId>logback-core</artifactId>
281 <version>1.1.7</version>
284 <groupId>ch.qos.logback</groupId>
285 <artifactId>logback-classic</artifactId>
286 <version>1.1.7</version>
289 <groupId>com.google.guava</groupId>
290 <artifactId>guava</artifactId>
291 <version>18.0</version>
294 <groupId>com.google.guava</groupId>
295 <artifactId>guava-testlib</artifactId>
296 <version>18.0</version>
300 <groupId>org.apache.commons</groupId>
301 <artifactId>commons-lang3</artifactId>
302 <version>3.4</version>
305 <groupId>commons-lang</groupId>
306 <artifactId>commons-lang</artifactId>
307 <version>2.6</version>
310 <groupId>commons-codec</groupId>
311 <artifactId>commons-codec</artifactId>
312 <version>1.10</version>
314 <!-- Jersey for JAXRS -->
316 <groupId>javax.ws.rs</groupId>
317 <artifactId>javax.ws.rs-api</artifactId>
318 <version>2.0.1</version>
321 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
322 <artifactId>jersey-guava</artifactId>
323 <version>2.22.2</version>
326 <groupId>org.glassfish</groupId>
327 <artifactId>javax.json</artifactId>
328 <version>1.0.4</version>
331 <groupId>com.eclipsesource.jaxrs</groupId>
332 <artifactId>jersey-all</artifactId>
333 <version>2.22.2</version>
336 <!-- servlet 3.x support -->
338 <groupId>org.glassfish.jersey.containers</groupId>
339 <artifactId>jersey-container-servlet</artifactId>
340 <version>2.8</version>
343 <groupId>org.apache.geronimo.bundles</groupId>
344 <artifactId>json</artifactId>
345 <version>20090211_1</version>
347 <!-- FIXME : remove all dependencies for jersey 1.17 -->
349 <groupId>com.sun.jersey</groupId>
350 <artifactId>jersey-core</artifactId>
351 <version>1.17</version>
354 <groupId>com.sun.jersey</groupId>
355 <artifactId>jersey-json</artifactId>
356 <version>1.17</version>
359 <groupId>com.sun.jersey</groupId>
360 <artifactId>jersey-server</artifactId>
361 <version>1.17</version>
364 <groupId>com.sun.jersey</groupId>
365 <artifactId>jersey-servlet</artifactId>
366 <version>1.17</version>
369 <groupId>com.sun.jersey.jersey-test-framework</groupId>
370 <artifactId>jersey-test-framework-grizzly2</artifactId>
371 <version>1.17</version>
375 <groupId>com.sun.jersey.jersey-test-framework</groupId>
376 <artifactId>jersey-test-framework-inmemory</artifactId>
377 <version>1.17</version>
381 <groupId>com.sun.jersey</groupId>
382 <artifactId>jersey-client</artifactId>
383 <version>1.17</version>
386 <groupId>org.opendaylight.controller.thirdparty</groupId>
387 <artifactId>com.sun.jersey.jersey-servlet</artifactId>
388 <version>1.17</version>
391 <groupId>org.apache.shiro</groupId>
392 <artifactId>shiro-core</artifactId>
393 <version>1.2.5</version>
396 <groupId>org.apache.shiro</groupId>
397 <artifactId>shiro-web</artifactId>
398 <version>1.2.5</version>
401 <!-- Plugin integration -->
403 <groupId>net.java.dev.stax-utils</groupId>
404 <artifactId>stax-utils</artifactId>
405 <version>20070216</version>
408 <groupId>org.sonatype.plexus</groupId>
409 <artifactId>plexus-build-api</artifactId>
410 <version>0.0.7</version>
413 <groupId>org.codehaus.plexus</groupId>
414 <artifactId>plexus-slf4j-logging</artifactId>
415 <version>1.1</version>
418 <groupId>com.fasterxml.jackson.core</groupId>
419 <artifactId>jackson-annotations</artifactId>
420 <version>2.3.2</version>
423 <groupId>com.fasterxml.jackson.core</groupId>
424 <artifactId>jackson-core</artifactId>
425 <version>2.3.2</version>
428 <groupId>com.fasterxml.jackson.core</groupId>
429 <artifactId>jackson-databind</artifactId>
430 <version>2.3.2</version>
433 <groupId>com.fasterxml.jackson.datatype</groupId>
434 <artifactId>jackson-datatype-json-org</artifactId>
435 <version>2.3.2</version>
437 <!-- TODO do we really need resteasy ? -->
439 <groupId>org.jboss.resteasy</groupId>
440 <artifactId>jaxrs-api</artifactId>
441 <version>3.0.12.Final</version>
445 <groupId>com.fasterxml.jackson.jaxrs</groupId>
446 <artifactId>jackson-jaxrs-base</artifactId>
447 <version>2.3.2</version>
450 <groupId>com.fasterxml.jackson.jaxrs</groupId>
451 <artifactId>jackson-jaxrs-json-provider</artifactId>
452 <version>2.3.2</version>
455 <groupId>com.fasterxml.jackson.module</groupId>
456 <artifactId>jackson-module-jaxb-annotations</artifactId>
457 <version>2.3.2</version>
460 <groupId>com.sun.xml.txw2</groupId>
461 <artifactId>txw2</artifactId>
462 <version>20110809</version>
465 <groupId>com.github.romix</groupId>
466 <artifactId>java-concurrent-hash-trie-map</artifactId>
467 <version>0.2.23</version>
470 <groupId>com.google.code.findbugs</groupId>
471 <artifactId>jsr305</artifactId>
472 <version>3.0.0</version>
475 <groupId>com.google.code.gson</groupId>
476 <artifactId>gson</artifactId>
477 <version>2.7</version>
480 <groupId>commons-fileupload</groupId>
481 <artifactId>commons-fileupload</artifactId>
482 <version>1.3.1</version>
485 <groupId>commons-io</groupId>
486 <artifactId>commons-io</artifactId>
487 <version>2.4</version>
490 <groupId>commons-net</groupId>
491 <artifactId>commons-net</artifactId>
492 <version>3.5</version>
495 <groupId>eclipselink</groupId>
496 <artifactId>javax.persistence</artifactId>
497 <version>2.0.4.v201112161009</version>
500 <groupId>eclipselink</groupId>
501 <artifactId>javax.resource</artifactId>
502 <version>1.5.0.v200906010428</version>
505 <groupId>equinoxSDK381</groupId>
506 <artifactId>javax.servlet</artifactId>
507 <version>3.0.0.v201112011016</version>
510 <groupId>equinoxSDK381</groupId>
511 <artifactId>javax.servlet.jsp</artifactId>
512 <version>2.2.0.v201112011158</version>
515 <groupId>equinoxSDK381</groupId>
516 <artifactId>org.apache.felix.gogo.command</artifactId>
517 <version>0.8.0.v201108120515</version>
520 <groupId>equinoxSDK381</groupId>
521 <artifactId>org.apache.felix.gogo.runtime</artifactId>
522 <version>0.8.0.v201108120515</version>
525 <groupId>equinoxSDK381</groupId>
526 <artifactId>org.apache.felix.gogo.shell</artifactId>
527 <version>0.8.0.v201110170705</version>
530 <groupId>equinoxSDK381</groupId>
531 <artifactId>org.eclipse.equinox.cm</artifactId>
532 <version>1.0.400.v20120522-1841</version>
535 <groupId>equinoxSDK381</groupId>
536 <artifactId>org.eclipse.equinox.console</artifactId>
537 <version>1.0.0.v20120522-1841</version>
540 <groupId>equinoxSDK381</groupId>
541 <artifactId>org.eclipse.equinox.ds</artifactId>
542 <version>1.4.0.v20120522-1841</version>
545 <groupId>equinoxSDK381</groupId>
546 <artifactId>org.eclipse.equinox.launcher</artifactId>
547 <version>1.3.0.v20120522-1813</version>
550 <groupId>equinoxSDK381</groupId>
551 <artifactId>org.eclipse.equinox.util</artifactId>
552 <version>1.0.400.v20120522-2049</version>
555 <groupId>equinoxSDK381</groupId>
556 <artifactId>org.eclipse.osgi.services</artifactId>
557 <version>3.3.100.v20120522-1822</version>
561 <groupId>org.eclipse.tycho</groupId>
562 <artifactId>org.eclipse.osgi</artifactId>
563 <version>3.9.1.v20130814-1242</version>
565 <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
567 <groupId>equinoxSDK381</groupId>
568 <artifactId>org.eclipse.osgi</artifactId>
569 <version>3.8.1.v20120830-144521</version>
574 <groupId>geminiweb</groupId>
575 <artifactId>org.eclipse.gemini.web.core</artifactId>
576 <version>2.2.0.RELEASE</version>
579 <groupId>geminiweb</groupId>
580 <artifactId>org.eclipse.gemini.web.extender</artifactId>
581 <version>2.2.0.RELEASE</version>
584 <groupId>geminiweb</groupId>
585 <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
586 <version>2.2.0.RELEASE</version>
589 <groupId>geminiweb</groupId>
590 <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
591 <version>3.6.0.RELEASE</version>
594 <groupId>geminiweb</groupId>
595 <artifactId>org.eclipse.virgo.util.common</artifactId>
596 <version>3.6.0.RELEASE</version>
599 <groupId>geminiweb</groupId>
600 <artifactId>org.eclipse.virgo.util.io</artifactId>
601 <version>3.6.0.RELEASE</version>
604 <groupId>geminiweb</groupId>
605 <artifactId>org.eclipse.virgo.util.math</artifactId>
606 <version>3.6.0.RELEASE</version>
609 <groupId>geminiweb</groupId>
610 <artifactId>org.eclipse.virgo.util.osgi</artifactId>
611 <version>3.6.0.RELEASE</version>
614 <groupId>geminiweb</groupId>
615 <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
616 <version>3.6.0.RELEASE</version>
619 <groupId>geminiweb</groupId>
620 <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
621 <version>3.6.0.RELEASE</version>
625 <groupId>io.netty</groupId>
626 <artifactId>netty-all</artifactId>
627 <!-- If these are updated, the version in features.xml needs to be changed too -->
628 <version>4.0.37.Final</version>
631 <groupId>io.netty</groupId>
632 <artifactId>netty-buffer</artifactId>
633 <version>4.0.37.Final</version>
636 <groupId>io.netty</groupId>
637 <artifactId>netty-codec</artifactId>
638 <version>4.0.37.Final</version>
641 <groupId>io.netty</groupId>
642 <artifactId>netty-codec-http</artifactId>
643 <version>4.0.37.Final</version>
646 <groupId>io.netty</groupId>
647 <artifactId>netty-common</artifactId>
648 <version>4.0.37.Final</version>
651 <groupId>io.netty</groupId>
652 <artifactId>netty-handler</artifactId>
653 <version>4.0.37.Final</version>
656 <groupId>io.netty</groupId>
657 <artifactId>netty-transport</artifactId>
658 <version>4.0.37.Final</version>
660 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
661 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
663 <groupId>io.netty</groupId>
664 <artifactId>netty-transport-native-epoll</artifactId>
665 <classifier>linux-x86_64</classifier>
666 <version>4.0.37.Final</version>
669 <groupId>javax.ws.rs</groupId>
670 <artifactId>jsr311-api</artifactId>
671 <version>1.1.1</version>
674 <groupId>orbit</groupId>
675 <artifactId>javax.activation</artifactId>
676 <version>1.1.0.v201211130549</version>
679 <groupId>orbit</groupId>
680 <artifactId>javax.annotation</artifactId>
681 <version>1.1.0.v201209060031</version>
684 <groupId>orbit</groupId>
685 <artifactId>javax.ejb</artifactId>
686 <version>3.1.1.v201204261316</version>
689 <groupId>orbit</groupId>
690 <artifactId>javax.el</artifactId>
691 <version>2.2.0.v201108011116</version>
694 <groupId>orbit</groupId>
695 <artifactId>javax.mail.glassfish</artifactId>
696 <version>1.4.1.v201108011116</version>
699 <groupId>javax.servlet</groupId>
700 <artifactId>javax.servlet-api</artifactId>
701 <version>3.0.1</version>
704 <groupId>orbit</groupId>
705 <artifactId>javax.servlet.jsp.jstl</artifactId>
706 <version>1.2.0.v201105211821</version>
709 <groupId>orbit</groupId>
710 <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
711 <version>1.2.0.v201210211230</version>
714 <groupId>orbit</groupId>
715 <artifactId>javax.xml.rpc</artifactId>
716 <version>1.1.0.v201005080400</version>
719 <groupId>orbit</groupId>
720 <artifactId>org.apache.catalina</artifactId>
721 <version>7.0.53.v201406061610</version>
724 <groupId>orbit</groupId>
725 <artifactId>org.apache.catalina.ha</artifactId>
726 <version>7.0.53.v201406070630</version>
729 <groupId>orbit</groupId>
730 <artifactId>org.apache.catalina.tribes</artifactId>
731 <version>7.0.53.v201406070630</version>
734 <groupId>orbit</groupId>
735 <artifactId>org.apache.coyote</artifactId>
736 <version>7.0.53.v201406070630</version>
739 <groupId>orbit</groupId>
740 <artifactId>org.apache.el</artifactId>
741 <version>7.0.53.v201406060720</version>
744 <groupId>orbit</groupId>
745 <artifactId>org.apache.jasper</artifactId>
746 <version>7.0.53.v201406070630</version>
749 <groupId>orbit</groupId>
750 <artifactId>org.apache.juli.extras</artifactId>
751 <version>7.0.53.v201406060720</version>
754 <groupId>orbit</groupId>
755 <artifactId>org.apache.tomcat.api</artifactId>
756 <version>7.0.53.v201406060720</version>
759 <groupId>orbit</groupId>
760 <artifactId>org.apache.tomcat.util</artifactId>
761 <version>7.0.53.v201406070630</version>
764 <groupId>org.aopalliance</groupId>
765 <artifactId>com.springsource.org.aopalliance</artifactId>
766 <version>1.0.0</version>
769 <groupId>org.apache.felix</groupId>
770 <artifactId>org.apache.felix.dependencymanager</artifactId>
771 <version>4.3.0</version>
774 <groupId>org.apache.felix</groupId>
775 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
776 <version>4.0.4</version>
779 <groupId>org.apache.felix</groupId>
780 <artifactId>org.apache.felix.fileinstall</artifactId>
781 <version>3.5.4</version>
784 <groupId>org.apache.felix</groupId>
785 <artifactId>org.apache.felix.metatype</artifactId>
786 <version>1.1.2</version>
788 <!-- felix webconsole -->
790 <groupId>org.apache.felix</groupId>
791 <artifactId>org.apache.felix.webconsole</artifactId>
792 <version>4.2.14</version>
793 <!-- the all bundle includes all the necessary plugins -->
794 <classifier>all</classifier>
797 <groupId>org.bouncycastle</groupId>
798 <artifactId>bcpkix-jdk15on</artifactId>
799 <version>${bouncycastle.version}</version>
802 <groupId>org.bouncycastle</groupId>
803 <artifactId>bcprov-jdk15on</artifactId>
804 <version>${bouncycastle.version}</version>
807 <groupId>org.codehaus.enunciate</groupId>
808 <artifactId>enunciate-core-annotations</artifactId>
809 <version>${enunciate.version}</version>
812 <groupId>com.webcohesion.enunciate</groupId>
813 <artifactId>enunciate-core-annotations</artifactId>
814 <version>2.1.1</version>
817 <groupId>org.codehaus.jettison</groupId>
818 <artifactId>jettison</artifactId>
819 <version>1.3.7</version>
821 <!-- equinox http service bridge -->
823 <groupId>org.eclipse.equinox.http</groupId>
824 <artifactId>servlet</artifactId>
825 <version>1.0.0-v20070606</version>
827 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
828 pull in javax.validation first:
829 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
831 <groupId>org.eclipse.persistence</groupId>
832 <artifactId>org.eclipse.persistence.antlr</artifactId>
833 <version>2.6.2</version>
836 <groupId>org.eclipse.persistence</groupId>
837 <artifactId>org.eclipse.persistence.core</artifactId>
838 <version>2.6.2</version>
841 <groupId>org.eclipse.persistence</groupId>
842 <artifactId>org.eclipse.persistence.moxy</artifactId>
843 <version>2.6.2</version>
846 <groupId>javax.validation</groupId>
847 <artifactId>validation-api</artifactId>
848 <version>1.1.0.Final</version>
851 <groupId>org.javassist</groupId>
852 <artifactId>javassist</artifactId>
853 <version>3.20.0-GA</version>
856 <groupId>org.jboss.spec.javax.transaction</groupId>
857 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
858 <version>1.0.1.Final</version>
861 <groupId>org.jolokia</groupId>
862 <artifactId>jolokia-osgi</artifactId>
863 <version>1.3.3</version>
866 <groupId>org.json</groupId>
867 <artifactId>json</artifactId>
868 <version>20131018</version>
871 <groupId>org.osgi</groupId>
872 <artifactId>org.osgi.compendium</artifactId>
873 <version>5.0.0</version>
874 <scope>provided</scope>
877 <groupId>org.osgi</groupId>
878 <artifactId>org.osgi.core</artifactId>
879 <version>${osgi.core.version}</version>
880 <scope>provided</scope>
883 <groupId>org.ow2.asm</groupId>
884 <artifactId>asm-all</artifactId>
885 <version>5.1</version>
887 <!-- Visual VM hook -->
889 <groupId>org.ow2.chameleon.management</groupId>
890 <artifactId>chameleon-mbeans</artifactId>
891 <version>1.0.0</version>
894 <groupId>org.springframework</groupId>
895 <artifactId>spring-aop</artifactId>
896 <version>3.2.14.RELEASE</version>
899 <groupId>org.springframework</groupId>
900 <artifactId>spring-beans</artifactId>
901 <version>3.2.14.RELEASE</version>
904 <groupId>org.springframework</groupId>
905 <artifactId>spring-context</artifactId>
906 <version>3.2.14.RELEASE</version>
909 <groupId>org.springframework</groupId>
910 <artifactId>spring-core</artifactId>
911 <version>3.2.14.RELEASE</version>
914 <groupId>org.springframework</groupId>
915 <artifactId>spring-expression</artifactId>
916 <version>3.2.14.RELEASE</version>
919 <groupId>org.springframework</groupId>
920 <artifactId>spring-tx</artifactId>
921 <version>3.2.14.RELEASE</version>
924 <groupId>org.springframework</groupId>
925 <artifactId>spring-web</artifactId>
926 <version>3.2.14.RELEASE</version>
929 <groupId>org.springframework</groupId>
930 <artifactId>spring-webmvc</artifactId>
931 <version>3.2.14.RELEASE</version>
933 <!-- Spring security -->
935 <groupId>org.springframework.security</groupId>
936 <artifactId>spring-security-config</artifactId>
937 <version>3.2.8.RELEASE</version>
940 <groupId>org.springframework.security</groupId>
941 <artifactId>spring-security-core</artifactId>
942 <version>3.2.8.RELEASE</version>
945 <groupId>org.springframework.security</groupId>
946 <artifactId>spring-security-taglibs</artifactId>
947 <version>3.2.8.RELEASE</version>
950 <groupId>org.springframework.security</groupId>
951 <artifactId>spring-security-web</artifactId>
952 <version>3.2.8.RELEASE</version>
955 <groupId>virgomirror</groupId>
956 <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
957 <version>3.8.0.I20120518-2145</version>
960 <!-- Configuration library -->
961 <!-- This needs to be kept in sync with the version used by akka -->
963 <groupId>com.typesafe</groupId>
964 <artifactId>config</artifactId>
965 <version>1.3.0</version>
970 <groupId>com.typesafe.akka</groupId>
971 <artifactId>akka-actor_${scala.version}</artifactId>
972 <version>${akka.version}</version>
975 <groupId>com.typesafe.akka</groupId>
976 <artifactId>akka-cluster_${scala.version}</artifactId>
977 <version>${akka.version}</version>
980 <groupId>com.typesafe.akka</groupId>
981 <artifactId>akka-persistence_${scala.version}</artifactId>
982 <version>${akka.version}</version>
985 <groupId>com.typesafe.akka</groupId>
986 <artifactId>akka-protobuf_${scala.version}</artifactId>
987 <version>${akka.version}</version>
990 <groupId>com.typesafe.akka</groupId>
991 <artifactId>akka-remote_${scala.version}</artifactId>
992 <version>${akka.version}</version>
995 <groupId>com.typesafe.akka</groupId>
996 <artifactId>akka-testkit_${scala.version}</artifactId>
997 <version>${akka.version}</version>
1001 <groupId>com.typesafe.akka</groupId>
1002 <artifactId>akka-osgi_${scala.version}</artifactId>
1003 <version>${akka.version}</version>
1006 <groupId>com.typesafe.akka</groupId>
1007 <artifactId>akka-slf4j_${scala.version}</artifactId>
1008 <version>${akka.version}</version>
1011 <groupId>org.scala-lang.modules</groupId>
1012 <artifactId>scala-java8-compat_${scala.version}</artifactId>
1013 <version>0.7.0</version>
1016 <groupId>org.iq80.leveldb</groupId>
1017 <artifactId>leveldb</artifactId>
1018 <version>${leveldb.version}</version>
1021 <groupId>org.fusesource.leveldbjni</groupId>
1022 <artifactId>leveldbjni-all</artifactId>
1023 <version>1.8-odl</version>
1026 <groupId>org.uncommons.maths</groupId>
1027 <artifactId>uncommons-maths</artifactId>
1028 <version>1.2.2a</version>
1031 <groupId>com.google.protobuf</groupId>
1032 <artifactId>protobuf-java</artifactId>
1033 <version>2.5.0</version>
1038 <groupId>org.scala-lang</groupId>
1039 <artifactId>scala-library</artifactId>
1040 <version>${scala.version}.${scala.micro.version}</version>
1043 <groupId>org.scala-lang</groupId>
1044 <artifactId>scala-reflect</artifactId>
1045 <version>${scala.version}.${scala.micro.version}</version>
1048 <!-- LMAX Disruptor -->
1050 <groupId>com.lmax</groupId>
1051 <artifactId>disruptor</artifactId>
1052 <!-- If this is updated, the version in features.xml needs to be changed too -->
1053 <version>3.3.4</version>
1056 <!-- Add Pax Exam -->
1058 <groupId>org.ops4j.pax.exam</groupId>
1059 <artifactId>pax-exam</artifactId>
1060 <version>${exam.version}</version>
1064 <groupId>org.ops4j.pax.exam</groupId>
1065 <artifactId>pax-exam-container-karaf</artifactId>
1066 <version>${exam.version}</version>
1070 <groupId>org.ops4j.pax.exam</groupId>
1071 <artifactId>pax-exam-container-native</artifactId>
1072 <version>${exam.version}</version>
1076 <groupId>org.ops4j.pax.exam</groupId>
1077 <artifactId>pax-exam-junit4</artifactId>
1078 <version>${exam.version}</version>
1082 <groupId>org.ops4j.pax.exam</groupId>
1083 <artifactId>pax-exam-link-mvn</artifactId>
1084 <version>${exam.version}</version>
1089 <groupId>org.ops4j.pax.url</groupId>
1090 <artifactId>pax-url-aether</artifactId>
1091 <version>2.4.7</version>
1095 <groupId>org.ops4j.pax.url</groupId>
1096 <artifactId>pax-url-wrap</artifactId>
1097 <version>2.4.7</version>
1100 <groupId>org.springframework.osgi</groupId>
1101 <artifactId>spring-osgi-mock</artifactId>
1102 <version>1.2.1</version>
1106 <groupId>xmlunit</groupId>
1107 <artifactId>xmlunit</artifactId>
1108 <version>1.6</version>
1112 <groupId>org.eclipse.jetty</groupId>
1113 <artifactId>jetty-client</artifactId>
1114 <version>8.1.19.v20160209</version>
1117 <groupId>org.eclipse.jetty</groupId>
1118 <artifactId>jetty-server</artifactId>
1119 <version>8.1.19.v20160209</version>
1122 <groupId>org.eclipse.jetty</groupId>
1123 <artifactId>jetty-servlet-tester</artifactId>
1124 <version>8.1.19.v20160209</version>
1128 <groupId>org.eclipse.jetty</groupId>
1129 <artifactId>jetty-servlets</artifactId>
1130 <version>8.1.19.v20160209</version>
1133 <groupId>org.eclipse.jetty</groupId>
1134 <artifactId>jetty-webapp</artifactId>
1135 <version>8.1.19.v20160209</version>
1138 <groupId>org.apache.aries.blueprint</groupId>
1139 <artifactId>org.apache.aries.blueprint.core</artifactId>
1140 <version>1.4.2</version>
1143 <!-- Xtend http://xtend-lang.org
1144 NOTE: When you increase the version here,
1145 then remember to also increase it for the
1146 xtend-maven-plugin below! (We don't want to
1147 use a Maven property, in order not to "leak" that.)
1150 <groupId>org.eclipse.xtend</groupId>
1151 <artifactId>org.eclipse.xtend.lib</artifactId>
1152 <version>2.9.2</version>
1155 <groupId>org.eclipse.xtend</groupId>
1156 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1157 <version>2.9.2</version>
1160 <groupId>org.eclipse.xtext</groupId>
1161 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1162 <version>2.9.2</version>
1166 </dependencyManagement>
1169 <!-- Karaf provides SL4FJ encapsulation -->
1171 <groupId>org.slf4j</groupId>
1172 <artifactId>slf4j-api</artifactId>
1173 <scope>provided</scope>
1176 <!-- Enable JSR-305 annotations everywhere -->
1178 <groupId>com.google.code.findbugs</groupId>
1179 <artifactId>jsr305</artifactId>
1180 <scope>provided</scope>
1187 <!-- Official maven plugins, alpha-sorted by artifactId.
1188 We do not need to specify the groupId. -->
1190 <artifactId>maven-antrun-plugin</artifactId>
1191 <version>${maven.antrun.plugin.version}</version>
1194 <artifactId>maven-checkstyle-plugin</artifactId>
1195 <version>${checkstyle.version}</version>
1198 <groupId>com.puppycrawl.tools</groupId>
1199 <artifactId>checkstyle</artifactId>
1200 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1201 <version>6.16</version>
1204 <groupId>org.opendaylight.odlparent</groupId>
1205 <artifactId>checkstyle</artifactId>
1206 <version>${odl.checkstyle.version}</version>
1209 <groupId>org.opendaylight.odlparent</groupId>
1210 <artifactId>odl-license</artifactId>
1211 <version>0.2.0-SNAPSHOT</version>
1214 <groupId>com.github.sevntu.checkstyle</groupId>
1215 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1216 <version>1.21.0</version>
1220 <configLocation>odl_checks.xml</configLocation>
1221 <!-- <sourceDirectory> is needed so that checkstyle ignores the
1222 generated sources directory -->
1223 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1224 <includeResources>true</includeResources>
1225 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1226 <includeTestResources>true</includeTestResources>
1228 org/opendaylight/yang/gen/**,
1229 **/protobuff/messages/**,
1230 **/thrift/gen/*.java
1232 <failsOnError>false</failsOnError>
1233 <consoleOutput>true</consoleOutput>
1237 <id>check-license</id>
1241 <phase>process-sources</phase>
1243 <configLocation>check-license.xml</configLocation>
1244 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1245 <includeResources>false</includeResources>
1246 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1247 <includeTestResources>false</includeTestResources>
1248 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1250 org/opendaylight/yang/gen/**,
1251 **/protobuff/messages/**,
1252 **/thrift/gen/*.java
1254 <failsOnError>false</failsOnError>
1255 <consoleOutput>true</consoleOutput>
1262 <phase>process-sources</phase>
1267 <groupId>org.apache.maven.plugins</groupId>
1268 <artifactId>maven-pmd-plugin</artifactId>
1269 <version>3.6</version>
1273 <phase>process-sources</phase>
1275 <goal>cpd-check</goal>
1278 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1279 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1280 <minimumTokens>101</minimumTokens>
1281 <printFailingErrors>true</printFailingErrors>
1283 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1284 not understand path prefixes nor wildcards. Details are available
1285 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1286 Hence people introducing new generated sources have to include
1289 <excludeRoot>${basedir}/target/generated-sources</excludeRoot>
1291 <linkXRef>false</linkXRef>
1297 <artifactId>maven-compiler-plugin</artifactId>
1298 <version>${maven.compile.plugin.version}</version>
1300 <source>1.8</source>
1301 <target>1.8</target>
1303 <arg>-parameters</arg>
1308 <artifactId>maven-enforcer-plugin</artifactId>
1309 <version>${enforcer.version}</version>
1312 <artifactId>maven-failsafe-plugin</artifactId>
1313 <version>${failsafe.version}</version>
1316 <artifactId>maven-invoker-plugin</artifactId>
1317 <version>2.0.0</version>
1320 <artifactId>maven-jar-plugin</artifactId>
1321 <version>${maven.jar.version}</version>
1324 <artifactId>maven-dependency-plugin</artifactId>
1325 <version>2.10</version>
1328 <id>unpack-license</id>
1329 <phase>generate-resources</phase>
1330 <goals><goal>unpack</goal></goals>
1334 <groupId>org.opendaylight.odlparent</groupId>
1335 <artifactId>odl-license</artifactId>
1336 <version>0.2.0-SNAPSHOT</version>
1339 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1340 <excludes>META-INF/**</excludes>
1347 <artifactId>maven-plugin-plugin</artifactId>
1348 <version>${maven.plugin.version}</version>
1352 <artifactId>maven-resources-plugin</artifactId>
1353 <version>3.0.1</version>
1356 <artifactId>maven-shade-plugin</artifactId>
1357 <version>2.4.3</version>
1360 <artifactId>maven-source-plugin</artifactId>
1361 <version>3.0.0</version>
1364 <id>attach-sources</id>
1365 <phase>verify</phase>
1367 <goal>jar-no-fork</goal>
1373 <artifactId>maven-surefire-plugin</artifactId>
1374 <version>${maven.surefire.version}</version>
1376 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1380 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1382 <groupId>org.apache.felix</groupId>
1383 <artifactId>maven-bundle-plugin</artifactId>
1384 <version>${maven.bundle.version}</version>
1385 <extensions>true</extensions>
1389 <groupId>org.apache.karaf.tooling</groupId>
1390 <artifactId>karaf-maven-plugin</artifactId>
1391 <version>${karaf.version}</version>
1395 <groupId>org.apache.servicemix.tooling</groupId>
1396 <artifactId>depends-maven-plugin</artifactId>
1397 <version>1.3.1</version>
1400 <id>generate-depends-file</id>
1402 <goal>generate-depends-file</goal>
1409 <groupId>org.codehaus.enunciate</groupId>
1410 <artifactId>maven-enunciate-plugin</artifactId>
1411 <version>${enunciate.version}</version>
1414 <groupId>com.webcohesion.enunciate</groupId>
1415 <artifactId>enunciate-maven-plugin</artifactId>
1416 <version>2.1.1</version>
1419 <groupId>org.codehaus.groovy.maven</groupId>
1420 <artifactId>gmaven-plugin</artifactId>
1421 <version>1.0</version>
1424 <groupId>org.codehaus.mojo</groupId>
1425 <artifactId>build-helper-maven-plugin</artifactId>
1426 <version>1.10</version>
1429 <groupId>org.codehaus.mojo</groupId>
1430 <artifactId>findbugs-maven-plugin</artifactId>
1431 <version>3.0.3</version>
1434 <groupId>org.codehaus.mojo</groupId>
1435 <artifactId>properties-maven-plugin</artifactId>
1436 <version>${propertymavenplugin.version}</version>
1439 <groupId>org.eclipse.xtend</groupId>
1440 <artifactId>xtend-maven-plugin</artifactId>
1441 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1442 <version>2.9.2</version>
1446 <goal>compile</goal>
1447 <goal>testCompile</goal>
1450 <outputDirectory>${project.build.directory}/generated-sources/xtend/main</outputDirectory>
1451 <testOutputDirectory>${project.build.directory}/generated-sources/xtend/test</testOutputDirectory>
1457 <groupId>org.eclipse.m2e</groupId>
1458 <artifactId>lifecycle-mapping</artifactId>
1459 <version>1.0.0</version>
1461 <lifecycleMappingMetadata>
1464 <pluginExecutionFilter>
1465 <groupId>org.apache.felix</groupId>
1466 <artifactId>maven-bundle-plugin</artifactId>
1467 <versionRange>[1.0,)</versionRange>
1469 <goal>manifest</goal>
1471 </pluginExecutionFilter>
1477 <pluginExecutionFilter>
1478 <groupId>org.apache.maven.plugins</groupId>
1479 <artifactId>maven-enforcer-plugin</artifactId>
1480 <versionRange>[1.0.0,)</versionRange>
1482 <goal>enforce</goal>
1484 </pluginExecutionFilter>
1490 <pluginExecutionFilter>
1491 <groupId>org.apache.maven.plugins</groupId>
1492 <artifactId>maven-dependency-plugin</artifactId>
1493 <versionRange>[2.10,)</versionRange>
1497 </pluginExecutionFilter>
1503 <pluginExecutionFilter>
1504 <groupId>org.apache.maven.plugins</groupId>
1505 <artifactId>maven-pmd-plugin</artifactId>
1506 <versionRange>[3.6,)</versionRange>
1508 <goal>cpd-check</goal>
1510 </pluginExecutionFilter>
1516 <pluginExecutionFilter>
1517 <groupId>org.apache.servicemix.tooling</groupId>
1518 <artifactId>depends-maven-plugin</artifactId>
1519 <versionRange>[1.2,)</versionRange>
1521 <goal>generate-depends-file</goal>
1523 </pluginExecutionFilter>
1529 <pluginExecutionFilter>
1530 <groupId>org.jacoco</groupId>
1531 <artifactId>jacoco-maven-plugin</artifactId>
1532 <versionRange>[0.7.0,)</versionRange>
1534 <goal>prepare-agent</goal>
1537 </pluginExecutionFilter>
1543 </lifecycleMappingMetadata>
1548 <groupId>org.jacoco</groupId>
1549 <artifactId>jacoco-maven-plugin</artifactId>
1550 <version>${jacoco.version}</version>
1552 <!-- Note: This exclusion list should match <sonar.exclusions>
1555 <exclude>**/gen/**</exclude>
1556 <exclude>**/generated-sources/**</exclude>
1557 <exclude>**/yang-gen/**</exclude>
1558 <exclude>**/pax/**</exclude>
1564 <groupId>org.ops4j.pax.exam</groupId>
1565 <artifactId>maven-paxexam-plugin</artifactId>
1566 <version>1.2.4</version>
1570 <groupId>org.codehaus.mojo</groupId>
1571 <artifactId>jdepend-maven-plugin</artifactId>
1572 <version>2.0</version>
1577 <goal>generate-no-fork</goal>
1587 <artifactId>maven-enforcer-plugin</artifactId>
1590 <id>enforce-maven</id>
1593 <requireJavaVersion>
1594 <version>1.8.0</version>
1595 </requireJavaVersion>
1596 <requireMavenVersion>
1597 <version>[3.2.5,)</version>
1598 </requireMavenVersion>
1602 <goal>enforce</goal>
1608 <artifactId>maven-dependency-plugin</artifactId>
1611 <artifactId>maven-checkstyle-plugin</artifactId>
1614 <artifactId>maven-pmd-plugin</artifactId>
1617 <artifactId>maven-source-plugin</artifactId>
1620 <artifactId>maven-javadoc-plugin</artifactId>
1623 <!-- Jacoco / Sonar -->
1625 <groupId>org.jacoco</groupId>
1626 <artifactId>jacoco-maven-plugin</artifactId>
1629 <id>pre-unit-test</id>
1631 <goal>prepare-agent</goal>
1634 <destFile>${sonar.jacoco.reportPath}</destFile>
1638 <id>post-unit-test</id>
1643 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1650 <groupId>com.alexecollins.maven.plugin</groupId>
1651 <artifactId>script-maven-plugin</artifactId>
1652 <version>1.0.0</version>
1655 <phase>prepare-package</phase>
1657 <goal>execute</goal>
1661 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1662 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1663 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1664 // static class methods only - it will be MUCH easier to write!)
1665 void copy(File root, String glob, File target) {
1666 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1667 Iterator dirStreamIterator = dirStream.iterator();
1668 while (dirStreamIterator.hasNext()) {
1669 java.nio.file.Path path = dirStreamIterator.next();
1670 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1671 new java.nio.file.CopyOption[] {
1672 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1673 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1680 File gitRepoRootDir = project.basedir;
1681 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1682 gitRepoRootDir = gitRepoRootDir.getParentFile();
1685 File target = new File(project.build.outputDirectory);
1687 copy(gitRepoRootDir, "README*", target);
1688 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1689 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1696 <groupId>org.apache-extras.beanshell</groupId>
1697 <artifactId>bsh</artifactId>
1698 <version>2.0b6</version>
1708 <artifactId>maven-checkstyle-plugin</artifactId>
1709 <version>${checkstyle.version}</version>
1712 <!-- FIXME: activate this
1714 <artifactId>maven-project-info-reports-plugin</artifactId>
1715 <version>${projectinfo}</version>
1718 <groupId>org.codehaus.mojo</groupId>
1719 <artifactId>findbugs-maven-plugin</artifactId>
1721 <effort>Max</effort>
1722 <threshold>Low</threshold>
1727 <groupId>org.codehaus.mojo</groupId>
1728 <artifactId>jdepend-maven-plugin</artifactId>
1732 <report>generate-no-fork</report>
1738 <artifactId>maven-javadoc-plugin</artifactId>
1741 <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
1742 <link>https://google.github.io/guava/releases/18.0/api/docs/</link>
1743 <link>https://google.github.io/guava/releases/19.0/api/docs/</link>
1744 <link>http://netty.io/4.0/api/</link>
1752 Maven Site Configuration
1754 The following configuration is necessary for maven-site-plugin to
1755 correctly identify the correct deployment path for OpenDaylight Maven
1758 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1760 <distributionManagement>
1762 <id>opendaylight-site</id>
1763 <url>${nexus.site.url}/${project.artifactId}/</url>
1765 </distributionManagement>