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>4.0.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 <!-- Used in openflowplugin -->
51 <enforcer.version>3.0.0-M1</enforcer.version>
52 <!-- Used in controller, infrautils, openflowplugin -->
53 <exam.version>4.12.0</exam.version>
54 <!-- Used in neutron, ovsdb -->
55 <jacoco.version>0.8.1</jacoco.version>
56 <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
57 <karaf.version>4.2.0</karaf.version>
58 <!-- Used in bgpcep, lispflowmapping -->
59 <projectinfo>2.8.1</projectinfo>
61 <!-- Supporting Libraries -->
62 <!-- Only used internally -->
63 <bouncycastle.version>1.60</bouncycastle.version>
65 <!-- Default Sonar configuration -->
66 <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
67 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
68 <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
69 <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
70 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
71 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
73 <!-- Opt-in code quality checks -->
74 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
75 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
78 <dependencyManagement>
82 <groupId>org.opendaylight.odlparent</groupId>
83 <artifactId>odlparent-artifacts</artifactId>
84 <version>4.0.0-SNAPSHOT</version>
89 <!-- Build tool dependencies (normally not here in <dependencies>,
90 but in a <dependency> in <pluginManagement> but for Checkstyle this
91 is required so that we can share the same version of Checkstyle
92 for both the Maven plugin below as well as for custom Checkstyle
93 check rule projects, such as yangtools' checkstyle-logging) -->
95 <groupId>com.puppycrawl.tools</groupId>
96 <artifactId>checkstyle</artifactId>
97 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
98 <version>8.11</version>
101 <!-- Testing Dependencies -->
102 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
103 <!-- Need to stick to JUnit 4.11 until
104 https://github.com/jayway/powermock/issues/560 is fixed (either in
105 PowerMock or with a new JUnit release) -->
107 <groupId>junit</groupId>
108 <artifactId>junit</artifactId>
109 <version>4.11</version>
113 <groupId>org.skyscreamer</groupId>
114 <artifactId>jsonassert</artifactId>
115 <version>1.5.0</version>
119 <groupId>org.mockito</groupId>
120 <artifactId>mockito-core</artifactId>
121 <version>1.10.19</version>
125 <groupId>org.hamcrest</groupId>
126 <artifactId>hamcrest-core</artifactId>
127 <version>1.3</version>
131 <groupId>org.hamcrest</groupId>
132 <artifactId>hamcrest-library</artifactId>
133 <version>1.3</version>
137 <groupId>com.google.truth</groupId>
138 <artifactId>truth</artifactId>
139 <version>0.42</version>
143 <groupId>com.google.truth.extensions</groupId>
144 <artifactId>truth-java8-extension</artifactId>
145 <version>0.42</version>
149 <groupId>org.awaitility</groupId>
150 <artifactId>awaitility</artifactId>
151 <version>3.0.0</version>
155 <groupId>org.awaitility</groupId>
156 <artifactId>awaitility-proxy</artifactId>
157 <version>3.0.0</version>
161 <groupId>org.powermock</groupId>
162 <artifactId>powermock-api-mockito</artifactId>
163 <version>1.7.4</version>
167 <groupId>org.powermock</groupId>
168 <artifactId>powermock-api-support</artifactId>
169 <version>1.7.4</version>
173 <groupId>org.powermock</groupId>
174 <artifactId>powermock-core</artifactId>
175 <version>1.7.4</version>
179 <groupId>org.powermock</groupId>
180 <artifactId>powermock-module-junit4</artifactId>
181 <version>1.7.4</version>
185 <groupId>org.powermock</groupId>
186 <artifactId>powermock-reflect</artifactId>
187 <version>1.7.4</version>
192 Annotation Processors
195 <!-- Generates immutable implementations, builders, the works -->
196 <groupId>org.immutables</groupId>
197 <artifactId>value</artifactId>
198 <version>2.6.3</version>
199 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
200 <scope>provided</scope>
203 <!-- Generates META-INF/services entries for ServiceLoader -->
204 <groupId>org.kohsuke.metainf-services</groupId>
205 <artifactId>metainf-services</artifactId>
206 <version>1.8</version>
207 <optional>true</optional>
208 <scope>provided</scope>
215 <groupId>org.slf4j</groupId>
216 <artifactId>jcl-over-slf4j</artifactId>
217 <version>1.7.25</version>
220 <groupId>org.slf4j</groupId>
221 <artifactId>slf4j-api</artifactId>
222 <version>1.7.25</version>
225 <groupId>org.slf4j</groupId>
226 <artifactId>slf4j-log4j12</artifactId>
227 <version>1.7.25</version>
230 <groupId>org.slf4j</groupId>
231 <artifactId>log4j-over-slf4j</artifactId>
232 <version>1.7.25</version>
235 <groupId>org.slf4j</groupId>
236 <artifactId>slf4j-simple</artifactId>
237 <version>1.7.25</version>
241 <groupId>ch.qos.logback</groupId>
242 <artifactId>logback-core</artifactId>
243 <version>1.2.3</version>
246 <groupId>ch.qos.logback</groupId>
247 <artifactId>logback-classic</artifactId>
248 <version>1.2.3</version>
251 <groupId>com.google.guava</groupId>
252 <artifactId>guava</artifactId>
253 <version>25.1-jre</version>
256 <groupId>com.google.code.findbugs</groupId>
257 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
258 <artifactId>jsr305</artifactId>
263 <groupId>com.google.guava</groupId>
264 <artifactId>guava-testlib</artifactId>
265 <version>23.6.1-jre</version>
269 <groupId>com.google.code.findbugs</groupId>
270 <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
271 <artifactId>jsr305</artifactId>
276 <groupId>com.mycila.guice.extensions</groupId>
277 <artifactId>mycila-guice-jsr250</artifactId>
278 <!-- Make sure this version is in sync with the guice one below -->
279 <version>4.0.rc1</version>
282 <groupId>com.google.inject</groupId>
283 <artifactId>guice</artifactId>
284 <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
285 by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
286 <version>4.1.0</version>
289 <groupId>org.apache.commons</groupId>
290 <artifactId>commons-lang3</artifactId>
291 <version>3.7</version>
294 <groupId>org.apache.commons</groupId>
295 <artifactId>commons-text</artifactId>
296 <version>1.4</version>
299 <groupId>commons-lang</groupId>
300 <artifactId>commons-lang</artifactId>
301 <version>2.6</version>
304 <groupId>commons-codec</groupId>
305 <artifactId>commons-codec</artifactId>
306 <version>1.11</version>
308 <!-- Jersey for JAXRS -->
310 <groupId>javax.ws.rs</groupId>
311 <artifactId>javax.ws.rs-api</artifactId>
312 <version>2.0.1</version>
315 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
316 <artifactId>jersey-guava</artifactId>
317 <version>2.22.2</version>
320 <groupId>org.glassfish</groupId>
321 <artifactId>javax.json</artifactId>
322 <version>1.0.4</version>
325 <groupId>com.eclipsesource.jaxrs</groupId>
326 <artifactId>jersey-all</artifactId>
327 <version>2.22.2</version>
330 <!-- servlet 3.x support -->
332 <groupId>org.glassfish.jersey.containers</groupId>
333 <artifactId>jersey-container-servlet</artifactId>
334 <version>2.8</version>
337 <groupId>org.apache.geronimo.bundles</groupId>
338 <artifactId>json</artifactId>
339 <version>20090211_1</version>
341 <!-- FIXME : remove all dependencies for jersey 1.17 -->
343 <groupId>com.sun.jersey</groupId>
344 <artifactId>jersey-core</artifactId>
345 <version>1.19.4</version>
348 <groupId>com.sun.jersey</groupId>
349 <artifactId>jersey-json</artifactId>
350 <version>1.19.4</version>
353 <groupId>com.sun.jersey</groupId>
354 <artifactId>jersey-server</artifactId>
355 <version>1.19.4</version>
358 <groupId>com.sun.jersey</groupId>
359 <artifactId>jersey-servlet</artifactId>
360 <version>1.19.4</version>
363 <groupId>com.sun.jersey.jersey-test-framework</groupId>
364 <artifactId>jersey-test-framework-grizzly2</artifactId>
365 <version>1.19.4</version>
369 <groupId>com.sun.jersey.jersey-test-framework</groupId>
370 <artifactId>jersey-test-framework-inmemory</artifactId>
371 <version>1.19.4</version>
375 <groupId>com.sun.jersey</groupId>
376 <artifactId>jersey-client</artifactId>
377 <version>1.19.4</version>
380 <groupId>org.apache.shiro</groupId>
381 <artifactId>shiro-core</artifactId>
382 <version>1.3.2</version>
385 <groupId>org.apache.shiro</groupId>
386 <artifactId>shiro-web</artifactId>
387 <version>1.3.2</version>
390 <!-- Plugin integration -->
392 <groupId>net.java.dev.stax-utils</groupId>
393 <artifactId>stax-utils</artifactId>
394 <version>20070216</version>
397 <groupId>org.sonatype.plexus</groupId>
398 <artifactId>plexus-build-api</artifactId>
399 <version>0.0.7</version>
402 <groupId>org.codehaus.plexus</groupId>
403 <artifactId>plexus-slf4j-logging</artifactId>
404 <version>1.1</version>
408 <groupId>org.codehaus.woodstox</groupId>
409 <artifactId>stax2-api</artifactId>
410 <!-- Needs to match jackson's idea of import -->
411 <version>3.1.4</version>
414 <groupId>com.fasterxml.jackson</groupId>
415 <artifactId>jackson-bom</artifactId>
416 <version>2.9.6</version>
417 <scope>import</scope>
421 <!-- TODO do we really need resteasy ? -->
423 <groupId>org.jboss.resteasy</groupId>
424 <artifactId>jaxrs-api</artifactId>
425 <version>3.0.12.Final</version>
429 <groupId>com.google.code.findbugs</groupId>
430 <artifactId>annotations</artifactId>
431 <version>3.0.0</version>
433 <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
434 the types of this artifact are already shaded inside the :annotations artifact.
435 This state is a temporary solution to allow all projects to gradually switch over
436 switch their <dependency><groupId>com.google.code.findbugs from
437 <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
438 The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
441 <groupId>net.jcip</groupId>
442 <!-- The types of this artifact are already shaded inside the :annotations artifact -->
443 <artifactId>jcip-annotations</artifactId>
448 <groupId>org.eclipse.jdt</groupId>
449 <artifactId>org.eclipse.jdt.annotation</artifactId>
450 <version>2.2.0</version>
451 <scope>provided</scope>
454 <groupId>com.google.code.gson</groupId>
455 <artifactId>gson</artifactId>
456 <version>2.8.5</version>
459 <groupId>commons-fileupload</groupId>
460 <artifactId>commons-fileupload</artifactId>
461 <version>1.3.3</version>
464 <groupId>commons-io</groupId>
465 <artifactId>commons-io</artifactId>
466 <version>2.6</version>
469 <groupId>commons-net</groupId>
470 <artifactId>commons-net</artifactId>
471 <version>3.6</version>
476 <groupId>io.netty</groupId>
477 <artifactId>netty-all</artifactId>
478 <!-- If these are updated, the version in features.xml needs to be changed too -->
479 <version>4.1.24.Final</version>
482 <groupId>io.netty</groupId>
483 <artifactId>netty-buffer</artifactId>
484 <version>4.1.24.Final</version>
487 <groupId>io.netty</groupId>
488 <artifactId>netty-codec</artifactId>
489 <version>4.1.24.Final</version>
492 <groupId>io.netty</groupId>
493 <artifactId>netty-codec-http</artifactId>
494 <version>4.1.24.Final</version>
497 <groupId>io.netty</groupId>
498 <artifactId>netty-common</artifactId>
499 <version>4.1.24.Final</version>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-handler</artifactId>
504 <version>4.1.24.Final</version>
507 <groupId>io.netty</groupId>
508 <artifactId>netty-transport</artifactId>
509 <version>4.1.24.Final</version>
511 <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
512 platform and we can't require the build platform to have an implementation (e.g. OS X) -->
514 <groupId>io.netty</groupId>
515 <artifactId>netty-transport-native-epoll</artifactId>
516 <classifier>linux-x86_64</classifier>
517 <version>4.1.24.Final</version>
520 <groupId>javax.ws.rs</groupId>
521 <artifactId>jsr311-api</artifactId>
522 <version>1.1.1</version>
525 <groupId>javax.servlet</groupId>
526 <artifactId>javax.servlet-api</artifactId>
527 <version>3.1.0</version>
530 <groupId>org.apache.felix</groupId>
531 <artifactId>org.apache.felix.dependencymanager</artifactId>
532 <version>4.4.1</version>
535 <groupId>org.apache.felix</groupId>
536 <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
537 <version>4.0.6</version>
540 <groupId>org.apache.felix</groupId>
541 <artifactId>org.apache.felix.metatype</artifactId>
542 <version>1.1.6</version>
545 <groupId>org.bouncycastle</groupId>
546 <artifactId>bcpkix-jdk15on</artifactId>
547 <version>${bouncycastle.version}</version>
550 <groupId>org.bouncycastle</groupId>
551 <artifactId>bcprov-jdk15on</artifactId>
552 <version>${bouncycastle.version}</version>
555 <groupId>org.bouncycastle</groupId>
556 <artifactId>bcprov-ext-jdk15on</artifactId>
557 <version>${bouncycastle.version}</version>
560 <groupId>org.codehaus.enunciate</groupId>
561 <artifactId>enunciate-core-annotations</artifactId>
562 <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
563 <version>1.31</version>
566 <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
567 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
568 and @RunAs and @PermitAll & Co. which we do not require
569 (or at least not from jsr250-api via enunciate) -->
570 <groupId>javax.annotation</groupId>
571 <artifactId>jsr250-api</artifactId>
576 <groupId>com.webcohesion.enunciate</groupId>
577 <artifactId>enunciate-core-annotations</artifactId>
578 <version>2.11.1</version>
582 <groupId>javax.annotation</groupId>
583 <artifactId>jsr250-api</artifactId>
588 <groupId>org.codehaus.jettison</groupId>
589 <artifactId>jettison</artifactId>
590 <version>1.4.0</version>
592 <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
593 pull in javax.validation first:
594 http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
596 <groupId>org.eclipse.persistence</groupId>
597 <artifactId>org.eclipse.persistence.antlr</artifactId>
598 <version>2.7.1</version>
601 <groupId>org.eclipse.persistence</groupId>
602 <artifactId>org.eclipse.persistence.core</artifactId>
603 <version>2.7.1</version>
606 <groupId>org.eclipse.persistence</groupId>
607 <artifactId>org.eclipse.persistence.moxy</artifactId>
608 <version>2.7.1</version>
611 <groupId>javax.validation</groupId>
612 <artifactId>validation-api</artifactId>
613 <version>1.1.0.Final</version>
616 <groupId>org.javassist</groupId>
617 <artifactId>javassist</artifactId>
618 <version>3.22.0-GA</version>
621 <groupId>org.jboss.spec.javax.transaction</groupId>
622 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
623 <version>1.0.1.Final</version>
626 <groupId>org.jolokia</groupId>
627 <artifactId>jolokia-osgi</artifactId>
628 <version>1.6.0</version>
631 <groupId>org.json</groupId>
632 <artifactId>json</artifactId>
633 <version>20131018</version>
636 <groupId>org.osgi</groupId>
637 <artifactId>org.osgi.compendium</artifactId>
638 <version>5.0.0</version>
639 <scope>provided</scope>
642 <groupId>org.osgi</groupId>
643 <artifactId>org.osgi.core</artifactId>
644 <version>5.0.0</version>
645 <scope>provided</scope>
648 <groupId>org.osgi</groupId>
649 <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
650 <artifactId>org.osgi.service.event</artifactId>
651 <version>1.3.1</version>
654 <groupId>org.apache.aries.quiesce</groupId>
655 <artifactId>org.apache.aries.quiesce.api</artifactId>
656 <version>1.0.0</version>
659 <groupId>org.ow2.asm</groupId>
660 <artifactId>asm</artifactId>
661 <version>6.0</version>
664 <!-- Configuration library -->
665 <!-- This needs to be kept in sync with the version used by akka -->
667 <groupId>com.typesafe</groupId>
668 <artifactId>config</artifactId>
669 <version>1.3.2</version>
672 <!-- Reactive Streams, used by Akka -->
674 <groupId>org.reactivestreams</groupId>
675 <artifactId>reactive-streams</artifactId>
676 <version>1.0.1</version>
681 <groupId>com.typesafe</groupId>
682 <artifactId>ssl-config-core_2.12</artifactId>
683 <version>0.2.4</version>
686 <groupId>com.typesafe.akka</groupId>
687 <artifactId>akka-actor_2.12</artifactId>
688 <version>2.5.14</version>
691 <groupId>com.typesafe.akka</groupId>
692 <artifactId>akka-cluster_2.12</artifactId>
693 <version>2.5.14</version>
696 <groupId>com.typesafe.akka</groupId>
697 <artifactId>akka-osgi_2.12</artifactId>
698 <version>2.5.14</version>
701 <groupId>com.typesafe.akka</groupId>
702 <artifactId>akka-persistence_2.12</artifactId>
703 <version>2.5.14</version>
706 <groupId>com.typesafe.akka</groupId>
707 <artifactId>akka-persistence-tck_2.12</artifactId>
708 <version>2.5.14</version>
712 <groupId>com.typesafe.akka</groupId>
713 <artifactId>akka-protobuf_2.12</artifactId>
714 <version>2.5.14</version>
717 <groupId>com.typesafe.akka</groupId>
718 <artifactId>akka-remote_2.12</artifactId>
719 <version>2.5.14</version>
722 <groupId>com.typesafe.akka</groupId>
723 <artifactId>akka-slf4j_2.12</artifactId>
724 <version>2.5.14</version>
727 <groupId>com.typesafe.akka</groupId>
728 <artifactId>akka-stream_2.12</artifactId>
729 <version>2.5.14</version>
732 <groupId>com.typesafe.akka</groupId>
733 <artifactId>akka-testkit_2.12</artifactId>
734 <version>2.5.14</version>
738 <groupId>org.scala-lang.modules</groupId>
739 <artifactId>scala-java8-compat_2.12</artifactId>
740 <version>0.8.0</version>
743 <groupId>org.scala-lang.modules</groupId>
744 <artifactId>scala-parser-combinators_2.12</artifactId>
745 <version>1.1.1</version>
748 <groupId>org.uncommons.maths</groupId>
749 <artifactId>uncommons-maths</artifactId>
750 <version>1.2.2a</version>
753 <groupId>com.google.protobuf</groupId>
754 <artifactId>protobuf-java</artifactId>
755 <version>2.5.0</version>
758 <!-- Aeron, required by Akka -->
760 <groupId>org.agrona</groupId>
761 <artifactId>agrona</artifactId>
762 <version>0.9.21</version>
765 <groupId>io.aeron</groupId>
766 <artifactId>aeron-client</artifactId>
767 <version>1.9.3</version>
770 <groupId>io.aeron</groupId>
771 <artifactId>aeron-driver</artifactId>
772 <version>1.9.3</version>
777 <groupId>org.scala-lang</groupId>
778 <artifactId>scala-library</artifactId>
779 <version>2.12.6</version>
782 <groupId>org.scala-lang</groupId>
783 <artifactId>scala-reflect</artifactId>
784 <version>2.12.6</version>
787 <!-- LMAX Disruptor -->
789 <groupId>com.lmax</groupId>
790 <artifactId>disruptor</artifactId>
791 <version>3.4.1</version>
794 <!-- Add Pax Exam -->
796 <groupId>org.ops4j.pax.exam</groupId>
797 <artifactId>pax-exam</artifactId>
798 <version>${exam.version}</version>
802 <groupId>org.ops4j.pax.exam</groupId>
803 <artifactId>pax-exam-container-forked</artifactId>
804 <version>${exam.version}</version>
808 <groupId>org.ops4j.pax.exam</groupId>
809 <artifactId>pax-exam-container-karaf</artifactId>
810 <version>${exam.version}</version>
814 <groupId>org.ops4j.pax.exam</groupId>
815 <artifactId>pax-exam-container-native</artifactId>
816 <version>${exam.version}</version>
820 <groupId>org.ops4j.pax.exam</groupId>
821 <artifactId>pax-exam-extender-service</artifactId>
822 <version>${exam.version}</version>
826 <groupId>org.ops4j.pax.exam</groupId>
827 <artifactId>pax-exam-inject</artifactId>
828 <version>${exam.version}</version>
832 <groupId>org.ops4j.pax.exam</groupId>
833 <artifactId>pax-exam-invoker-junit</artifactId>
834 <version>${exam.version}</version>
838 <groupId>org.ops4j.pax.exam</groupId>
839 <artifactId>pax-exam-features</artifactId>
840 <version>${exam.version}</version>
845 <groupId>org.ops4j.pax.exam</groupId>
846 <artifactId>pax-exam-junit4</artifactId>
847 <version>${exam.version}</version>
851 <groupId>org.ops4j.pax.exam</groupId>
852 <artifactId>pax-exam-link-mvn</artifactId>
853 <version>${exam.version}</version>
857 <groupId>org.ops4j.pax.exam</groupId>
858 <artifactId>pax-exam-link-assembly</artifactId>
859 <version>${exam.version}</version>
864 <groupId>org.ops4j.pax.url</groupId>
865 <artifactId>pax-url-link</artifactId>
866 <version>2.5.4</version>
870 <groupId>org.ops4j.pax.url</groupId>
871 <artifactId>pax-url-aether</artifactId>
872 <version>2.5.4</version>
876 <groupId>org.ops4j.pax.url</groupId>
877 <artifactId>pax-url-wrap</artifactId>
878 <version>2.5.4</version>
882 <groupId>org.springframework.osgi</groupId>
883 <artifactId>spring-osgi-mock</artifactId>
884 <version>1.2.1</version>
888 <groupId>xmlunit</groupId>
889 <artifactId>xmlunit</artifactId>
890 <version>1.6</version>
895 <groupId>org.eclipse.jetty</groupId>
896 <artifactId>jetty-client</artifactId>
897 <version>9.3.21.v20170918</version>
900 <groupId>org.eclipse.jetty</groupId>
901 <artifactId>jetty-server</artifactId>
902 <version>9.3.21.v20170918</version>
905 <groupId>org.eclipse.jetty</groupId>
906 <artifactId>jetty-servlets</artifactId>
907 <version>9.3.21.v20170918</version>
910 <groupId>org.eclipse.jetty</groupId>
911 <artifactId>jetty-webapp</artifactId>
912 <version>9.3.21.v20170918</version>
916 <groupId>com.h2database</groupId>
917 <artifactId>h2</artifactId>
918 <version>1.4.196</version>
921 <!-- Xtend http://xtend-lang.org
922 NOTE: When you increase the version here,
923 then remember to also increase it for the
924 xtend-maven-plugin below! (We don't want to
925 use a Maven property, in order not to "leak" that.)
928 <groupId>org.eclipse.xtend</groupId>
929 <artifactId>org.eclipse.xtend.lib</artifactId>
930 <version>2.14.0</version>
933 <groupId>org.eclipse.xtend</groupId>
934 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
935 <version>2.14.0</version>
938 <groupId>org.eclipse.xtext</groupId>
939 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
940 <version>2.14.0</version>
945 <groupId>javax.inject</groupId>
946 <artifactId>javax.inject</artifactId>
948 <optional>true</optional>
951 <groupId>org.ops4j.pax.cdi</groupId>
952 <artifactId>pax-cdi-api</artifactId>
953 <version>1.0.0.RC2</version>
954 <optional>true</optional>
959 <groupId>com.datastax.cassandra</groupId>
960 <artifactId>cassandra-driver-core</artifactId>
961 <version>2.1.9</version>
964 <!-- jung, a graph library -->
966 <groupId>net.sf.jung</groupId>
967 <artifactId>jung-api</artifactId>
968 <version>2.1.1</version>
971 <groupId>net.sf.jung</groupId>
972 <artifactId>jung-algorithms</artifactId>
973 <version>2.1.1</version>
976 <groupId>net.sf.jung</groupId>
977 <artifactId>jung-graph-impl</artifactId>
978 <version>2.1.1</version>
981 <!-- Karaf console support -->
983 <groupId>org.apache.karaf.shell</groupId>
984 <artifactId>org.apache.karaf.shell.core</artifactId>
985 <version>${karaf.version}</version>
988 <groupId>org.apache.karaf.shell</groupId>
989 <artifactId>org.apache.karaf.shell.console</artifactId>
990 <version>${karaf.version}</version>
993 <!-- ThreeTen-Extra, date/time complements -->
995 <groupId>org.threeten</groupId>
996 <artifactId>threeten-extra</artifactId>
997 <version>1.3.2</version>
1000 <!-- When updating this version, consider antl4-maven-plugin below -->
1002 <groupId>org.antlr</groupId>
1003 <artifactId>antlr4-runtime</artifactId>
1004 <version>4.7.1</version>
1006 <!-- Aries' Blueprint version should be kept in sync to the version actually
1007 used by our ${karaf[4].version} ... please bump this when increasing that.
1008 TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1010 <groupId>org.apache.aries.blueprint</groupId>
1011 <artifactId>org.apache.aries.blueprint.core</artifactId>
1012 <version>1.9.0</version>
1016 </dependencyManagement>
1020 We expect slf4j-api to be provided by the platform.
1021 Karaf provides it, other containers need to provide it themselves.
1024 <groupId>org.slf4j</groupId>
1025 <artifactId>slf4j-api</artifactId>
1026 <scope>provided</scope>
1030 Enable useful code quality annotations everywhere. Since these annotations
1031 are not required at runtime.
1034 <groupId>com.google.code.findbugs</groupId>
1035 <artifactId>annotations</artifactId>
1036 <scope>provided</scope>
1039 <groupId>org.eclipse.jdt</groupId>
1040 <artifactId>org.eclipse.jdt.annotation</artifactId>
1041 <scope>provided</scope>
1045 Testing output should be routed through slf4j-simple.
1048 <groupId>org.slf4j</groupId>
1049 <artifactId>slf4j-simple</artifactId>
1054 Unit tests can use JUnit + Mockito + Hamcrest by default.
1057 <groupId>junit</groupId>
1058 <artifactId>junit</artifactId>
1062 <groupId>org.mockito</groupId>
1063 <artifactId>mockito-core</artifactId>
1071 <!-- Official maven plugins, alpha-sorted by artifactId.
1072 We do not need to specify the groupId. -->
1074 <artifactId>maven-antrun-plugin</artifactId>
1075 <version>1.8</version>
1078 <artifactId>maven-checkstyle-plugin</artifactId>
1079 <version>3.0.0</version>
1082 <groupId>com.puppycrawl.tools</groupId>
1083 <artifactId>checkstyle</artifactId>
1084 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1085 <version>8.11</version>
1088 <groupId>org.opendaylight.odlparent</groupId>
1089 <artifactId>checkstyle</artifactId>
1090 <version>4.0.0-SNAPSHOT</version>
1093 <groupId>org.opendaylight.odlparent</groupId>
1094 <artifactId>odl-license</artifactId>
1095 <version>4.0.0-SNAPSHOT</version>
1098 <groupId>com.github.sevntu-checkstyle</groupId>
1099 <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1100 <version>1.29.0</version>
1104 <configLocation>odl_checks.xml</configLocation>
1105 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1106 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1107 generated sources directory -->
1109 <directory>${project.build.sourceDirectory}</directory>
1110 </sourceDirectories>
1111 <includeResources>true</includeResources>
1112 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1113 <includeTestResources>true</includeTestResources>
1114 <includes>**\/*.java, **\/*.xtend</includes>
1116 org/opendaylight/yang/gen/**,
1117 **/protobuff/messages/**,
1118 **/thrift/gen/*.java
1120 <failsOnError>false</failsOnError>
1121 <consoleOutput>true</consoleOutput>
1125 <id>check-license</id>
1129 <phase>process-sources</phase>
1131 <configLocation>check-license.xml</configLocation>
1132 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1133 <includeResources>false</includeResources>
1134 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1135 <includeTestResources>false</includeTestResources>
1137 <directory>${project.build.sourceDirectory}</directory>
1138 </sourceDirectories>
1140 org/opendaylight/yang/gen/**,
1141 **/protobuff/messages/**,
1142 **/thrift/gen/*.java
1144 <failsOnError>false</failsOnError>
1145 <consoleOutput>true</consoleOutput>
1152 <phase>process-sources</phase>
1157 <groupId>org.apache.maven.plugins</groupId>
1158 <artifactId>maven-pmd-plugin</artifactId>
1159 <version>3.10.0</version>
1163 <phase>process-sources</phase>
1165 <goal>cpd-check</goal>
1168 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1169 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1170 <minimumTokens>101</minimumTokens>
1171 <printFailingErrors>true</printFailingErrors>
1173 <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1174 not understand path prefixes nor wildcards. Details are available
1175 at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1176 Hence people introducing new generated sources have to include
1179 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1180 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1182 <linkXRef>false</linkXRef>
1188 <artifactId>maven-compiler-plugin</artifactId>
1189 <version>3.7.0</version>
1191 <source>1.8</source>
1192 <target>1.8</target>
1193 <showWarnings>true</showWarnings>
1195 <arg>-parameters</arg>
1196 <arg>-Xlint:deprecation</arg>
1201 <artifactId>maven-enforcer-plugin</artifactId>
1202 <version>${enforcer.version}</version>
1205 <artifactId>maven-failsafe-plugin</artifactId>
1206 <version>2.20.1</version>
1209 <artifactId>maven-invoker-plugin</artifactId>
1210 <version>2.0.0</version>
1213 <artifactId>maven-jar-plugin</artifactId>
1214 <version>3.0.2</version>
1217 <artifactId>maven-dependency-plugin</artifactId>
1220 <id>unpack-license</id>
1221 <phase>generate-resources</phase>
1222 <goals><goal>unpack</goal></goals>
1226 <groupId>org.opendaylight.odlparent</groupId>
1227 <artifactId>odl-license</artifactId>
1228 <version>4.0.0-SNAPSHOT</version>
1231 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1232 <excludes>META-INF/**</excludes>
1239 <artifactId>maven-plugin-plugin</artifactId>
1240 <version>3.5</version>
1244 <artifactId>maven-remote-resources-plugin</artifactId>
1245 <version>1.5</version>
1248 <artifactId>maven-resources-plugin</artifactId>
1249 <version>3.0.1</version>
1252 <artifactId>maven-shade-plugin</artifactId>
1253 <version>3.1.0</version>
1256 <artifactId>maven-source-plugin</artifactId>
1257 <version>3.0.1</version>
1260 <id>attach-sources</id>
1261 <phase>verify</phase>
1263 <goal>jar-no-fork</goal>
1269 <artifactId>maven-surefire-plugin</artifactId>
1270 <version>2.18.1</version>
1272 <redirectTestOutputToFile>true</redirectTestOutputToFile>
1273 <trimStackTrace>false</trimStackTrace>
1277 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1279 <!-- Support Blueprint XML construction using annotations -->
1280 <groupId>org.apache.aries.blueprint</groupId>
1281 <artifactId>blueprint-maven-plugin</artifactId>
1282 <version>1.10.0</version>
1285 <scanPath>org.opendaylight</scanPath>
1287 <generatedDir>org/opendaylight/blueprint/</generatedDir>
1292 <goal>blueprint-generate</goal>
1299 <groupId>org.apache.felix</groupId>
1300 <artifactId>maven-bundle-plugin</artifactId>
1301 <version>3.5.0</version>
1302 <extensions>true</extensions>
1305 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1306 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1307 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1308 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1314 <groupId>org.apache.karaf.tooling</groupId>
1315 <artifactId>karaf-maven-plugin</artifactId>
1316 <version>${karaf.version}</version>
1320 <groupId>org.apache.servicemix.tooling</groupId>
1321 <artifactId>depends-maven-plugin</artifactId>
1322 <version>1.4.0</version>
1325 <id>generate-depends-file</id>
1327 <goal>generate-depends-file</goal>
1334 <groupId>org.codehaus.enunciate</groupId>
1335 <artifactId>maven-enunciate-plugin</artifactId>
1336 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1337 <version>1.31</version>
1340 <groupId>org.codehaus.groovy.maven</groupId>
1341 <artifactId>gmaven-plugin</artifactId>
1342 <version>1.0</version>
1345 <groupId>org.codehaus.mojo</groupId>
1346 <artifactId>build-helper-maven-plugin</artifactId>
1347 <version>3.0.0</version>
1350 <groupId>org.codehaus.mojo</groupId>
1351 <artifactId>findbugs-maven-plugin</artifactId>
1352 <version>3.0.5</version>
1355 <groupId>org.opendaylight.odlparent</groupId>
1356 <artifactId>findbugs</artifactId>
1357 <version>4.0.0-SNAPSHOT</version>
1363 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1364 <artifactId>bug-pattern</artifactId>
1365 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1366 but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1367 <version>1.4.0</version>
1371 Enables analysis which takes more memory but finds more bugs.
1372 If you run out of memory, changes the value of the effort element
1375 <effort>Max</effort>
1376 <!-- Reports all bugs (other values are medium and max) -->
1377 <threshold>Low</threshold>
1378 <!-- Build doesn't fail if problems are found -->
1379 <failOnError>false</failOnError>
1380 <!-- References the excluded rules -->
1381 <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1382 <!-- Produces XML report -->
1383 <xmlOutput>true</xmlOutput>
1384 <!-- Configures the directory in which the XML report is created -->
1385 <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1389 Ensures that FindBugs inspects source code when project is compiled.
1392 <id>analyze-compile</id>
1393 <phase>compile</phase>
1401 <groupId>com.github.spotbugs</groupId>
1402 <artifactId>spotbugs-maven-plugin</artifactId>
1403 <version>3.1.6</version>
1406 <groupId>com.github.spotbugs</groupId>
1407 <artifactId>spotbugs</artifactId>
1408 <version>3.1.6</version>
1411 <groupId>org.opendaylight.odlparent</groupId>
1412 <artifactId>spotbugs</artifactId>
1413 <version>4.0.0-SNAPSHOT</version>
1419 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1420 <artifactId>bug-pattern</artifactId>
1421 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1422 <version>1.4.1</version>
1426 Enables analysis which takes more memory but finds more bugs.
1427 If you run out of memory, changes the value of the effort element
1430 <effort>Max</effort>
1431 <!-- Reports all bugs (other values are medium and max) -->
1432 <threshold>Low</threshold>
1433 <!-- Build doesn't fail if problems are found -->
1434 <failOnError>false</failOnError>
1435 <!-- References the excluded rules -->
1436 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1437 <!-- Produces XML report -->
1438 <xmlOutput>true</xmlOutput>
1439 <!-- Configures the directory in which the XML report is created -->
1440 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1444 Ensures that SpotBugs inspects source code when project is compiled.
1447 <id>analyze-compile</id>
1448 <phase>compile</phase>
1456 <groupId>org.codehaus.mojo</groupId>
1457 <artifactId>properties-maven-plugin</artifactId>
1458 <version>1.0.0</version>
1461 <groupId>org.eclipse.xtend</groupId>
1462 <artifactId>xtend-maven-plugin</artifactId>
1463 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1464 <version>2.14.0</version>
1468 <goal>compile</goal>
1469 <goal>testCompile</goal>
1472 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1473 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1478 <!-- This is needed because upstream got broken by their inconsistency: pulling in old core,
1479 but using ranges for other components. No wonder it blew up. -->
1482 <groupId>org.eclipse.platform</groupId>
1483 <artifactId>org.eclipse.equinox.common</artifactId>
1484 <version>3.10.0</version>
1489 <groupId>org.eclipse.m2e</groupId>
1490 <artifactId>lifecycle-mapping</artifactId>
1491 <version>1.0.0</version>
1493 <lifecycleMappingMetadata>
1496 <pluginExecutionFilter>
1497 <groupId>org.apache.felix</groupId>
1498 <artifactId>maven-bundle-plugin</artifactId>
1499 <versionRange>[1.0,)</versionRange>
1501 <goal>manifest</goal>
1503 </pluginExecutionFilter>
1509 <pluginExecutionFilter>
1510 <groupId>org.apache.maven.plugins</groupId>
1511 <artifactId>maven-enforcer-plugin</artifactId>
1512 <versionRange>[1.0.0,)</versionRange>
1514 <goal>enforce</goal>
1516 </pluginExecutionFilter>
1522 <pluginExecutionFilter>
1523 <groupId>org.apache.maven.plugins</groupId>
1524 <artifactId>maven-dependency-plugin</artifactId>
1525 <versionRange>[2.10,)</versionRange>
1529 </pluginExecutionFilter>
1535 <pluginExecutionFilter>
1536 <groupId>org.apache.maven.plugins</groupId>
1537 <artifactId>maven-pmd-plugin</artifactId>
1538 <versionRange>[3.6,)</versionRange>
1540 <goal>cpd-check</goal>
1542 </pluginExecutionFilter>
1547 <!-- The plugin will eventually be removed, remove this too at that point -->
1549 <pluginExecutionFilter>
1550 <groupId>org.apache.maven.plugins</groupId>
1551 <artifactId>maven-antrun-plugin</artifactId>
1552 <versionRange>[1.8,)</versionRange>
1556 </pluginExecutionFilter>
1562 <pluginExecutionFilter>
1563 <groupId>org.apache.servicemix.tooling</groupId>
1564 <artifactId>depends-maven-plugin</artifactId>
1565 <versionRange>[1.2,)</versionRange>
1567 <goal>generate-depends-file</goal>
1569 </pluginExecutionFilter>
1575 <pluginExecutionFilter>
1576 <groupId>org.jacoco</groupId>
1577 <artifactId>jacoco-maven-plugin</artifactId>
1578 <versionRange>[0.7.0,)</versionRange>
1580 <goal>prepare-agent</goal>
1583 </pluginExecutionFilter>
1590 <pluginExecutionFilter>
1591 <groupId>org.ops4j.pax.exam</groupId>
1592 <artifactId>maven-paxexam-plugin</artifactId>
1593 <versionRange>[1.2.4,)</versionRange>
1595 <goal>generate-depends-file</goal>
1597 </pluginExecutionFilter>
1604 <pluginExecutionFilter>
1605 <groupId>org.basepom.maven</groupId>
1607 duplicate-finder-maven-plugin
1609 <versionRange>[1.2.1,)</versionRange>
1613 </pluginExecutionFilter>
1619 </lifecycleMappingMetadata>
1624 <groupId>org.jacoco</groupId>
1625 <artifactId>jacoco-maven-plugin</artifactId>
1626 <version>${jacoco.version}</version>
1628 <!-- Note: This exclusion list should match <sonar.exclusions>
1631 <exclude>**/gen/**</exclude>
1632 <exclude>**/generated-sources/**</exclude>
1633 <exclude>**/generated-test-sources/**</exclude>
1634 <exclude>**/yang-gen/**</exclude>
1635 <exclude>**/yang-gen-config/**</exclude>
1636 <exclude>**/yang-gen-sal/**</exclude>
1637 <exclude>**/yang-gen-code/**</exclude>
1638 <exclude>**/pax/**</exclude>
1644 <groupId>org.ops4j.pax.exam</groupId>
1645 <artifactId>maven-paxexam-plugin</artifactId>
1646 <version>1.2.4</version>
1650 <groupId>org.codehaus.mojo</groupId>
1651 <artifactId>jdepend-maven-plugin</artifactId>
1652 <version>2.0</version>
1657 <goal>generate-no-fork</goal>
1663 <!-- When updating this version, consider antl4-runtime above -->
1665 <groupId>org.antlr</groupId>
1666 <artifactId>antlr4-maven-plugin</artifactId>
1667 <version>4.7.1</version>
1674 <artifactId>maven-enforcer-plugin</artifactId>
1677 <id>enforce-banned-dependencies</id>
1679 <goal>enforce</goal>
1683 <bannedDependencies>
1684 <message>Please always use mockito-core instead of mockito-all, and findbugs:annotations instead of findbugs:jsr305 (see https://bugs.opendaylight.org/show_bug.cgi?id=7662 & https://bugs.opendaylight.org/show_bug.cgi?id=7663)</message>
1686 <exclude>org.mockito:mockito-all</exclude>
1687 <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1688 <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1689 <!-- as a dependency then clashes with the dependency checker (because it -->
1690 <!-- is not very good at handling annotations). Use the annotations jar -->
1691 <!-- instead which has all jsr305 annotations and the additional findbugs -->
1693 <exclude>com.google.code.findbugs:jsr305</exclude>
1694 <exclude>net.jcip:jcip-annotations</exclude>
1696 </bannedDependencies>
1704 <groupId>org.basepom.maven</groupId>
1705 <artifactId>duplicate-finder-maven-plugin</artifactId>
1706 <version>1.3.0</version>
1709 <id>find-duplicate-classpath-entries</id>
1710 <phase>verify</phase>
1717 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1718 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1719 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1720 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1721 <printEqualFiles>false</printEqualFiles>
1723 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1724 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1725 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1727 <ignoredResourcePatterns>
1728 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1729 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1730 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1731 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1732 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1733 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1734 </ignoredResourcePatterns>
1735 <ignoredDependencies>
1737 <groupId>org.slf4j</groupId>
1738 <artifactId>slf4j-simple</artifactId>
1739 </ignoredDependency>
1741 <groupId>org.opendaylight.odlparent</groupId>
1742 <artifactId>opendaylight-karaf-empty</artifactId>
1743 </ignoredDependency>
1744 </ignoredDependencies>
1748 <artifactId>maven-dependency-plugin</artifactId>
1751 <artifactId>maven-checkstyle-plugin</artifactId>
1754 <artifactId>maven-pmd-plugin</artifactId>
1757 <artifactId>maven-source-plugin</artifactId>
1760 <artifactId>maven-javadoc-plugin</artifactId>
1763 <!-- Jacoco / Sonar -->
1765 <groupId>org.jacoco</groupId>
1766 <artifactId>jacoco-maven-plugin</artifactId>
1769 <id>pre-unit-test</id>
1771 <goal>prepare-agent</goal>
1774 <destFile>${sonar.jacoco.reportPath}</destFile>
1778 <id>post-unit-test</id>
1783 <dataFile>${sonar.jacoco.reportPath}</dataFile>
1790 <groupId>com.alexecollins.maven.plugin</groupId>
1791 <artifactId>script-maven-plugin</artifactId>
1792 <version>1.0.0</version>
1795 <phase>prepare-package</phase>
1797 <goal>execute</goal>
1801 // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1802 // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1803 // odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1804 // static class methods only - it will be MUCH easier to write!)
1805 void copy(File root, String glob, File target) {
1806 java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1807 Iterator dirStreamIterator = dirStream.iterator();
1808 while (dirStreamIterator.hasNext()) {
1809 java.nio.file.Path path = dirStreamIterator.next();
1810 java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1811 new java.nio.file.CopyOption[] {
1812 java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1813 java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1820 File gitRepoRootDir = project.basedir;
1821 while (!new File(gitRepoRootDir, ".git").exists() && gitRepoRootDir.getParentFile() != null) {
1822 gitRepoRootDir = gitRepoRootDir.getParentFile();
1825 File target = new File(project.build.outputDirectory);
1827 copy(gitRepoRootDir, "README*", target);
1828 copy(gitRepoRootDir, "CONTRIBUTING*", target);
1829 copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1836 <groupId>org.apache-extras.beanshell</groupId>
1837 <artifactId>bsh</artifactId>
1838 <version>2.0b6</version>
1848 <artifactId>maven-checkstyle-plugin</artifactId>
1849 <version>3.0.0</version>
1852 <!-- FIXME: activate this
1854 <artifactId>maven-project-info-reports-plugin</artifactId>
1855 <version>${projectinfo}</version>
1858 <groupId>org.codehaus.mojo</groupId>
1859 <artifactId>jdepend-maven-plugin</artifactId>
1863 <report>generate-no-fork</report>
1872 Maven Site Configuration
1874 The following configuration is necessary for maven-site-plugin to
1875 correctly identify the correct deployment path for OpenDaylight Maven
1878 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1880 <distributionManagement>
1882 <id>opendaylight-site</id>
1883 <url>${nexus.site.url}/${project.artifactId}/</url>
1885 </distributionManagement>