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>10.0.1-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/display/ODL/ODL+Root+Parent</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 <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
41 <karaf.version>4.3.7</karaf.version>
43 <!-- Supporting Libraries -->
44 <!-- Only used internally -->
45 <bouncycastle.version>1.71</bouncycastle.version>
47 <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
48 to allow projects to report Sonar values from the entire project. -->
49 <jacoco.destFile>${project.build.directory}/code-coverage/jacoco.exec</jacoco.destFile>
50 <jacoco.dataFile>${jacoco.destFile}</jacoco.dataFile>
52 <!-- Default Sonar configuration -->
53 <sonar.java.source>${maven.compiler.release}</sonar.java.source>
54 <sonar-jacoco-listeners.version>5.14.0.18788</sonar-jacoco-listeners.version>
55 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
57 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
58 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
60 <!-- Opt-in code quality checks -->
61 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
63 <!-- Redirect test output to files (overridable) -->
64 <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
66 <!-- Opt-out from maven-checkstyle-plugin failing the build on violations. Defaults
67 to true. Set to 'false' in pom.xml of project which desires to not enforce
68 no reported violations. -->
69 <odlparent.checkstyle.enforce>true</odlparent.checkstyle.enforce>
71 <!-- Opt-in into modernizer-maven-plugin failing the build on violations. Defaults
72 to true. Set to 'false' in pom.xml of project which desires to not enforce
73 no reported violations. -->
74 <odlparent.modernizer.enforce>true</odlparent.modernizer.enforce>
76 <!-- Target release for modernizer-maven-plugin. It defaults to '1.11',
77 meaning Java 11, but can be set to any version in pom.xml of project
78 which desires to override it (such as '1.12' for Java 12). -->
79 <odlparent.modernizer.target>1.11</odlparent.modernizer.target>
81 <!-- Opt-out from spotbugs-maven-plugin failing the build on violations. Defaults
82 to true. Set to 'false' in pom.xml of project which desires to not enforce
83 no reported violations. -->
84 <odlparent.spotbugs.enforce>true</odlparent.spotbugs.enforce>
86 <!-- Opt-in into maven-dependency-plugin dependency declaration consistency
87 enforcement. Defaults to false. Set to 'true' in pom.xml of a project which
88 desires to have the consistency of its dependencies checked and enforced. -->
89 <odlparent.dependency.enforce>false</odlparent.dependency.enforce>
91 <!-- Opt-out from maven-dependency-plugin dependency declaration consistency
92 checking. Defaults to false. Set to 'true' in pom.xml of a project which
93 desires to not check the consistency of its dependencies. -->
94 <odlparent.dependency.skip>false</odlparent.dependency.skip>
97 <dependencyManagement>
101 <groupId>org.opendaylight.odlparent</groupId>
102 <artifactId>odlparent-artifacts</artifactId>
103 <version>10.0.1-SNAPSHOT</version>
104 <scope>import</scope>
108 <!-- We import the Karaf BOM to ensure we converge by default on the versions used there -->
110 <groupId>org.apache.karaf</groupId>
111 <artifactId>karaf-bom</artifactId>
112 <version>${karaf.version}</version>
113 <scope>import</scope>
117 <!-- Build tool dependencies (normally not here in <dependencies>,
118 but in a <dependency> in <pluginManagement> but for Checkstyle this
119 is required so that we can share the same version of Checkstyle
120 for both the Maven plugin below as well as for custom Checkstyle
121 check rule projects, such as yangtools' checkstyle-logging) -->
123 <groupId>com.puppycrawl.tools</groupId>
124 <artifactId>checkstyle</artifactId>
125 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
126 <version>10.1</version>
129 <!-- Testing Dependencies -->
130 <!-- JUnit, Hamcrest and Mockito need to be kept in sync -->
132 <groupId>org.junit</groupId>
133 <artifactId>junit-bom</artifactId>
134 <version>5.8.2</version>
136 <scope>import</scope>
139 <groupId>junit</groupId>
140 <artifactId>junit</artifactId>
141 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
142 <version>4.13.2</version>
146 <groupId>org.skyscreamer</groupId>
147 <artifactId>jsonassert</artifactId>
148 <version>1.5.0</version>
152 <groupId>org.mockito</groupId>
153 <artifactId>mockito-core</artifactId>
154 <version>4.5.1</version>
158 <groupId>org.mockito</groupId>
159 <artifactId>mockito-junit-jupiter</artifactId>
160 <version>4.5.1</version>
164 <groupId>org.mockito</groupId>
165 <artifactId>mockito-inline</artifactId>
166 <version>4.5.1</version>
170 <groupId>org.hamcrest</groupId>
171 <artifactId>hamcrest</artifactId>
172 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
173 <version>2.2</version>
177 <groupId>org.hamcrest</groupId>
178 <artifactId>hamcrest-core</artifactId>
179 <version>2.2</version>
183 <groupId>org.hamcrest</groupId>
184 <artifactId>hamcrest-library</artifactId>
185 <version>2.2</version>
189 <groupId>com.google.truth</groupId>
190 <artifactId>truth</artifactId>
191 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
192 <version>1.1.3</version>
196 <groupId>com.google.truth.extensions</groupId>
197 <artifactId>truth-java8-extension</artifactId>
198 <version>1.1.3</version>
202 <groupId>org.awaitility</groupId>
203 <artifactId>awaitility</artifactId>
204 <version>4.1.1</version>
209 Annotation Processors
212 <!-- Generates immutable implementations, builders, the works -->
213 <groupId>org.immutables</groupId>
214 <artifactId>value</artifactId>
215 <classifier>annotations</classifier>
216 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
217 <version>2.8.8</version>
218 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
219 <scope>provided</scope>
223 <!-- Generates META-INF/services entries for ServiceLoader -->
224 <groupId>org.kohsuke.metainf-services</groupId>
225 <artifactId>metainf-services</artifactId>
226 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
227 <version>1.9</version>
228 <optional>true</optional>
229 <scope>provided</scope>
236 <groupId>ch.qos.logback</groupId>
237 <artifactId>logback-core</artifactId>
238 <version>1.2.11</version>
241 <groupId>ch.qos.logback</groupId>
242 <artifactId>logback-classic</artifactId>
243 <version>1.2.11</version>
248 <groupId>org.apache.logging.log4j</groupId>
249 <artifactId>log4j-bom</artifactId>
250 <version>2.17.1</version>
251 <scope>import</scope>
256 <groupId>com.google.guava</groupId>
257 <artifactId>guava</artifactId>
258 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
259 <version>31.1-jre</version>
262 <!-- Do not leak JSR305 onto the classpath by default -->
263 <groupId>com.google.code.findbugs</groupId>
264 <artifactId>jsr305</artifactId>
269 <groupId>com.google.guava</groupId>
270 <artifactId>guava-testlib</artifactId>
271 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
272 <version>31.1-jre</version>
276 <!-- Do not leak JSR305 onto the classpath by default -->
277 <groupId>com.google.code.findbugs</groupId>
278 <artifactId>jsr305</artifactId>
283 <groupId>org.checkerframework</groupId>
284 <artifactId>checker-qual</artifactId>
285 <version>3.12.0</version>
288 <groupId>com.google.errorprone</groupId>
289 <artifactId>error_prone_annotations</artifactId>
290 <version>2.11.0</version>
294 <groupId>commons-beanutils</groupId>
295 <artifactId>commons-beanutils</artifactId>
296 <version>1.9.4</version>
299 <groupId>org.apache.commons</groupId>
300 <artifactId>commons-lang3</artifactId>
301 <version>3.12.0</version>
304 <groupId>org.apache.commons</groupId>
305 <artifactId>commons-text</artifactId>
306 <version>1.9</version>
309 <groupId>commons-lang</groupId>
310 <artifactId>commons-lang</artifactId>
311 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
312 <version>2.6</version>
315 <groupId>commons-codec</groupId>
316 <artifactId>commons-codec</artifactId>
317 <version>1.15</version>
319 <!-- Jersey for JAXRS -->
321 <groupId>javax.ws.rs</groupId>
322 <artifactId>javax.ws.rs-api</artifactId>
323 <version>2.1.1</version>
326 <groupId>org.glassfish.jersey</groupId>
327 <artifactId>jersey-bom</artifactId>
328 <version>2.27</version>
330 <scope>import</scope>
334 <groupId>jakarta.activation</groupId>
335 <artifactId>jakarta.activation-api</artifactId>
336 <version>1.2.2</version>
340 <groupId>javax.annotation</groupId>
341 <artifactId>javax.annotation-api</artifactId>
342 <version>1.3.2</version>
343 <optional>true</optional>
346 <groupId>xml-apis</groupId>
347 <artifactId>xml-apis</artifactId>
348 <version>1.4.01</version>
351 <!-- Plugin integration -->
353 <groupId>net.java.dev.stax-utils</groupId>
354 <artifactId>stax-utils</artifactId>
355 <version>20070216</version>
358 <!-- JSR173 ships with JRE by default -->
359 <groupId>com.bea.xml</groupId>
360 <artifactId>jsr173-ri</artifactId>
365 <groupId>org.sonatype.plexus</groupId>
366 <artifactId>plexus-build-api</artifactId>
367 <version>0.0.7</version>
370 <groupId>org.codehaus.plexus</groupId>
371 <artifactId>plexus-slf4j-logging</artifactId>
372 <version>1.1</version>
375 <!-- These three need to be consistent:
376 jackson-2.13.2 needs woodstox-6.2.4+
377 woodstox-5.3+ needs stax2-api-4.2.x
380 <groupId>org.codehaus.woodstox</groupId>
381 <artifactId>stax2-api</artifactId>
382 <version>4.2.1</version>
385 <groupId>com.fasterxml.woodstox</groupId>
386 <artifactId>woodstox-core</artifactId>
387 <version>6.2.8</version>
390 <groupId>com.fasterxml.jackson</groupId>
391 <artifactId>jackson-bom</artifactId>
392 <version>2.13.2</version>
393 <scope>import</scope>
398 <groupId>com.github.spotbugs</groupId>
399 <artifactId>spotbugs-annotations</artifactId>
400 <version>4.6.0</version>
401 <scope>provided</scope>
402 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
403 <optional>true</optional>
406 <groupId>com.google.code.findbugs</groupId>
407 <artifactId>jsr305</artifactId>
413 <groupId>org.eclipse.jdt</groupId>
414 <artifactId>org.eclipse.jdt.annotation</artifactId>
415 <version>2.2.600</version>
416 <scope>provided</scope>
419 <groupId>com.google.code.gson</groupId>
420 <artifactId>gson</artifactId>
421 <version>2.9.0</version>
424 <groupId>commons-fileupload</groupId>
425 <artifactId>commons-fileupload</artifactId>
426 <version>1.4</version>
429 <groupId>commons-io</groupId>
430 <artifactId>commons-io</artifactId>
431 <version>2.11.0</version>
434 <groupId>commons-net</groupId>
435 <artifactId>commons-net</artifactId>
436 <version>3.8.0</version>
441 <groupId>io.netty</groupId>
442 <artifactId>netty-bom</artifactId>
443 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
444 <version>4.1.76.Final</version>
446 <scope>import</scope>
450 <groupId>javax.ws.rs</groupId>
451 <artifactId>jsr311-api</artifactId>
452 <version>1.1.1</version>
455 <groupId>org.bouncycastle</groupId>
456 <artifactId>bcpkix-jdk18on</artifactId>
457 <version>${bouncycastle.version}</version>
460 <groupId>org.bouncycastle</groupId>
461 <artifactId>bcprov-jdk18on</artifactId>
462 <version>${bouncycastle.version}</version>
465 <groupId>org.bouncycastle</groupId>
466 <artifactId>bcprov-ext-jdk18on</artifactId>
467 <version>${bouncycastle.version}</version>
470 <groupId>org.bouncycastle</groupId>
471 <artifactId>bcutil-jdk18on</artifactId>
472 <version>${bouncycastle.version}</version>
476 <groupId>com.webcohesion.enunciate</groupId>
477 <artifactId>enunciate-core-annotations</artifactId>
478 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
479 <version>2.13.3</version>
483 <groupId>org.javassist</groupId>
484 <artifactId>javassist</artifactId>
485 <version>3.28.0-GA</version>
488 <groupId>org.jboss.spec.javax.transaction</groupId>
489 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
490 <version>1.0.1.Final</version>
493 <groupId>org.jolokia</groupId>
494 <artifactId>jolokia-osgi</artifactId>
495 <version>1.7.1</version>
499 OSGi Release 7 artifacts. These come in two forms:
500 - osgi.core, osgi.cmpn and osgi.annotation, which are legacy uber-bundles
501 - fine-grained artifacts, which are the preferred way going forward, especially
502 once we get to Release 8.
503 The definitions here are sourced from https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/cnf/central.mvn
504 and the corresponding layout.bnd files.
506 <!-- osgi.core content, defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.core/layout.bnd -->
508 <groupId>org.osgi</groupId>
509 <artifactId>org.osgi.dto</artifactId>
510 <version>1.1.1</version>
511 <scope>provided</scope>
514 <groupId>org.osgi</groupId>
515 <artifactId>org.osgi.resource</artifactId>
516 <version>1.0.0</version>
517 <scope>provided</scope>
520 <groupId>org.osgi</groupId>
521 <artifactId>org.osgi.framework</artifactId>
522 <version>1.9.0</version>
523 <scope>provided</scope>
526 <groupId>org.osgi</groupId>
527 <artifactId>org.osgi.service.permissionadmin</artifactId>
528 <version>1.2.1</version>
529 <scope>provided</scope>
532 <groupId>org.osgi</groupId>
533 <artifactId>org.osgi.service.condpermadmin</artifactId>
534 <version>1.1.1</version>
535 <scope>provided</scope>
538 <groupId>org.osgi</groupId>
539 <artifactId>org.osgi.service.packageadmin</artifactId>
540 <version>1.2.0</version>
541 <scope>provided</scope>
544 <groupId>org.osgi</groupId>
545 <artifactId>org.osgi.service.startlevel</artifactId>
546 <version>1.1.0</version>
547 <scope>provided</scope>
550 <groupId>org.osgi</groupId>
551 <artifactId>org.osgi.service.resolver</artifactId>
552 <version>1.1.0</version>
553 <scope>provided</scope>
556 <groupId>org.osgi</groupId>
557 <artifactId>org.osgi.service.url</artifactId>
558 <version>1.0.0</version>
559 <scope>provided</scope>
562 <groupId>org.osgi</groupId>
563 <artifactId>org.osgi.util.tracker</artifactId>
564 <version>1.5.2</version>
565 <scope>provided</scope>
568 <!-- osgi.annotation content, defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.annotation/layout.bnd -->
570 <groupId>org.osgi</groupId>
571 <artifactId>org.osgi.annotation.versioning</artifactId>
572 <version>1.0.0</version>
573 <scope>provided</scope>
576 <groupId>org.osgi</groupId>
577 <artifactId>org.osgi.annotation.bundle</artifactId>
578 <version>1.0.0</version>
579 <scope>provided</scope>
582 <!-- osg.cmpn content, defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.cmpn/layout.bnd -->
584 <groupId>org.osgi</groupId>
585 <artifactId>org.osgi.application</artifactId>
586 <version>1.0.0</version>
587 <scope>provided</scope>
590 <groupId>org.osgi</groupId>
591 <artifactId>org.osgi.namespace.contract</artifactId>
592 <version>1.0.0</version>
593 <scope>provided</scope>
596 <groupId>org.osgi</groupId>
597 <artifactId>org.osgi.namespace.extender</artifactId>
598 <version>1.0.1</version>
599 <scope>provided</scope>
602 <groupId>org.osgi</groupId>
603 <artifactId>org.osgi.namespace.implementation</artifactId>
604 <version>1.0.0</version>
605 <scope>provided</scope>
608 <groupId>org.osgi</groupId>
609 <artifactId>org.osgi.namespace.service</artifactId>
610 <version>1.0.0</version>
611 <scope>provided</scope>
614 <groupId>org.osgi</groupId>
615 <artifactId>org.osgi.namespace.unresolvable</artifactId>
616 <version>1.0.0</version>
617 <scope>provided</scope>
620 <groupId>org.osgi</groupId>
621 <artifactId>org.osgi.service.async</artifactId>
622 <version>1.0.0</version>
623 <scope>provided</scope>
626 <groupId>org.osgi</groupId>
627 <artifactId>org.osgi.service.application</artifactId>
628 <version>1.1.0</version>
629 <scope>provided</scope>
632 <groupId>org.osgi</groupId>
633 <artifactId>org.osgi.service.blueprint</artifactId>
634 <version>1.0.2</version>
635 <scope>provided</scope>
637 <!-- This is not published until R8>
639 <groupId>org.osgi</groupId>
640 <artifactId>org.osgi.service.cdi</artifactId>
641 <version>1.0.0</version>
642 <scope>provided</scope>
645 <groupId>org.osgi</groupId>
646 <artifactId>org.osgi.service.clusterinfo</artifactId>
647 <version>1.0.0</version>
648 <scope>provided</scope>
651 <groupId>org.osgi</groupId>
652 <artifactId>org.osgi.service.cm</artifactId>
653 <version>1.6.0</version>
654 <scope>provided</scope>
657 <groupId>org.osgi</groupId>
658 <artifactId>org.osgi.service.component</artifactId>
659 <version>1.4.0</version>
660 <scope>provided</scope>
663 <groupId>org.osgi</groupId>
664 <artifactId>org.osgi.service.component.annotations</artifactId>
665 <version>1.4.0</version>
666 <scope>provided</scope>
669 <groupId>org.osgi</groupId>
670 <artifactId>org.osgi.service.configurator</artifactId>
671 <version>1.0.0</version>
672 <scope>provided</scope>
675 <groupId>org.osgi</groupId>
676 <artifactId>org.osgi.service.coordinator</artifactId>
677 <version>1.0.2</version>
678 <scope>provided</scope>
681 <groupId>org.osgi</groupId>
682 <artifactId>org.osgi.service.deploymentadmin</artifactId>
683 <version>1.1.0</version>
684 <scope>provided</scope>
687 <groupId>org.osgi</groupId>
688 <artifactId>org.osgi.service.device</artifactId>
689 <version>1.1.0</version>
690 <scope>provided</scope>
693 <groupId>org.osgi</groupId>
694 <artifactId>org.osgi.service.dmt</artifactId>
695 <version>2.0.2</version>
696 <scope>provided</scope>
699 <groupId>org.osgi</groupId>
700 <artifactId>org.osgi.service.event</artifactId>
701 <version>1.4.0</version>
702 <scope>provided</scope>
705 <groupId>org.osgi</groupId>
706 <artifactId>org.osgi.service.http</artifactId>
707 <version>1.2.1</version>
708 <scope>provided</scope>
711 <groupId>org.osgi</groupId>
712 <artifactId>org.osgi.service.http.whiteboard</artifactId>
713 <version>1.1.0</version>
714 <scope>provided</scope>
717 <groupId>org.osgi</groupId>
718 <artifactId>org.osgi.service.io</artifactId>
719 <version>1.0.0</version>
720 <scope>provided</scope>
723 <groupId>org.osgi</groupId>
724 <artifactId>org.osgi.service.jaxrs</artifactId>
725 <version>1.0.0</version>
726 <scope>provided</scope>
729 <groupId>org.osgi</groupId>
730 <artifactId>org.osgi.service.jdbc</artifactId>
731 <version>1.0.0</version>
732 <scope>provided</scope>
735 <groupId>org.osgi</groupId>
736 <artifactId>org.osgi.service.jndi</artifactId>
737 <version>1.0.0</version>
738 <scope>provided</scope>
741 <groupId>org.osgi</groupId>
742 <artifactId>org.osgi.service.jpa</artifactId>
743 <version>1.0.0</version>
744 <scope>provided</scope>
747 <groupId>org.osgi</groupId>
748 <artifactId>org.osgi.service.log</artifactId>
749 <version>1.4.0</version>
750 <scope>provided</scope>
753 <groupId>org.osgi</groupId>
754 <artifactId>org.osgi.service.metatype</artifactId>
755 <version>1.4.0</version>
756 <scope>provided</scope>
759 <groupId>org.osgi</groupId>
760 <artifactId>org.osgi.service.metatype.annotations</artifactId>
761 <version>1.4.0</version>
762 <scope>provided</scope>
765 <groupId>org.osgi</groupId>
766 <artifactId>org.osgi.service.monitor</artifactId>
767 <version>1.0.0</version>
768 <scope>provided</scope>
771 <groupId>org.osgi</groupId>
772 <artifactId>org.osgi.service.prefs</artifactId>
773 <version>1.1.1</version>
774 <scope>provided</scope>
777 <groupId>org.osgi</groupId>
778 <artifactId>org.osgi.service.provisioning</artifactId>
779 <version>1.2.0</version>
780 <scope>provided</scope>
783 <groupId>org.osgi</groupId>
784 <artifactId>org.osgi.service.remoteserviceadmin</artifactId>
785 <version>1.1.0</version>
786 <scope>provided</scope>
789 <groupId>org.osgi</groupId>
790 <artifactId>org.osgi.service.repository</artifactId>
791 <version>1.1.0</version>
792 <scope>provided</scope>
795 <groupId>org.osgi</groupId>
796 <artifactId>org.osgi.service.rest</artifactId>
797 <version>1.0.0</version>
798 <scope>provided</scope>
801 <groupId>org.osgi</groupId>
802 <artifactId>org.osgi.service.serviceloader</artifactId>
803 <version>1.0.0</version>
804 <scope>provided</scope>
807 <groupId>org.osgi</groupId>
808 <artifactId>org.osgi.service.subsystem</artifactId>
809 <version>1.1.0</version>
810 <scope>provided</scope>
813 <groupId>org.osgi</groupId>
814 <artifactId>org.osgi.service.transaction.control</artifactId>
815 <version>1.0.0</version>
816 <scope>provided</scope>
819 <groupId>org.osgi</groupId>
820 <artifactId>org.osgi.service.upnp</artifactId>
821 <version>1.2.0</version>
822 <scope>provided</scope>
825 <groupId>org.osgi</groupId>
826 <artifactId>org.osgi.service.useradmin</artifactId>
827 <version>1.1.0</version>
828 <scope>provided</scope>
831 <groupId>org.osgi</groupId>
832 <artifactId>org.osgi.service.wireadmin</artifactId>
833 <version>1.0.1</version>
834 <scope>provided</scope>
837 <groupId>org.osgi</groupId>
838 <artifactId>org.osgi.util.converter</artifactId>
839 <version>1.0.1</version>
840 <scope>provided</scope>
843 <groupId>org.osgi</groupId>
844 <artifactId>org.osgi.util.function</artifactId>
845 <version>1.2.0</version>
846 <scope>provided</scope>
849 <groupId>org.osgi</groupId>
850 <artifactId>org.osgi.util.measurement</artifactId>
851 <version>1.0.2</version>
852 <scope>provided</scope>
855 <groupId>org.osgi</groupId>
856 <artifactId>org.osgi.util.position</artifactId>
857 <version>1.0.1</version>
858 <scope>provided</scope>
861 <groupId>org.osgi</groupId>
862 <artifactId>org.osgi.util.promise</artifactId>
863 <version>1.2.0</version>
864 <scope>provided</scope>
867 <groupId>org.osgi</groupId>
868 <artifactId>org.osgi.util.pushstream</artifactId>
869 <version>1.0.1</version>
870 <scope>provided</scope>
873 <groupId>org.osgi</groupId>
874 <artifactId>org.osgi.util.xml</artifactId>
875 <version>1.0.1</version>
876 <scope>provided</scope>
879 <!-- for https://jira.opendaylight.org/browse/ODLPARENT-24 -->
881 <groupId>org.apache.aries.quiesce</groupId>
882 <artifactId>org.apache.aries.quiesce.api</artifactId>
883 <version>1.0.0</version>
886 <!-- LMAX Disruptor -->
888 <groupId>com.lmax</groupId>
889 <artifactId>disruptor</artifactId>
890 <version>3.4.4</version>
893 <!-- Add Pax Exam -->
895 <groupId>org.ops4j.pax.exam</groupId>
896 <artifactId>pax-exam</artifactId>
897 <version>4.13.5</version>
901 <groupId>org.ops4j.pax.exam</groupId>
902 <artifactId>pax-exam-container-forked</artifactId>
903 <version>4.13.5</version>
907 <groupId>org.ops4j.pax.exam</groupId>
908 <artifactId>pax-exam-container-karaf</artifactId>
909 <version>4.13.5</version>
913 <groupId>org.ops4j.pax.exam</groupId>
914 <artifactId>pax-exam-container-native</artifactId>
915 <version>4.13.5</version>
919 <groupId>org.ops4j.pax.exam</groupId>
920 <artifactId>pax-exam-extender-service</artifactId>
921 <version>4.13.5</version>
925 <groupId>org.ops4j.pax.exam</groupId>
926 <artifactId>pax-exam-inject</artifactId>
927 <version>4.13.5</version>
931 <groupId>org.ops4j.pax.exam</groupId>
932 <artifactId>pax-exam-invoker-junit</artifactId>
933 <version>4.13.5</version>
937 <groupId>org.ops4j.pax.exam</groupId>
938 <artifactId>pax-exam-features</artifactId>
939 <version>4.13.5</version>
944 <groupId>org.ops4j.pax.exam</groupId>
945 <artifactId>pax-exam-junit4</artifactId>
946 <version>4.13.5</version>
950 <groupId>org.ops4j.pax.exam</groupId>
951 <artifactId>pax-exam-link-mvn</artifactId>
952 <version>4.13.5</version>
956 <groupId>org.ops4j.pax.exam</groupId>
957 <artifactId>pax-exam-link-assembly</artifactId>
958 <version>4.13.5</version>
963 <groupId>org.ops4j.pax.url</groupId>
964 <artifactId>pax-url-link</artifactId>
965 <version>2.6.10</version>
969 <groupId>org.ops4j.pax.url</groupId>
970 <artifactId>pax-url-aether</artifactId>
971 <version>2.6.10</version>
975 <groupId>org.ops4j.pax.url</groupId>
976 <artifactId>pax-url-wrap</artifactId>
977 <version>2.6.10</version>
981 <groupId>org.springframework.osgi</groupId>
982 <artifactId>spring-osgi-mock</artifactId>
983 <version>1.2.1</version>
988 <groupId>org.xmlunit</groupId>
989 <artifactId>xmlunit-core</artifactId>
990 <version>2.9.0</version>
994 <groupId>org.xmlunit</groupId>
995 <artifactId>xmlunit-assertj</artifactId>
996 <version>2.9.0</version>
1000 <groupId>org.xmlunit</groupId>
1001 <artifactId>xmlunit-assertj3</artifactId>
1002 <version>2.9.0</version>
1006 <groupId>org.xmlunit</groupId>
1007 <artifactId>xmlunit-matchers</artifactId>
1008 <version>2.9.0</version>
1011 <!-- FIXME: remove this once we have migrated over -->
1013 <groupId>org.xmlunit</groupId>
1014 <artifactId>xmlunit-legacy</artifactId>
1015 <version>2.9.0</version>
1019 <!-- Annotations for modernizer-maven-plugin -->
1021 <groupId>org.gaul</groupId>
1022 <artifactId>modernizer-maven-annotations</artifactId>
1023 <!-- This should match the plugin version below -->
1024 <version>2.4.0</version>
1025 <scope>provided</scope>
1029 <groupId>org.eclipse.jetty</groupId>
1030 <artifactId>jetty-bom</artifactId>
1031 <version>9.4.46.v20220331</version>
1032 <scope>import</scope>
1036 <!-- Annotations -->
1037 <!-- A better alternative for javax.inject, from https://guicedee.com/ -->
1039 <groupId>com.guicedee.services</groupId>
1040 <artifactId>javax.inject</artifactId>
1041 <version>1.0.20.0</version>
1042 <scope>provided</scope>
1043 <optional>true</optional>
1046 <!-- jung, a graph library -->
1048 <groupId>net.sf.jung</groupId>
1049 <artifactId>jung-api</artifactId>
1050 <version>2.1.1</version>
1053 <groupId>net.sf.jung</groupId>
1054 <artifactId>jung-algorithms</artifactId>
1055 <version>2.1.1</version>
1058 <groupId>net.sf.jung</groupId>
1059 <artifactId>jung-graph-impl</artifactId>
1060 <version>2.1.1</version>
1063 <!-- ThreeTen-Extra, date/time complements -->
1065 <groupId>org.threeten</groupId>
1066 <artifactId>threeten-extra</artifactId>
1067 <version>1.7.0</version>
1070 <!-- When updating this version, consider antl4-maven-plugin below -->
1072 <groupId>org.antlr</groupId>
1073 <artifactId>antlr4-runtime</artifactId>
1074 <version>4.9.3</version>
1077 <!-- TrieMap library -->
1079 <groupId>tech.pantheon.triemap</groupId>
1080 <artifactId>bom</artifactId>
1081 <version>1.2.0</version>
1082 <scope>import</scope>
1086 <!-- Dropwizard metrics -->
1088 <groupId>io.dropwizard.metrics</groupId>
1089 <artifactId>metrics-bom</artifactId>
1090 <version>4.2.9</version>
1091 <scope>import</scope>
1095 <!-- Sonar/JaCoCo integration -->
1097 <groupId>org.sonarsource.java</groupId>
1098 <artifactId>sonar-jacoco-listeners</artifactId>
1099 <version>${sonar-jacoco-listeners.version}</version>
1103 </dependencyManagement>
1107 We expect slf4j-api to be provided by the platform.
1108 Karaf provides it, other containers need to provide it themselves.
1111 <groupId>org.slf4j</groupId>
1112 <artifactId>slf4j-api</artifactId>
1113 <scope>provided</scope>
1117 Enable useful code quality annotations everywhere. Since these annotations
1118 are not required at runtime.
1121 <groupId>org.eclipse.jdt</groupId>
1122 <artifactId>org.eclipse.jdt.annotation</artifactId>
1123 <scope>provided</scope>
1126 <groupId>com.github.spotbugs</groupId>
1127 <artifactId>spotbugs-annotations</artifactId>
1128 <scope>provided</scope>
1129 <optional>true</optional>
1132 <groupId>org.gaul</groupId>
1133 <artifactId>modernizer-maven-annotations</artifactId>
1134 <scope>provided</scope>
1138 Testing output should be routed through slf4j-simple.
1141 <groupId>org.slf4j</groupId>
1142 <artifactId>slf4j-simple</artifactId>
1147 Unit tests can use JUnit + Mockito + Hamcrest by default.
1150 <groupId>org.hamcrest</groupId>
1151 <artifactId>hamcrest</artifactId>
1155 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1156 <groupId>org.hamcrest</groupId>
1157 <artifactId>hamcrest-library</artifactId>
1161 <!-- JUnit 5 integration -->
1163 <groupId>org.junit.jupiter</groupId>
1164 <artifactId>junit-jupiter-api</artifactId>
1168 <groupId>org.junit.jupiter</groupId>
1169 <artifactId>junit-jupiter-engine</artifactId>
1173 <groupId>org.mockito</groupId>
1174 <artifactId>mockito-junit-jupiter</artifactId>
1178 <!-- JUnit 4 integration -->
1180 <groupId>junit</groupId>
1181 <artifactId>junit</artifactId>
1185 <groupId>org.junit.jupiter</groupId>
1186 <artifactId>junit-jupiter-migrationsupport</artifactId>
1190 <groupId>org.junit.vintage</groupId>
1191 <artifactId>junit-vintage-engine</artifactId>
1195 <groupId>org.mockito</groupId>
1196 <artifactId>mockito-core</artifactId>
1204 <!-- Official maven plugins, alpha-sorted by artifactId.
1205 We do not need to specify the groupId. -->
1207 <artifactId>maven-checkstyle-plugin</artifactId>
1208 <version>3.1.2</version>
1211 <groupId>com.puppycrawl.tools</groupId>
1212 <artifactId>checkstyle</artifactId>
1213 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1214 <version>10.1</version>
1217 <groupId>org.opendaylight.odlparent</groupId>
1218 <artifactId>checkstyle</artifactId>
1219 <version>10.0.1-SNAPSHOT</version>
1222 <groupId>com.github.sevntu-checkstyle</groupId>
1223 <artifactId>sevntu-checks</artifactId>
1224 <version>1.41.0</version>
1228 <configLocation>odl_checks.xml</configLocation>
1229 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1230 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1231 generated sources directory -->
1233 <directory>${project.build.sourceDirectory}</directory>
1234 </sourceDirectories>
1235 <includeResources>true</includeResources>
1236 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1237 <includeTestResources>true</includeTestResources>
1238 <includes>**\/*.java</includes>
1240 org/opendaylight/yang/gen/**,
1241 **/protobuff/messages/**,
1242 **/thrift/gen/*.java,
1245 <failsOnError>false</failsOnError>
1246 <consoleOutput>true</consoleOutput>
1250 <id>check-license</id>
1254 <phase>process-sources</phase>
1256 <configLocation>check-license.xml</configLocation>
1257 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1258 <includeResources>false</includeResources>
1259 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1260 <includeTestResources>false</includeTestResources>
1262 <directory>${project.build.sourceDirectory}</directory>
1263 </sourceDirectories>
1265 org/opendaylight/yang/gen/**,
1266 **/protobuff/messages/**,
1267 **/thrift/gen/*.java
1269 <failsOnError>false</failsOnError>
1270 <consoleOutput>true</consoleOutput>
1277 <phase>process-sources</phase>
1279 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1280 <skip>${odlparent.checkstyle.skip}</skip>
1281 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1287 <artifactId>maven-compiler-plugin</artifactId>
1289 <showWarnings>true</showWarnings>
1291 <arg>-parameters</arg>
1292 <arg>-Xlint:all</arg>
1293 <!-- Disable 'No processor claimed any of these annotations' -->
1294 <arg>-Xlint:-processing</arg>
1296 <annotationProcessorPaths>
1298 <groupId>org.immutables</groupId>
1299 <artifactId>value</artifactId>
1300 <!-- Keep this version in sync with dependency declaration above -->
1301 <version>2.8.8</version>
1304 <groupId>org.kohsuke.metainf-services</groupId>
1305 <artifactId>metainf-services</artifactId>
1306 <!-- Keep this version in sync with dependency declaration above -->
1307 <version>1.9</version>
1309 </annotationProcessorPaths>
1313 <artifactId>maven-failsafe-plugin</artifactId>
1314 <version>2.22.2</version>
1317 <artifactId>maven-invoker-plugin</artifactId>
1318 <version>3.2.2</version>
1321 <artifactId>maven-dependency-plugin</artifactId>
1324 <id>unpack-license</id>
1325 <phase>generate-resources</phase>
1332 <groupId>org.opendaylight.odlparent</groupId>
1333 <artifactId>odl-license</artifactId>
1334 <version>10.0.1-SNAPSHOT</version>
1335 <type>license</type>
1336 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1337 <destFileName>LICENSE</destFileName>
1338 <overWrite>false</overWrite>
1341 <silent>true</silent>
1345 <id>analyze-declarations</id>
1347 <goal>analyze-only</goal>
1350 <failOnWarning>${odlparent.dependency.enforce}</failOnWarning>
1351 <ignoreNonCompile>true</ignoreNonCompile>
1352 <skip>${odlparent.dependency.skip}</skip>
1359 <artifactId>maven-plugin-plugin</artifactId>
1360 <version>3.6.2</version>
1364 <artifactId>maven-remote-resources-plugin</artifactId>
1365 <version>1.7.0</version>
1368 <artifactId>maven-shade-plugin</artifactId>
1369 <version>3.3.0</version>
1372 <artifactId>maven-source-plugin</artifactId>
1373 <version>3.2.1</version>
1376 <id>attach-sources</id>
1377 <phase>verify</phase>
1379 <goal>jar-no-fork</goal>
1385 <artifactId>maven-surefire-plugin</artifactId>
1386 <version>2.22.2</version>
1388 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1389 <trimStackTrace>false</trimStackTrace>
1393 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1395 <groupId>org.basepom.maven</groupId>
1396 <artifactId>duplicate-finder-maven-plugin</artifactId>
1397 <version>1.5.0</version>
1401 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1402 <artifactId>echo-maven-plugin</artifactId>
1403 <version>1.3.2</version>
1407 <groupId>org.apache.felix</groupId>
1408 <artifactId>maven-bundle-plugin</artifactId>
1409 <version>5.1.4</version>
1410 <extensions>true</extensions>
1413 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1414 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1415 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1416 <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties,META-INF/services=-${project.build.directory}/classes/META-INF/services</Include-Resource>
1418 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1419 to generate Import-Service and Export-Service headers. -->
1420 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1426 <groupId>org.apache.karaf.tooling</groupId>
1427 <artifactId>karaf-maven-plugin</artifactId>
1428 <version>${karaf.version}</version>
1429 <extensions>true</extensions>
1433 <groupId>org.apache.servicemix.tooling</groupId>
1434 <artifactId>depends-maven-plugin</artifactId>
1435 <version>1.4.0</version>
1438 <id>generate-depends-file</id>
1440 <goal>generate-depends-file</goal>
1447 <groupId>com.webcohesion.enunciate</groupId>
1448 <artifactId>enunciate-maven-plugin</artifactId>
1449 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1450 <version>2.13.3</version>
1454 <groupId>org.gaul</groupId>
1455 <artifactId>modernizer-maven-plugin</artifactId>
1456 <version>2.4.0</version>
1458 <javaVersion>${odlparent.modernizer.target}</javaVersion>
1459 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1460 <skip>${odlparent.modernizer.skip}</skip>
1463 <!-- We are using Guava as per normal and we have grown a large body of code
1464 around the patterns there. Furthermore the suggested replacements have
1465 different behavior, hence we do NOT want to blindly migrate. Examples
1468 - Iterables, which we are widely use for efficient discovery of when
1469 the Iterable is actually a Collection
1471 <exclusionPattern>com/google/common/collect/Iterables.*</exclusionPattern>
1472 </exclusionPatterns>
1478 <phase>verify</phase>
1480 <goal>modernizer</goal>
1487 <groupId>org.apache.karaf.tooling</groupId>
1488 <artifactId>karaf-services-maven-plugin</artifactId>
1489 <version>${karaf.version}</version>
1492 <id>service-metadata-generate</id>
1493 <phase>process-classes</phase>
1495 <goal>service-metadata-generate</goal>
1502 <groupId>com.github.spotbugs</groupId>
1503 <artifactId>spotbugs-maven-plugin</artifactId>
1504 <version>4.6.0.0</version>
1507 <groupId>com.github.spotbugs</groupId>
1508 <artifactId>spotbugs</artifactId>
1509 <version>4.6.0</version>
1512 <groupId>org.opendaylight.odlparent</groupId>
1513 <artifactId>spotbugs</artifactId>
1514 <version>10.0.1-SNAPSHOT</version>
1517 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 4 -->
1518 <groupId>org.slf4j</groupId>
1519 <artifactId>slf4j-simple</artifactId>
1520 <version>1.8.0-beta4</version>
1526 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1527 <artifactId>bug-pattern</artifactId>
1528 <version>1.5.0</version>
1532 Enables analysis which takes more memory but finds more bugs.
1533 If you run out of memory, changes the value of the effort element
1536 <effort>Max</effort>
1537 <!-- Reports all bugs (other values are medium and max) -->
1538 <threshold>Low</threshold>
1539 <!-- Build doesn't fail if problems are found -->
1540 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1541 <skip>${odlparent.spotbugs.skip}</skip>
1542 <!-- References the excluded rules -->
1543 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1544 <!-- Produces XML report -->
1545 <xmlOutput>true</xmlOutput>
1546 <!-- Configures the directory in which the XML report is created -->
1547 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1551 Ensures that SpotBugs inspects source code when project is compiled.
1554 <id>analyze-compile</id>
1555 <phase>compile</phase>
1563 <groupId>org.codehaus.mojo</groupId>
1564 <artifactId>properties-maven-plugin</artifactId>
1565 <version>1.0.0</version>
1568 <groupId>org.eclipse.m2e</groupId>
1569 <artifactId>lifecycle-mapping</artifactId>
1570 <version>1.0.0</version>
1572 <lifecycleMappingMetadata>
1575 <pluginExecutionFilter>
1576 <groupId>org.apache.felix</groupId>
1577 <artifactId>maven-bundle-plugin</artifactId>
1578 <versionRange>[1.0,)</versionRange>
1580 <goal>manifest</goal>
1582 </pluginExecutionFilter>
1588 <pluginExecutionFilter>
1589 <groupId>org.apache.maven.plugins</groupId>
1590 <artifactId>maven-enforcer-plugin</artifactId>
1591 <versionRange>[1.0.0,)</versionRange>
1593 <goal>enforce</goal>
1595 </pluginExecutionFilter>
1601 <pluginExecutionFilter>
1602 <groupId>org.apache.maven.plugins</groupId>
1603 <artifactId>maven-dependency-plugin</artifactId>
1604 <versionRange>[2.10,)</versionRange>
1608 </pluginExecutionFilter>
1613 <!-- The plugin will eventually be removed, remove this too at that point -->
1615 <pluginExecutionFilter>
1616 <groupId>org.apache.maven.plugins</groupId>
1617 <artifactId>maven-antrun-plugin</artifactId>
1618 <versionRange>[1.8,)</versionRange>
1622 </pluginExecutionFilter>
1628 <pluginExecutionFilter>
1629 <groupId>org.apache.servicemix.tooling</groupId>
1630 <artifactId>depends-maven-plugin</artifactId>
1631 <versionRange>[1.2,)</versionRange>
1633 <goal>generate-depends-file</goal>
1635 </pluginExecutionFilter>
1641 <pluginExecutionFilter>
1642 <groupId>org.jacoco</groupId>
1643 <artifactId>jacoco-maven-plugin</artifactId>
1644 <versionRange>[0.7.0,)</versionRange>
1646 <goal>prepare-agent</goal>
1648 </pluginExecutionFilter>
1655 <pluginExecutionFilter>
1656 <groupId>org.ops4j.pax.exam</groupId>
1657 <artifactId>maven-paxexam-plugin</artifactId>
1658 <versionRange>[1.2.4,)</versionRange>
1660 <goal>generate-depends-file</goal>
1662 </pluginExecutionFilter>
1669 <pluginExecutionFilter>
1670 <groupId>org.basepom.maven</groupId>
1672 duplicate-finder-maven-plugin
1674 <versionRange>[1.2.1,)</versionRange>
1678 </pluginExecutionFilter>
1684 </lifecycleMappingMetadata>
1689 <groupId>org.jacoco</groupId>
1690 <artifactId>jacoco-maven-plugin</artifactId>
1692 <!-- Note: This exclusion list should match <sonar.exclusions>
1695 <exclude>**/gen/**</exclude>
1696 <exclude>**/generated-sources/**</exclude>
1697 <exclude>**/generated-test-sources/**</exclude>
1698 <exclude>**/yang-gen/**</exclude>
1699 <exclude>**/yang-gen-config/**</exclude>
1700 <exclude>**/yang-gen-sal/**</exclude>
1701 <exclude>**/yang-gen-code/**</exclude>
1702 <exclude>**/pax/**</exclude>
1708 <groupId>org.ops4j.pax.exam</groupId>
1709 <artifactId>maven-paxexam-plugin</artifactId>
1710 <version>1.2.4</version>
1713 <!-- When updating this version, consider antl4-runtime above -->
1715 <groupId>org.antlr</groupId>
1716 <artifactId>antlr4-maven-plugin</artifactId>
1717 <version>4.9.3</version>
1724 <artifactId>maven-enforcer-plugin</artifactId>
1727 <id>enforce-banned-dependencies</id>
1729 <goal>enforce</goal>
1733 <bannedDependencies>
1734 <message>Please always use mockito-core instead of mockito-all (see https://jira.opendaylight.org/browse/ODLPARENT-59), and spotbugs:annotations instead of findbugs:annotations</message>
1736 <exclude>org.mockito:mockito-all</exclude>
1737 <exclude>com.google.code.findbugs:annotations</exclude>
1739 </bannedDependencies>
1747 <groupId>org.basepom.maven</groupId>
1748 <artifactId>duplicate-finder-maven-plugin</artifactId>
1751 <id>find-duplicate-classpath-entries</id>
1752 <phase>verify</phase>
1759 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1760 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1761 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1762 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1763 <printEqualFiles>false</printEqualFiles>
1765 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1766 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1767 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1769 <ignoredResourcePatterns>
1770 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1771 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1772 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1773 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1774 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1775 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1776 <ignoredResourcePattern>.api_description</ignoredResourcePattern>
1777 </ignoredResourcePatterns>
1778 <ignoredDependencies>
1780 <groupId>org.slf4j</groupId>
1781 <artifactId>slf4j-simple</artifactId>
1782 </ignoredDependency>
1784 <groupId>org.opendaylight.odlparent</groupId>
1785 <artifactId>opendaylight-karaf-empty</artifactId>
1786 </ignoredDependency>
1787 </ignoredDependencies>
1791 <artifactId>maven-dependency-plugin</artifactId>
1794 <artifactId>maven-checkstyle-plugin</artifactId>
1797 <artifactId>maven-source-plugin</artifactId>
1800 <artifactId>maven-javadoc-plugin</artifactId>
1803 <groupId>org.gaul</groupId>
1804 <artifactId>modernizer-maven-plugin</artifactId>
1807 <groupId>com.github.spotbugs</groupId>
1808 <artifactId>spotbugs-maven-plugin</artifactId>
1811 <!-- Jacoco / Sonar -->
1813 <groupId>org.jacoco</groupId>
1814 <artifactId>jacoco-maven-plugin</artifactId>
1817 <id>pre-unit-test</id>
1819 <goal>prepare-agent</goal>
1832 <groupId>org.opendaylight.odlparent</groupId>
1833 <artifactId>copy-files-plugin</artifactId>
1834 <version>10.0.1-SNAPSHOT</version>
1837 <phase>prepare-package</phase>
1839 <goal>copy-files</goal>
1843 <glob>README*</glob>
1844 <glob>CONTRIBUTING*</glob>
1845 <glob>PROJECT_INFO.yaml</glob>
1857 <artifactId>maven-checkstyle-plugin</artifactId>
1858 <version>3.1.0</version>
1861 <!-- FIXME: activate this
1863 <artifactId>maven-project-info-reports-plugin</artifactId>
1866 <groupId>org.codehaus.mojo</groupId>
1867 <artifactId>jdepend-maven-plugin</artifactId>
1871 <report>generate-no-fork</report>