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.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/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.3</karaf.version>
43 <!-- Supporting Libraries -->
44 <!-- Only used internally -->
45 <bouncycastle.version>1.70</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>3.8</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.0-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>8.45.1</version>
129 <!-- Testing Dependencies -->
130 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
132 <groupId>org.junit</groupId>
133 <artifactId>junit-bom</artifactId>
134 <version>5.8.1</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.1.0</version>
158 <groupId>org.mockito</groupId>
159 <artifactId>mockito-inline</artifactId>
160 <version>4.1.0</version>
164 <groupId>org.hamcrest</groupId>
165 <artifactId>hamcrest</artifactId>
166 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
167 <version>2.2</version>
171 <groupId>org.hamcrest</groupId>
172 <artifactId>hamcrest-core</artifactId>
173 <version>2.2</version>
177 <groupId>org.hamcrest</groupId>
178 <artifactId>hamcrest-library</artifactId>
179 <version>2.2</version>
183 <groupId>com.google.truth</groupId>
184 <artifactId>truth</artifactId>
185 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
186 <version>1.1.3</version>
190 <groupId>com.google.truth.extensions</groupId>
191 <artifactId>truth-java8-extension</artifactId>
192 <version>1.1.3</version>
196 <groupId>org.awaitility</groupId>
197 <artifactId>awaitility</artifactId>
198 <version>4.1.1</version>
203 Annotation Processors
206 <!-- Generates immutable implementations, builders, the works -->
207 <groupId>org.immutables</groupId>
208 <artifactId>value</artifactId>
209 <classifier>annotations</classifier>
210 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
211 <version>2.8.8</version>
212 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
213 <scope>provided</scope>
217 <!-- Generates META-INF/services entries for ServiceLoader -->
218 <groupId>org.kohsuke.metainf-services</groupId>
219 <artifactId>metainf-services</artifactId>
220 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
221 <version>1.8</version>
222 <optional>true</optional>
223 <scope>provided</scope>
230 <groupId>ch.qos.logback</groupId>
231 <artifactId>logback-core</artifactId>
232 <version>1.2.5</version>
235 <groupId>ch.qos.logback</groupId>
236 <artifactId>logback-classic</artifactId>
237 <version>1.2.5</version>
242 <groupId>org.apache.logging.log4j</groupId>
243 <artifactId>log4j-bom</artifactId>
244 <version>2.15.0</version>
245 <scope>import</scope>
250 <groupId>com.google.guava</groupId>
251 <artifactId>guava</artifactId>
252 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
253 <version>30.1.1-jre</version>
256 <!-- Do not leak JSR305 onto the classpath by default -->
257 <groupId>com.google.code.findbugs</groupId>
258 <artifactId>jsr305</artifactId>
263 <groupId>com.google.guava</groupId>
264 <artifactId>guava-testlib</artifactId>
265 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
266 <version>30.1.1-jre</version>
270 <!-- Do not leak JSR305 onto the classpath by default -->
271 <groupId>com.google.code.findbugs</groupId>
272 <artifactId>jsr305</artifactId>
277 <groupId>org.checkerframework</groupId>
278 <artifactId>checker-qual</artifactId>
279 <version>3.8.0</version>
282 <groupId>com.google.errorprone</groupId>
283 <artifactId>error_prone_annotations</artifactId>
284 <version>2.5.1</version>
288 <groupId>commons-beanutils</groupId>
289 <artifactId>commons-beanutils</artifactId>
290 <version>1.9.4</version>
293 <groupId>org.apache.commons</groupId>
294 <artifactId>commons-lang3</artifactId>
295 <version>3.12.0</version>
298 <groupId>org.apache.commons</groupId>
299 <artifactId>commons-text</artifactId>
300 <version>1.9</version>
303 <groupId>commons-lang</groupId>
304 <artifactId>commons-lang</artifactId>
305 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
306 <version>2.6</version>
309 <groupId>commons-codec</groupId>
310 <artifactId>commons-codec</artifactId>
311 <version>1.15</version>
313 <!-- Jersey for JAXRS -->
315 <groupId>javax.ws.rs</groupId>
316 <artifactId>javax.ws.rs-api</artifactId>
317 <version>2.1.1</version>
320 <groupId>org.glassfish.jersey</groupId>
321 <artifactId>jersey-bom</artifactId>
322 <version>2.27</version>
324 <scope>import</scope>
328 <groupId>jakarta.activation</groupId>
329 <artifactId>jakarta.activation-api</artifactId>
330 <version>1.2.2</version>
334 <groupId>javax.annotation</groupId>
335 <artifactId>javax.annotation-api</artifactId>
336 <version>1.3.1</version>
337 <optional>true</optional>
340 <groupId>xml-apis</groupId>
341 <artifactId>xml-apis</artifactId>
342 <version>1.4.01</version>
345 <!-- Plugin integration -->
347 <groupId>net.java.dev.stax-utils</groupId>
348 <artifactId>stax-utils</artifactId>
349 <version>20070216</version>
352 <!-- JSR173 ships with JRE by default -->
353 <groupId>com.bea.xml</groupId>
354 <artifactId>jsr173-ri</artifactId>
359 <groupId>org.sonatype.plexus</groupId>
360 <artifactId>plexus-build-api</artifactId>
361 <version>0.0.7</version>
364 <groupId>org.codehaus.plexus</groupId>
365 <artifactId>plexus-slf4j-logging</artifactId>
366 <version>1.1</version>
369 <!-- These three need to be consistent:
370 jackson-2.12.5 needs woodstox-6.2.4+
371 woodstox-5.3+ needs stax2-api-4.2.x
374 <groupId>org.codehaus.woodstox</groupId>
375 <artifactId>stax2-api</artifactId>
376 <version>4.2.1</version>
379 <groupId>com.fasterxml.woodstox</groupId>
380 <artifactId>woodstox-core</artifactId>
381 <version>6.2.7</version>
384 <groupId>com.fasterxml.jackson</groupId>
385 <artifactId>jackson-bom</artifactId>
386 <version>2.12.5</version>
387 <scope>import</scope>
392 <groupId>com.github.spotbugs</groupId>
393 <artifactId>spotbugs-annotations</artifactId>
394 <version>3.1.12</version>
395 <scope>provided</scope>
396 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
397 <optional>true</optional>
400 <groupId>com.google.code.findbugs</groupId>
401 <artifactId>jsr305</artifactId>
407 <groupId>org.eclipse.jdt</groupId>
408 <artifactId>org.eclipse.jdt.annotation</artifactId>
409 <version>2.2.600</version>
410 <scope>provided</scope>
413 <groupId>com.google.code.gson</groupId>
414 <artifactId>gson</artifactId>
415 <version>2.8.9</version>
418 <groupId>commons-fileupload</groupId>
419 <artifactId>commons-fileupload</artifactId>
420 <version>1.4</version>
423 <groupId>commons-io</groupId>
424 <artifactId>commons-io</artifactId>
425 <version>2.11.0</version>
428 <groupId>commons-net</groupId>
429 <artifactId>commons-net</artifactId>
430 <version>3.8.0</version>
435 <groupId>io.netty</groupId>
436 <artifactId>netty-bom</artifactId>
437 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
438 <version>4.1.70.Final</version>
440 <scope>import</scope>
444 <groupId>javax.ws.rs</groupId>
445 <artifactId>jsr311-api</artifactId>
446 <version>1.1.1</version>
449 <groupId>org.bouncycastle</groupId>
450 <artifactId>bcpkix-jdk15on</artifactId>
451 <version>${bouncycastle.version}</version>
454 <groupId>org.bouncycastle</groupId>
455 <artifactId>bcprov-jdk15on</artifactId>
456 <version>${bouncycastle.version}</version>
459 <groupId>org.bouncycastle</groupId>
460 <artifactId>bcprov-ext-jdk15on</artifactId>
461 <version>${bouncycastle.version}</version>
464 <groupId>org.bouncycastle</groupId>
465 <artifactId>bcutil-jdk15on</artifactId>
466 <version>${bouncycastle.version}</version>
470 <groupId>com.webcohesion.enunciate</groupId>
471 <artifactId>enunciate-core-annotations</artifactId>
472 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
473 <version>2.13.3</version>
477 <groupId>org.javassist</groupId>
478 <artifactId>javassist</artifactId>
479 <version>3.27.0-GA</version>
482 <groupId>org.jboss.spec.javax.transaction</groupId>
483 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
484 <version>1.0.1.Final</version>
487 <groupId>org.jolokia</groupId>
488 <artifactId>jolokia-osgi</artifactId>
489 <version>1.7.1</version>
493 OSGi Release 7 artifacts. These come in two forms:
494 - osgi.core, osgi.cmpn and osgi.annotation, which are legacy uber-bundles
495 - fine-grained artifacts, which are the preferred way going forward, especially
496 once we get to Release 8.
497 The definitions here are sourced from https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/cnf/central.mvn
498 and the corresponding layout.bnd files.
500 <!-- osgi.core content, defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.core/layout.bnd -->
502 <groupId>org.osgi</groupId>
503 <artifactId>org.osgi.dto</artifactId>
504 <version>1.1.1</version>
505 <scope>provided</scope>
508 <groupId>org.osgi</groupId>
509 <artifactId>org.osgi.resource</artifactId>
510 <version>1.0.0</version>
511 <scope>provided</scope>
514 <groupId>org.osgi</groupId>
515 <artifactId>org.osgi.framework</artifactId>
516 <version>1.9.0</version>
517 <scope>provided</scope>
520 <groupId>org.osgi</groupId>
521 <artifactId>org.osgi.service.permissionadmin</artifactId>
522 <version>1.2.1</version>
523 <scope>provided</scope>
526 <groupId>org.osgi</groupId>
527 <artifactId>org.osgi.service.condpermadmin</artifactId>
528 <version>1.1.1</version>
529 <scope>provided</scope>
532 <groupId>org.osgi</groupId>
533 <artifactId>org.osgi.service.packageadmin</artifactId>
534 <version>1.2.0</version>
535 <scope>provided</scope>
538 <groupId>org.osgi</groupId>
539 <artifactId>org.osgi.service.startlevel</artifactId>
540 <version>1.1.0</version>
541 <scope>provided</scope>
544 <groupId>org.osgi</groupId>
545 <artifactId>org.osgi.service.resolver</artifactId>
546 <version>1.1.0</version>
547 <scope>provided</scope>
550 <groupId>org.osgi</groupId>
551 <artifactId>org.osgi.service.url</artifactId>
552 <version>1.0.0</version>
553 <scope>provided</scope>
556 <groupId>org.osgi</groupId>
557 <artifactId>org.osgi.util.tracker</artifactId>
558 <version>1.5.2</version>
559 <scope>provided</scope>
562 <!-- osgi.annotation content, defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.annotation/layout.bnd -->
564 <groupId>org.osgi</groupId>
565 <artifactId>org.osgi.annotation.versioning</artifactId>
566 <version>1.0.0</version>
567 <scope>provided</scope>
570 <groupId>org.osgi</groupId>
571 <artifactId>org.osgi.annotation.bundle</artifactId>
572 <version>1.0.0</version>
573 <scope>provided</scope>
576 <!-- osg.cmpn content, defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.cmpn/layout.bnd -->
578 <groupId>org.osgi</groupId>
579 <artifactId>org.osgi.application</artifactId>
580 <version>1.0.0</version>
581 <scope>provided</scope>
584 <groupId>org.osgi</groupId>
585 <artifactId>org.osgi.namespace.contract</artifactId>
586 <version>1.0.0</version>
587 <scope>provided</scope>
590 <groupId>org.osgi</groupId>
591 <artifactId>org.osgi.namespace.extender</artifactId>
592 <version>1.0.1</version>
593 <scope>provided</scope>
596 <groupId>org.osgi</groupId>
597 <artifactId>org.osgi.namespace.implementation</artifactId>
598 <version>1.0.0</version>
599 <scope>provided</scope>
602 <groupId>org.osgi</groupId>
603 <artifactId>org.osgi.namespace.service</artifactId>
604 <version>1.0.0</version>
605 <scope>provided</scope>
608 <groupId>org.osgi</groupId>
609 <artifactId>org.osgi.namespace.unresolvable</artifactId>
610 <version>1.0.0</version>
611 <scope>provided</scope>
614 <groupId>org.osgi</groupId>
615 <artifactId>org.osgi.service.async</artifactId>
616 <version>1.0.0</version>
617 <scope>provided</scope>
620 <groupId>org.osgi</groupId>
621 <artifactId>org.osgi.service.application</artifactId>
622 <version>1.1.0</version>
623 <scope>provided</scope>
626 <groupId>org.osgi</groupId>
627 <artifactId>org.osgi.service.blueprint</artifactId>
628 <version>1.0.2</version>
629 <scope>provided</scope>
631 <!-- This is not published until R8>
633 <groupId>org.osgi</groupId>
634 <artifactId>org.osgi.service.cdi</artifactId>
635 <version>1.0.0</version>
636 <scope>provided</scope>
639 <groupId>org.osgi</groupId>
640 <artifactId>org.osgi.service.clusterinfo</artifactId>
641 <version>1.0.0</version>
642 <scope>provided</scope>
645 <groupId>org.osgi</groupId>
646 <artifactId>org.osgi.service.cm</artifactId>
647 <version>1.6.0</version>
648 <scope>provided</scope>
651 <groupId>org.osgi</groupId>
652 <artifactId>org.osgi.service.component</artifactId>
653 <version>1.4.0</version>
654 <scope>provided</scope>
657 <groupId>org.osgi</groupId>
658 <artifactId>org.osgi.service.component.annotations</artifactId>
659 <version>1.4.0</version>
660 <scope>provided</scope>
663 <groupId>org.osgi</groupId>
664 <artifactId>org.osgi.service.configurator</artifactId>
665 <version>1.0.0</version>
666 <scope>provided</scope>
669 <groupId>org.osgi</groupId>
670 <artifactId>org.osgi.service.coordinator</artifactId>
671 <version>1.0.2</version>
672 <scope>provided</scope>
675 <groupId>org.osgi</groupId>
676 <artifactId>org.osgi.service.deploymentadmin</artifactId>
677 <version>1.1.0</version>
678 <scope>provided</scope>
681 <groupId>org.osgi</groupId>
682 <artifactId>org.osgi.service.device</artifactId>
683 <version>1.1.0</version>
684 <scope>provided</scope>
687 <groupId>org.osgi</groupId>
688 <artifactId>org.osgi.service.dmt</artifactId>
689 <version>2.0.2</version>
690 <scope>provided</scope>
693 <groupId>org.osgi</groupId>
694 <artifactId>org.osgi.service.event</artifactId>
695 <version>1.4.0</version>
696 <scope>provided</scope>
699 <groupId>org.osgi</groupId>
700 <artifactId>org.osgi.service.http</artifactId>
701 <version>1.2.1</version>
702 <scope>provided</scope>
705 <groupId>org.osgi</groupId>
706 <artifactId>org.osgi.service.http.whiteboard</artifactId>
707 <version>1.1.0</version>
708 <scope>provided</scope>
711 <groupId>org.osgi</groupId>
712 <artifactId>org.osgi.service.io</artifactId>
713 <version>1.0.0</version>
714 <scope>provided</scope>
717 <groupId>org.osgi</groupId>
718 <artifactId>org.osgi.service.jaxrs</artifactId>
719 <version>1.0.0</version>
720 <scope>provided</scope>
723 <groupId>org.osgi</groupId>
724 <artifactId>org.osgi.service.jdbc</artifactId>
725 <version>1.0.0</version>
726 <scope>provided</scope>
729 <groupId>org.osgi</groupId>
730 <artifactId>org.osgi.service.jndi</artifactId>
731 <version>1.0.0</version>
732 <scope>provided</scope>
735 <groupId>org.osgi</groupId>
736 <artifactId>org.osgi.service.jpa</artifactId>
737 <version>1.0.0</version>
738 <scope>provided</scope>
741 <groupId>org.osgi</groupId>
742 <artifactId>org.osgi.service.log</artifactId>
743 <version>1.4.0</version>
744 <scope>provided</scope>
747 <groupId>org.osgi</groupId>
748 <artifactId>org.osgi.service.metatype</artifactId>
749 <version>1.4.0</version>
750 <scope>provided</scope>
753 <groupId>org.osgi</groupId>
754 <artifactId>org.osgi.service.metatype.annotations</artifactId>
755 <version>1.4.0</version>
756 <scope>provided</scope>
759 <groupId>org.osgi</groupId>
760 <artifactId>org.osgi.service.monitor</artifactId>
761 <version>1.0.0</version>
762 <scope>provided</scope>
765 <groupId>org.osgi</groupId>
766 <artifactId>org.osgi.service.prefs</artifactId>
767 <version>1.1.1</version>
768 <scope>provided</scope>
771 <groupId>org.osgi</groupId>
772 <artifactId>org.osgi.service.provisioning</artifactId>
773 <version>1.2.0</version>
774 <scope>provided</scope>
777 <groupId>org.osgi</groupId>
778 <artifactId>org.osgi.service.remoteserviceadmin</artifactId>
779 <version>1.1.0</version>
780 <scope>provided</scope>
783 <groupId>org.osgi</groupId>
784 <artifactId>org.osgi.service.repository</artifactId>
785 <version>1.1.0</version>
786 <scope>provided</scope>
789 <groupId>org.osgi</groupId>
790 <artifactId>org.osgi.service.rest</artifactId>
791 <version>1.0.0</version>
792 <scope>provided</scope>
795 <groupId>org.osgi</groupId>
796 <artifactId>org.osgi.service.serviceloader</artifactId>
797 <version>1.0.0</version>
798 <scope>provided</scope>
801 <groupId>org.osgi</groupId>
802 <artifactId>org.osgi.service.subsystem</artifactId>
803 <version>1.1.0</version>
804 <scope>provided</scope>
807 <groupId>org.osgi</groupId>
808 <artifactId>org.osgi.service.transaction.control</artifactId>
809 <version>1.0.0</version>
810 <scope>provided</scope>
813 <groupId>org.osgi</groupId>
814 <artifactId>org.osgi.service.upnp</artifactId>
815 <version>1.2.0</version>
816 <scope>provided</scope>
819 <groupId>org.osgi</groupId>
820 <artifactId>org.osgi.service.useradmin</artifactId>
821 <version>1.1.0</version>
822 <scope>provided</scope>
825 <groupId>org.osgi</groupId>
826 <artifactId>org.osgi.service.wireadmin</artifactId>
827 <version>1.0.1</version>
828 <scope>provided</scope>
831 <groupId>org.osgi</groupId>
832 <artifactId>org.osgi.util.converter</artifactId>
833 <version>1.0.1</version>
834 <scope>provided</scope>
837 <groupId>org.osgi</groupId>
838 <artifactId>org.osgi.util.function</artifactId>
839 <version>1.1.0</version>
840 <scope>provided</scope>
843 <groupId>org.osgi</groupId>
844 <artifactId>org.osgi.util.measurement</artifactId>
845 <version>1.0.2</version>
846 <scope>provided</scope>
849 <groupId>org.osgi</groupId>
850 <artifactId>org.osgi.util.position</artifactId>
851 <version>1.0.1</version>
852 <scope>provided</scope>
855 <groupId>org.osgi</groupId>
856 <artifactId>org.osgi.util.promise</artifactId>
857 <version>1.1.1</version>
858 <scope>provided</scope>
861 <groupId>org.osgi</groupId>
862 <artifactId>org.osgi.util.pushstream</artifactId>
863 <version>1.0.1</version>
864 <scope>provided</scope>
867 <groupId>org.osgi</groupId>
868 <artifactId>org.osgi.util.xml</artifactId>
869 <version>1.0.1</version>
870 <scope>provided</scope>
873 <!-- for https://jira.opendaylight.org/browse/ODLPARENT-24 -->
875 <groupId>org.apache.aries.quiesce</groupId>
876 <artifactId>org.apache.aries.quiesce.api</artifactId>
877 <version>1.0.0</version>
880 <!-- LMAX Disruptor -->
882 <groupId>com.lmax</groupId>
883 <artifactId>disruptor</artifactId>
884 <version>3.4.4</version>
887 <!-- Add Pax Exam -->
889 <groupId>org.ops4j.pax.exam</groupId>
890 <artifactId>pax-exam</artifactId>
891 <version>4.13.4</version>
895 <groupId>org.ops4j.pax.exam</groupId>
896 <artifactId>pax-exam-container-forked</artifactId>
897 <version>4.13.4</version>
901 <groupId>org.ops4j.pax.exam</groupId>
902 <artifactId>pax-exam-container-karaf</artifactId>
903 <version>4.13.4</version>
907 <groupId>org.ops4j.pax.exam</groupId>
908 <artifactId>pax-exam-container-native</artifactId>
909 <version>4.13.4</version>
913 <groupId>org.ops4j.pax.exam</groupId>
914 <artifactId>pax-exam-extender-service</artifactId>
915 <version>4.13.4</version>
919 <groupId>org.ops4j.pax.exam</groupId>
920 <artifactId>pax-exam-inject</artifactId>
921 <version>4.13.4</version>
925 <groupId>org.ops4j.pax.exam</groupId>
926 <artifactId>pax-exam-invoker-junit</artifactId>
927 <version>4.13.4</version>
931 <groupId>org.ops4j.pax.exam</groupId>
932 <artifactId>pax-exam-features</artifactId>
933 <version>4.13.4</version>
938 <groupId>org.ops4j.pax.exam</groupId>
939 <artifactId>pax-exam-junit4</artifactId>
940 <version>4.13.4</version>
944 <groupId>org.ops4j.pax.exam</groupId>
945 <artifactId>pax-exam-link-mvn</artifactId>
946 <version>4.13.4</version>
950 <groupId>org.ops4j.pax.exam</groupId>
951 <artifactId>pax-exam-link-assembly</artifactId>
952 <version>4.13.4</version>
957 <groupId>org.ops4j.pax.url</groupId>
958 <artifactId>pax-url-link</artifactId>
959 <version>2.6.7</version>
963 <groupId>org.ops4j.pax.url</groupId>
964 <artifactId>pax-url-aether</artifactId>
965 <version>2.6.7</version>
969 <groupId>org.ops4j.pax.url</groupId>
970 <artifactId>pax-url-wrap</artifactId>
971 <version>2.6.7</version>
975 <groupId>org.springframework.osgi</groupId>
976 <artifactId>spring-osgi-mock</artifactId>
977 <version>1.2.1</version>
982 <groupId>org.xmlunit</groupId>
983 <artifactId>xmlunit-core</artifactId>
984 <version>2.8.3</version>
988 <groupId>org.xmlunit</groupId>
989 <artifactId>xmlunit-assertj</artifactId>
990 <version>2.8.3</version>
994 <groupId>org.xmlunit</groupId>
995 <artifactId>xmlunit-assertj3</artifactId>
996 <version>2.8.3</version>
1000 <groupId>org.xmlunit</groupId>
1001 <artifactId>xmlunit-matchers</artifactId>
1002 <version>2.8.3</version>
1005 <!-- FIXME: remove this once we have migrated over -->
1007 <groupId>org.xmlunit</groupId>
1008 <artifactId>xmlunit-legacy</artifactId>
1009 <version>2.8.3</version>
1013 <!-- Annotations for modernizer-maven-plugin -->
1015 <groupId>org.gaul</groupId>
1016 <artifactId>modernizer-maven-annotations</artifactId>
1017 <!-- This should match the plugin version below -->
1018 <version>2.3.0</version>
1019 <scope>provided</scope>
1023 <groupId>org.eclipse.jetty</groupId>
1024 <artifactId>jetty-bom</artifactId>
1025 <version>9.4.43.v20210629</version>
1026 <scope>import</scope>
1031 <groupId>com.h2database</groupId>
1032 <artifactId>h2</artifactId>
1033 <version>1.4.200</version>
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.1.25</version>
1091 <scope>import</scope>
1096 </dependencyManagement>
1100 We expect slf4j-api to be provided by the platform.
1101 Karaf provides it, other containers need to provide it themselves.
1104 <groupId>org.slf4j</groupId>
1105 <artifactId>slf4j-api</artifactId>
1106 <scope>provided</scope>
1110 Enable useful code quality annotations everywhere. Since these annotations
1111 are not required at runtime.
1114 <groupId>org.eclipse.jdt</groupId>
1115 <artifactId>org.eclipse.jdt.annotation</artifactId>
1116 <scope>provided</scope>
1119 <groupId>com.github.spotbugs</groupId>
1120 <artifactId>spotbugs-annotations</artifactId>
1121 <scope>provided</scope>
1122 <optional>true</optional>
1125 <groupId>org.gaul</groupId>
1126 <artifactId>modernizer-maven-annotations</artifactId>
1127 <scope>provided</scope>
1131 Testing output should be routed through slf4j-simple.
1134 <groupId>org.slf4j</groupId>
1135 <artifactId>slf4j-simple</artifactId>
1140 Unit tests can use JUnit + Mockito + Hamcrest by default.
1143 <groupId>org.hamcrest</groupId>
1144 <artifactId>hamcrest</artifactId>
1148 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1149 <groupId>org.hamcrest</groupId>
1150 <artifactId>hamcrest-library</artifactId>
1154 <groupId>org.junit.jupiter</groupId>
1155 <artifactId>junit-jupiter-api</artifactId>
1159 <groupId>junit</groupId>
1160 <artifactId>junit</artifactId>
1164 <groupId>org.junit.jupiter</groupId>
1165 <artifactId>junit-jupiter-engine</artifactId>
1169 <groupId>org.junit.vintage</groupId>
1170 <artifactId>junit-vintage-engine</artifactId>
1174 <groupId>org.mockito</groupId>
1175 <artifactId>mockito-core</artifactId>
1183 <!-- Official maven plugins, alpha-sorted by artifactId.
1184 We do not need to specify the groupId. -->
1186 <artifactId>maven-checkstyle-plugin</artifactId>
1187 <version>3.1.2</version>
1190 <groupId>com.puppycrawl.tools</groupId>
1191 <artifactId>checkstyle</artifactId>
1192 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1193 <version>8.45.1</version>
1196 <groupId>org.opendaylight.odlparent</groupId>
1197 <artifactId>checkstyle</artifactId>
1198 <version>10.0.0-SNAPSHOT</version>
1201 <groupId>com.github.sevntu-checkstyle</groupId>
1202 <artifactId>sevntu-checks</artifactId>
1203 <version>1.40.0</version>
1207 <configLocation>odl_checks.xml</configLocation>
1208 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1209 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1210 generated sources directory -->
1212 <directory>${project.build.sourceDirectory}</directory>
1213 </sourceDirectories>
1214 <includeResources>true</includeResources>
1215 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1216 <includeTestResources>true</includeTestResources>
1217 <includes>**\/*.java</includes>
1219 org/opendaylight/yang/gen/**,
1220 **/protobuff/messages/**,
1221 **/thrift/gen/*.java,
1224 <failsOnError>false</failsOnError>
1225 <consoleOutput>true</consoleOutput>
1229 <id>check-license</id>
1233 <phase>process-sources</phase>
1235 <configLocation>check-license.xml</configLocation>
1236 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1237 <includeResources>false</includeResources>
1238 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1239 <includeTestResources>false</includeTestResources>
1241 <directory>${project.build.sourceDirectory}</directory>
1242 </sourceDirectories>
1244 org/opendaylight/yang/gen/**,
1245 **/protobuff/messages/**,
1246 **/thrift/gen/*.java
1248 <failsOnError>false</failsOnError>
1249 <consoleOutput>true</consoleOutput>
1256 <phase>process-sources</phase>
1258 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1259 <skip>${odlparent.checkstyle.skip}</skip>
1260 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1266 <artifactId>maven-compiler-plugin</artifactId>
1268 <showWarnings>true</showWarnings>
1270 <arg>-parameters</arg>
1271 <arg>-Xlint:all</arg>
1272 <!-- Disable 'No processor claimed any of these annotations' -->
1273 <arg>-Xlint:-processing</arg>
1275 <annotationProcessorPaths>
1277 <groupId>org.immutables</groupId>
1278 <artifactId>value</artifactId>
1279 <!-- Keep this version in sync with dependency declaration above -->
1280 <version>2.8.8</version>
1283 <groupId>org.kohsuke.metainf-services</groupId>
1284 <artifactId>metainf-services</artifactId>
1285 <!-- Keep this version in sync with dependency declaration above -->
1286 <version>1.8</version>
1288 </annotationProcessorPaths>
1292 <artifactId>maven-failsafe-plugin</artifactId>
1293 <version>2.22.2</version>
1296 <artifactId>maven-invoker-plugin</artifactId>
1297 <version>3.2.2</version>
1300 <artifactId>maven-dependency-plugin</artifactId>
1303 <id>unpack-license</id>
1304 <phase>generate-resources</phase>
1311 <groupId>org.opendaylight.odlparent</groupId>
1312 <artifactId>odl-license</artifactId>
1313 <version>10.0.0-SNAPSHOT</version>
1314 <type>license</type>
1315 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1316 <destFileName>LICENSE</destFileName>
1317 <overWrite>false</overWrite>
1320 <silent>true</silent>
1324 <id>analyze-declarations</id>
1326 <goal>analyze-only</goal>
1329 <failOnWarning>${odlparent.dependency.enforce}</failOnWarning>
1330 <ignoreNonCompile>true</ignoreNonCompile>
1331 <skip>${odlparent.dependency.skip}</skip>
1338 <artifactId>maven-plugin-plugin</artifactId>
1339 <version>3.6.2</version>
1343 <artifactId>maven-remote-resources-plugin</artifactId>
1344 <version>1.7.0</version>
1347 <artifactId>maven-shade-plugin</artifactId>
1348 <version>3.2.4</version>
1351 <artifactId>maven-source-plugin</artifactId>
1352 <version>3.2.1</version>
1355 <id>attach-sources</id>
1356 <phase>verify</phase>
1358 <goal>jar-no-fork</goal>
1364 <artifactId>maven-surefire-plugin</artifactId>
1365 <version>2.22.2</version>
1367 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1368 <trimStackTrace>false</trimStackTrace>
1372 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1374 <groupId>org.basepom.maven</groupId>
1375 <artifactId>duplicate-finder-maven-plugin</artifactId>
1376 <version>1.5.0</version>
1380 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1381 <artifactId>echo-maven-plugin</artifactId>
1382 <version>1.3.2</version>
1386 <groupId>org.apache.felix</groupId>
1387 <artifactId>maven-bundle-plugin</artifactId>
1388 <version>5.1.2</version>
1389 <extensions>true</extensions>
1392 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1393 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1394 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1395 <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>
1397 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1398 to generate Import-Service and Export-Service headers. -->
1399 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1405 <groupId>org.apache.karaf.tooling</groupId>
1406 <artifactId>karaf-maven-plugin</artifactId>
1407 <version>${karaf.version}</version>
1408 <extensions>true</extensions>
1412 <groupId>org.apache.servicemix.tooling</groupId>
1413 <artifactId>depends-maven-plugin</artifactId>
1414 <version>1.4.0</version>
1417 <id>generate-depends-file</id>
1419 <goal>generate-depends-file</goal>
1426 <groupId>com.webcohesion.enunciate</groupId>
1427 <artifactId>enunciate-maven-plugin</artifactId>
1428 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1429 <version>2.13.3</version>
1433 <groupId>org.gaul</groupId>
1434 <artifactId>modernizer-maven-plugin</artifactId>
1435 <version>2.3.0</version>
1437 <javaVersion>${odlparent.modernizer.target}</javaVersion>
1438 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1439 <skip>${odlparent.modernizer.skip}</skip>
1442 <!-- We are using Guava as per normal and we have grown a large body of code
1443 around the patterns there. Furthermore the suggested replacements have
1444 different behavior, hence we do NOT want to blindly migrate. Examples
1447 - ImmutableCollection et al. are not just implementation details, they
1448 form an API contract
1449 - ImmutableMap/ImmutableSet retain iteration order, whereas their
1450 Map.of()/Set.of() counterparts have unstable iteration order (by design)
1451 - Iterables, which we are widely use for efficient discovery of when
1452 the Iterable is actually a Collection
1454 <exclusionPattern>com/google/common/collect/Immutable.*</exclusionPattern>
1455 <exclusionPattern>com/google/common/collect/Iterables.*</exclusionPattern>
1456 </exclusionPatterns>
1462 <phase>verify</phase>
1464 <goal>modernizer</goal>
1471 <groupId>org.apache.karaf.tooling</groupId>
1472 <artifactId>karaf-services-maven-plugin</artifactId>
1473 <version>${karaf.version}</version>
1476 <id>service-metadata-generate</id>
1477 <phase>process-classes</phase>
1479 <goal>service-metadata-generate</goal>
1486 <groupId>com.github.spotbugs</groupId>
1487 <artifactId>spotbugs-maven-plugin</artifactId>
1488 <version>3.1.12.2</version>
1491 <groupId>com.github.spotbugs</groupId>
1492 <artifactId>spotbugs</artifactId>
1493 <version>3.1.12</version>
1496 <groupId>org.opendaylight.odlparent</groupId>
1497 <artifactId>spotbugs</artifactId>
1498 <version>10.0.0-SNAPSHOT</version>
1501 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1502 <groupId>org.slf4j</groupId>
1503 <artifactId>slf4j-simple</artifactId>
1504 <version>1.8.0-beta2</version>
1510 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1511 <artifactId>bug-pattern</artifactId>
1512 <version>1.5.0</version>
1516 Enables analysis which takes more memory but finds more bugs.
1517 If you run out of memory, changes the value of the effort element
1520 <effort>Max</effort>
1521 <!-- Reports all bugs (other values are medium and max) -->
1522 <threshold>Low</threshold>
1523 <!-- Build doesn't fail if problems are found -->
1524 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1525 <skip>${odlparent.spotbugs.skip}</skip>
1526 <!-- References the excluded rules -->
1527 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1528 <!-- Produces XML report -->
1529 <xmlOutput>true</xmlOutput>
1530 <!-- Configures the directory in which the XML report is created -->
1531 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1535 Ensures that SpotBugs inspects source code when project is compiled.
1538 <id>analyze-compile</id>
1539 <phase>compile</phase>
1547 <groupId>org.codehaus.mojo</groupId>
1548 <artifactId>properties-maven-plugin</artifactId>
1549 <version>1.0.0</version>
1552 <groupId>org.eclipse.m2e</groupId>
1553 <artifactId>lifecycle-mapping</artifactId>
1554 <version>1.0.0</version>
1556 <lifecycleMappingMetadata>
1559 <pluginExecutionFilter>
1560 <groupId>org.apache.felix</groupId>
1561 <artifactId>maven-bundle-plugin</artifactId>
1562 <versionRange>[1.0,)</versionRange>
1564 <goal>manifest</goal>
1566 </pluginExecutionFilter>
1572 <pluginExecutionFilter>
1573 <groupId>org.apache.maven.plugins</groupId>
1574 <artifactId>maven-enforcer-plugin</artifactId>
1575 <versionRange>[1.0.0,)</versionRange>
1577 <goal>enforce</goal>
1579 </pluginExecutionFilter>
1585 <pluginExecutionFilter>
1586 <groupId>org.apache.maven.plugins</groupId>
1587 <artifactId>maven-dependency-plugin</artifactId>
1588 <versionRange>[2.10,)</versionRange>
1592 </pluginExecutionFilter>
1597 <!-- The plugin will eventually be removed, remove this too at that point -->
1599 <pluginExecutionFilter>
1600 <groupId>org.apache.maven.plugins</groupId>
1601 <artifactId>maven-antrun-plugin</artifactId>
1602 <versionRange>[1.8,)</versionRange>
1606 </pluginExecutionFilter>
1612 <pluginExecutionFilter>
1613 <groupId>org.apache.servicemix.tooling</groupId>
1614 <artifactId>depends-maven-plugin</artifactId>
1615 <versionRange>[1.2,)</versionRange>
1617 <goal>generate-depends-file</goal>
1619 </pluginExecutionFilter>
1625 <pluginExecutionFilter>
1626 <groupId>org.jacoco</groupId>
1627 <artifactId>jacoco-maven-plugin</artifactId>
1628 <versionRange>[0.7.0,)</versionRange>
1630 <goal>prepare-agent</goal>
1632 </pluginExecutionFilter>
1639 <pluginExecutionFilter>
1640 <groupId>org.ops4j.pax.exam</groupId>
1641 <artifactId>maven-paxexam-plugin</artifactId>
1642 <versionRange>[1.2.4,)</versionRange>
1644 <goal>generate-depends-file</goal>
1646 </pluginExecutionFilter>
1653 <pluginExecutionFilter>
1654 <groupId>org.basepom.maven</groupId>
1656 duplicate-finder-maven-plugin
1658 <versionRange>[1.2.1,)</versionRange>
1662 </pluginExecutionFilter>
1668 </lifecycleMappingMetadata>
1673 <groupId>org.jacoco</groupId>
1674 <artifactId>jacoco-maven-plugin</artifactId>
1676 <!-- Note: This exclusion list should match <sonar.exclusions>
1679 <exclude>**/gen/**</exclude>
1680 <exclude>**/generated-sources/**</exclude>
1681 <exclude>**/generated-test-sources/**</exclude>
1682 <exclude>**/yang-gen/**</exclude>
1683 <exclude>**/yang-gen-config/**</exclude>
1684 <exclude>**/yang-gen-sal/**</exclude>
1685 <exclude>**/yang-gen-code/**</exclude>
1686 <exclude>**/pax/**</exclude>
1692 <groupId>org.ops4j.pax.exam</groupId>
1693 <artifactId>maven-paxexam-plugin</artifactId>
1694 <version>1.2.4</version>
1697 <!-- When updating this version, consider antl4-runtime above -->
1699 <groupId>org.antlr</groupId>
1700 <artifactId>antlr4-maven-plugin</artifactId>
1701 <version>4.9.3</version>
1708 <artifactId>maven-enforcer-plugin</artifactId>
1711 <id>enforce-banned-dependencies</id>
1713 <goal>enforce</goal>
1717 <bannedDependencies>
1718 <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>
1720 <exclude>org.mockito:mockito-all</exclude>
1721 <exclude>com.google.code.findbugs:annotations</exclude>
1723 </bannedDependencies>
1731 <groupId>org.basepom.maven</groupId>
1732 <artifactId>duplicate-finder-maven-plugin</artifactId>
1735 <id>find-duplicate-classpath-entries</id>
1736 <phase>verify</phase>
1743 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1744 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1745 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1746 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1747 <printEqualFiles>false</printEqualFiles>
1749 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1750 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1751 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1753 <ignoredResourcePatterns>
1754 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1755 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1756 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1757 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1758 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1759 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1760 <ignoredResourcePattern>.api_description</ignoredResourcePattern>
1761 </ignoredResourcePatterns>
1762 <ignoredDependencies>
1764 <groupId>org.slf4j</groupId>
1765 <artifactId>slf4j-simple</artifactId>
1766 </ignoredDependency>
1768 <groupId>org.opendaylight.odlparent</groupId>
1769 <artifactId>opendaylight-karaf-empty</artifactId>
1770 </ignoredDependency>
1771 </ignoredDependencies>
1775 <artifactId>maven-dependency-plugin</artifactId>
1778 <artifactId>maven-checkstyle-plugin</artifactId>
1781 <artifactId>maven-source-plugin</artifactId>
1784 <artifactId>maven-javadoc-plugin</artifactId>
1787 <groupId>org.gaul</groupId>
1788 <artifactId>modernizer-maven-plugin</artifactId>
1791 <groupId>com.github.spotbugs</groupId>
1792 <artifactId>spotbugs-maven-plugin</artifactId>
1795 <!-- Jacoco / Sonar -->
1797 <groupId>org.jacoco</groupId>
1798 <artifactId>jacoco-maven-plugin</artifactId>
1801 <id>pre-unit-test</id>
1803 <goal>prepare-agent</goal>
1816 <groupId>org.opendaylight.odlparent</groupId>
1817 <artifactId>copy-files-plugin</artifactId>
1818 <version>10.0.0-SNAPSHOT</version>
1821 <phase>prepare-package</phase>
1823 <goal>copy-files</goal>
1827 <glob>README*</glob>
1828 <glob>CONTRIBUTING*</glob>
1829 <glob>PROJECT_INFO.yaml</glob>
1840 <id>disable-spotbugs</id>
1842 <!-- Current spotbugs does not support JDK15+ -->
1847 <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
1853 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1854 <artifactId>echo-maven-plugin</artifactId>
1857 <id>UNTESTED-JDK</id>
1863 <message>Running on JDK newer than 11, which is not supported. Skipping SpotBugs execution.</message>
1876 <artifactId>maven-checkstyle-plugin</artifactId>
1877 <version>3.1.0</version>
1880 <!-- FIXME: activate this
1882 <artifactId>maven-project-info-reports-plugin</artifactId>
1885 <groupId>org.codehaus.mojo</groupId>
1886 <artifactId>jdepend-maven-plugin</artifactId>
1890 <report>generate-no-fork</report>