Bump awaitility to 4.1.1
[odlparent.git] / odlparent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
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
9 -->
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>
12
13   <parent>
14     <groupId>org.opendaylight.odlparent</groupId>
15     <artifactId>odlparent-lite</artifactId>
16     <version>9.0.9-SNAPSHOT</version>
17     <relativePath>../odlparent-lite</relativePath>
18   </parent>
19
20   <artifactId>odlparent</artifactId>
21   <packaging>pom</packaging>
22   <name>ODL :: odlparent :: ${project.artifactId}</name>
23
24   <scm>
25     <connection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</connection>
26     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/odlparent.git</developerConnection>
27     <tag>HEAD</tag>
28     <url>https://wiki.opendaylight.org/display/ODL/ODL+Root+Parent</url>
29   </scm>
30
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. -->
36   <properties>
37     <nexus.repository.release>opendaylight.release</nexus.repository.release>
38     <nexus.repository.snapshot>opendaylight.snapshot</nexus.repository.snapshot>
39
40     <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
41     <karaf.version>4.3.3</karaf.version>
42
43     <!-- Supporting Libraries -->
44     <!-- Only used internally -->
45     <bouncycastle.version>1.69</bouncycastle.version>
46
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>
51
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>
56
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>
59
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 -->
63
64     <!-- Redirect test output to files (overridable) -->
65     <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
66
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>
71
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>
76
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>
81
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>
86
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>
91
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>
96   </properties>
97
98   <dependencyManagement>
99     <dependencies>
100
101       <dependency>
102         <groupId>org.opendaylight.odlparent</groupId>
103         <artifactId>odlparent-artifacts</artifactId>
104         <version>9.0.9-SNAPSHOT</version>
105         <scope>import</scope>
106         <type>pom</type>
107       </dependency>
108
109       <!-- We import the Karaf BOM to ensure we converge by default on the versions used there -->
110       <dependency>
111         <groupId>org.apache.karaf</groupId>
112         <artifactId>karaf-bom</artifactId>
113         <version>${karaf.version}</version>
114         <scope>import</scope>
115         <type>pom</type>
116       </dependency>
117
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) -->
123       <dependency>
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>
128       </dependency>
129
130       <!-- Testing Dependencies -->
131       <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
132       <dependency>
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>
137         <scope>test</scope>
138       </dependency>
139       <dependency>
140          <groupId>org.skyscreamer</groupId>
141          <artifactId>jsonassert</artifactId>
142          <version>1.5.0</version>
143          <scope>test</scope>
144       </dependency>
145       <dependency>
146         <groupId>org.mockito</groupId>
147         <artifactId>mockito-core</artifactId>
148         <version>3.12.4</version>
149         <scope>test</scope>
150       </dependency>
151       <dependency>
152         <groupId>org.mockito</groupId>
153         <artifactId>mockito-inline</artifactId>
154         <version>3.12.4</version>
155         <scope>test</scope>
156       </dependency>
157       <dependency>
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>
162         <scope>test</scope>
163       </dependency>
164       <dependency>
165         <groupId>org.hamcrest</groupId>
166         <artifactId>hamcrest-core</artifactId>
167         <version>2.2</version>
168         <scope>test</scope>
169       </dependency>
170       <dependency>
171         <groupId>org.hamcrest</groupId>
172         <artifactId>hamcrest-library</artifactId>
173         <version>2.2</version>
174         <scope>test</scope>
175       </dependency>
176       <dependency>
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>
181         <scope>test</scope>
182       </dependency>
183       <dependency>
184         <groupId>com.google.truth.extensions</groupId>
185         <artifactId>truth-java8-extension</artifactId>
186         <version>1.1.3</version>
187         <scope>test</scope>
188       </dependency>
189       <dependency>
190         <groupId>org.awaitility</groupId>
191         <artifactId>awaitility</artifactId>
192         <version>4.1.1</version>
193         <scope>test</scope>
194       </dependency>
195       <dependency>
196         <groupId>org.powermock</groupId>
197         <artifactId>powermock-api-mockito2</artifactId>
198         <version>2.0.9</version>
199         <scope>test</scope>
200       </dependency>
201       <dependency>
202         <groupId>org.powermock</groupId>
203         <artifactId>powermock-api-support</artifactId>
204         <version>2.0.9</version>
205         <scope>test</scope>
206       </dependency>
207       <dependency>
208         <groupId>org.powermock</groupId>
209         <artifactId>powermock-core</artifactId>
210         <version>2.0.9</version>
211         <scope>test</scope>
212       </dependency>
213       <dependency>
214         <groupId>org.powermock</groupId>
215         <artifactId>powermock-module-junit4</artifactId>
216         <version>2.0.9</version>
217         <scope>test</scope>
218       </dependency>
219       <dependency>
220         <groupId>org.powermock</groupId>
221         <artifactId>powermock-reflect</artifactId>
222         <version>2.0.9</version>
223         <scope>test</scope>
224       </dependency>
225
226       <!--
227            Annotation Processors
228        -->
229       <dependency>
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>
238       </dependency>
239
240       <dependency>
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>
248       </dependency>
249
250       <!--
251            Supporting Libraries
252        -->
253       <dependency>
254         <groupId>ch.qos.logback</groupId>
255         <artifactId>logback-core</artifactId>
256         <version>1.2.5</version>
257       </dependency>
258       <dependency>
259         <groupId>ch.qos.logback</groupId>
260         <artifactId>logback-classic</artifactId>
261         <version>1.2.5</version>
262       </dependency>
263
264       <!-- log4j2 -->
265       <dependency>
266         <groupId>org.apache.logging.log4j</groupId>
267         <artifactId>log4j-bom</artifactId>
268         <version>2.14.1</version>
269         <scope>import</scope>
270         <type>pom</type>
271       </dependency>
272
273       <dependency>
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>
278         <exclusions>
279           <exclusion>
280             <!-- Do not leak JSR305 onto the classpath by default -->
281             <groupId>com.google.code.findbugs</groupId>
282             <artifactId>jsr305</artifactId>
283           </exclusion>
284         </exclusions>
285       </dependency>
286       <dependency>
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>
291         <scope>test</scope>
292         <exclusions>
293           <exclusion>
294             <!-- Do not leak JSR305 onto the classpath by default -->
295             <groupId>com.google.code.findbugs</groupId>
296             <artifactId>jsr305</artifactId>
297           </exclusion>
298         </exclusions>
299       </dependency>
300       <dependency>
301         <groupId>org.checkerframework</groupId>
302         <artifactId>checker-qual</artifactId>
303         <version>3.8.0</version>
304       </dependency>
305       <dependency>
306         <groupId>com.google.errorprone</groupId>
307         <artifactId>error_prone_annotations</artifactId>
308         <version>2.5.1</version>
309       </dependency>
310
311       <dependency>
312         <groupId>commons-beanutils</groupId>
313         <artifactId>commons-beanutils</artifactId>
314         <version>1.9.4</version>
315       </dependency>
316       <dependency>
317         <groupId>org.apache.commons</groupId>
318         <artifactId>commons-lang3</artifactId>
319         <version>3.12.0</version>
320       </dependency>
321       <dependency>
322         <groupId>org.apache.commons</groupId>
323         <artifactId>commons-text</artifactId>
324         <version>1.9</version>
325       </dependency>
326       <dependency>
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>
331       </dependency>
332       <dependency>
333         <groupId>commons-codec</groupId>
334         <artifactId>commons-codec</artifactId>
335         <version>1.15</version>
336       </dependency>
337       <!-- Jersey for JAXRS -->
338       <dependency>
339         <groupId>javax.ws.rs</groupId>
340         <artifactId>javax.ws.rs-api</artifactId>
341         <version>2.1.1</version>
342       </dependency>
343       <dependency>
344         <groupId>org.glassfish.jersey</groupId>
345         <artifactId>jersey-bom</artifactId>
346         <version>2.27</version>
347         <type>pom</type>
348         <scope>import</scope>
349       </dependency>
350
351       <dependency>
352         <groupId>jakarta.activation</groupId>
353         <artifactId>jakarta.activation-api</artifactId>
354         <version>1.2.2</version>
355       </dependency>
356
357       <dependency>
358         <groupId>javax.annotation</groupId>
359         <artifactId>javax.annotation-api</artifactId>
360         <version>1.3.1</version>
361         <optional>true</optional>
362       </dependency>
363       <dependency>
364         <groupId>xml-apis</groupId>
365         <artifactId>xml-apis</artifactId>
366         <version>1.4.01</version>
367       </dependency>
368
369       <!-- Plugin integration -->
370       <dependency>
371         <groupId>net.java.dev.stax-utils</groupId>
372         <artifactId>stax-utils</artifactId>
373         <version>20070216</version>
374         <exclusions>
375           <exclusion>
376             <!-- JSR173 ships with JRE by default -->
377             <groupId>com.bea.xml</groupId>
378             <artifactId>jsr173-ri</artifactId>
379           </exclusion>
380         </exclusions>
381       </dependency>
382       <dependency>
383         <groupId>org.sonatype.plexus</groupId>
384         <artifactId>plexus-build-api</artifactId>
385         <version>0.0.7</version>
386       </dependency>
387       <dependency>
388         <groupId>org.codehaus.plexus</groupId>
389         <artifactId>plexus-slf4j-logging</artifactId>
390         <version>1.1</version>
391       </dependency>
392
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
396         -->
397       <dependency>
398         <groupId>org.codehaus.woodstox</groupId>
399         <artifactId>stax2-api</artifactId>
400         <version>4.2.1</version>
401       </dependency>
402       <dependency>
403         <groupId>com.fasterxml.woodstox</groupId>
404         <artifactId>woodstox-core</artifactId>
405         <version>6.2.6</version>
406       </dependency>
407       <dependency>
408         <groupId>com.fasterxml.jackson</groupId>
409         <artifactId>jackson-bom</artifactId>
410         <version>2.12.5</version>
411         <scope>import</scope>
412         <type>pom</type>
413       </dependency>
414
415       <dependency>
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>
422         <exclusions>
423           <exclusion>
424             <groupId>com.google.code.findbugs</groupId>
425             <artifactId>jsr305</artifactId>
426           </exclusion>
427         </exclusions>
428       </dependency>
429
430       <dependency>
431         <groupId>org.eclipse.jdt</groupId>
432         <artifactId>org.eclipse.jdt.annotation</artifactId>
433         <version>2.2.600</version>
434         <scope>provided</scope>
435       </dependency>
436       <dependency>
437         <groupId>com.google.code.gson</groupId>
438         <artifactId>gson</artifactId>
439         <version>2.8.8</version>
440       </dependency>
441       <dependency>
442         <groupId>commons-fileupload</groupId>
443         <artifactId>commons-fileupload</artifactId>
444         <version>1.4</version>
445       </dependency>
446       <dependency>
447         <groupId>commons-io</groupId>
448         <artifactId>commons-io</artifactId>
449         <version>2.11.0</version>
450       </dependency>
451       <dependency>
452         <groupId>commons-net</groupId>
453         <artifactId>commons-net</artifactId>
454         <version>3.8.0</version>
455       </dependency>
456
457       <!-- Netty -->
458       <dependency>
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>
463         <type>pom</type>
464         <scope>import</scope>
465       </dependency>
466
467       <dependency>
468         <groupId>javax.ws.rs</groupId>
469         <artifactId>jsr311-api</artifactId>
470         <version>1.1.1</version>
471       </dependency>
472       <dependency>
473         <groupId>org.bouncycastle</groupId>
474         <artifactId>bcpkix-jdk15on</artifactId>
475         <version>${bouncycastle.version}</version>
476       </dependency>
477       <dependency>
478         <groupId>org.bouncycastle</groupId>
479         <artifactId>bcprov-jdk15on</artifactId>
480         <version>${bouncycastle.version}</version>
481       </dependency>
482       <dependency>
483         <groupId>org.bouncycastle</groupId>
484         <artifactId>bcprov-ext-jdk15on</artifactId>
485         <version>${bouncycastle.version}</version>
486       </dependency>
487       <dependency>
488         <groupId>org.bouncycastle</groupId>
489         <artifactId>bcutil-jdk15on</artifactId>
490         <version>${bouncycastle.version}</version>
491       </dependency>
492
493       <dependency>
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>
498       </dependency>
499
500       <dependency>
501         <groupId>org.javassist</groupId>
502         <artifactId>javassist</artifactId>
503         <version>3.27.0-GA</version>
504       </dependency>
505       <dependency>
506         <groupId>org.jboss.spec.javax.transaction</groupId>
507         <artifactId>jboss-transaction-api_1.1_spec</artifactId>
508         <version>1.0.1.Final</version>
509       </dependency>
510       <dependency>
511         <groupId>org.jolokia</groupId>
512         <artifactId>jolokia-osgi</artifactId>
513         <version>1.7.1</version>
514       </dependency>
515
516       <!--
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.
523       -->
524
525       <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.core/layout.bnd -->
526       <dependency>
527         <groupId>org.osgi</groupId>
528         <artifactId>osgi.core</artifactId>
529         <version>7.0.0</version>
530         <scope>provided</scope>
531       </dependency>
532       <dependency>
533         <groupId>org.osgi</groupId>
534         <artifactId>org.osgi.dto</artifactId>
535         <version>1.1.1</version>
536         <scope>provided</scope>
537       </dependency>
538       <dependency>
539         <groupId>org.osgi</groupId>
540         <artifactId>org.osgi.resource</artifactId>
541         <version>1.0.0</version>
542         <scope>provided</scope>
543       </dependency>
544       <dependency>
545         <groupId>org.osgi</groupId>
546         <artifactId>org.osgi.framework</artifactId>
547         <version>1.9.0</version>
548         <scope>provided</scope>
549       </dependency>
550       <dependency>
551         <groupId>org.osgi</groupId>
552         <artifactId>org.osgi.service.permissionadmin</artifactId>
553         <version>1.2.1</version>
554         <scope>provided</scope>
555       </dependency>
556       <dependency>
557         <groupId>org.osgi</groupId>
558         <artifactId>org.osgi.service.condpermadmin</artifactId>
559         <version>1.1.1</version>
560         <scope>provided</scope>
561       </dependency>
562       <dependency>
563         <groupId>org.osgi</groupId>
564         <artifactId>org.osgi.service.packageadmin</artifactId>
565         <version>1.2.0</version>
566         <scope>provided</scope>
567       </dependency>
568       <dependency>
569         <groupId>org.osgi</groupId>
570         <artifactId>org.osgi.service.startlevel</artifactId>
571         <version>1.1.0</version>
572         <scope>provided</scope>
573       </dependency>
574       <dependency>
575         <groupId>org.osgi</groupId>
576         <artifactId>org.osgi.service.resolver</artifactId>
577         <version>1.1.0</version>
578         <scope>provided</scope>
579       </dependency>
580       <dependency>
581         <groupId>org.osgi</groupId>
582         <artifactId>org.osgi.service.url</artifactId>
583         <version>1.0.0</version>
584         <scope>provided</scope>
585       </dependency>
586       <dependency>
587         <groupId>org.osgi</groupId>
588         <artifactId>org.osgi.util.tracker</artifactId>
589         <version>1.5.2</version>
590         <scope>provided</scope>
591       </dependency>
592
593       <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.annotation/layout.bnd -->
594       <dependency>
595         <groupId>org.osgi</groupId>
596         <artifactId>osgi.annotation</artifactId>
597         <version>7.0.0</version>
598         <scope>provided</scope>
599       </dependency>
600       <dependency>
601         <groupId>org.osgi</groupId>
602         <artifactId>org.osgi.annotation.versioning</artifactId>
603         <version>1.0.0</version>
604         <scope>provided</scope>
605       </dependency>
606       <dependency>
607         <groupId>org.osgi</groupId>
608         <artifactId>org.osgi.annotation.bundle</artifactId>
609         <version>1.0.0</version>
610         <scope>provided</scope>
611       </dependency>
612
613       <!-- This legacy is defined in https://github.com/osgi/osgi/blob/r7-cmpn-spec-final/osgi.cmpn/layout.bnd -->
614       <dependency>
615         <groupId>org.osgi</groupId>
616         <artifactId>osgi.cmpn</artifactId>
617         <version>7.0.0</version>
618         <scope>provided</scope>
619       </dependency>
620       <dependency>
621         <groupId>org.osgi</groupId>
622         <artifactId>org.osgi.application</artifactId>
623         <version>1.0.0</version>
624         <scope>provided</scope>
625       </dependency>
626       <dependency>
627         <groupId>org.osgi</groupId>
628         <artifactId>org.osgi.namespace.contract</artifactId>
629         <version>1.0.0</version>
630         <scope>provided</scope>
631       </dependency>
632       <dependency>
633         <groupId>org.osgi</groupId>
634         <artifactId>org.osgi.namespace.extender</artifactId>
635         <version>1.0.1</version>
636         <scope>provided</scope>
637       </dependency>
638       <dependency>
639         <groupId>org.osgi</groupId>
640         <artifactId>org.osgi.namespace.implementation</artifactId>
641         <version>1.0.0</version>
642         <scope>provided</scope>
643       </dependency>
644       <dependency>
645         <groupId>org.osgi</groupId>
646         <artifactId>org.osgi.namespace.service</artifactId>
647         <version>1.0.0</version>
648         <scope>provided</scope>
649       </dependency>
650       <dependency>
651         <groupId>org.osgi</groupId>
652         <artifactId>org.osgi.namespace.unresolvable</artifactId>
653         <version>1.0.0</version>
654         <scope>provided</scope>
655       </dependency>
656       <dependency>
657         <groupId>org.osgi</groupId>
658         <artifactId>org.osgi.service.async</artifactId>
659         <version>1.0.0</version>
660         <scope>provided</scope>
661       </dependency>
662       <dependency>
663         <groupId>org.osgi</groupId>
664         <artifactId>org.osgi.service.application</artifactId>
665         <version>1.1.0</version>
666         <scope>provided</scope>
667       </dependency>
668       <dependency>
669         <groupId>org.osgi</groupId>
670         <artifactId>org.osgi.service.blueprint</artifactId>
671         <version>1.0.2</version>
672         <scope>provided</scope>
673       </dependency>
674       <!-- This is not published until R8>
675       <dependency>
676         <groupId>org.osgi</groupId>
677         <artifactId>org.osgi.service.cdi</artifactId>
678         <version>1.0.0</version>
679         <scope>provided</scope>
680       </dependency -->
681       <dependency>
682         <groupId>org.osgi</groupId>
683         <artifactId>org.osgi.service.clusterinfo</artifactId>
684         <version>1.0.0</version>
685         <scope>provided</scope>
686       </dependency>
687       <dependency>
688         <groupId>org.osgi</groupId>
689         <artifactId>org.osgi.service.cm</artifactId>
690         <version>1.6.0</version>
691         <scope>provided</scope>
692       </dependency>
693       <dependency>
694         <groupId>org.osgi</groupId>
695         <artifactId>org.osgi.service.component</artifactId>
696         <version>1.4.0</version>
697         <scope>provided</scope>
698       </dependency>
699       <dependency>
700         <groupId>org.osgi</groupId>
701         <artifactId>org.osgi.service.component.annotations</artifactId>
702         <version>1.4.0</version>
703         <scope>provided</scope>
704       </dependency>
705       <dependency>
706         <groupId>org.osgi</groupId>
707         <artifactId>org.osgi.service.configurator</artifactId>
708         <version>1.0.0</version>
709         <scope>provided</scope>
710       </dependency>
711       <dependency>
712         <groupId>org.osgi</groupId>
713         <artifactId>org.osgi.service.coordinator</artifactId>
714         <version>1.0.2</version>
715         <scope>provided</scope>
716       </dependency>
717       <dependency>
718         <groupId>org.osgi</groupId>
719         <artifactId>org.osgi.service.deploymentadmin</artifactId>
720         <version>1.1.0</version>
721         <scope>provided</scope>
722       </dependency>
723       <dependency>
724         <groupId>org.osgi</groupId>
725         <artifactId>org.osgi.service.device</artifactId>
726         <version>1.1.0</version>
727         <scope>provided</scope>
728       </dependency>
729       <dependency>
730         <groupId>org.osgi</groupId>
731         <artifactId>org.osgi.service.dmt</artifactId>
732         <version>2.0.2</version>
733         <scope>provided</scope>
734       </dependency>
735       <dependency>
736         <groupId>org.osgi</groupId>
737         <artifactId>org.osgi.service.event</artifactId>
738         <version>1.4.0</version>
739         <scope>provided</scope>
740       </dependency>
741       <dependency>
742         <groupId>org.osgi</groupId>
743         <artifactId>org.osgi.service.http</artifactId>
744         <version>1.2.1</version>
745         <scope>provided</scope>
746       </dependency>
747       <dependency>
748         <groupId>org.osgi</groupId>
749         <artifactId>org.osgi.service.http.whiteboard</artifactId>
750         <version>1.1.0</version>
751         <scope>provided</scope>
752       </dependency>
753       <dependency>
754         <groupId>org.osgi</groupId>
755         <artifactId>org.osgi.service.io</artifactId>
756         <version>1.0.0</version>
757         <scope>provided</scope>
758       </dependency>
759       <dependency>
760         <groupId>org.osgi</groupId>
761         <artifactId>org.osgi.service.jaxrs</artifactId>
762         <version>1.0.0</version>
763         <scope>provided</scope>
764       </dependency>
765       <dependency>
766         <groupId>org.osgi</groupId>
767         <artifactId>org.osgi.service.jdbc</artifactId>
768         <version>1.0.0</version>
769         <scope>provided</scope>
770       </dependency>
771       <dependency>
772         <groupId>org.osgi</groupId>
773         <artifactId>org.osgi.service.jndi</artifactId>
774         <version>1.0.0</version>
775         <scope>provided</scope>
776       </dependency>
777       <dependency>
778         <groupId>org.osgi</groupId>
779         <artifactId>org.osgi.service.jpa</artifactId>
780         <version>1.0.0</version>
781         <scope>provided</scope>
782       </dependency>
783       <dependency>
784         <groupId>org.osgi</groupId>
785         <artifactId>org.osgi.service.log</artifactId>
786         <version>1.4.0</version>
787         <scope>provided</scope>
788       </dependency>
789       <dependency>
790         <groupId>org.osgi</groupId>
791         <artifactId>org.osgi.service.metatype</artifactId>
792         <version>1.4.0</version>
793         <scope>provided</scope>
794       </dependency>
795       <dependency>
796         <groupId>org.osgi</groupId>
797         <artifactId>org.osgi.service.metatype.annotations</artifactId>
798         <version>1.4.0</version>
799         <scope>provided</scope>
800       </dependency>
801       <dependency>
802         <groupId>org.osgi</groupId>
803         <artifactId>org.osgi.service.monitor</artifactId>
804         <version>1.0.0</version>
805         <scope>provided</scope>
806       </dependency>
807       <dependency>
808         <groupId>org.osgi</groupId>
809         <artifactId>org.osgi.service.prefs</artifactId>
810         <version>1.1.1</version>
811         <scope>provided</scope>
812       </dependency>
813       <dependency>
814         <groupId>org.osgi</groupId>
815         <artifactId>org.osgi.service.provisioning</artifactId>
816         <version>1.2.0</version>
817         <scope>provided</scope>
818       </dependency>
819       <dependency>
820         <groupId>org.osgi</groupId>
821         <artifactId>org.osgi.service.remoteserviceadmin</artifactId>
822         <version>1.1.0</version>
823         <scope>provided</scope>
824       </dependency>
825       <dependency>
826         <groupId>org.osgi</groupId>
827         <artifactId>org.osgi.service.repository</artifactId>
828         <version>1.1.0</version>
829         <scope>provided</scope>
830       </dependency>
831       <dependency>
832         <groupId>org.osgi</groupId>
833         <artifactId>org.osgi.service.rest</artifactId>
834         <version>1.0.0</version>
835         <scope>provided</scope>
836       </dependency>
837       <dependency>
838         <groupId>org.osgi</groupId>
839         <artifactId>org.osgi.service.serviceloader</artifactId>
840         <version>1.0.0</version>
841         <scope>provided</scope>
842       </dependency>
843       <dependency>
844         <groupId>org.osgi</groupId>
845         <artifactId>org.osgi.service.subsystem</artifactId>
846         <version>1.1.0</version>
847         <scope>provided</scope>
848       </dependency>
849       <dependency>
850         <groupId>org.osgi</groupId>
851         <artifactId>org.osgi.service.transaction.control</artifactId>
852         <version>1.0.0</version>
853         <scope>provided</scope>
854       </dependency>
855       <dependency>
856         <groupId>org.osgi</groupId>
857         <artifactId>org.osgi.service.upnp</artifactId>
858         <version>1.2.0</version>
859         <scope>provided</scope>
860       </dependency>
861       <dependency>
862         <groupId>org.osgi</groupId>
863         <artifactId>org.osgi.service.useradmin</artifactId>
864         <version>1.1.0</version>
865         <scope>provided</scope>
866       </dependency>
867       <dependency>
868         <groupId>org.osgi</groupId>
869         <artifactId>org.osgi.service.wireadmin</artifactId>
870         <version>1.0.1</version>
871         <scope>provided</scope>
872       </dependency>
873       <dependency>
874         <groupId>org.osgi</groupId>
875         <artifactId>org.osgi.util.converter</artifactId>
876         <version>1.0.1</version>
877         <scope>provided</scope>
878       </dependency>
879       <dependency>
880         <groupId>org.osgi</groupId>
881         <artifactId>org.osgi.util.function</artifactId>
882         <version>1.1.0</version>
883         <scope>provided</scope>
884       </dependency>
885       <dependency>
886         <groupId>org.osgi</groupId>
887         <artifactId>org.osgi.util.measurement</artifactId>
888         <version>1.0.2</version>
889         <scope>provided</scope>
890       </dependency>
891       <dependency>
892         <groupId>org.osgi</groupId>
893         <artifactId>org.osgi.util.position</artifactId>
894         <version>1.0.1</version>
895         <scope>provided</scope>
896       </dependency>
897       <dependency>
898         <groupId>org.osgi</groupId>
899         <artifactId>org.osgi.util.promise</artifactId>
900         <version>1.1.1</version>
901         <scope>provided</scope>
902       </dependency>
903       <dependency>
904         <groupId>org.osgi</groupId>
905         <artifactId>org.osgi.util.pushstream</artifactId>
906         <version>1.0.1</version>
907         <scope>provided</scope>
908       </dependency>
909       <dependency>
910         <groupId>org.osgi</groupId>
911         <artifactId>org.osgi.util.xml</artifactId>
912         <version>1.0.1</version>
913         <scope>provided</scope>
914       </dependency>
915
916       <!-- for https://jira.opendaylight.org/browse/ODLPARENT-24 -->
917       <dependency>
918         <groupId>org.apache.aries.quiesce</groupId>
919         <artifactId>org.apache.aries.quiesce.api</artifactId>
920         <version>1.0.0</version>
921       </dependency>
922
923       <!-- LMAX Disruptor -->
924       <dependency>
925         <groupId>com.lmax</groupId>
926         <artifactId>disruptor</artifactId>
927         <version>3.4.4</version>
928       </dependency>
929
930       <!-- Add Pax Exam -->
931       <dependency>
932         <groupId>org.ops4j.pax.exam</groupId>
933         <artifactId>pax-exam</artifactId>
934         <version>4.13.4</version>
935         <scope>test</scope>
936       </dependency>
937       <dependency>
938         <groupId>org.ops4j.pax.exam</groupId>
939         <artifactId>pax-exam-container-forked</artifactId>
940         <version>4.13.4</version>
941         <scope>test</scope>
942       </dependency>
943       <dependency>
944         <groupId>org.ops4j.pax.exam</groupId>
945         <artifactId>pax-exam-container-karaf</artifactId>
946         <version>4.13.4</version>
947         <scope>test</scope>
948       </dependency>
949       <dependency>
950         <groupId>org.ops4j.pax.exam</groupId>
951         <artifactId>pax-exam-container-native</artifactId>
952         <version>4.13.4</version>
953         <scope>test</scope>
954       </dependency>
955       <dependency>
956         <groupId>org.ops4j.pax.exam</groupId>
957         <artifactId>pax-exam-extender-service</artifactId>
958         <version>4.13.4</version>
959         <scope>test</scope>
960       </dependency>
961       <dependency>
962         <groupId>org.ops4j.pax.exam</groupId>
963         <artifactId>pax-exam-inject</artifactId>
964         <version>4.13.4</version>
965         <scope>test</scope>
966       </dependency>
967       <dependency>
968         <groupId>org.ops4j.pax.exam</groupId>
969         <artifactId>pax-exam-invoker-junit</artifactId>
970         <version>4.13.4</version>
971         <scope>test</scope>
972       </dependency>
973       <dependency>
974         <groupId>org.ops4j.pax.exam</groupId>
975         <artifactId>pax-exam-features</artifactId>
976         <version>4.13.4</version>
977         <type>xml</type>
978         <scope>test</scope>
979       </dependency>
980       <dependency>
981         <groupId>org.ops4j.pax.exam</groupId>
982         <artifactId>pax-exam-junit4</artifactId>
983         <version>4.13.4</version>
984         <scope>test</scope>
985       </dependency>
986       <dependency>
987         <groupId>org.ops4j.pax.exam</groupId>
988         <artifactId>pax-exam-link-mvn</artifactId>
989         <version>4.13.4</version>
990         <scope>test</scope>
991       </dependency>
992       <dependency>
993         <groupId>org.ops4j.pax.exam</groupId>
994         <artifactId>pax-exam-link-assembly</artifactId>
995         <version>4.13.4</version>
996         <scope>test</scope>
997       </dependency>
998
999       <dependency>
1000         <groupId>org.ops4j.pax.url</groupId>
1001         <artifactId>pax-url-link</artifactId>
1002         <version>2.6.7</version>
1003         <scope>test</scope>
1004       </dependency>
1005       <dependency>
1006         <groupId>org.ops4j.pax.url</groupId>
1007         <artifactId>pax-url-aether</artifactId>
1008         <version>2.6.7</version>
1009         <scope>test</scope>
1010       </dependency>
1011       <dependency>
1012         <groupId>org.ops4j.pax.url</groupId>
1013         <artifactId>pax-url-wrap</artifactId>
1014         <version>2.6.7</version>
1015       </dependency>
1016
1017       <dependency>
1018         <groupId>org.springframework.osgi</groupId>
1019         <artifactId>spring-osgi-mock</artifactId>
1020         <version>1.2.1</version>
1021         <scope>test</scope>
1022       </dependency>
1023
1024       <dependency>
1025         <groupId>org.xmlunit</groupId>
1026         <artifactId>xmlunit-core</artifactId>
1027         <version>2.8.3</version>
1028         <scope>test</scope>
1029       </dependency>
1030       <dependency>
1031         <groupId>org.xmlunit</groupId>
1032         <artifactId>xmlunit-assertj</artifactId>
1033         <version>2.8.3</version>
1034         <scope>test</scope>
1035       </dependency>
1036       <dependency>
1037         <groupId>org.xmlunit</groupId>
1038         <artifactId>xmlunit-assertj3</artifactId>
1039         <version>2.8.3</version>
1040         <scope>test</scope>
1041       </dependency>
1042       <dependency>
1043         <groupId>org.xmlunit</groupId>
1044         <artifactId>xmlunit-matchers</artifactId>
1045         <version>2.8.3</version>
1046         <scope>test</scope>
1047       </dependency>
1048       <!-- FIXME: remove this once we have migrated over -->
1049       <dependency>
1050         <groupId>org.xmlunit</groupId>
1051         <artifactId>xmlunit-legacy</artifactId>
1052         <version>2.8.3</version>
1053         <scope>test</scope>
1054       </dependency>
1055
1056       <!-- Annotations for modernizer-maven-plugin -->
1057       <dependency>
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>
1063       </dependency>
1064
1065       <dependency>
1066         <groupId>org.eclipse.jetty</groupId>
1067         <artifactId>jetty-bom</artifactId>
1068         <version>9.4.43.v20210629</version>
1069         <scope>import</scope>
1070         <type>pom</type>
1071       </dependency>
1072
1073       <dependency>
1074         <groupId>com.h2database</groupId>
1075         <artifactId>h2</artifactId>
1076         <version>1.4.200</version>
1077       </dependency>
1078
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.)
1084        -->
1085       <dependency>
1086           <groupId>org.eclipse.xtend</groupId>
1087           <artifactId>org.eclipse.xtend.lib</artifactId>
1088           <version>2.25.0</version>
1089       </dependency>
1090       <dependency>
1091           <groupId>org.eclipse.xtend</groupId>
1092           <artifactId>org.eclipse.xtend.lib.macro</artifactId>
1093           <version>2.25.0</version>
1094       </dependency>
1095       <dependency>
1096           <groupId>org.eclipse.xtext</groupId>
1097           <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
1098           <version>2.25.0</version>
1099       </dependency>
1100
1101       <!-- Annotations -->
1102       <!-- A better alternative for javax.inject, from https://guicedee.com/ -->
1103       <dependency>
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>
1109       </dependency>
1110
1111       <!-- jung, a graph library -->
1112       <dependency>
1113         <groupId>net.sf.jung</groupId>
1114         <artifactId>jung-api</artifactId>
1115         <version>2.1.1</version>
1116       </dependency>
1117       <dependency>
1118         <groupId>net.sf.jung</groupId>
1119         <artifactId>jung-algorithms</artifactId>
1120         <version>2.1.1</version>
1121       </dependency>
1122       <dependency>
1123         <groupId>net.sf.jung</groupId>
1124         <artifactId>jung-graph-impl</artifactId>
1125         <version>2.1.1</version>
1126       </dependency>
1127
1128       <!-- ThreeTen-Extra, date/time complements -->
1129       <dependency>
1130         <groupId>org.threeten</groupId>
1131         <artifactId>threeten-extra</artifactId>
1132         <version>1.7.0</version>
1133       </dependency>
1134
1135       <!-- When updating this version, consider antl4-maven-plugin below -->
1136       <dependency>
1137         <groupId>org.antlr</groupId>
1138         <artifactId>antlr4-runtime</artifactId>
1139         <version>4.9.3</version>
1140       </dependency>
1141       <dependency>
1142         <groupId>org.apache.aries.blueprint</groupId>
1143         <artifactId>blueprint-maven-plugin-annotation</artifactId>
1144         <version>1.3.0</version>
1145         <optional>true</optional>
1146       </dependency>
1147
1148       <!-- TrieMap library -->
1149       <dependency>
1150         <groupId>tech.pantheon.triemap</groupId>
1151         <artifactId>bom</artifactId>
1152         <version>1.2.0</version>
1153         <scope>import</scope>
1154         <type>pom</type>
1155       </dependency>
1156
1157       <!-- Dropwizard metrics -->
1158       <dependency>
1159         <groupId>io.dropwizard.metrics</groupId>
1160         <artifactId>metrics-bom</artifactId>
1161         <version>4.1.25</version>
1162         <scope>import</scope>
1163         <type>pom</type>
1164       </dependency>
1165
1166     </dependencies>
1167   </dependencyManagement>
1168
1169   <dependencies>
1170     <!--
1171          We expect slf4j-api to be provided by the platform.
1172          Karaf provides it, other containers need to provide it themselves.
1173     -->
1174     <dependency>
1175       <groupId>org.slf4j</groupId>
1176       <artifactId>slf4j-api</artifactId>
1177       <scope>provided</scope>
1178     </dependency>
1179
1180     <!--
1181           Enable useful code quality annotations everywhere. Since these annotations
1182           are not required at runtime.
1183     -->
1184     <dependency>
1185       <groupId>org.eclipse.jdt</groupId>
1186       <artifactId>org.eclipse.jdt.annotation</artifactId>
1187       <scope>provided</scope>
1188     </dependency>
1189     <dependency>
1190       <groupId>com.github.spotbugs</groupId>
1191       <artifactId>spotbugs-annotations</artifactId>
1192       <scope>provided</scope>
1193       <optional>true</optional>
1194     </dependency>
1195     <dependency>
1196       <groupId>org.gaul</groupId>
1197       <artifactId>modernizer-maven-annotations</artifactId>
1198       <scope>provided</scope>
1199     </dependency>
1200
1201     <!--
1202           Testing output should be routed through slf4j-simple.
1203     -->
1204     <dependency>
1205       <groupId>org.slf4j</groupId>
1206       <artifactId>slf4j-simple</artifactId>
1207       <scope>test</scope>
1208     </dependency>
1209
1210     <!--
1211           Unit tests can use JUnit + Mockito + Hamcrest by default.
1212     -->
1213     <dependency>
1214       <groupId>org.hamcrest</groupId>
1215       <artifactId>hamcrest</artifactId>
1216       <scope>test</scope>
1217     </dependency>
1218     <dependency>
1219       <!-- This dependency needs to come before junit until we upgrade to JUnit 5. -->
1220       <groupId>org.hamcrest</groupId>
1221       <artifactId>hamcrest-library</artifactId>
1222       <scope>test</scope>
1223     </dependency>
1224     <dependency>
1225       <groupId>junit</groupId>
1226       <artifactId>junit</artifactId>
1227       <scope>test</scope>
1228     </dependency>
1229     <dependency>
1230       <groupId>org.mockito</groupId>
1231       <artifactId>mockito-core</artifactId>
1232       <scope>test</scope>
1233     </dependency>
1234   </dependencies>
1235
1236   <build>
1237     <pluginManagement>
1238       <plugins>
1239         <!-- Official maven plugins, alpha-sorted by artifactId.
1240              We do not need to specify the groupId. -->
1241         <plugin>
1242           <artifactId>maven-checkstyle-plugin</artifactId>
1243           <version>3.1.2</version>
1244           <dependencies>
1245             <dependency>
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>
1250             </dependency>
1251             <dependency>
1252               <groupId>org.opendaylight.odlparent</groupId>
1253               <artifactId>checkstyle</artifactId>
1254               <version>9.0.9-SNAPSHOT</version>
1255             </dependency>
1256             <dependency>
1257               <groupId>com.github.sevntu-checkstyle</groupId>
1258               <artifactId>sevntu-checks</artifactId>
1259               <version>1.40.0</version>
1260             </dependency>
1261           </dependencies>
1262           <configuration>
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 -->
1267             <sourceDirectories>
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>
1274             <excludes>
1275               org/opendaylight/yang/gen/**,
1276               **/protobuff/messages/**,
1277               **/thrift/gen/*.java,
1278               **/module-info.java
1279             </excludes>
1280             <failsOnError>false</failsOnError>
1281             <consoleOutput>true</consoleOutput>
1282           </configuration>
1283           <executions>
1284             <execution>
1285               <id>check-license</id>
1286               <goals>
1287                 <goal>check</goal>
1288               </goals>
1289               <phase>process-sources</phase>
1290               <configuration>
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>
1296                 <sourceDirectories>
1297                   <directory>${project.build.sourceDirectory}</directory>
1298                 </sourceDirectories>
1299                 <excludes>
1300                   org/opendaylight/yang/gen/**,
1301                   **/protobuff/messages/**,
1302                   **/thrift/gen/*.java
1303                 </excludes>
1304                 <failsOnError>false</failsOnError>
1305                 <consoleOutput>true</consoleOutput>
1306               </configuration>
1307             </execution>
1308             <execution>
1309               <goals>
1310                 <goal>check</goal>
1311               </goals>
1312               <phase>process-sources</phase>
1313               <configuration>
1314                 <failOnViolation>${odlparent.checkstyle.enforce}</failOnViolation>
1315                 <skip>${odlparent.checkstyle.skip}</skip>
1316                 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
1317               </configuration>
1318             </execution>
1319           </executions>
1320         </plugin>
1321         <plugin>
1322           <groupId>org.apache.maven.plugins</groupId>
1323           <artifactId>maven-pmd-plugin</artifactId>
1324           <version>3.14.0</version>
1325           <executions>
1326             <execution>
1327               <id>cpd</id>
1328               <phase>process-sources</phase>
1329               <goals>
1330                 <goal>cpd-check</goal>
1331               </goals>
1332               <configuration>
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>
1337                 <excludeRoots>
1338                   <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1339                   <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1340                 </excludeRoots>
1341                 <linkXRef>false</linkXRef>
1342               </configuration>
1343             </execution>
1344           </executions>
1345         </plugin>
1346         <plugin>
1347           <artifactId>maven-compiler-plugin</artifactId>
1348           <configuration>
1349             <showWarnings>true</showWarnings>
1350             <compilerArgs>
1351               <arg>-parameters</arg>
1352               <arg>-Xlint:all</arg>
1353               <!-- Disable 'No processor claimed any of these annotations' -->
1354               <arg>-Xlint:-processing</arg>
1355             </compilerArgs>
1356             <annotationProcessorPaths>
1357               <dependency>
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>
1362               </dependency>
1363               <dependency>
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>
1368               </dependency>
1369             </annotationProcessorPaths>
1370           </configuration>
1371         </plugin>
1372         <plugin>
1373           <artifactId>maven-failsafe-plugin</artifactId>
1374           <version>2.22.2</version>
1375         </plugin>
1376         <plugin>
1377           <artifactId>maven-invoker-plugin</artifactId>
1378           <version>3.2.2</version>
1379         </plugin>
1380         <plugin>
1381           <artifactId>maven-dependency-plugin</artifactId>
1382           <executions>
1383             <execution>
1384               <id>unpack-license</id>
1385               <phase>generate-resources</phase>
1386               <goals>
1387                 <goal>copy</goal>
1388               </goals>
1389               <configuration>
1390                 <artifactItems>
1391                   <artifactItem>
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>
1399                   </artifactItem>
1400                 </artifactItems>
1401                 <silent>true</silent>
1402               </configuration>
1403             </execution>
1404             <execution>
1405               <id>analyze-declarations</id>
1406               <goals>
1407                 <goal>analyze-only</goal>
1408               </goals>
1409               <configuration>
1410                 <failOnWarning>${odlparent.dependency.enforce}</failOnWarning>
1411                 <ignoreNonCompile>true</ignoreNonCompile>
1412                 <skip>${odlparent.dependency.skip}</skip>
1413               </configuration>
1414             </execution>
1415           </executions>
1416         </plugin>
1417
1418         <plugin>
1419           <artifactId>maven-plugin-plugin</artifactId>
1420           <version>3.6.1</version>
1421         </plugin>
1422
1423         <plugin>
1424           <artifactId>maven-remote-resources-plugin</artifactId>
1425           <version>1.7.0</version>
1426         </plugin>
1427         <plugin>
1428           <artifactId>maven-shade-plugin</artifactId>
1429           <version>3.2.4</version>
1430         </plugin>
1431         <plugin>
1432           <artifactId>maven-source-plugin</artifactId>
1433           <version>3.2.1</version>
1434           <executions>
1435             <execution>
1436               <id>attach-sources</id>
1437               <phase>verify</phase>
1438               <goals>
1439                 <goal>jar-no-fork</goal>
1440               </goals>
1441             </execution>
1442           </executions>
1443         </plugin>
1444         <plugin>
1445           <artifactId>maven-surefire-plugin</artifactId>
1446           <version>2.22.2</version>
1447           <configuration>
1448             <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1449             <trimStackTrace>false</trimStackTrace>
1450           </configuration>
1451         </plugin>
1452
1453         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1454         <plugin>
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 -->
1461           <dependencies>
1462             <dependency>
1463               <groupId>org.apache.xbean</groupId>
1464               <artifactId>xbean-finder-shaded</artifactId>
1465               <version>4.19</version>
1466             </dependency>
1467           </dependencies>
1468           <configuration>
1469             <scanPaths>
1470               <scanPath>${project.groupId}</scanPath>
1471             </scanPaths>
1472           </configuration>
1473           <executions>
1474             <execution>
1475               <goals>
1476                 <goal>blueprint-generate</goal>
1477               </goals>
1478             </execution>
1479           </executions>
1480         </plugin>
1481
1482         <plugin>
1483           <groupId>org.basepom.maven</groupId>
1484           <artifactId>duplicate-finder-maven-plugin</artifactId>
1485           <version>1.5.0</version>
1486         </plugin>
1487
1488         <plugin>
1489           <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1490           <artifactId>echo-maven-plugin</artifactId>
1491           <version>1.3.2</version>
1492         </plugin>
1493
1494         <plugin>
1495           <groupId>org.apache.felix</groupId>
1496           <artifactId>maven-bundle-plugin</artifactId>
1497           <version>5.1.2</version>
1498           <extensions>true</extensions>
1499           <configuration>
1500             <instructions>
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>
1505
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>
1509             </instructions>
1510           </configuration>
1511         </plugin>
1512
1513         <plugin>
1514           <groupId>org.apache.karaf.tooling</groupId>
1515           <artifactId>karaf-maven-plugin</artifactId>
1516           <version>${karaf.version}</version>
1517           <extensions>true</extensions>
1518         </plugin>
1519
1520         <plugin>
1521           <groupId>org.apache.servicemix.tooling</groupId>
1522           <artifactId>depends-maven-plugin</artifactId>
1523           <version>1.4.0</version>
1524           <executions>
1525             <execution>
1526               <id>generate-depends-file</id>
1527               <goals>
1528                 <goal>generate-depends-file</goal>
1529               </goals>
1530             </execution>
1531           </executions>
1532         </plugin>
1533
1534         <plugin>
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>
1539         </plugin>
1540
1541         <plugin>
1542           <groupId>org.gaul</groupId>
1543           <artifactId>modernizer-maven-plugin</artifactId>
1544           <version>2.2.0</version>
1545           <configuration>
1546             <javaVersion>${odlparent.modernizer.target}</javaVersion>
1547             <failOnViolations>${odlparent.modernizer.enforce}</failOnViolations>
1548             <skip>${odlparent.modernizer.skip}</skip>
1549
1550             <exclusionPatterns>
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
1554                    include:
1555
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)
1560               -->
1561               <exclusionPattern>com/google/common/collect/Immutable.*</exclusionPattern>
1562             </exclusionPatterns>
1563           </configuration>
1564
1565           <executions>
1566             <execution>
1567               <id>modernizer</id>
1568               <phase>verify</phase>
1569               <goals>
1570                 <goal>modernizer</goal>
1571               </goals>
1572             </execution>
1573           </executions>
1574         </plugin>
1575
1576         <plugin>
1577           <groupId>org.apache.karaf.tooling</groupId>
1578           <artifactId>karaf-services-maven-plugin</artifactId>
1579           <version>${karaf.version}</version>
1580           <executions>
1581             <execution>
1582               <id>service-metadata-generate</id>
1583               <phase>process-classes</phase>
1584               <goals>
1585                 <goal>service-metadata-generate</goal>
1586               </goals>
1587             </execution>
1588           </executions>
1589         </plugin>
1590
1591         <plugin>
1592           <groupId>com.github.spotbugs</groupId>
1593           <artifactId>spotbugs-maven-plugin</artifactId>
1594           <version>3.1.12.2</version>
1595           <dependencies>
1596             <dependency>
1597               <groupId>com.github.spotbugs</groupId>
1598               <artifactId>spotbugs</artifactId>
1599               <version>3.1.12</version>
1600             </dependency>
1601             <dependency>
1602               <groupId>org.opendaylight.odlparent</groupId>
1603               <artifactId>spotbugs</artifactId>
1604               <version>9.0.9-SNAPSHOT</version>
1605             </dependency>
1606             <dependency>
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>
1611             </dependency>
1612           </dependencies>
1613           <configuration>
1614             <plugins>
1615               <plugin>
1616                 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1617                 <artifactId>bug-pattern</artifactId>
1618                 <version>1.5.0</version>
1619               </plugin>
1620             </plugins>
1621             <!--
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
1624               to 'Low'.
1625             -->
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>
1638           </configuration>
1639           <executions>
1640             <!--
1641               Ensures that SpotBugs inspects source code when project is compiled.
1642             -->
1643             <execution>
1644               <id>analyze-compile</id>
1645               <phase>compile</phase>
1646               <goals>
1647                 <goal>check</goal>
1648               </goals>
1649             </execution>
1650           </executions>
1651         </plugin>
1652         <plugin>
1653           <groupId>org.codehaus.mojo</groupId>
1654           <artifactId>properties-maven-plugin</artifactId>
1655           <version>1.0.0</version>
1656         </plugin>
1657         <plugin>
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>
1662           <executions>
1663             <execution>
1664               <goals>
1665                 <goal>compile</goal>
1666                 <goal>testCompile</goal>
1667               </goals>
1668               <configuration>
1669                 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1670                 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1671               </configuration>
1672             </execution>
1673           </executions>
1674         </plugin>
1675         <plugin>
1676           <groupId>org.eclipse.m2e</groupId>
1677           <artifactId>lifecycle-mapping</artifactId>
1678           <version>1.0.0</version>
1679           <configuration>
1680             <lifecycleMappingMetadata>
1681               <pluginExecutions>
1682                 <pluginExecution>
1683                   <pluginExecutionFilter>
1684                     <groupId>org.apache.felix</groupId>
1685                     <artifactId>maven-bundle-plugin</artifactId>
1686                     <versionRange>[1.0,)</versionRange>
1687                     <goals>
1688                       <goal>manifest</goal>
1689                     </goals>
1690                   </pluginExecutionFilter>
1691                   <action>
1692                     <execute/>
1693                   </action>
1694                 </pluginExecution>
1695                 <pluginExecution>
1696                   <pluginExecutionFilter>
1697                     <groupId>org.apache.maven.plugins</groupId>
1698                     <artifactId>maven-enforcer-plugin</artifactId>
1699                     <versionRange>[1.0.0,)</versionRange>
1700                     <goals>
1701                       <goal>enforce</goal>
1702                     </goals>
1703                   </pluginExecutionFilter>
1704                   <action>
1705                     <ignore/>
1706                   </action>
1707                 </pluginExecution>
1708                 <pluginExecution>
1709                   <pluginExecutionFilter>
1710                     <groupId>org.apache.maven.plugins</groupId>
1711                     <artifactId>maven-dependency-plugin</artifactId>
1712                     <versionRange>[2.10,)</versionRange>
1713                     <goals>
1714                       <goal>copy</goal>
1715                     </goals>
1716                   </pluginExecutionFilter>
1717                   <action>
1718                     <ignore/>
1719                   </action>
1720                 </pluginExecution>
1721                 <pluginExecution>
1722                   <pluginExecutionFilter>
1723                     <groupId>org.apache.maven.plugins</groupId>
1724                     <artifactId>maven-pmd-plugin</artifactId>
1725                     <versionRange>[3.6,)</versionRange>
1726                     <goals>
1727                       <goal>cpd-check</goal>
1728                     </goals>
1729                   </pluginExecutionFilter>
1730                   <action>
1731                     <ignore/>
1732                   </action>
1733                 </pluginExecution>
1734                 <!-- The plugin will eventually be removed, remove this too at that point -->
1735                 <pluginExecution>
1736                   <pluginExecutionFilter>
1737                     <groupId>org.apache.maven.plugins</groupId>
1738                     <artifactId>maven-antrun-plugin</artifactId>
1739                     <versionRange>[1.8,)</versionRange>
1740                     <goals>
1741                       <goal>run</goal>
1742                     </goals>
1743                   </pluginExecutionFilter>
1744                   <action>
1745                     <ignore/>
1746                   </action>
1747                 </pluginExecution>
1748                 <pluginExecution>
1749                   <pluginExecutionFilter>
1750                     <groupId>org.apache.servicemix.tooling</groupId>
1751                     <artifactId>depends-maven-plugin</artifactId>
1752                     <versionRange>[1.2,)</versionRange>
1753                     <goals>
1754                       <goal>generate-depends-file</goal>
1755                     </goals>
1756                   </pluginExecutionFilter>
1757                   <action>
1758                     <execute/>
1759                   </action>
1760                 </pluginExecution>
1761                 <pluginExecution>
1762                   <pluginExecutionFilter>
1763                     <groupId>org.jacoco</groupId>
1764                     <artifactId>jacoco-maven-plugin</artifactId>
1765                     <versionRange>[0.7.0,)</versionRange>
1766                     <goals>
1767                       <goal>prepare-agent</goal>
1768                     </goals>
1769                   </pluginExecutionFilter>
1770                   <action>
1771                     <ignore/>
1772                   </action>
1773                 </pluginExecution>
1774
1775                 <pluginExecution>
1776                   <pluginExecutionFilter>
1777                     <groupId>org.ops4j.pax.exam</groupId>
1778                     <artifactId>maven-paxexam-plugin</artifactId>
1779                     <versionRange>[1.2.4,)</versionRange>
1780                     <goals>
1781                       <goal>generate-depends-file</goal>
1782                     </goals>
1783                   </pluginExecutionFilter>
1784                   <action>
1785                     <ignore/>
1786                   </action>
1787                 </pluginExecution>
1788
1789                 <pluginExecution>
1790                   <pluginExecutionFilter>
1791                     <groupId>org.basepom.maven</groupId>
1792                     <artifactId>
1793                       duplicate-finder-maven-plugin
1794                     </artifactId>
1795                     <versionRange>[1.2.1,)</versionRange>
1796                     <goals>
1797                       <goal>check</goal>
1798                     </goals>
1799                   </pluginExecutionFilter>
1800                   <action>
1801                     <ignore></ignore>
1802                   </action>
1803                 </pluginExecution>
1804               </pluginExecutions>
1805             </lifecycleMappingMetadata>
1806           </configuration>
1807         </plugin>
1808
1809         <plugin>
1810           <groupId>org.jacoco</groupId>
1811           <artifactId>jacoco-maven-plugin</artifactId>
1812           <configuration>
1813             <!-- Note: This exclusion list should match <sonar.exclusions>
1814                        property above -->
1815             <excludes>
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>
1824             </excludes>
1825           </configuration>
1826         </plugin>
1827
1828         <plugin>
1829           <groupId>org.ops4j.pax.exam</groupId>
1830           <artifactId>maven-paxexam-plugin</artifactId>
1831           <version>1.2.4</version>
1832         </plugin>
1833
1834         <!-- When updating this version, consider antl4-runtime above -->
1835         <plugin>
1836           <groupId>org.antlr</groupId>
1837           <artifactId>antlr4-maven-plugin</artifactId>
1838           <version>4.9.3</version>
1839         </plugin>
1840       </plugins>
1841     </pluginManagement>
1842
1843     <plugins>
1844       <plugin>
1845         <artifactId>maven-enforcer-plugin</artifactId>
1846         <executions>
1847           <execution>
1848             <id>enforce-banned-dependencies</id>
1849             <goals>
1850               <goal>enforce</goal>
1851             </goals>
1852             <configuration>
1853               <rules>
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>
1856                   <excludes>
1857                     <exclude>org.mockito:mockito-all</exclude>
1858                     <exclude>com.google.code.findbugs:annotations</exclude>
1859                   </excludes>
1860                 </bannedDependencies>
1861               </rules>
1862               <fail>true</fail>
1863             </configuration>
1864           </execution>
1865         </executions>
1866       </plugin>
1867       <plugin>
1868         <groupId>org.basepom.maven</groupId>
1869         <artifactId>duplicate-finder-maven-plugin</artifactId>
1870         <executions>
1871           <execution>
1872             <id>find-duplicate-classpath-entries</id>
1873             <phase>verify</phase>
1874             <goals>
1875               <goal>check</goal>
1876             </goals>
1877           </execution>
1878         </executions>
1879         <configuration>
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>
1885             <quiet>true</quiet>
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)
1889                  also ignore: -->
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>
1900               <ignoredDependency>
1901                 <groupId>org.slf4j</groupId>
1902                 <artifactId>slf4j-simple</artifactId>
1903               </ignoredDependency>
1904               <ignoredDependency>
1905                 <groupId>org.opendaylight.odlparent</groupId>
1906                 <artifactId>opendaylight-karaf-empty</artifactId>
1907               </ignoredDependency>
1908             </ignoredDependencies>
1909         </configuration>
1910       </plugin>
1911       <plugin>
1912         <artifactId>maven-dependency-plugin</artifactId>
1913       </plugin>
1914       <plugin>
1915         <artifactId>maven-checkstyle-plugin</artifactId>
1916       </plugin>
1917       <plugin>
1918           <artifactId>maven-pmd-plugin</artifactId>
1919       </plugin>
1920       <plugin>
1921         <artifactId>maven-source-plugin</artifactId>
1922       </plugin>
1923       <plugin>
1924         <artifactId>maven-javadoc-plugin</artifactId>
1925       </plugin>
1926       <plugin>
1927         <groupId>org.gaul</groupId>
1928         <artifactId>modernizer-maven-plugin</artifactId>
1929       </plugin>
1930       <plugin>
1931         <groupId>com.github.spotbugs</groupId>
1932         <artifactId>spotbugs-maven-plugin</artifactId>
1933       </plugin>
1934
1935       <!-- Jacoco / Sonar -->
1936       <plugin>
1937         <groupId>org.jacoco</groupId>
1938         <artifactId>jacoco-maven-plugin</artifactId>
1939         <executions>
1940           <execution>
1941             <id>pre-unit-test</id>
1942             <goals>
1943               <goal>prepare-agent</goal>
1944             </goals>
1945           </execution>
1946           <execution>
1947             <id>report</id>
1948             <goals>
1949               <goal>report</goal>
1950             </goals>
1951           </execution>
1952         </executions>
1953       </plugin>
1954
1955       <plugin>
1956         <groupId>org.opendaylight.odlparent</groupId>
1957         <artifactId>copy-files-plugin</artifactId>
1958         <version>9.0.9-SNAPSHOT</version>
1959         <executions>
1960           <execution>
1961             <phase>prepare-package</phase>
1962             <goals>
1963               <goal>copy-files</goal>
1964             </goals>
1965             <configuration>
1966               <globs>
1967                 <glob>README*</glob>
1968                 <glob>CONTRIBUTING*</glob>
1969                 <glob>PROJECT_INFO.yaml</glob>
1970               </globs>
1971             </configuration>
1972           </execution>
1973         </executions>
1974       </plugin>
1975     </plugins>
1976   </build>
1977
1978   <profiles>
1979     <profile>
1980       <id>disable-spotbugs</id>
1981       <activation>
1982         <!-- Current spotbugs does not support JDK15+ -->
1983         <jdk>[15,)</jdk>
1984       </activation>
1985
1986       <properties>
1987         <odlparent.spotbugs.skip>true</odlparent.spotbugs.skip>
1988       </properties>
1989
1990       <build>
1991         <plugins>
1992           <plugin>
1993             <groupId>com.github.ekryd.echo-maven-plugin</groupId>
1994             <artifactId>echo-maven-plugin</artifactId>
1995             <executions>
1996               <execution>
1997                 <id>UNTESTED-JDK</id>
1998                 <goals>
1999                   <goal>echo</goal>
2000                 </goals>
2001                 <phase>test</phase>
2002                 <configuration>
2003                   <message>Running on JDK newer than 11, which is not supported. Skipping SpotBugs execution.</message>
2004                 </configuration>
2005               </execution>
2006             </executions>
2007           </plugin>
2008         </plugins>
2009       </build>
2010     </profile>
2011   </profiles>
2012
2013   <reporting>
2014     <plugins>
2015       <plugin>
2016         <artifactId>maven-checkstyle-plugin</artifactId>
2017         <version>3.1.0</version>
2018       </plugin>
2019
2020       <!-- FIXME: activate this
2021       <plugin>
2022         <artifactId>maven-project-info-reports-plugin</artifactId>
2023       </plugin-->
2024       <plugin>
2025         <groupId>org.codehaus.mojo</groupId>
2026         <artifactId>jdepend-maven-plugin</artifactId>
2027         <reportSets>
2028           <reportSet>
2029             <reports>
2030               <report>generate-no-fork</report>
2031             </reports>
2032           </reportSet>
2033         </reportSets>
2034       </plugin>
2035     </plugins>
2036   </reporting>
2037 </project>
2038