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>9.0.9-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.69</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 <pmd.cpd.fail>false</pmd.cpd.fail> <!-- Copy/paste detection -->
62 <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
64 <!-- Redirect test output to files (overridable) -->
65 <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
67 <!-- Opt-out from maven-checkstyle-plugin failing the build on violations. Defaults
68 to true. Set to 'false' in pom.xml of project which desires to not enforce
69 no reported violations. -->
70 <odlparent.checkstyle.enforce>true</odlparent.checkstyle.enforce>
72 <!-- Opt-in into modernizer-maven-plugin failing the build on violations. Defaults
73 to true. Set to 'false' in pom.xml of project which desires to not enforce
74 no reported violations. -->
75 <odlparent.modernizer.enforce>true</odlparent.modernizer.enforce>
77 <!-- Target release for modernizer-maven-plugin. It defaults to '1.11',
78 meaning Java 11, but can be set to any version in pom.xml of project
79 which desires to override it (such as '1.12' for Java 12). -->
80 <odlparent.modernizer.target>1.11</odlparent.modernizer.target>
82 <!-- Opt-out from spotbugs-maven-plugin failing the build on violations. Defaults
83 to true. Set to 'false' in pom.xml of project which desires to not enforce
84 no reported violations. -->
85 <odlparent.spotbugs.enforce>true</odlparent.spotbugs.enforce>
87 <!-- Opt-in into maven-dependency-plugin dependency declaration consistency
88 enforcement. Defaults to false. Set to 'true' in pom.xml of a project which
89 desires to have the consistency of its dependencies checked and enforced. -->
90 <odlparent.dependency.enforce>false</odlparent.dependency.enforce>
92 <!-- Opt-out from maven-dependency-plugin dependency declaration consistency
93 checking. Defaults to false. Set to 'true' in pom.xml of a project which
94 desires to not check the consistency of its dependencies. -->
95 <odlparent.dependency.skip>false</odlparent.dependency.skip>
98 <dependencyManagement>
102 <groupId>org.opendaylight.odlparent</groupId>
103 <artifactId>odlparent-artifacts</artifactId>
104 <version>9.0.9-SNAPSHOT</version>
105 <scope>import</scope>
109 <!-- We import the Karaf BOM to ensure we converge by default on the versions used there -->
111 <groupId>org.apache.karaf</groupId>
112 <artifactId>karaf-bom</artifactId>
113 <version>${karaf.version}</version>
114 <scope>import</scope>
118 <!-- Build tool dependencies (normally not here in <dependencies>,
119 but in a <dependency> in <pluginManagement> but for Checkstyle this
120 is required so that we can share the same version of Checkstyle
121 for both the Maven plugin below as well as for custom Checkstyle
122 check rule projects, such as yangtools' checkstyle-logging) -->
124 <groupId>com.puppycrawl.tools</groupId>
125 <artifactId>checkstyle</artifactId>
126 <!-- This should match the plugin management on maven-checkstyle-plugin below -->
127 <version>8.45.1</version>
130 <!-- Testing Dependencies -->
131 <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
133 <groupId>junit</groupId>
134 <artifactId>junit</artifactId>
135 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
136 <version>4.13.2</version>
140 <groupId>org.skyscreamer</groupId>
141 <artifactId>jsonassert</artifactId>
142 <version>1.5.0</version>
146 <groupId>org.mockito</groupId>
147 <artifactId>mockito-core</artifactId>
148 <version>3.12.4</version>
152 <groupId>org.mockito</groupId>
153 <artifactId>mockito-inline</artifactId>
154 <version>3.12.4</version>
158 <groupId>org.hamcrest</groupId>
159 <artifactId>hamcrest</artifactId>
160 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
161 <version>2.2</version>
165 <groupId>org.hamcrest</groupId>
166 <artifactId>hamcrest-core</artifactId>
167 <version>2.2</version>
171 <groupId>org.hamcrest</groupId>
172 <artifactId>hamcrest-library</artifactId>
173 <version>2.2</version>
177 <groupId>com.google.truth</groupId>
178 <artifactId>truth</artifactId>
179 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
180 <version>1.1.3</version>
184 <groupId>com.google.truth.extensions</groupId>
185 <artifactId>truth-java8-extension</artifactId>
186 <version>1.1.3</version>
190 <groupId>org.awaitility</groupId>
191 <artifactId>awaitility</artifactId>
192 <version>4.1.0</version>
196 <groupId>org.powermock</groupId>
197 <artifactId>powermock-api-mockito2</artifactId>
198 <version>2.0.9</version>
202 <groupId>org.powermock</groupId>
203 <artifactId>powermock-api-support</artifactId>
204 <version>2.0.9</version>
208 <groupId>org.powermock</groupId>
209 <artifactId>powermock-core</artifactId>
210 <version>2.0.9</version>
214 <groupId>org.powermock</groupId>
215 <artifactId>powermock-module-junit4</artifactId>
216 <version>2.0.9</version>
220 <groupId>org.powermock</groupId>
221 <artifactId>powermock-reflect</artifactId>
222 <version>2.0.9</version>
227 Annotation Processors
230 <!-- Generates immutable implementations, builders, the works -->
231 <groupId>org.immutables</groupId>
232 <artifactId>value</artifactId>
233 <classifier>annotations</classifier>
234 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
235 <version>2.8.8</version>
236 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
237 <scope>provided</scope>
241 <!-- Generates META-INF/services entries for ServiceLoader -->
242 <groupId>org.kohsuke.metainf-services</groupId>
243 <artifactId>metainf-services</artifactId>
244 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
245 <version>1.8</version>
246 <optional>true</optional>
247 <scope>provided</scope>
254 <groupId>ch.qos.logback</groupId>
255 <artifactId>logback-core</artifactId>
256 <version>1.2.5</version>
259 <groupId>ch.qos.logback</groupId>
260 <artifactId>logback-classic</artifactId>
261 <version>1.2.5</version>
266 <groupId>org.apache.logging.log4j</groupId>
267 <artifactId>log4j-bom</artifactId>
268 <version>2.14.1</version>
269 <scope>import</scope>
274 <groupId>com.google.guava</groupId>
275 <artifactId>guava</artifactId>
276 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
277 <version>30.1.1-jre</version>
280 <!-- Do not leak JSR305 onto the classpath by default -->
281 <groupId>com.google.code.findbugs</groupId>
282 <artifactId>jsr305</artifactId>
287 <groupId>com.google.guava</groupId>
288 <artifactId>guava-testlib</artifactId>
289 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
290 <version>30.1.1-jre</version>
294 <!-- Do not leak JSR305 onto the classpath by default -->
295 <groupId>com.google.code.findbugs</groupId>
296 <artifactId>jsr305</artifactId>
301 <groupId>org.checkerframework</groupId>
302 <artifactId>checker-qual</artifactId>
303 <version>3.8.0</version>
306 <groupId>com.google.errorprone</groupId>
307 <artifactId>error_prone_annotations</artifactId>
308 <version>2.5.1</version>
312 <groupId>commons-beanutils</groupId>
313 <artifactId>commons-beanutils</artifactId>
314 <version>1.9.4</version>
317 <groupId>org.apache.commons</groupId>
318 <artifactId>commons-lang3</artifactId>
319 <version>3.12.0</version>
322 <groupId>org.apache.commons</groupId>
323 <artifactId>commons-text</artifactId>
324 <version>1.9</version>
327 <groupId>commons-lang</groupId>
328 <artifactId>commons-lang</artifactId>
329 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
330 <version>2.6</version>
333 <groupId>commons-codec</groupId>
334 <artifactId>commons-codec</artifactId>
335 <version>1.15</version>
337 <!-- Jersey for JAXRS -->
339 <groupId>javax.ws.rs</groupId>
340 <artifactId>javax.ws.rs-api</artifactId>
341 <version>2.1.1</version>
344 <groupId>org.glassfish.jersey</groupId>
345 <artifactId>jersey-bom</artifactId>
346 <version>2.27</version>
348 <scope>import</scope>
352 <groupId>jakarta.activation</groupId>
353 <artifactId>jakarta.activation-api</artifactId>
354 <version>1.2.2</version>
358 <groupId>javax.annotation</groupId>
359 <artifactId>javax.annotation-api</artifactId>
360 <version>1.3.1</version>
361 <optional>true</optional>
364 <groupId>xml-apis</groupId>
365 <artifactId>xml-apis</artifactId>
366 <version>1.4.01</version>
369 <!-- Plugin integration -->
371 <groupId>net.java.dev.stax-utils</groupId>
372 <artifactId>stax-utils</artifactId>
373 <version>20070216</version>
376 <!-- JSR173 ships with JRE by default -->
377 <groupId>com.bea.xml</groupId>
378 <artifactId>jsr173-ri</artifactId>
383 <groupId>org.sonatype.plexus</groupId>
384 <artifactId>plexus-build-api</artifactId>
385 <version>0.0.7</version>
388 <groupId>org.codehaus.plexus</groupId>
389 <artifactId>plexus-slf4j-logging</artifactId>
390 <version>1.1</version>
393 <!-- These three need to be consistent:
394 jackson-2.12.5 needs woodstox-6.2.4+
395 woodstox-5.3+ needs stax2-api-4.2.x
398 <groupId>org.codehaus.woodstox</groupId>
399 <artifactId>stax2-api</artifactId>
400 <version>4.2.1</version>
403 <groupId>com.fasterxml.woodstox</groupId>
404 <artifactId>woodstox-core</artifactId>
405 <version>6.2.6</version>
408 <groupId>com.fasterxml.jackson</groupId>
409 <artifactId>jackson-bom</artifactId>
410 <version>2.12.5</version>
411 <scope>import</scope>
416 <groupId>com.github.spotbugs</groupId>
417 <artifactId>spotbugs-annotations</artifactId>
418 <version>3.1.12</version>
419 <scope>provided</scope>
420 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
421 <optional>true</optional>
424 <groupId>com.google.code.findbugs</groupId>
425 <artifactId>jsr305</artifactId>
431 <groupId>org.eclipse.jdt</groupId>
432 <artifactId>org.eclipse.jdt.annotation</artifactId>
433 <version>2.2.600</version>
434 <scope>provided</scope>
437 <groupId>com.google.code.gson</groupId>
438 <artifactId>gson</artifactId>
439 <version>2.8.8</version>
442 <groupId>commons-fileupload</groupId>
443 <artifactId>commons-fileupload</artifactId>
444 <version>1.4</version>
447 <groupId>commons-io</groupId>
448 <artifactId>commons-io</artifactId>
449 <version>2.11.0</version>
452 <groupId>commons-net</groupId>
453 <artifactId>commons-net</artifactId>
454 <version>3.8.0</version>
459 <groupId>io.netty</groupId>
460 <artifactId>netty-bom</artifactId>
461 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
462 <version>4.1.69.Final</version>
464 <scope>import</scope>
468 <groupId>javax.ws.rs</groupId>
469 <artifactId>jsr311-api</artifactId>
470 <version>1.1.1</version>
473 <groupId>org.bouncycastle</groupId>
474 <artifactId>bcpkix-jdk15on</artifactId>
475 <version>${bouncycastle.version}</version>
478 <groupId>org.bouncycastle</groupId>
479 <artifactId>bcprov-jdk15on</artifactId>
480 <version>${bouncycastle.version}</version>
483 <groupId>org.bouncycastle</groupId>
484 <artifactId>bcprov-ext-jdk15on</artifactId>
485 <version>${bouncycastle.version}</version>
488 <groupId>org.bouncycastle</groupId>
489 <artifactId>bcutil-jdk15on</artifactId>
490 <version>${bouncycastle.version}</version>
494 <groupId>com.webcohesion.enunciate</groupId>
495 <artifactId>enunciate-core-annotations</artifactId>
496 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
497 <version>2.13.3</version>
501 <groupId>org.javassist</groupId>
502 <artifactId>javassist</artifactId>
503 <version>3.27.0-GA</version>
506 <groupId>org.jboss.spec.javax.transaction</groupId>
507 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
508 <version>1.0.1.Final</version>
511 <groupId>org.jolokia</groupId>
512 <artifactId>jolokia-osgi</artifactId>
513 <version>1.7.1</version>
517 OSGi Release 7 artifacts. These come in two forms:
518 - osgi.core, osgi.cmpn and osgi.annotation, which are legacy uber-bundles
519 - fine-grained artifacts, which are the preferred way going forward, especially
520 once we get to Release 8.
521 The definitions here are sourced from https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/cnf/central.mvn
522 and the corresponding layout.bnd files.
525 <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.core/layout.bnd -->
527 <groupId>org.osgi</groupId>
528 <artifactId>osgi.core</artifactId>
529 <version>7.0.0</version>
530 <scope>provided</scope>
533 <groupId>org.osgi</groupId>
534 <artifactId>org.osgi.dto</artifactId>
535 <version>1.1.0</version>
536 <scope>provided</scope>
539 <groupId>org.osgi</groupId>
540 <artifactId>org.osgi.resource</artifactId>
541 <version>1.0.0</version>
542 <scope>provided</scope>
545 <groupId>org.osgi</groupId>
546 <artifactId>org.osgi.framework</artifactId>
547 <version>1.9.0</version>
548 <scope>provided</scope>
551 <groupId>org.osgi</groupId>
552 <artifactId>org.osgi.service.permissionadmin</artifactId>
553 <version>1.2.0</version>
554 <scope>provided</scope>
557 <groupId>org.osgi</groupId>
558 <artifactId>org.osgi.service.condpermadmin</artifactId>
559 <version>1.1.1</version>
560 <scope>provided</scope>
563 <groupId>org.osgi</groupId>
564 <artifactId>org.osgi.service.packageadmin</artifactId>
565 <version>1.2.0</version>
566 <scope>provided</scope>
569 <groupId>org.osgi</groupId>
570 <artifactId>org.osgi.service.startlevel</artifactId>
571 <version>1.1.0</version>
572 <scope>provided</scope>
575 <groupId>org.osgi</groupId>
576 <artifactId>org.osgi.service.resolver</artifactId>
577 <version>1.1.0</version>
578 <scope>provided</scope>
581 <groupId>org.osgi</groupId>
582 <artifactId>org.osgi.service.url</artifactId>
583 <version>1.0.0</version>
584 <scope>provided</scope>
587 <groupId>org.osgi</groupId>
588 <artifactId>org.osgi.util.tracker</artifactId>
589 <version>1.5.2</version>
590 <scope>provided</scope>
593 <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.annotation/layout.bnd -->
595 <groupId>org.osgi</groupId>
596 <artifactId>osgi.annotation</artifactId>
597 <version>7.0.0</version>
598 <scope>provided</scope>
601 <groupId>org.osgi</groupId>
602 <artifactId>org.osgi.annotation.versioning</artifactId>
603 <version>1.0.0</version>
604 <scope>provided</scope>
607 <groupId>org.osgi</groupId>
608 <artifactId>org.osgi.annotation.bundle</artifactId>
609 <version>1.0.0</version>
610 <scope>provided</scope>
613 <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.cmpn/layout.bnd -->
615 <groupId>org.osgi</groupId>
616 <artifactId>osgi.cmpn</artifactId>
617 <version>7.0.0</version>
618 <scope>provided</scope>
621 <groupId>org.osgi</groupId>
622 <artifactId>org.osgi.application</artifactId>
623 <version>1.0.0</version>
624 <scope>provided</scope>
627 <groupId>org.osgi</groupId>
628 <artifactId>org.osgi.namespace.contract</artifactId>
629 <version>1.0.0</version>
630 <scope>provided</scope>
633 <groupId>org.osgi</groupId>
634 <artifactId>org.osgi.namespace.extender</artifactId>
635 <version>1.0.1</version>
636 <scope>provided</scope>
639 <groupId>org.osgi</groupId>
640 <artifactId>org.osgi.namespace.implementation</artifactId>
641 <version>1.0.0</version>
642 <scope>provided</scope>
645 <groupId>org.osgi</groupId>
646 <artifactId>org.osgi.namespace.service</artifactId>
647 <version>1.0.0</version>
648 <scope>provided</scope>
651 <groupId>org.osgi</groupId>
652 <artifactId>org.osgi.namespace.unresolvable</artifactId>
653 <version>1.0.0</version>
654 <scope>provided</scope>
657 <groupId>org.osgi</groupId>
658 <artifactId>org.osgi.service.async</artifactId>
659 <version>1.0.0</version>
660 <scope>provided</scope>
663 <groupId>org.osgi</groupId>
664 <artifactId>org.osgi.service.application</artifactId>
665 <version>1.1.0</version>
666 <scope>provided</scope>
669 <groupId>org.osgi</groupId>
670 <artifactId>org.osgi.service.blueprint</artifactId>
671 <version>1.0.2</version>
672 <scope>provided</scope>
674 <!-- This is not published until R8>
676 <groupId>org.osgi</groupId>
677 <artifactId>org.osgi.service.cdi</artifactId>
678 <version>1.0.0</version>
679 <scope>provided</scope>
682 <groupId>org.osgi</groupId>
683 <artifactId>org.osgi.service.clusterinfo</artifactId>
684 <version>1.0.0</version>
685 <scope>provided</scope>
688 <groupId>org.osgi</groupId>
689 <artifactId>org.osgi.service.cm</artifactId>
690 <version>1.6.0</version>
691 <scope>provided</scope>
694 <groupId>org.osgi</groupId>
695 <artifactId>org.osgi.service.component</artifactId>
696 <version>1.4.0</version>
697 <scope>provided</scope>
700 <groupId>org.osgi</groupId>
701 <artifactId>org.osgi.service.component.annotations</artifactId>
702 <version>1.4.0</version>
703 <scope>provided</scope>
706 <groupId>org.osgi</groupId>
707 <artifactId>org.osgi.service.configurator</artifactId>
708 <version>1.0.0</version>
709 <scope>provided</scope>
712 <groupId>org.osgi</groupId>
713 <artifactId>org.osgi.service.coordinator</artifactId>
714 <version>1.0.2</version>
715 <scope>provided</scope>
718 <groupId>org.osgi</groupId>
719 <artifactId>org.osgi.service.deploymentadmin</artifactId>
720 <version>1.1.0</version>
721 <scope>provided</scope>
724 <groupId>org.osgi</groupId>
725 <artifactId>org.osgi.service.device</artifactId>
726 <version>1.1.0</version>
727 <scope>provided</scope>
730 <groupId>org.osgi</groupId>
731 <artifactId>org.osgi.service.dmt</artifactId>
732 <version>2.0.2</version>
733 <scope>provided</scope>
736 <groupId>org.osgi</groupId>
737 <artifactId>org.osgi.service.event</artifactId>
738 <version>1.4.0</version>
739 <scope>provided</scope>
742 <groupId>org.osgi</groupId>
743 <artifactId>org.osgi.service.http</artifactId>
744 <version>1.2.1</version>
745 <scope>provided</scope>
748 <groupId>org.osgi</groupId>
749 <artifactId>org.osgi.service.http.whiteboard</artifactId>
750 <version>1.1.0</version>
751 <scope>provided</scope>
754 <groupId>org.osgi</groupId>
755 <artifactId>org.osgi.service.io</artifactId>
756 <version>1.0.0</version>
757 <scope>provided</scope>
760 <groupId>org.osgi</groupId>
761 <artifactId>org.osgi.service.jaxrs</artifactId>
762 <version>1.0.0</version>
763 <scope>provided</scope>
766 <groupId>org.osgi</groupId>
767 <artifactId>org.osgi.service.jdbc</artifactId>
768 <version>1.0.0</version>
769 <scope>provided</scope>
772 <groupId>org.osgi</groupId>
773 <artifactId>org.osgi.service.jndi</artifactId>
774 <version>1.0.0</version>
775 <scope>provided</scope>
778 <groupId>org.osgi</groupId>
779 <artifactId>org.osgi.service.jpa</artifactId>
780 <version>1.0.0</version>
781 <scope>provided</scope>
784 <groupId>org.osgi</groupId>
785 <artifactId>org.osgi.service.log</artifactId>
786 <version>1.4.0</version>
787 <scope>provided</scope>
790 <groupId>org.osgi</groupId>
791 <artifactId>org.osgi.service.metatype</artifactId>
792 <version>1.4.0</version>
793 <scope>provided</scope>
796 <groupId>org.osgi</groupId>
797 <artifactId>org.osgi.service.metatype.annotations</artifactId>
798 <version>1.4.0</version>
799 <scope>provided</scope>
802 <groupId>org.osgi</groupId>
803 <artifactId>org.osgi.service.monitor</artifactId>
804 <version>1.0.0</version>
805 <scope>provided</scope>
808 <groupId>org.osgi</groupId>
809 <artifactId>org.osgi.service.prefs</artifactId>
810 <version>1.1.1</version>
811 <scope>provided</scope>
814 <groupId>org.osgi</groupId>
815 <artifactId>org.osgi.service.provisioning</artifactId>
816 <version>1.2.0</version>
817 <scope>provided</scope>
820 <groupId>org.osgi</groupId>
821 <artifactId>org.osgi.service.remoteserviceadmin</artifactId>
822 <version>1.1.0</version>
823 <scope>provided</scope>
826 <groupId>org.osgi</groupId>
827 <artifactId>org.osgi.service.repository</artifactId>
828 <version>1.1.0</version>
829 <scope>provided</scope>
832 <groupId>org.osgi</groupId>
833 <artifactId>org.osgi.service.rest</artifactId>
834 <version>1.0.0</version>
835 <scope>provided</scope>
838 <groupId>org.osgi</groupId>
839 <artifactId>org.osgi.service.serviceloader</artifactId>
840 <version>1.0.0</version>
841 <scope>provided</scope>
844 <groupId>org.osgi</groupId>
845 <artifactId>org.osgi.service.subsystem</artifactId>
846 <version>1.1.0</version>
847 <scope>provided</scope>
850 <groupId>org.osgi</groupId>
851 <artifactId>org.osgi.service.transaction.control</artifactId>
852 <version>1.0.0</version>
853 <scope>provided</scope>
856 <groupId>org.osgi</groupId>
857 <artifactId>org.osgi.service.upnp</artifactId>
858 <version>1.2.0</version>
859 <scope>provided</scope>
862 <groupId>org.osgi</groupId>
863 <artifactId>org.osgi.service.useradmin</artifactId>
864 <version>1.1.0</version>
865 <scope>provided</scope>
868 <groupId>org.osgi</groupId>
869 <artifactId>org.osgi.service.wireadmin</artifactId>
870 <version>1.0.1</version>
871 <scope>provided</scope>
874 <groupId>org.osgi</groupId>
875 <artifactId>org.osgi.util.converter</artifactId>
876 <version>1.0.0</version>
877 <scope>provided</scope>
880 <groupId>org.osgi</groupId>
881 <artifactId>org.osgi.util.function</artifactId>
882 <version>1.1.0</version>
883 <scope>provided</scope>
886 <groupId>org.osgi</groupId>
887 <artifactId>org.osgi.util.measurement</artifactId>
888 <version>1.0.2</version>
889 <scope>provided</scope>
892 <groupId>org.osgi</groupId>
893 <artifactId>org.osgi.util.position</artifactId>
894 <version>1.0.1</version>
895 <scope>provided</scope>
898 <groupId>org.osgi</groupId>
899 <artifactId>org.osgi.util.promise</artifactId>
900 <version>1.1.0</version>
901 <scope>provided</scope>
904 <groupId>org.osgi</groupId>
905 <artifactId>org.osgi.util.pushstream</artifactId>
906 <version>1.0.0</version>
907 <scope>provided</scope>
910 <groupId>org.osgi</groupId>
911 <artifactId>org.osgi.util.xml</artifactId>
912 <version>1.0.1</version>
913 <scope>provided</scope>
916 <!-- for https://jira.opendaylight.org/browse/ODLPARENT-24 -->
918 <groupId>org.apache.aries.quiesce</groupId>
919 <artifactId>org.apache.aries.quiesce.api</artifactId>
920 <version>1.0.0</version>
923 <!-- LMAX Disruptor -->
925 <groupId>com.lmax</groupId>
926 <artifactId>disruptor</artifactId>
927 <version>3.4.4</version>
930 <!-- Add Pax Exam -->
932 <groupId>org.ops4j.pax.exam</groupId>
933 <artifactId>pax-exam</artifactId>
934 <version>4.13.4</version>
938 <groupId>org.ops4j.pax.exam</groupId>
939 <artifactId>pax-exam-container-forked</artifactId>
940 <version>4.13.4</version>
944 <groupId>org.ops4j.pax.exam</groupId>
945 <artifactId>pax-exam-container-karaf</artifactId>
946 <version>4.13.4</version>
950 <groupId>org.ops4j.pax.exam</groupId>
951 <artifactId>pax-exam-container-native</artifactId>
952 <version>4.13.4</version>
956 <groupId>org.ops4j.pax.exam</groupId>
957 <artifactId>pax-exam-extender-service</artifactId>
958 <version>4.13.4</version>
962 <groupId>org.ops4j.pax.exam</groupId>
963 <artifactId>pax-exam-inject</artifactId>
964 <version>4.13.4</version>
968 <groupId>org.ops4j.pax.exam</groupId>
969 <artifactId>pax-exam-invoker-junit</artifactId>
970 <version>4.13.4</version>
974 <groupId>org.ops4j.pax.exam</groupId>
975 <artifactId>pax-exam-features</artifactId>
976 <version>4.13.4</version>
981 <groupId>org.ops4j.pax.exam</groupId>
982 <artifactId>pax-exam-junit4</artifactId>
983 <version>4.13.4</version>
987 <groupId>org.ops4j.pax.exam</groupId>
988 <artifactId>pax-exam-link-mvn</artifactId>
989 <version>4.13.4</version>
993 <groupId>org.ops4j.pax.exam</groupId>
994 <artifactId>pax-exam-link-assembly</artifactId>
995 <version>4.13.4</version>
1000 <groupId>org.ops4j.pax.url</groupId>
1001 <artifactId>pax-url-link</artifactId>
1002 <version>2.6.7</version>
1006 <groupId>org.ops4j.pax.url</groupId>
1007 <artifactId>pax-url-aether</artifactId>
1008 <version>2.6.7</version>
1012 <groupId>org.ops4j.pax.url</groupId>
1013 <artifactId>pax-url-wrap</artifactId>
1014 <version>2.6.7</version>
1018 <groupId>org.springframework.osgi</groupId>
1019 <artifactId>spring-osgi-mock</artifactId>
1020 <version>1.2.1</version>
1025 <groupId>org.xmlunit</groupId>
1026 <artifactId>xmlunit-core</artifactId>
1027 <version>2.8.2</version>
1031 <groupId>org.xmlunit</groupId>
1032 <artifactId>xmlunit-assertj</artifactId>
1033 <version>2.8.2</version>
1037 <groupId>org.xmlunit</groupId>
1038 <artifactId>xmlunit-assertj3</artifactId>
1039 <version>2.8.2</version>
1043 <groupId>org.xmlunit</groupId>
1044 <artifactId>xmlunit-matchers</artifactId>
1045 <version>2.8.2</version>
1048 <!-- FIXME: remove this once we have migrated over -->
1050 <groupId>org.xmlunit</groupId>
1051 <artifactId>xmlunit-legacy</artifactId>
1052 <version>2.8.2</version>
1056 <!-- Annotations for modernizer-maven-plugin -->
1058 <groupId>org.gaul</groupId>
1059 <artifactId>modernizer-maven-annotations</artifactId>
1060 <!-- This should match the plugin version below -->
1061 <version>2.2.0</version>
1062 <scope>provided</scope>
1066 <groupId>org.eclipse.jetty</groupId>
1067 <artifactId>jetty-bom</artifactId>
1068 <version>9.4.43.v20210629</version>
1069 <scope>import</scope>
1074 <groupId>com.h2database</groupId>
1075 <artifactId>h2</artifactId>
1076 <version>1.4.200</version>
1079 <!-- Xtend http://xtend-lang.org
1080 NOTE: When you increase the version here,
1081 then remember to also increase it for the
1082 xtend-maven-plugin below! (We don't want to
1083 use a Maven property, in order not to "leak" that.)
1086 <groupId>org.eclipse.xtend</groupId>
1087 <artifactId>org.eclipse.xtend.lib</artifactId>
1088 <version>2.25.0</version>
1091 <groupId>org.eclipse.xtend</groupId>
1092 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1093 <version>2.25.0</version>
1096 <groupId>org.eclipse.xtext</groupId>
1097 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1098 <version>2.25.0</version>
1101 <!-- Annotations -->
1102 <!-- A better alternative for javax.inject, from https://guicedee.com/ -->
1104 <groupId>com.guicedee.services</groupId>
1105 <artifactId>javax.inject</artifactId>
1106 <version>1.0.20.0</version>
1107 <scope>provided</scope>
1108 <optional>true</optional>
1111 <!-- jung, a graph library -->
1113 <groupId>net.sf.jung</groupId>
1114 <artifactId>jung-api</artifactId>
1115 <version>2.1.1</version>
1118 <groupId>net.sf.jung</groupId>
1119 <artifactId>jung-algorithms</artifactId>
1120 <version>2.1.1</version>
1123 <groupId>net.sf.jung</groupId>
1124 <artifactId>jung-graph-impl</artifactId>
1125 <version>2.1.1</version>
1128 <!-- ThreeTen-Extra, date/time complements -->
1130 <groupId>org.threeten</groupId>
1131 <artifactId>threeten-extra</artifactId>
1132 <version>1.7.0</version>
1135 <!-- When updating this version, consider antl4-maven-plugin below -->
1137 <groupId>org.antlr</groupId>
1138 <artifactId>antlr4-runtime</artifactId>
1139 <version>4.9.2</version>
1142 <groupId>org.apache.aries.blueprint</groupId>
1143 <artifactId>blueprint-maven-plugin-annotation</artifactId>
1144 <version>1.3.0</version>
1145 <optional>true</optional>
1148 <!-- TrieMap library -->
1150 <groupId>tech.pantheon.triemap</groupId>
1151 <artifactId>bom</artifactId>
1152 <version>1.2.0</version>
1153 <scope>import</scope>
1157 <!-- Dropwizard metrics -->
1159 <groupId>io.dropwizard.metrics</groupId>
1160 <artifactId>metrics-bom</artifactId>
1161 <version>4.1.25</version>
1162 <scope>import</scope>
1167 </dependencyManagement>
1171 We expect slf4j-api to be provided by the platform.
1172 Karaf provides it, other containers need to provide it themselves.
1175 <groupId>org.slf4j</groupId>
1176 <artifactId>slf4j-api</artifactId>
1177 <scope>provided</scope>
1181 Enable useful code quality annotations everywhere. Since these annotations
1182 are not required at runtime.
1185 <groupId>org.eclipse.jdt</groupId>
1186 <artifactId>org.eclipse.jdt.annotation</artifactId>
1187 <scope>provided</scope>
1190 <groupId>com.github.spotbugs</groupId>
1191 <artifactId>spotbugs-annotations</artifactId>
1192 <scope>provided</scope>
1193 <optional>true</optional>
1196 <groupId>org.gaul</groupId>
1197 <artifactId>modernizer-maven-annotations</artifactId>
1198 <scope>provided</scope>
1202 Testing output should be routed through slf4j-simple.
1205 <groupId>org.slf4j</groupId>
1206 <artifactId>slf4j-simple</artifactId>
1211 Unit tests can use JUnit + Mockito + Hamcrest by default.
1214 <groupId>org.hamcrest</groupId>
1215 <artifactId>hamcrest</artifactId>
1219 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1220 <groupId>org.hamcrest</groupId>
1221 <artifactId>hamcrest-library</artifactId>
1225 <groupId>junit</groupId>
1226 <artifactId>junit</artifactId>
1230 <groupId>org.mockito</groupId>
1231 <artifactId>mockito-core</artifactId>
1239 <!-- Official maven plugins, alpha-sorted by artifactId.
1240 We do not need to specify the groupId. -->
1242 <artifactId>maven-checkstyle-plugin</artifactId>
1243 <version>3.1.2</version>
1246 <groupId>com.puppycrawl.tools</groupId>
1247 <artifactId>checkstyle</artifactId>
1248 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1249 <version>8.45.1</version>
1252 <groupId>org.opendaylight.odlparent</groupId>
1253 <artifactId>checkstyle</artifactId>
1254 <version>9.0.9-SNAPSHOT</version>
1257 <groupId>com.github.sevntu-checkstyle</groupId>
1258 <artifactId>sevntu-checks</artifactId>
1259 <version>1.40.0</version>
1263 <configLocation>odl_checks.xml</configLocation>
1264 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1265 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1266 generated sources directory -->
1268 <directory>${project.build.sourceDirectory}</directory>
1269 </sourceDirectories>
1270 <includeResources>true</includeResources>
1271 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1272 <includeTestResources>true</includeTestResources>
1273 <includes>**\/*.java, **\/*.xtend</includes>
1275 org/opendaylight/yang/gen/**,
1276 **/protobuff/messages/**,
1277 **/thrift/gen/*.java,
1280 <failsOnError>false</failsOnError>
1281 <consoleOutput>true</consoleOutput>
1285 <id>check-license</id>
1289 <phase>process-sources</phase>
1291 <configLocation>check-license.xml</configLocation>
1292 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1293 <includeResources>false</includeResources>
1294 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1295 <includeTestResources>false</includeTestResources>
1297 <directory>${project.build.sourceDirectory}</directory>
1298 </sourceDirectories>
1300 org/opendaylight/yang/gen/**,
1301 **/protobuff/messages/**,
1302 **/thrift/gen/*.java
1304 <failsOnError>false</failsOnError>
1305 <consoleOutput>true</consoleOutput>
1312 <phase>process-sources</phase>
1314 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1315 <skip>${odlparent.checkstyle.skip}</skip>
1316 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1322 <groupId>org.apache.maven.plugins</groupId>
1323 <artifactId>maven-pmd-plugin</artifactId>
1324 <version>3.14.0</version>
1328 <phase>process-sources</phase>
1330 <goal>cpd-check</goal>
1333 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1334 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1335 <minimumTokens>101</minimumTokens>
1336 <printFailingErrors>true</printFailingErrors>
1338 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1339 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1341 <linkXRef>false</linkXRef>
1347 <artifactId>maven-compiler-plugin</artifactId>
1349 <showWarnings>true</showWarnings>
1351 <arg>-parameters</arg>
1352 <arg>-Xlint:all</arg>
1353 <!-- Disable 'No processor claimed any of these annotations' -->
1354 <arg>-Xlint:-processing</arg>
1356 <annotationProcessorPaths>
1358 <groupId>org.immutables</groupId>
1359 <artifactId>value</artifactId>
1360 <!-- Keep this version in sync with dependency declaration above -->
1361 <version>2.8.8</version>
1364 <groupId>org.kohsuke.metainf-services</groupId>
1365 <artifactId>metainf-services</artifactId>
1366 <!-- Keep this version in sync with dependency declaration above -->
1367 <version>1.8</version>
1369 </annotationProcessorPaths>
1373 <artifactId>maven-failsafe-plugin</artifactId>
1374 <version>2.22.2</version>
1377 <artifactId>maven-invoker-plugin</artifactId>
1378 <version>3.2.2</version>
1381 <artifactId>maven-dependency-plugin</artifactId>
1384 <id>unpack-license</id>
1385 <phase>generate-resources</phase>
1392 <groupId>org.opendaylight.odlparent</groupId>
1393 <artifactId>odl-license</artifactId>
1394 <version>9.0.9-SNAPSHOT</version>
1395 <type>license</type>
1396 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1397 <destFileName>LICENSE</destFileName>
1398 <overWrite>false</overWrite>
1401 <silent>true</silent>
1405 <id>analyze-declarations</id>
1407 <goal>analyze-only</goal>
1410 <failOnWarning>${odlparent.dependency.enforce}</failOnWarning>
1411 <ignoreNonCompile>true</ignoreNonCompile>
1412 <skip>${odlparent.dependency.skip}</skip>
1419 <artifactId>maven-plugin-plugin</artifactId>
1420 <version>3.6.1</version>
1424 <artifactId>maven-remote-resources-plugin</artifactId>
1425 <version>1.7.0</version>
1428 <artifactId>maven-shade-plugin</artifactId>
1429 <version>3.2.4</version>
1432 <artifactId>maven-source-plugin</artifactId>
1433 <version>3.2.1</version>
1436 <id>attach-sources</id>
1437 <phase>verify</phase>
1439 <goal>jar-no-fork</goal>
1445 <artifactId>maven-surefire-plugin</artifactId>
1446 <version>2.22.2</version>
1448 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1449 <trimStackTrace>false</trimStackTrace>
1453 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1455 <!-- Support Blueprint XML construction using annotations -->
1456 <groupId>org.apache.aries.blueprint</groupId>
1457 <artifactId>blueprint-maven-plugin</artifactId>
1458 <version>1.10.0</version>
1459 <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1460 see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1463 <groupId>org.apache.xbean</groupId>
1464 <artifactId>xbean-finder-shaded</artifactId>
1465 <version>4.19</version>
1470 <scanPath>${project.groupId}</scanPath>
1476 <goal>blueprint-generate</goal>
1483 <groupId>org.basepom.maven</groupId>
1484 <artifactId>duplicate-finder-maven-plugin</artifactId>
1485 <version>1.5.0</version>
1489 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1490 <artifactId>echo-maven-plugin</artifactId>
1491 <version>1.3.2</version>
1495 <groupId>org.apache.felix</groupId>
1496 <artifactId>maven-bundle-plugin</artifactId>
1497 <version>5.1.2</version>
1498 <extensions>true</extensions>
1501 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1502 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1503 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1504 <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>
1506 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1507 to generate Import-Service and Export-Service headers. -->
1508 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1514 <groupId>org.apache.karaf.tooling</groupId>
1515 <artifactId>karaf-maven-plugin</artifactId>
1516 <version>${karaf.version}</version>
1517 <extensions>true</extensions>
1521 <groupId>org.apache.servicemix.tooling</groupId>
1522 <artifactId>depends-maven-plugin</artifactId>
1523 <version>1.4.0</version>
1526 <id>generate-depends-file</id>
1528 <goal>generate-depends-file</goal>
1535 <groupId>com.webcohesion.enunciate</groupId>
1536 <artifactId>enunciate-maven-plugin</artifactId>
1537 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1538 <version>2.13.3</version>
1542 <groupId>org.gaul</groupId>
1543 <artifactId>modernizer-maven-plugin</artifactId>
1544 <version>2.2.0</version>
1546 <javaVersion>${odlparent.modernizer.target}</javaVersion>
1547 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1548 <skip>${odlparent.modernizer.skip}</skip>
1551 <!-- We are using Guava as per normal and we have grown a large body of code
1552 around the patterns there. Furthermore the suggested replacements have
1553 different behavior, hence we do NOT want to blindly migrate. Examples
1556 - ImmutableCollection et al. are not just implementation details, they
1557 form an API contract.
1558 - ImmutableMap/ImmutableSet retain iteration order, whereas their
1559 Map.of()/Set.of() counterparts have unstable iteration order (by design)
1561 <exclusionPattern>com/google/common/collect/Immutable.*</exclusionPattern>
1562 </exclusionPatterns>
1568 <phase>verify</phase>
1570 <goal>modernizer</goal>
1577 <groupId>org.apache.karaf.tooling</groupId>
1578 <artifactId>karaf-services-maven-plugin</artifactId>
1579 <version>${karaf.version}</version>
1582 <id>service-metadata-generate</id>
1583 <phase>process-classes</phase>
1585 <goal>service-metadata-generate</goal>
1592 <groupId>com.github.spotbugs</groupId>
1593 <artifactId>spotbugs-maven-plugin</artifactId>
1594 <version>3.1.12.2</version>
1597 <groupId>com.github.spotbugs</groupId>
1598 <artifactId>spotbugs</artifactId>
1599 <version>3.1.12</version>
1602 <groupId>org.opendaylight.odlparent</groupId>
1603 <artifactId>spotbugs</artifactId>
1604 <version>9.0.9-SNAPSHOT</version>
1607 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1608 <groupId>org.slf4j</groupId>
1609 <artifactId>slf4j-simple</artifactId>
1610 <version>1.8.0-beta2</version>
1616 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1617 <artifactId>bug-pattern</artifactId>
1618 <version>1.5.0</version>
1622 Enables analysis which takes more memory but finds more bugs.
1623 If you run out of memory, changes the value of the effort element
1626 <effort>Max</effort>
1627 <!-- Reports all bugs (other values are medium and max) -->
1628 <threshold>Low</threshold>
1629 <!-- Build doesn't fail if problems are found -->
1630 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1631 <skip>${odlparent.spotbugs.skip}</skip>
1632 <!-- References the excluded rules -->
1633 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1634 <!-- Produces XML report -->
1635 <xmlOutput>true</xmlOutput>
1636 <!-- Configures the directory in which the XML report is created -->
1637 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1641 Ensures that SpotBugs inspects source code when project is compiled.
1644 <id>analyze-compile</id>
1645 <phase>compile</phase>
1653 <groupId>org.codehaus.mojo</groupId>
1654 <artifactId>properties-maven-plugin</artifactId>
1655 <version>1.0.0</version>
1658 <groupId>org.eclipse.xtend</groupId>
1659 <artifactId>xtend-maven-plugin</artifactId>
1660 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1661 <version>2.25.0</version>
1665 <goal>compile</goal>
1666 <goal>testCompile</goal>
1669 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1670 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1676 <groupId>org.eclipse.m2e</groupId>
1677 <artifactId>lifecycle-mapping</artifactId>
1678 <version>1.0.0</version>
1680 <lifecycleMappingMetadata>
1683 <pluginExecutionFilter>
1684 <groupId>org.apache.felix</groupId>
1685 <artifactId>maven-bundle-plugin</artifactId>
1686 <versionRange>[1.0,)</versionRange>
1688 <goal>manifest</goal>
1690 </pluginExecutionFilter>
1696 <pluginExecutionFilter>
1697 <groupId>org.apache.maven.plugins</groupId>
1698 <artifactId>maven-enforcer-plugin</artifactId>
1699 <versionRange>[1.0.0,)</versionRange>
1701 <goal>enforce</goal>
1703 </pluginExecutionFilter>
1709 <pluginExecutionFilter>
1710 <groupId>org.apache.maven.plugins</groupId>
1711 <artifactId>maven-dependency-plugin</artifactId>
1712 <versionRange>[2.10,)</versionRange>
1716 </pluginExecutionFilter>
1722 <pluginExecutionFilter>
1723 <groupId>org.apache.maven.plugins</groupId>
1724 <artifactId>maven-pmd-plugin</artifactId>
1725 <versionRange>[3.6,)</versionRange>
1727 <goal>cpd-check</goal>
1729 </pluginExecutionFilter>
1734 <!-- The plugin will eventually be removed, remove this too at that point -->
1736 <pluginExecutionFilter>
1737 <groupId>org.apache.maven.plugins</groupId>
1738 <artifactId>maven-antrun-plugin</artifactId>
1739 <versionRange>[1.8,)</versionRange>
1743 </pluginExecutionFilter>
1749 <pluginExecutionFilter>
1750 <groupId>org.apache.servicemix.tooling</groupId>
1751 <artifactId>depends-maven-plugin</artifactId>
1752 <versionRange>[1.2,)</versionRange>
1754 <goal>generate-depends-file</goal>
1756 </pluginExecutionFilter>
1762 <pluginExecutionFilter>
1763 <groupId>org.jacoco</groupId>
1764 <artifactId>jacoco-maven-plugin</artifactId>
1765 <versionRange>[0.7.0,)</versionRange>
1767 <goal>prepare-agent</goal>
1769 </pluginExecutionFilter>
1776 <pluginExecutionFilter>
1777 <groupId>org.ops4j.pax.exam</groupId>
1778 <artifactId>maven-paxexam-plugin</artifactId>
1779 <versionRange>[1.2.4,)</versionRange>
1781 <goal>generate-depends-file</goal>
1783 </pluginExecutionFilter>
1790 <pluginExecutionFilter>
1791 <groupId>org.basepom.maven</groupId>
1793 duplicate-finder-maven-plugin
1795 <versionRange>[1.2.1,)</versionRange>
1799 </pluginExecutionFilter>
1805 </lifecycleMappingMetadata>
1810 <groupId>org.jacoco</groupId>
1811 <artifactId>jacoco-maven-plugin</artifactId>
1813 <!-- Note: This exclusion list should match <sonar.exclusions>
1816 <exclude>**/gen/**</exclude>
1817 <exclude>**/generated-sources/**</exclude>
1818 <exclude>**/generated-test-sources/**</exclude>
1819 <exclude>**/yang-gen/**</exclude>
1820 <exclude>**/yang-gen-config/**</exclude>
1821 <exclude>**/yang-gen-sal/**</exclude>
1822 <exclude>**/yang-gen-code/**</exclude>
1823 <exclude>**/pax/**</exclude>
1829 <groupId>org.ops4j.pax.exam</groupId>
1830 <artifactId>maven-paxexam-plugin</artifactId>
1831 <version>1.2.4</version>
1834 <!-- When updating this version, consider antl4-runtime above -->
1836 <groupId>org.antlr</groupId>
1837 <artifactId>antlr4-maven-plugin</artifactId>
1838 <version>4.9.2</version>
1845 <artifactId>maven-enforcer-plugin</artifactId>
1848 <id>enforce-banned-dependencies</id>
1850 <goal>enforce</goal>
1854 <bannedDependencies>
1855 <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>
1857 <exclude>org.mockito:mockito-all</exclude>
1858 <exclude>com.google.code.findbugs:annotations</exclude>
1860 </bannedDependencies>
1868 <groupId>org.basepom.maven</groupId>
1869 <artifactId>duplicate-finder-maven-plugin</artifactId>
1872 <id>find-duplicate-classpath-entries</id>
1873 <phase>verify</phase>
1880 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1881 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1882 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1883 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1884 <printEqualFiles>false</printEqualFiles>
1886 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1887 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1888 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1890 <ignoredResourcePatterns>
1891 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1892 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1893 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1894 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1895 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1896 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1897 <ignoredResourcePattern>.api_description</ignoredResourcePattern>
1898 </ignoredResourcePatterns>
1899 <ignoredDependencies>
1901 <groupId>org.slf4j</groupId>
1902 <artifactId>slf4j-simple</artifactId>
1903 </ignoredDependency>
1905 <groupId>org.opendaylight.odlparent</groupId>
1906 <artifactId>opendaylight-karaf-empty</artifactId>
1907 </ignoredDependency>
1908 </ignoredDependencies>
1912 <artifactId>maven-dependency-plugin</artifactId>
1915 <artifactId>maven-checkstyle-plugin</artifactId>
1918 <artifactId>maven-pmd-plugin</artifactId>
1921 <artifactId>maven-source-plugin</artifactId>
1924 <artifactId>maven-javadoc-plugin</artifactId>
1927 <groupId>org.gaul</groupId>
1928 <artifactId>modernizer-maven-plugin</artifactId>
1931 <groupId>com.github.spotbugs</groupId>
1932 <artifactId>spotbugs-maven-plugin</artifactId>
1935 <!-- Jacoco / Sonar -->
1937 <groupId>org.jacoco</groupId>
1938 <artifactId>jacoco-maven-plugin</artifactId>
1941 <id>pre-unit-test</id>
1943 <goal>prepare-agent</goal>
1956 <groupId>org.opendaylight.odlparent</groupId>
1957 <artifactId>copy-files-plugin</artifactId>
1958 <version>9.0.9-SNAPSHOT</version>
1961 <phase>prepare-package</phase>
1963 <goal>copy-files</goal>
1967 <glob>README*</glob>
1968 <glob>CONTRIBUTING*</glob>
1969 <glob>PROJECT_INFO.yaml</glob>
1980 <id>disable-spotbugs</id>
1982 <!-- Current spotbugs does not support JDK15+ -->
1987 <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
1993 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1994 <artifactId>echo-maven-plugin</artifactId>
1997 <id>UNTESTED-JDK</id>
2003 <message>Running on JDK newer than 11, which is not supported. Skipping SpotBugs execution.</message>
2016 <artifactId>maven-checkstyle-plugin</artifactId>
2017 <version>3.1.0</version>
2020 <!-- FIXME: activate this
2022 <artifactId>maven-project-info-reports-plugin</artifactId>
2025 <groupId>org.codehaus.mojo</groupId>
2026 <artifactId>jdepend-maven-plugin</artifactId>
2030 <report>generate-no-fork</report>