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.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>10.0.0-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>org.junit</groupId>
134 <artifactId>junit-bom</artifactId>
135 <version>5.8.1</version>
137 <scope>import</scope>
140 <groupId>junit</groupId>
141 <artifactId>junit</artifactId>
142 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
143 <version>4.13.2</version>
147 <groupId>org.skyscreamer</groupId>
148 <artifactId>jsonassert</artifactId>
149 <version>1.5.0</version>
153 <groupId>org.mockito</groupId>
154 <artifactId>mockito-core</artifactId>
155 <version>4.0.0</version>
159 <groupId>org.mockito</groupId>
160 <artifactId>mockito-inline</artifactId>
161 <version>4.0.0</version>
165 <groupId>org.hamcrest</groupId>
166 <artifactId>hamcrest</artifactId>
167 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
168 <version>2.2</version>
172 <groupId>org.hamcrest</groupId>
173 <artifactId>hamcrest-core</artifactId>
174 <version>2.2</version>
178 <groupId>org.hamcrest</groupId>
179 <artifactId>hamcrest-library</artifactId>
180 <version>2.2</version>
184 <groupId>com.google.truth</groupId>
185 <artifactId>truth</artifactId>
186 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
187 <version>1.1.3</version>
191 <groupId>com.google.truth.extensions</groupId>
192 <artifactId>truth-java8-extension</artifactId>
193 <version>1.1.3</version>
197 <groupId>org.awaitility</groupId>
198 <artifactId>awaitility</artifactId>
199 <version>4.1.1</version>
203 <groupId>org.powermock</groupId>
204 <artifactId>powermock-api-mockito2</artifactId>
205 <version>2.0.9</version>
209 <groupId>org.powermock</groupId>
210 <artifactId>powermock-api-support</artifactId>
211 <version>2.0.9</version>
215 <groupId>org.powermock</groupId>
216 <artifactId>powermock-core</artifactId>
217 <version>2.0.9</version>
221 <groupId>org.powermock</groupId>
222 <artifactId>powermock-module-junit4</artifactId>
223 <version>2.0.9</version>
227 <groupId>org.powermock</groupId>
228 <artifactId>powermock-reflect</artifactId>
229 <version>2.0.9</version>
234 Annotation Processors
237 <!-- Generates immutable implementations, builders, the works -->
238 <groupId>org.immutables</groupId>
239 <artifactId>value</artifactId>
240 <classifier>annotations</classifier>
241 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
242 <version>2.8.8</version>
243 <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
244 <scope>provided</scope>
248 <!-- Generates META-INF/services entries for ServiceLoader -->
249 <groupId>org.kohsuke.metainf-services</groupId>
250 <artifactId>metainf-services</artifactId>
251 <!-- Keep this version in sync with annotationProcessorPaths declaration below -->
252 <version>1.8</version>
253 <optional>true</optional>
254 <scope>provided</scope>
261 <groupId>ch.qos.logback</groupId>
262 <artifactId>logback-core</artifactId>
263 <version>1.2.5</version>
266 <groupId>ch.qos.logback</groupId>
267 <artifactId>logback-classic</artifactId>
268 <version>1.2.5</version>
273 <groupId>org.apache.logging.log4j</groupId>
274 <artifactId>log4j-bom</artifactId>
275 <version>2.14.1</version>
276 <scope>import</scope>
281 <groupId>com.google.guava</groupId>
282 <artifactId>guava</artifactId>
283 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
284 <version>30.1.1-jre</version>
287 <!-- Do not leak JSR305 onto the classpath by default -->
288 <groupId>com.google.code.findbugs</groupId>
289 <artifactId>jsr305</artifactId>
294 <groupId>com.google.guava</groupId>
295 <artifactId>guava-testlib</artifactId>
296 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
297 <version>30.1.1-jre</version>
301 <!-- Do not leak JSR305 onto the classpath by default -->
302 <groupId>com.google.code.findbugs</groupId>
303 <artifactId>jsr305</artifactId>
308 <groupId>org.checkerframework</groupId>
309 <artifactId>checker-qual</artifactId>
310 <version>3.8.0</version>
313 <groupId>com.google.errorprone</groupId>
314 <artifactId>error_prone_annotations</artifactId>
315 <version>2.5.1</version>
319 <groupId>commons-beanutils</groupId>
320 <artifactId>commons-beanutils</artifactId>
321 <version>1.9.4</version>
324 <groupId>org.apache.commons</groupId>
325 <artifactId>commons-lang3</artifactId>
326 <version>3.12.0</version>
329 <groupId>org.apache.commons</groupId>
330 <artifactId>commons-text</artifactId>
331 <version>1.9</version>
334 <groupId>commons-lang</groupId>
335 <artifactId>commons-lang</artifactId>
336 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite and docs -->
337 <version>2.6</version>
340 <groupId>commons-codec</groupId>
341 <artifactId>commons-codec</artifactId>
342 <version>1.15</version>
344 <!-- Jersey for JAXRS -->
346 <groupId>javax.ws.rs</groupId>
347 <artifactId>javax.ws.rs-api</artifactId>
348 <version>2.1.1</version>
351 <groupId>org.glassfish.jersey</groupId>
352 <artifactId>jersey-bom</artifactId>
353 <version>2.27</version>
355 <scope>import</scope>
359 <groupId>jakarta.activation</groupId>
360 <artifactId>jakarta.activation-api</artifactId>
361 <version>1.2.2</version>
365 <groupId>javax.annotation</groupId>
366 <artifactId>javax.annotation-api</artifactId>
367 <version>1.3.1</version>
368 <optional>true</optional>
371 <groupId>xml-apis</groupId>
372 <artifactId>xml-apis</artifactId>
373 <version>1.4.01</version>
376 <!-- Plugin integration -->
378 <groupId>net.java.dev.stax-utils</groupId>
379 <artifactId>stax-utils</artifactId>
380 <version>20070216</version>
383 <!-- JSR173 ships with JRE by default -->
384 <groupId>com.bea.xml</groupId>
385 <artifactId>jsr173-ri</artifactId>
390 <groupId>org.sonatype.plexus</groupId>
391 <artifactId>plexus-build-api</artifactId>
392 <version>0.0.7</version>
395 <groupId>org.codehaus.plexus</groupId>
396 <artifactId>plexus-slf4j-logging</artifactId>
397 <version>1.1</version>
400 <!-- These three need to be consistent:
401 jackson-2.12.5 needs woodstox-6.2.4+
402 woodstox-5.3+ needs stax2-api-4.2.x
405 <groupId>org.codehaus.woodstox</groupId>
406 <artifactId>stax2-api</artifactId>
407 <version>4.2.1</version>
410 <groupId>com.fasterxml.woodstox</groupId>
411 <artifactId>woodstox-core</artifactId>
412 <version>6.2.6</version>
415 <groupId>com.fasterxml.jackson</groupId>
416 <artifactId>jackson-bom</artifactId>
417 <version>2.12.5</version>
418 <scope>import</scope>
423 <groupId>com.github.spotbugs</groupId>
424 <artifactId>spotbugs-annotations</artifactId>
425 <version>3.1.12</version>
426 <scope>provided</scope>
427 <!-- Contains retention=RUNTIME annotations, which are not really needed -->
428 <optional>true</optional>
431 <groupId>com.google.code.findbugs</groupId>
432 <artifactId>jsr305</artifactId>
438 <groupId>org.eclipse.jdt</groupId>
439 <artifactId>org.eclipse.jdt.annotation</artifactId>
440 <version>2.2.600</version>
441 <scope>provided</scope>
444 <groupId>com.google.code.gson</groupId>
445 <artifactId>gson</artifactId>
446 <version>2.8.9</version>
449 <groupId>commons-fileupload</groupId>
450 <artifactId>commons-fileupload</artifactId>
451 <version>1.4</version>
454 <groupId>commons-io</groupId>
455 <artifactId>commons-io</artifactId>
456 <version>2.11.0</version>
459 <groupId>commons-net</groupId>
460 <artifactId>commons-net</artifactId>
461 <version>3.8.0</version>
466 <groupId>io.netty</groupId>
467 <artifactId>netty-bom</artifactId>
468 <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
469 <version>4.1.70.Final</version>
471 <scope>import</scope>
475 <groupId>javax.ws.rs</groupId>
476 <artifactId>jsr311-api</artifactId>
477 <version>1.1.1</version>
480 <groupId>org.bouncycastle</groupId>
481 <artifactId>bcpkix-jdk15on</artifactId>
482 <version>${bouncycastle.version}</version>
485 <groupId>org.bouncycastle</groupId>
486 <artifactId>bcprov-jdk15on</artifactId>
487 <version>${bouncycastle.version}</version>
490 <groupId>org.bouncycastle</groupId>
491 <artifactId>bcprov-ext-jdk15on</artifactId>
492 <version>${bouncycastle.version}</version>
495 <groupId>org.bouncycastle</groupId>
496 <artifactId>bcutil-jdk15on</artifactId>
497 <version>${bouncycastle.version}</version>
501 <groupId>com.webcohesion.enunciate</groupId>
502 <artifactId>enunciate-core-annotations</artifactId>
503 <!-- This must be aligned with the version of enunciate-maven-plugin specified below -->
504 <version>2.13.3</version>
508 <groupId>org.javassist</groupId>
509 <artifactId>javassist</artifactId>
510 <version>3.27.0-GA</version>
513 <groupId>org.jboss.spec.javax.transaction</groupId>
514 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
515 <version>1.0.1.Final</version>
518 <groupId>org.jolokia</groupId>
519 <artifactId>jolokia-osgi</artifactId>
520 <version>1.7.1</version>
524 OSGi Release 7 artifacts. These come in two forms:
525 - osgi.core, osgi.cmpn and osgi.annotation, which are legacy uber-bundles
526 - fine-grained artifacts, which are the preferred way going forward, especially
527 once we get to Release 8.
528 The definitions here are sourced from https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/cnf/central.mvn
529 and the corresponding layout.bnd files.
532 <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.core/layout.bnd -->
534 <groupId>org.osgi</groupId>
535 <artifactId>osgi.core</artifactId>
536 <version>7.0.0</version>
537 <scope>provided</scope>
540 <groupId>org.osgi</groupId>
541 <artifactId>org.osgi.dto</artifactId>
542 <version>1.1.1</version>
543 <scope>provided</scope>
546 <groupId>org.osgi</groupId>
547 <artifactId>org.osgi.resource</artifactId>
548 <version>1.0.0</version>
549 <scope>provided</scope>
552 <groupId>org.osgi</groupId>
553 <artifactId>org.osgi.framework</artifactId>
554 <version>1.9.0</version>
555 <scope>provided</scope>
558 <groupId>org.osgi</groupId>
559 <artifactId>org.osgi.service.permissionadmin</artifactId>
560 <version>1.2.1</version>
561 <scope>provided</scope>
564 <groupId>org.osgi</groupId>
565 <artifactId>org.osgi.service.condpermadmin</artifactId>
566 <version>1.1.1</version>
567 <scope>provided</scope>
570 <groupId>org.osgi</groupId>
571 <artifactId>org.osgi.service.packageadmin</artifactId>
572 <version>1.2.0</version>
573 <scope>provided</scope>
576 <groupId>org.osgi</groupId>
577 <artifactId>org.osgi.service.startlevel</artifactId>
578 <version>1.1.0</version>
579 <scope>provided</scope>
582 <groupId>org.osgi</groupId>
583 <artifactId>org.osgi.service.resolver</artifactId>
584 <version>1.1.0</version>
585 <scope>provided</scope>
588 <groupId>org.osgi</groupId>
589 <artifactId>org.osgi.service.url</artifactId>
590 <version>1.0.0</version>
591 <scope>provided</scope>
594 <groupId>org.osgi</groupId>
595 <artifactId>org.osgi.util.tracker</artifactId>
596 <version>1.5.2</version>
597 <scope>provided</scope>
600 <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.annotation/layout.bnd -->
602 <groupId>org.osgi</groupId>
603 <artifactId>osgi.annotation</artifactId>
604 <version>7.0.0</version>
605 <scope>provided</scope>
608 <groupId>org.osgi</groupId>
609 <artifactId>org.osgi.annotation.versioning</artifactId>
610 <version>1.0.0</version>
611 <scope>provided</scope>
614 <groupId>org.osgi</groupId>
615 <artifactId>org.osgi.annotation.bundle</artifactId>
616 <version>1.0.0</version>
617 <scope>provided</scope>
620 <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.cmpn/layout.bnd -->
622 <groupId>org.osgi</groupId>
623 <artifactId>osgi.cmpn</artifactId>
624 <version>7.0.0</version>
625 <scope>provided</scope>
628 <groupId>org.osgi</groupId>
629 <artifactId>org.osgi.application</artifactId>
630 <version>1.0.0</version>
631 <scope>provided</scope>
634 <groupId>org.osgi</groupId>
635 <artifactId>org.osgi.namespace.contract</artifactId>
636 <version>1.0.0</version>
637 <scope>provided</scope>
640 <groupId>org.osgi</groupId>
641 <artifactId>org.osgi.namespace.extender</artifactId>
642 <version>1.0.1</version>
643 <scope>provided</scope>
646 <groupId>org.osgi</groupId>
647 <artifactId>org.osgi.namespace.implementation</artifactId>
648 <version>1.0.0</version>
649 <scope>provided</scope>
652 <groupId>org.osgi</groupId>
653 <artifactId>org.osgi.namespace.service</artifactId>
654 <version>1.0.0</version>
655 <scope>provided</scope>
658 <groupId>org.osgi</groupId>
659 <artifactId>org.osgi.namespace.unresolvable</artifactId>
660 <version>1.0.0</version>
661 <scope>provided</scope>
664 <groupId>org.osgi</groupId>
665 <artifactId>org.osgi.service.async</artifactId>
666 <version>1.0.0</version>
667 <scope>provided</scope>
670 <groupId>org.osgi</groupId>
671 <artifactId>org.osgi.service.application</artifactId>
672 <version>1.1.0</version>
673 <scope>provided</scope>
676 <groupId>org.osgi</groupId>
677 <artifactId>org.osgi.service.blueprint</artifactId>
678 <version>1.0.2</version>
679 <scope>provided</scope>
681 <!-- This is not published until R8>
683 <groupId>org.osgi</groupId>
684 <artifactId>org.osgi.service.cdi</artifactId>
685 <version>1.0.0</version>
686 <scope>provided</scope>
689 <groupId>org.osgi</groupId>
690 <artifactId>org.osgi.service.clusterinfo</artifactId>
691 <version>1.0.0</version>
692 <scope>provided</scope>
695 <groupId>org.osgi</groupId>
696 <artifactId>org.osgi.service.cm</artifactId>
697 <version>1.6.0</version>
698 <scope>provided</scope>
701 <groupId>org.osgi</groupId>
702 <artifactId>org.osgi.service.component</artifactId>
703 <version>1.4.0</version>
704 <scope>provided</scope>
707 <groupId>org.osgi</groupId>
708 <artifactId>org.osgi.service.component.annotations</artifactId>
709 <version>1.4.0</version>
710 <scope>provided</scope>
713 <groupId>org.osgi</groupId>
714 <artifactId>org.osgi.service.configurator</artifactId>
715 <version>1.0.0</version>
716 <scope>provided</scope>
719 <groupId>org.osgi</groupId>
720 <artifactId>org.osgi.service.coordinator</artifactId>
721 <version>1.0.2</version>
722 <scope>provided</scope>
725 <groupId>org.osgi</groupId>
726 <artifactId>org.osgi.service.deploymentadmin</artifactId>
727 <version>1.1.0</version>
728 <scope>provided</scope>
731 <groupId>org.osgi</groupId>
732 <artifactId>org.osgi.service.device</artifactId>
733 <version>1.1.0</version>
734 <scope>provided</scope>
737 <groupId>org.osgi</groupId>
738 <artifactId>org.osgi.service.dmt</artifactId>
739 <version>2.0.2</version>
740 <scope>provided</scope>
743 <groupId>org.osgi</groupId>
744 <artifactId>org.osgi.service.event</artifactId>
745 <version>1.4.0</version>
746 <scope>provided</scope>
749 <groupId>org.osgi</groupId>
750 <artifactId>org.osgi.service.http</artifactId>
751 <version>1.2.1</version>
752 <scope>provided</scope>
755 <groupId>org.osgi</groupId>
756 <artifactId>org.osgi.service.http.whiteboard</artifactId>
757 <version>1.1.0</version>
758 <scope>provided</scope>
761 <groupId>org.osgi</groupId>
762 <artifactId>org.osgi.service.io</artifactId>
763 <version>1.0.0</version>
764 <scope>provided</scope>
767 <groupId>org.osgi</groupId>
768 <artifactId>org.osgi.service.jaxrs</artifactId>
769 <version>1.0.0</version>
770 <scope>provided</scope>
773 <groupId>org.osgi</groupId>
774 <artifactId>org.osgi.service.jdbc</artifactId>
775 <version>1.0.0</version>
776 <scope>provided</scope>
779 <groupId>org.osgi</groupId>
780 <artifactId>org.osgi.service.jndi</artifactId>
781 <version>1.0.0</version>
782 <scope>provided</scope>
785 <groupId>org.osgi</groupId>
786 <artifactId>org.osgi.service.jpa</artifactId>
787 <version>1.0.0</version>
788 <scope>provided</scope>
791 <groupId>org.osgi</groupId>
792 <artifactId>org.osgi.service.log</artifactId>
793 <version>1.4.0</version>
794 <scope>provided</scope>
797 <groupId>org.osgi</groupId>
798 <artifactId>org.osgi.service.metatype</artifactId>
799 <version>1.4.0</version>
800 <scope>provided</scope>
803 <groupId>org.osgi</groupId>
804 <artifactId>org.osgi.service.metatype.annotations</artifactId>
805 <version>1.4.0</version>
806 <scope>provided</scope>
809 <groupId>org.osgi</groupId>
810 <artifactId>org.osgi.service.monitor</artifactId>
811 <version>1.0.0</version>
812 <scope>provided</scope>
815 <groupId>org.osgi</groupId>
816 <artifactId>org.osgi.service.prefs</artifactId>
817 <version>1.1.1</version>
818 <scope>provided</scope>
821 <groupId>org.osgi</groupId>
822 <artifactId>org.osgi.service.provisioning</artifactId>
823 <version>1.2.0</version>
824 <scope>provided</scope>
827 <groupId>org.osgi</groupId>
828 <artifactId>org.osgi.service.remoteserviceadmin</artifactId>
829 <version>1.1.0</version>
830 <scope>provided</scope>
833 <groupId>org.osgi</groupId>
834 <artifactId>org.osgi.service.repository</artifactId>
835 <version>1.1.0</version>
836 <scope>provided</scope>
839 <groupId>org.osgi</groupId>
840 <artifactId>org.osgi.service.rest</artifactId>
841 <version>1.0.0</version>
842 <scope>provided</scope>
845 <groupId>org.osgi</groupId>
846 <artifactId>org.osgi.service.serviceloader</artifactId>
847 <version>1.0.0</version>
848 <scope>provided</scope>
851 <groupId>org.osgi</groupId>
852 <artifactId>org.osgi.service.subsystem</artifactId>
853 <version>1.1.0</version>
854 <scope>provided</scope>
857 <groupId>org.osgi</groupId>
858 <artifactId>org.osgi.service.transaction.control</artifactId>
859 <version>1.0.0</version>
860 <scope>provided</scope>
863 <groupId>org.osgi</groupId>
864 <artifactId>org.osgi.service.upnp</artifactId>
865 <version>1.2.0</version>
866 <scope>provided</scope>
869 <groupId>org.osgi</groupId>
870 <artifactId>org.osgi.service.useradmin</artifactId>
871 <version>1.1.0</version>
872 <scope>provided</scope>
875 <groupId>org.osgi</groupId>
876 <artifactId>org.osgi.service.wireadmin</artifactId>
877 <version>1.0.1</version>
878 <scope>provided</scope>
881 <groupId>org.osgi</groupId>
882 <artifactId>org.osgi.util.converter</artifactId>
883 <version>1.0.1</version>
884 <scope>provided</scope>
887 <groupId>org.osgi</groupId>
888 <artifactId>org.osgi.util.function</artifactId>
889 <version>1.1.0</version>
890 <scope>provided</scope>
893 <groupId>org.osgi</groupId>
894 <artifactId>org.osgi.util.measurement</artifactId>
895 <version>1.0.2</version>
896 <scope>provided</scope>
899 <groupId>org.osgi</groupId>
900 <artifactId>org.osgi.util.position</artifactId>
901 <version>1.0.1</version>
902 <scope>provided</scope>
905 <groupId>org.osgi</groupId>
906 <artifactId>org.osgi.util.promise</artifactId>
907 <version>1.1.1</version>
908 <scope>provided</scope>
911 <groupId>org.osgi</groupId>
912 <artifactId>org.osgi.util.pushstream</artifactId>
913 <version>1.0.1</version>
914 <scope>provided</scope>
917 <groupId>org.osgi</groupId>
918 <artifactId>org.osgi.util.xml</artifactId>
919 <version>1.0.1</version>
920 <scope>provided</scope>
923 <!-- for https://jira.opendaylight.org/browse/ODLPARENT-24 -->
925 <groupId>org.apache.aries.quiesce</groupId>
926 <artifactId>org.apache.aries.quiesce.api</artifactId>
927 <version>1.0.0</version>
930 <!-- LMAX Disruptor -->
932 <groupId>com.lmax</groupId>
933 <artifactId>disruptor</artifactId>
934 <version>3.4.4</version>
937 <!-- Add Pax Exam -->
939 <groupId>org.ops4j.pax.exam</groupId>
940 <artifactId>pax-exam</artifactId>
941 <version>4.13.4</version>
945 <groupId>org.ops4j.pax.exam</groupId>
946 <artifactId>pax-exam-container-forked</artifactId>
947 <version>4.13.4</version>
951 <groupId>org.ops4j.pax.exam</groupId>
952 <artifactId>pax-exam-container-karaf</artifactId>
953 <version>4.13.4</version>
957 <groupId>org.ops4j.pax.exam</groupId>
958 <artifactId>pax-exam-container-native</artifactId>
959 <version>4.13.4</version>
963 <groupId>org.ops4j.pax.exam</groupId>
964 <artifactId>pax-exam-extender-service</artifactId>
965 <version>4.13.4</version>
969 <groupId>org.ops4j.pax.exam</groupId>
970 <artifactId>pax-exam-inject</artifactId>
971 <version>4.13.4</version>
975 <groupId>org.ops4j.pax.exam</groupId>
976 <artifactId>pax-exam-invoker-junit</artifactId>
977 <version>4.13.4</version>
981 <groupId>org.ops4j.pax.exam</groupId>
982 <artifactId>pax-exam-features</artifactId>
983 <version>4.13.4</version>
988 <groupId>org.ops4j.pax.exam</groupId>
989 <artifactId>pax-exam-junit4</artifactId>
990 <version>4.13.4</version>
994 <groupId>org.ops4j.pax.exam</groupId>
995 <artifactId>pax-exam-link-mvn</artifactId>
996 <version>4.13.4</version>
1000 <groupId>org.ops4j.pax.exam</groupId>
1001 <artifactId>pax-exam-link-assembly</artifactId>
1002 <version>4.13.4</version>
1007 <groupId>org.ops4j.pax.url</groupId>
1008 <artifactId>pax-url-link</artifactId>
1009 <version>2.6.7</version>
1013 <groupId>org.ops4j.pax.url</groupId>
1014 <artifactId>pax-url-aether</artifactId>
1015 <version>2.6.7</version>
1019 <groupId>org.ops4j.pax.url</groupId>
1020 <artifactId>pax-url-wrap</artifactId>
1021 <version>2.6.7</version>
1025 <groupId>org.springframework.osgi</groupId>
1026 <artifactId>spring-osgi-mock</artifactId>
1027 <version>1.2.1</version>
1032 <groupId>org.xmlunit</groupId>
1033 <artifactId>xmlunit-core</artifactId>
1034 <version>2.8.3</version>
1038 <groupId>org.xmlunit</groupId>
1039 <artifactId>xmlunit-assertj</artifactId>
1040 <version>2.8.3</version>
1044 <groupId>org.xmlunit</groupId>
1045 <artifactId>xmlunit-assertj3</artifactId>
1046 <version>2.8.3</version>
1050 <groupId>org.xmlunit</groupId>
1051 <artifactId>xmlunit-matchers</artifactId>
1052 <version>2.8.3</version>
1055 <!-- FIXME: remove this once we have migrated over -->
1057 <groupId>org.xmlunit</groupId>
1058 <artifactId>xmlunit-legacy</artifactId>
1059 <version>2.8.3</version>
1063 <!-- Annotations for modernizer-maven-plugin -->
1065 <groupId>org.gaul</groupId>
1066 <artifactId>modernizer-maven-annotations</artifactId>
1067 <!-- This should match the plugin version below -->
1068 <version>2.2.0</version>
1069 <scope>provided</scope>
1073 <groupId>org.eclipse.jetty</groupId>
1074 <artifactId>jetty-bom</artifactId>
1075 <version>9.4.43.v20210629</version>
1076 <scope>import</scope>
1081 <groupId>com.h2database</groupId>
1082 <artifactId>h2</artifactId>
1083 <version>1.4.200</version>
1086 <!-- Xtend http://xtend-lang.org
1087 NOTE: When you increase the version here,
1088 then remember to also increase it for the
1089 xtend-maven-plugin below! (We don't want to
1090 use a Maven property, in order not to "leak" that.)
1093 <groupId>org.eclipse.xtend</groupId>
1094 <artifactId>org.eclipse.xtend.lib</artifactId>
1095 <version>2.25.0</version>
1098 <groupId>org.eclipse.xtend</groupId>
1099 <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1100 <version>2.25.0</version>
1103 <groupId>org.eclipse.xtext</groupId>
1104 <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1105 <version>2.25.0</version>
1108 <!-- Annotations -->
1109 <!-- A better alternative for javax.inject, from https://guicedee.com/ -->
1111 <groupId>com.guicedee.services</groupId>
1112 <artifactId>javax.inject</artifactId>
1113 <version>1.0.20.0</version>
1114 <scope>provided</scope>
1115 <optional>true</optional>
1118 <!-- jung, a graph library -->
1120 <groupId>net.sf.jung</groupId>
1121 <artifactId>jung-api</artifactId>
1122 <version>2.1.1</version>
1125 <groupId>net.sf.jung</groupId>
1126 <artifactId>jung-algorithms</artifactId>
1127 <version>2.1.1</version>
1130 <groupId>net.sf.jung</groupId>
1131 <artifactId>jung-graph-impl</artifactId>
1132 <version>2.1.1</version>
1135 <!-- ThreeTen-Extra, date/time complements -->
1137 <groupId>org.threeten</groupId>
1138 <artifactId>threeten-extra</artifactId>
1139 <version>1.7.0</version>
1142 <!-- When updating this version, consider antl4-maven-plugin below -->
1144 <groupId>org.antlr</groupId>
1145 <artifactId>antlr4-runtime</artifactId>
1146 <version>4.9.3</version>
1149 <!-- TrieMap library -->
1151 <groupId>tech.pantheon.triemap</groupId>
1152 <artifactId>bom</artifactId>
1153 <version>1.2.0</version>
1154 <scope>import</scope>
1158 <!-- Dropwizard metrics -->
1160 <groupId>io.dropwizard.metrics</groupId>
1161 <artifactId>metrics-bom</artifactId>
1162 <version>4.1.25</version>
1163 <scope>import</scope>
1168 </dependencyManagement>
1172 We expect slf4j-api to be provided by the platform.
1173 Karaf provides it, other containers need to provide it themselves.
1176 <groupId>org.slf4j</groupId>
1177 <artifactId>slf4j-api</artifactId>
1178 <scope>provided</scope>
1182 Enable useful code quality annotations everywhere. Since these annotations
1183 are not required at runtime.
1186 <groupId>org.eclipse.jdt</groupId>
1187 <artifactId>org.eclipse.jdt.annotation</artifactId>
1188 <scope>provided</scope>
1191 <groupId>com.github.spotbugs</groupId>
1192 <artifactId>spotbugs-annotations</artifactId>
1193 <scope>provided</scope>
1194 <optional>true</optional>
1197 <groupId>org.gaul</groupId>
1198 <artifactId>modernizer-maven-annotations</artifactId>
1199 <scope>provided</scope>
1203 Testing output should be routed through slf4j-simple.
1206 <groupId>org.slf4j</groupId>
1207 <artifactId>slf4j-simple</artifactId>
1212 Unit tests can use JUnit + Mockito + Hamcrest by default.
1215 <groupId>org.hamcrest</groupId>
1216 <artifactId>hamcrest</artifactId>
1220 <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1221 <groupId>org.hamcrest</groupId>
1222 <artifactId>hamcrest-library</artifactId>
1226 <groupId>org.junit.jupiter</groupId>
1227 <artifactId>junit-jupiter-api</artifactId>
1231 <groupId>junit</groupId>
1232 <artifactId>junit</artifactId>
1236 <groupId>org.junit.jupiter</groupId>
1237 <artifactId>junit-jupiter-engine</artifactId>
1241 <groupId>org.junit.vintage</groupId>
1242 <artifactId>junit-vintage-engine</artifactId>
1246 <groupId>org.mockito</groupId>
1247 <artifactId>mockito-core</artifactId>
1255 <!-- Official maven plugins, alpha-sorted by artifactId.
1256 We do not need to specify the groupId. -->
1258 <artifactId>maven-checkstyle-plugin</artifactId>
1259 <version>3.1.2</version>
1262 <groupId>com.puppycrawl.tools</groupId>
1263 <artifactId>checkstyle</artifactId>
1264 <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1265 <version>8.45.1</version>
1268 <groupId>org.opendaylight.odlparent</groupId>
1269 <artifactId>checkstyle</artifactId>
1270 <version>10.0.0-SNAPSHOT</version>
1273 <groupId>com.github.sevntu-checkstyle</groupId>
1274 <artifactId>sevntu-checks</artifactId>
1275 <version>1.40.0</version>
1279 <configLocation>odl_checks.xml</configLocation>
1280 <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1281 <!-- <sourceDirectories> are needed so that checkstyle ignores the
1282 generated sources directory -->
1284 <directory>${project.build.sourceDirectory}</directory>
1285 </sourceDirectories>
1286 <includeResources>true</includeResources>
1287 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1288 <includeTestResources>true</includeTestResources>
1289 <includes>**\/*.java, **\/*.xtend</includes>
1291 org/opendaylight/yang/gen/**,
1292 **/protobuff/messages/**,
1293 **/thrift/gen/*.java,
1296 <failsOnError>false</failsOnError>
1297 <consoleOutput>true</consoleOutput>
1301 <id>check-license</id>
1305 <phase>process-sources</phase>
1307 <configLocation>check-license.xml</configLocation>
1308 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1309 <includeResources>false</includeResources>
1310 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1311 <includeTestResources>false</includeTestResources>
1313 <directory>${project.build.sourceDirectory}</directory>
1314 </sourceDirectories>
1316 org/opendaylight/yang/gen/**,
1317 **/protobuff/messages/**,
1318 **/thrift/gen/*.java
1320 <failsOnError>false</failsOnError>
1321 <consoleOutput>true</consoleOutput>
1328 <phase>process-sources</phase>
1330 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1331 <skip>${odlparent.checkstyle.skip}</skip>
1332 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1338 <groupId>org.apache.maven.plugins</groupId>
1339 <artifactId>maven-pmd-plugin</artifactId>
1340 <version>3.14.0</version>
1344 <phase>process-sources</phase>
1346 <goal>cpd-check</goal>
1349 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1350 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1351 <minimumTokens>101</minimumTokens>
1352 <printFailingErrors>true</printFailingErrors>
1354 <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1355 <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1357 <linkXRef>false</linkXRef>
1363 <artifactId>maven-compiler-plugin</artifactId>
1365 <showWarnings>true</showWarnings>
1367 <arg>-parameters</arg>
1368 <arg>-Xlint:all</arg>
1369 <!-- Disable 'No processor claimed any of these annotations' -->
1370 <arg>-Xlint:-processing</arg>
1372 <annotationProcessorPaths>
1374 <groupId>org.immutables</groupId>
1375 <artifactId>value</artifactId>
1376 <!-- Keep this version in sync with dependency declaration above -->
1377 <version>2.8.8</version>
1380 <groupId>org.kohsuke.metainf-services</groupId>
1381 <artifactId>metainf-services</artifactId>
1382 <!-- Keep this version in sync with dependency declaration above -->
1383 <version>1.8</version>
1385 </annotationProcessorPaths>
1389 <artifactId>maven-failsafe-plugin</artifactId>
1390 <version>2.22.2</version>
1393 <artifactId>maven-invoker-plugin</artifactId>
1394 <version>3.2.2</version>
1397 <artifactId>maven-dependency-plugin</artifactId>
1400 <id>unpack-license</id>
1401 <phase>generate-resources</phase>
1408 <groupId>org.opendaylight.odlparent</groupId>
1409 <artifactId>odl-license</artifactId>
1410 <version>10.0.0-SNAPSHOT</version>
1411 <type>license</type>
1412 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1413 <destFileName>LICENSE</destFileName>
1414 <overWrite>false</overWrite>
1417 <silent>true</silent>
1421 <id>analyze-declarations</id>
1423 <goal>analyze-only</goal>
1426 <failOnWarning>${odlparent.dependency.enforce}</failOnWarning>
1427 <ignoreNonCompile>true</ignoreNonCompile>
1428 <skip>${odlparent.dependency.skip}</skip>
1435 <artifactId>maven-plugin-plugin</artifactId>
1436 <version>3.6.1</version>
1440 <artifactId>maven-remote-resources-plugin</artifactId>
1441 <version>1.7.0</version>
1444 <artifactId>maven-shade-plugin</artifactId>
1445 <version>3.2.4</version>
1448 <artifactId>maven-source-plugin</artifactId>
1449 <version>3.2.1</version>
1452 <id>attach-sources</id>
1453 <phase>verify</phase>
1455 <goal>jar-no-fork</goal>
1461 <artifactId>maven-surefire-plugin</artifactId>
1462 <version>2.22.2</version>
1464 <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1465 <trimStackTrace>false</trimStackTrace>
1469 <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1471 <groupId>org.basepom.maven</groupId>
1472 <artifactId>duplicate-finder-maven-plugin</artifactId>
1473 <version>1.5.0</version>
1477 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1478 <artifactId>echo-maven-plugin</artifactId>
1479 <version>1.3.2</version>
1483 <groupId>org.apache.felix</groupId>
1484 <artifactId>maven-bundle-plugin</artifactId>
1485 <version>5.1.2</version>
1486 <extensions>true</extensions>
1489 <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1490 so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1491 and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present. -->
1492 <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>
1494 <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1495 to generate Import-Service and Export-Service headers. -->
1496 <_removeheaders>Import-Service,Export-Service</_removeheaders>
1502 <groupId>org.apache.karaf.tooling</groupId>
1503 <artifactId>karaf-maven-plugin</artifactId>
1504 <version>${karaf.version}</version>
1505 <extensions>true</extensions>
1509 <groupId>org.apache.servicemix.tooling</groupId>
1510 <artifactId>depends-maven-plugin</artifactId>
1511 <version>1.4.0</version>
1514 <id>generate-depends-file</id>
1516 <goal>generate-depends-file</goal>
1523 <groupId>com.webcohesion.enunciate</groupId>
1524 <artifactId>enunciate-maven-plugin</artifactId>
1525 <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1526 <version>2.13.3</version>
1530 <groupId>org.gaul</groupId>
1531 <artifactId>modernizer-maven-plugin</artifactId>
1532 <version>2.2.0</version>
1534 <javaVersion>${odlparent.modernizer.target}</javaVersion>
1535 <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1536 <skip>${odlparent.modernizer.skip}</skip>
1539 <!-- We are using Guava as per normal and we have grown a large body of code
1540 around the patterns there. Furthermore the suggested replacements have
1541 different behavior, hence we do NOT want to blindly migrate. Examples
1544 - ImmutableCollection et al. are not just implementation details, they
1545 form an API contract.
1546 - ImmutableMap/ImmutableSet retain iteration order, whereas their
1547 Map.of()/Set.of() counterparts have unstable iteration order (by design)
1549 <exclusionPattern>com/google/common/collect/Immutable.*</exclusionPattern>
1550 </exclusionPatterns>
1556 <phase>verify</phase>
1558 <goal>modernizer</goal>
1565 <groupId>org.apache.karaf.tooling</groupId>
1566 <artifactId>karaf-services-maven-plugin</artifactId>
1567 <version>${karaf.version}</version>
1570 <id>service-metadata-generate</id>
1571 <phase>process-classes</phase>
1573 <goal>service-metadata-generate</goal>
1580 <groupId>com.github.spotbugs</groupId>
1581 <artifactId>spotbugs-maven-plugin</artifactId>
1582 <version>3.1.12.2</version>
1585 <groupId>com.github.spotbugs</groupId>
1586 <artifactId>spotbugs</artifactId>
1587 <version>3.1.12</version>
1590 <groupId>org.opendaylight.odlparent</groupId>
1591 <artifactId>spotbugs</artifactId>
1592 <version>10.0.0-SNAPSHOT</version>
1595 <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
1596 <groupId>org.slf4j</groupId>
1597 <artifactId>slf4j-simple</artifactId>
1598 <version>1.8.0-beta2</version>
1604 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1605 <artifactId>bug-pattern</artifactId>
1606 <version>1.5.0</version>
1610 Enables analysis which takes more memory but finds more bugs.
1611 If you run out of memory, changes the value of the effort element
1614 <effort>Max</effort>
1615 <!-- Reports all bugs (other values are medium and max) -->
1616 <threshold>Low</threshold>
1617 <!-- Build doesn't fail if problems are found -->
1618 <failOnError>${odlparent.spotbugs.enforce}</failOnError>
1619 <skip>${odlparent.spotbugs.skip}</skip>
1620 <!-- References the excluded rules -->
1621 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1622 <!-- Produces XML report -->
1623 <xmlOutput>true</xmlOutput>
1624 <!-- Configures the directory in which the XML report is created -->
1625 <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1629 Ensures that SpotBugs inspects source code when project is compiled.
1632 <id>analyze-compile</id>
1633 <phase>compile</phase>
1641 <groupId>org.codehaus.mojo</groupId>
1642 <artifactId>properties-maven-plugin</artifactId>
1643 <version>1.0.0</version>
1646 <groupId>org.eclipse.xtend</groupId>
1647 <artifactId>xtend-maven-plugin</artifactId>
1648 <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1649 <version>2.25.0</version>
1653 <goal>compile</goal>
1654 <goal>testCompile</goal>
1657 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1658 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1664 <groupId>org.eclipse.m2e</groupId>
1665 <artifactId>lifecycle-mapping</artifactId>
1666 <version>1.0.0</version>
1668 <lifecycleMappingMetadata>
1671 <pluginExecutionFilter>
1672 <groupId>org.apache.felix</groupId>
1673 <artifactId>maven-bundle-plugin</artifactId>
1674 <versionRange>[1.0,)</versionRange>
1676 <goal>manifest</goal>
1678 </pluginExecutionFilter>
1684 <pluginExecutionFilter>
1685 <groupId>org.apache.maven.plugins</groupId>
1686 <artifactId>maven-enforcer-plugin</artifactId>
1687 <versionRange>[1.0.0,)</versionRange>
1689 <goal>enforce</goal>
1691 </pluginExecutionFilter>
1697 <pluginExecutionFilter>
1698 <groupId>org.apache.maven.plugins</groupId>
1699 <artifactId>maven-dependency-plugin</artifactId>
1700 <versionRange>[2.10,)</versionRange>
1704 </pluginExecutionFilter>
1710 <pluginExecutionFilter>
1711 <groupId>org.apache.maven.plugins</groupId>
1712 <artifactId>maven-pmd-plugin</artifactId>
1713 <versionRange>[3.6,)</versionRange>
1715 <goal>cpd-check</goal>
1717 </pluginExecutionFilter>
1722 <!-- The plugin will eventually be removed, remove this too at that point -->
1724 <pluginExecutionFilter>
1725 <groupId>org.apache.maven.plugins</groupId>
1726 <artifactId>maven-antrun-plugin</artifactId>
1727 <versionRange>[1.8,)</versionRange>
1731 </pluginExecutionFilter>
1737 <pluginExecutionFilter>
1738 <groupId>org.apache.servicemix.tooling</groupId>
1739 <artifactId>depends-maven-plugin</artifactId>
1740 <versionRange>[1.2,)</versionRange>
1742 <goal>generate-depends-file</goal>
1744 </pluginExecutionFilter>
1750 <pluginExecutionFilter>
1751 <groupId>org.jacoco</groupId>
1752 <artifactId>jacoco-maven-plugin</artifactId>
1753 <versionRange>[0.7.0,)</versionRange>
1755 <goal>prepare-agent</goal>
1757 </pluginExecutionFilter>
1764 <pluginExecutionFilter>
1765 <groupId>org.ops4j.pax.exam</groupId>
1766 <artifactId>maven-paxexam-plugin</artifactId>
1767 <versionRange>[1.2.4,)</versionRange>
1769 <goal>generate-depends-file</goal>
1771 </pluginExecutionFilter>
1778 <pluginExecutionFilter>
1779 <groupId>org.basepom.maven</groupId>
1781 duplicate-finder-maven-plugin
1783 <versionRange>[1.2.1,)</versionRange>
1787 </pluginExecutionFilter>
1793 </lifecycleMappingMetadata>
1798 <groupId>org.jacoco</groupId>
1799 <artifactId>jacoco-maven-plugin</artifactId>
1801 <!-- Note: This exclusion list should match <sonar.exclusions>
1804 <exclude>**/gen/**</exclude>
1805 <exclude>**/generated-sources/**</exclude>
1806 <exclude>**/generated-test-sources/**</exclude>
1807 <exclude>**/yang-gen/**</exclude>
1808 <exclude>**/yang-gen-config/**</exclude>
1809 <exclude>**/yang-gen-sal/**</exclude>
1810 <exclude>**/yang-gen-code/**</exclude>
1811 <exclude>**/pax/**</exclude>
1817 <groupId>org.ops4j.pax.exam</groupId>
1818 <artifactId>maven-paxexam-plugin</artifactId>
1819 <version>1.2.4</version>
1822 <!-- When updating this version, consider antl4-runtime above -->
1824 <groupId>org.antlr</groupId>
1825 <artifactId>antlr4-maven-plugin</artifactId>
1826 <version>4.9.3</version>
1833 <artifactId>maven-enforcer-plugin</artifactId>
1836 <id>enforce-banned-dependencies</id>
1838 <goal>enforce</goal>
1842 <bannedDependencies>
1843 <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>
1845 <exclude>org.mockito:mockito-all</exclude>
1846 <exclude>com.google.code.findbugs:annotations</exclude>
1848 </bannedDependencies>
1856 <groupId>org.basepom.maven</groupId>
1857 <artifactId>duplicate-finder-maven-plugin</artifactId>
1860 <id>find-duplicate-classpath-entries</id>
1861 <phase>verify</phase>
1868 <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1869 <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1870 <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1871 <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1872 <printEqualFiles>false</printEqualFiles>
1874 <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1875 as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1876 we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1878 <ignoredResourcePatterns>
1879 <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1880 <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1881 <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1882 <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1883 <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1884 <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1885 <ignoredResourcePattern>.api_description</ignoredResourcePattern>
1886 </ignoredResourcePatterns>
1887 <ignoredDependencies>
1889 <groupId>org.slf4j</groupId>
1890 <artifactId>slf4j-simple</artifactId>
1891 </ignoredDependency>
1893 <groupId>org.opendaylight.odlparent</groupId>
1894 <artifactId>opendaylight-karaf-empty</artifactId>
1895 </ignoredDependency>
1896 </ignoredDependencies>
1900 <artifactId>maven-dependency-plugin</artifactId>
1903 <artifactId>maven-checkstyle-plugin</artifactId>
1906 <artifactId>maven-pmd-plugin</artifactId>
1909 <artifactId>maven-source-plugin</artifactId>
1912 <artifactId>maven-javadoc-plugin</artifactId>
1915 <groupId>org.gaul</groupId>
1916 <artifactId>modernizer-maven-plugin</artifactId>
1919 <groupId>com.github.spotbugs</groupId>
1920 <artifactId>spotbugs-maven-plugin</artifactId>
1923 <!-- Jacoco / Sonar -->
1925 <groupId>org.jacoco</groupId>
1926 <artifactId>jacoco-maven-plugin</artifactId>
1929 <id>pre-unit-test</id>
1931 <goal>prepare-agent</goal>
1944 <groupId>org.opendaylight.odlparent</groupId>
1945 <artifactId>copy-files-plugin</artifactId>
1946 <version>10.0.0-SNAPSHOT</version>
1949 <phase>prepare-package</phase>
1951 <goal>copy-files</goal>
1955 <glob>README*</glob>
1956 <glob>CONTRIBUTING*</glob>
1957 <glob>PROJECT_INFO.yaml</glob>
1968 <id>disable-spotbugs</id>
1970 <!-- Current spotbugs does not support JDK15+ -->
1975 <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
1981 <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1982 <artifactId>echo-maven-plugin</artifactId>
1985 <id>UNTESTED-JDK</id>
1991 <message>Running on JDK newer than 11, which is not supported. Skipping SpotBugs execution.</message>
2004 <artifactId>maven-checkstyle-plugin</artifactId>
2005 <version>3.1.0</version>
2008 <!-- FIXME: activate this
2010 <artifactId>maven-project-info-reports-plugin</artifactId>
2013 <groupId>org.codehaus.mojo</groupId>
2014 <artifactId>jdepend-maven-plugin</artifactId>
2018 <report>generate-no-fork</report>