Bump maven-resources-plugin to 3.1.0
[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>4.0.1-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/view/ODL_Root_Parent:Main</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     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
42
43     <!-- Java Versions -->
44     <!-- FIXME: confirm these two are picked by maven-compiler-plugin -->
45     <maven.compiler.source>1.8</maven.compiler.source>
46     <maven.compiler.target>1.8</maven.compiler.target>
47     <java.version.source>${maven.compiler.source}</java.version.source>
48     <java.version.target>${maven.compiler.target}</java.version.target>
49
50     <!-- Used in openflowplugin -->
51     <enforcer.version>3.0.0-M2</enforcer.version>
52     <!-- Used in controller, genius, infrautils, netconf, netvirt, ovsdb, serviceutils -->
53     <karaf.version>4.2.1</karaf.version>
54     <!-- Used in bgpcep, lispflowmapping -->
55     <projectinfo>2.8.1</projectinfo>
56
57     <!-- Supporting Libraries -->
58     <!-- Only used internally -->
59     <bouncycastle.version>1.60</bouncycastle.version>
60
61     <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
62          to allow projects to report Sonar values from the entire project. -->
63     <jacoco.destFile>${project.build.directory}/code-coverage/jacoco.exec</jacoco.destFile>
64
65     <!-- Default Sonar configuration -->
66     <sonar-jacoco-listeners.version>3.8</sonar-jacoco-listeners.version>
67     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
68     <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
69     <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
70
71     <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
72     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/generated-test-sources/**,**/yang-gen/**,**/yang-gen-config/**,**/yang-gen-sal/**,**/yang-gen-code/**,**/pax/**</sonar.exclusions>
73
74     <!-- Opt-in code quality checks -->
75     <pmd.cpd.fail>false</pmd.cpd.fail>                  <!-- Copy/paste detection -->
76     <duplicate-finder.skip>true</duplicate-finder.skip> <!-- Classpath duplicates -->
77
78     <!-- Redirect test output to files (overridable) -->
79     <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile>
80   </properties>
81
82   <dependencyManagement>
83     <dependencies>
84
85       <dependency>
86         <groupId>org.opendaylight.odlparent</groupId>
87         <artifactId>odlparent-artifacts</artifactId>
88         <version>4.0.1-SNAPSHOT</version>
89         <scope>import</scope>
90         <type>pom</type>
91       </dependency>
92
93       <!-- Build tool dependencies (normally not here in <dependencies>,
94            but in a <dependency> in <pluginManagement> but for Checkstyle this
95            is required so that we can share the same version of Checkstyle
96            for both the Maven plugin below as well as  for custom Checkstyle
97            check rule projects, such as yangtools' checkstyle-logging) -->
98       <dependency>
99         <groupId>com.puppycrawl.tools</groupId>
100         <artifactId>checkstyle</artifactId>
101         <!-- This should match the plugin management on maven-checkstyle-plugin below -->
102         <version>8.12</version>
103       </dependency>
104
105       <!-- Testing Dependencies -->
106       <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
107       <!-- Need to stick to JUnit 4.11 until
108            https://github.com/jayway/powermock/issues/560 is fixed (either in
109            PowerMock or with a new JUnit release) -->
110       <dependency>
111         <groupId>junit</groupId>
112         <artifactId>junit</artifactId>
113         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
114         <version>4.11</version>
115         <scope>test</scope>
116       </dependency>
117       <dependency>
118          <groupId>org.skyscreamer</groupId>
119          <artifactId>jsonassert</artifactId>
120          <version>1.5.0</version>
121          <scope>test</scope>
122       </dependency>
123       <dependency>
124         <groupId>org.mockito</groupId>
125         <artifactId>mockito-core</artifactId>
126         <version>2.20.1</version>
127         <scope>test</scope>
128       </dependency>
129       <dependency>
130         <groupId>org.mockito</groupId>
131         <artifactId>mockito-inline</artifactId>
132         <version>2.20.1</version>
133         <scope>test</scope>
134       </dependency>
135       <dependency>
136         <groupId>org.hamcrest</groupId>
137         <artifactId>hamcrest-core</artifactId>
138         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
139         <version>1.3</version>
140         <scope>test</scope>
141       </dependency>
142       <dependency>
143         <groupId>org.hamcrest</groupId>
144         <artifactId>hamcrest-library</artifactId>
145         <version>1.3</version>
146         <scope>test</scope>
147       </dependency>
148       <dependency>
149         <groupId>com.google.truth</groupId>
150         <artifactId>truth</artifactId>
151         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
152         <version>0.42</version>
153         <scope>test</scope>
154       </dependency>
155       <dependency>
156         <groupId>com.google.truth.extensions</groupId>
157         <artifactId>truth-java8-extension</artifactId>
158         <version>0.42</version>
159         <scope>test</scope>
160       </dependency>
161       <dependency>
162         <groupId>org.awaitility</groupId>
163         <artifactId>awaitility</artifactId>
164         <version>3.0.0</version>
165         <scope>test</scope>
166       </dependency>
167       <dependency>
168         <groupId>org.awaitility</groupId>
169         <artifactId>awaitility-proxy</artifactId>
170         <version>3.0.0</version>
171         <scope>test</scope>
172       </dependency>
173       <dependency>
174         <groupId>org.powermock</groupId>
175         <artifactId>powermock-api-mockito</artifactId>
176         <version>1.7.4</version>
177         <scope>test</scope>
178       </dependency>
179       <dependency>
180         <groupId>org.powermock</groupId>
181         <artifactId>powermock-api-support</artifactId>
182         <version>1.7.4</version>
183         <scope>test</scope>
184       </dependency>
185       <dependency>
186         <groupId>org.powermock</groupId>
187         <artifactId>powermock-core</artifactId>
188         <version>1.7.4</version>
189         <scope>test</scope>
190       </dependency>
191       <dependency>
192         <groupId>org.powermock</groupId>
193         <artifactId>powermock-module-junit4</artifactId>
194         <version>1.7.4</version>
195         <scope>test</scope>
196       </dependency>
197       <dependency>
198         <groupId>org.powermock</groupId>
199         <artifactId>powermock-reflect</artifactId>
200         <version>1.7.4</version>
201         <scope>test</scope>
202       </dependency>
203
204       <!--
205            Annotation Processors
206        -->
207       <dependency>
208         <!-- Generates immutable implementations, builders, the works -->
209         <groupId>org.immutables</groupId>
210         <artifactId>value</artifactId>
211         <version>2.7.1</version>
212         <!-- Must be provided; scope=test here breaks APT in Eclipse :( -->
213         <scope>provided</scope>
214       </dependency>
215       <dependency>
216         <!-- Generates META-INF/services entries for ServiceLoader -->
217         <groupId>org.kohsuke.metainf-services</groupId>
218         <artifactId>metainf-services</artifactId>
219         <version>1.8</version>
220         <optional>true</optional>
221         <scope>provided</scope>
222       </dependency>
223
224       <!--
225            Supporting Libraries
226        -->
227       <dependency>
228         <groupId>org.slf4j</groupId>
229         <artifactId>jcl-over-slf4j</artifactId>
230         <version>1.7.25</version>
231       </dependency>
232       <dependency>
233         <groupId>org.slf4j</groupId>
234         <artifactId>slf4j-api</artifactId>
235         <version>1.7.25</version>
236       </dependency>
237       <dependency>
238         <groupId>org.slf4j</groupId>
239         <artifactId>slf4j-log4j12</artifactId>
240         <version>1.7.25</version>
241       </dependency>
242       <dependency>
243         <groupId>org.slf4j</groupId>
244         <artifactId>log4j-over-slf4j</artifactId>
245         <version>1.7.25</version>
246       </dependency>
247       <dependency>
248         <groupId>org.slf4j</groupId>
249         <artifactId>slf4j-simple</artifactId>
250         <version>1.7.25</version>
251         <scope>test</scope>
252       </dependency>
253       <dependency>
254         <groupId>ch.qos.logback</groupId>
255         <artifactId>logback-core</artifactId>
256         <version>1.2.3</version>
257       </dependency>
258       <dependency>
259         <groupId>ch.qos.logback</groupId>
260         <artifactId>logback-classic</artifactId>
261         <version>1.2.3</version>
262       </dependency>
263
264       <!-- log4j2 -->
265       <dependency>
266         <groupId>org.apache.logging.log4j</groupId>
267         <artifactId>log4j-bom</artifactId>
268         <version>2.11.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 -->
277         <version>25.1-jre</version>
278         <exclusions>
279           <exclusion>
280             <groupId>com.google.code.findbugs</groupId>
281             <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
282             <artifactId>jsr305</artifactId>
283           </exclusion>
284         </exclusions>
285       </dependency>
286       <dependency>
287         <groupId>com.google.guava</groupId>
288         <artifactId>guava-testlib</artifactId>
289         <version>25.1-jre</version>
290         <scope>test</scope>
291         <exclusions>
292           <exclusion>
293             <groupId>com.google.code.findbugs</groupId>
294             <!-- Use com.google.code.findbugs:annotations instead of jsr305 -->
295             <artifactId>jsr305</artifactId>
296           </exclusion>
297         </exclusions>
298       </dependency>
299       <dependency>
300         <groupId>com.mycila.guice.extensions</groupId>
301         <artifactId>mycila-guice-jsr250</artifactId>
302         <!-- Make sure this version is in sync with the guice one below -->
303         <version>4.0.rc1</version>
304       </dependency>
305       <dependency>
306         <groupId>com.google.inject</groupId>
307         <artifactId>guice</artifactId>
308         <!-- Make sure this version is in sync with the one used by mycila-guice-jsr250 above
309              by checking it here: https://github.com/mycila/guice/blob/master/pom.xml#L103 -->
310         <version>4.1.0</version>
311       </dependency>
312       <dependency>
313         <groupId>org.apache.commons</groupId>
314         <artifactId>commons-lang3</artifactId>
315         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
316         <version>3.8</version>
317       </dependency>
318       <dependency>
319         <groupId>org.apache.commons</groupId>
320         <artifactId>commons-text</artifactId>
321         <version>1.4</version>
322       </dependency>
323       <dependency>
324         <groupId>commons-lang</groupId>
325         <artifactId>commons-lang</artifactId>
326         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
327         <version>2.6</version>
328       </dependency>
329       <dependency>
330         <groupId>commons-codec</groupId>
331         <artifactId>commons-codec</artifactId>
332         <version>1.11</version>
333       </dependency>
334       <!-- Jersey for JAXRS -->
335       <dependency>
336         <groupId>javax.ws.rs</groupId>
337         <artifactId>javax.ws.rs-api</artifactId>
338         <version>2.0.1</version>
339       </dependency>
340       <dependency>
341         <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
342         <artifactId>jersey-guava</artifactId>
343         <version>2.22.2</version>
344       </dependency>
345       <dependency>
346         <groupId>org.glassfish</groupId>
347         <artifactId>javax.json</artifactId>
348         <version>1.0.4</version>
349       </dependency>
350       <dependency>
351         <groupId>com.eclipsesource.jaxrs</groupId>
352         <artifactId>jersey-all</artifactId>
353         <version>2.22.2</version>
354       </dependency>
355
356       <!-- servlet 3.x support -->
357       <dependency>
358         <groupId>org.glassfish.jersey.containers</groupId>
359         <artifactId>jersey-container-servlet</artifactId>
360         <version>2.8</version>
361       </dependency>
362       <dependency>
363         <groupId>org.apache.geronimo.bundles</groupId>
364         <artifactId>json</artifactId>
365         <version>20090211_1</version>
366       </dependency>
367       <!-- FIXME : remove all dependencies for jersey 1.17 -->
368       <dependency>
369         <groupId>com.sun.jersey</groupId>
370         <artifactId>jersey-core</artifactId>
371         <version>1.19.4</version>
372       </dependency>
373       <dependency>
374         <groupId>com.sun.jersey</groupId>
375         <artifactId>jersey-json</artifactId>
376         <version>1.19.4</version>
377       </dependency>
378       <dependency>
379         <groupId>com.sun.jersey</groupId>
380         <artifactId>jersey-server</artifactId>
381         <version>1.19.4</version>
382       </dependency>
383       <dependency>
384         <groupId>com.sun.jersey</groupId>
385         <artifactId>jersey-servlet</artifactId>
386         <version>1.19.4</version>
387       </dependency>
388       <dependency>
389         <groupId>com.sun.jersey.jersey-test-framework</groupId>
390         <artifactId>jersey-test-framework-grizzly2</artifactId>
391         <version>1.19.4</version>
392         <scope>test</scope>
393       </dependency>
394       <dependency>
395         <groupId>com.sun.jersey.jersey-test-framework</groupId>
396         <artifactId>jersey-test-framework-inmemory</artifactId>
397         <version>1.19.4</version>
398         <scope>test</scope>
399       </dependency>
400       <dependency>
401         <groupId>com.sun.jersey</groupId>
402         <artifactId>jersey-client</artifactId>
403         <version>1.19.4</version>
404       </dependency>
405       <dependency>
406         <groupId>org.apache.shiro</groupId>
407         <artifactId>shiro-core</artifactId>
408         <version>1.3.2</version>
409       </dependency>
410       <dependency>
411         <groupId>org.apache.shiro</groupId>
412         <artifactId>shiro-web</artifactId>
413         <version>1.3.2</version>
414       </dependency>
415
416       <!-- Plugin integration -->
417       <dependency>
418         <groupId>net.java.dev.stax-utils</groupId>
419         <artifactId>stax-utils</artifactId>
420         <version>20070216</version>
421       </dependency>
422       <dependency>
423         <groupId>org.sonatype.plexus</groupId>
424         <artifactId>plexus-build-api</artifactId>
425         <version>0.0.7</version>
426       </dependency>
427       <dependency>
428         <groupId>org.codehaus.plexus</groupId>
429         <artifactId>plexus-slf4j-logging</artifactId>
430         <version>1.1</version>
431       </dependency>
432
433       <dependency>
434         <groupId>org.codehaus.woodstox</groupId>
435         <artifactId>stax2-api</artifactId>
436         <!-- Needs to match jackson's idea of import -->
437         <version>3.1.4</version>
438       </dependency>
439       <dependency>
440         <groupId>com.fasterxml.jackson</groupId>
441         <artifactId>jackson-bom</artifactId>
442         <version>2.9.6</version>
443         <scope>import</scope>
444         <type>pom</type>
445       </dependency>
446
447       <!-- TODO do we really need resteasy ? -->
448       <dependency>
449         <groupId>org.jboss.resteasy</groupId>
450         <artifactId>jaxrs-api</artifactId>
451         <version>3.0.12.Final</version>
452       </dependency>
453
454       <dependency>
455         <groupId>com.google.code.findbugs</groupId>
456         <artifactId>annotations</artifactId>
457         <version>3.0.0</version>
458         <exclusions>
459           <!-- We'd like (have) to eventually exclude :jsr305 here as well, because
460                the types of this artifact are already shaded inside the :annotations artifact.
461                This state is a temporary solution to allow all projects to gradually switch over
462                switch their <dependency><groupId>com.google.code.findbugs from
463                <artifactId>jsr305 to <artifactId>annotations in all pom.xml.
464                The target solution is https://git.opendaylight.org/gerrit/#/c/47337/
465             -->
466           <exclusion>
467             <groupId>net.jcip</groupId>
468             <!-- The types of this artifact are already shaded inside the :annotations artifact -->
469             <artifactId>jcip-annotations</artifactId>
470           </exclusion>
471         </exclusions>
472       </dependency>
473       <dependency>
474         <groupId>org.eclipse.jdt</groupId>
475         <artifactId>org.eclipse.jdt.annotation</artifactId>
476         <version>2.2.0</version>
477         <scope>provided</scope>
478       </dependency>
479       <dependency>
480         <groupId>com.google.code.gson</groupId>
481         <artifactId>gson</artifactId>
482         <version>2.8.5</version>
483       </dependency>
484       <dependency>
485         <groupId>commons-fileupload</groupId>
486         <artifactId>commons-fileupload</artifactId>
487         <version>1.3.3</version>
488       </dependency>
489       <dependency>
490         <groupId>commons-io</groupId>
491         <artifactId>commons-io</artifactId>
492         <version>2.6</version>
493       </dependency>
494       <dependency>
495         <groupId>commons-net</groupId>
496         <artifactId>commons-net</artifactId>
497         <version>3.6</version>
498       </dependency>
499
500       <!-- Netty -->
501       <dependency>
502         <groupId>io.netty</groupId>
503         <artifactId>netty-all</artifactId>
504         <!-- If these are updated, the version in features.xml needs to be changed too -->
505         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
506         <version>4.1.28.Final</version>
507       </dependency>
508       <dependency>
509         <groupId>io.netty</groupId>
510         <artifactId>netty-buffer</artifactId>
511         <version>4.1.28.Final</version>
512       </dependency>
513       <dependency>
514         <groupId>io.netty</groupId>
515         <artifactId>netty-codec</artifactId>
516         <version>4.1.28.Final</version>
517       </dependency>
518       <dependency>
519         <groupId>io.netty</groupId>
520         <artifactId>netty-codec-http</artifactId>
521         <version>4.1.28.Final</version>
522       </dependency>
523       <dependency>
524         <groupId>io.netty</groupId>
525         <artifactId>netty-common</artifactId>
526         <version>4.1.28.Final</version>
527       </dependency>
528       <dependency>
529         <groupId>io.netty</groupId>
530         <artifactId>netty-handler</artifactId>
531         <version>4.1.28.Final</version>
532       </dependency>
533       <dependency>
534         <groupId>io.netty</groupId>
535         <artifactId>netty-transport</artifactId>
536         <version>4.1.28.Final</version>
537       </dependency>
538       <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
539       platform and we can't require the build platform to have an implementation (e.g. OS X) -->
540       <dependency>
541         <groupId>io.netty</groupId>
542         <artifactId>netty-transport-native-epoll</artifactId>
543         <classifier>linux-x86_64</classifier>
544         <version>4.1.28.Final</version>
545       </dependency>
546       <dependency>
547         <groupId>javax.ws.rs</groupId>
548         <artifactId>jsr311-api</artifactId>
549         <version>1.1.1</version>
550       </dependency>
551       <dependency>
552         <groupId>javax.servlet</groupId>
553         <artifactId>javax.servlet-api</artifactId>
554         <version>3.1.0</version>
555       </dependency>
556       <dependency>
557         <groupId>org.apache.felix</groupId>
558         <artifactId>org.apache.felix.dependencymanager</artifactId>
559         <version>4.4.1</version>
560       </dependency>
561       <dependency>
562         <groupId>org.apache.felix</groupId>
563         <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
564         <version>4.0.6</version>
565       </dependency>
566       <dependency>
567         <groupId>org.apache.felix</groupId>
568         <artifactId>org.apache.felix.metatype</artifactId>
569         <version>1.2.0</version>
570       </dependency>
571       <dependency>
572         <groupId>org.bouncycastle</groupId>
573         <artifactId>bcpkix-jdk15on</artifactId>
574         <version>${bouncycastle.version}</version>
575       </dependency>
576       <dependency>
577         <groupId>org.bouncycastle</groupId>
578         <artifactId>bcprov-jdk15on</artifactId>
579         <version>${bouncycastle.version}</version>
580       </dependency>
581       <dependency>
582         <groupId>org.bouncycastle</groupId>
583         <artifactId>bcprov-ext-jdk15on</artifactId>
584         <version>${bouncycastle.version}</version>
585       </dependency>
586       <dependency>
587         <groupId>org.codehaus.enunciate</groupId>
588         <artifactId>enunciate-core-annotations</artifactId>
589         <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
590         <version>1.31</version>
591         <exclusions>
592           <exclusion>
593             <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
594                  which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
595                  and @RunAs and @PermitAll & Co. which we do not require
596                  (or at least not from jsr250-api via enunciate) -->
597             <groupId>javax.annotation</groupId>
598             <artifactId>jsr250-api</artifactId>
599           </exclusion>
600         </exclusions>
601       </dependency>
602       <dependency>
603         <groupId>com.webcohesion.enunciate</groupId>
604         <artifactId>enunciate-core-annotations</artifactId>
605         <version>2.11.1</version>
606         <exclusions>
607           <exclusion>
608             <!-- see above -->
609             <groupId>javax.annotation</groupId>
610             <artifactId>jsr250-api</artifactId>
611           </exclusion>
612         </exclusions>
613       </dependency>
614       <dependency>
615         <groupId>org.codehaus.jettison</groupId>
616         <artifactId>jettison</artifactId>
617         <version>1.4.0</version>
618       </dependency>
619       <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
620          pull in javax.validation first:
621          http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
622       <dependency>
623         <groupId>org.eclipse.persistence</groupId>
624         <artifactId>org.eclipse.persistence.antlr</artifactId>
625         <version>2.7.3</version>
626       </dependency>
627       <dependency>
628         <groupId>org.eclipse.persistence</groupId>
629         <artifactId>org.eclipse.persistence.core</artifactId>
630         <version>2.7.3</version>
631       </dependency>
632       <dependency>
633         <groupId>org.eclipse.persistence</groupId>
634         <artifactId>org.eclipse.persistence.moxy</artifactId>
635         <version>2.7.3</version>
636       </dependency>
637       <dependency>
638         <groupId>javax.validation</groupId>
639         <artifactId>validation-api</artifactId>
640         <version>1.1.0.Final</version>
641       </dependency>
642       <dependency>
643         <groupId>org.javassist</groupId>
644         <artifactId>javassist</artifactId>
645         <version>3.23.1-GA</version>
646       </dependency>
647       <dependency>
648         <groupId>org.jboss.spec.javax.transaction</groupId>
649         <artifactId>jboss-transaction-api_1.1_spec</artifactId>
650         <version>1.0.1.Final</version>
651       </dependency>
652       <dependency>
653         <groupId>org.jolokia</groupId>
654         <artifactId>jolokia-osgi</artifactId>
655         <version>1.6.0</version>
656       </dependency>
657       <dependency>
658         <groupId>org.json</groupId>
659         <artifactId>json</artifactId>
660         <version>20131018</version>
661       </dependency>
662       <dependency>
663         <groupId>org.osgi</groupId>
664         <artifactId>org.osgi.compendium</artifactId>
665         <version>5.0.0</version>
666         <scope>provided</scope>
667       </dependency>
668       <dependency>
669         <groupId>org.osgi</groupId>
670         <artifactId>org.osgi.core</artifactId>
671         <version>5.0.0</version>
672         <scope>provided</scope>
673       </dependency>
674       <dependency>
675         <groupId>org.osgi</groupId>
676         <!-- for https://bugs.opendaylight.org/show_bug.cgi?id=4290 -->
677         <artifactId>org.osgi.service.event</artifactId>
678         <version>1.3.1</version>
679       </dependency>
680       <dependency>
681         <groupId>org.apache.aries.quiesce</groupId>
682         <artifactId>org.apache.aries.quiesce.api</artifactId>
683         <version>1.0.0</version>
684       </dependency>
685       <dependency>
686         <groupId>org.ow2.asm</groupId>
687         <artifactId>asm</artifactId>
688         <version>6.2.1</version>
689       </dependency>
690
691       <!-- Configuration library -->
692       <!-- This needs to be kept in sync with the version used by akka -->
693       <dependency>
694         <groupId>com.typesafe</groupId>
695         <artifactId>config</artifactId>
696         <version>1.3.2</version>
697       </dependency>
698
699       <!-- Reactive Streams, used by Akka -->
700       <dependency>
701         <groupId>org.reactivestreams</groupId>
702         <artifactId>reactive-streams</artifactId>
703         <version>1.0.1</version>
704       </dependency>
705
706       <!-- Akka -->
707       <dependency>
708         <groupId>com.typesafe</groupId>
709         <artifactId>ssl-config-core_2.12</artifactId>
710         <version>0.2.4</version>
711       </dependency>
712       <dependency>
713         <groupId>com.typesafe.akka</groupId>
714         <artifactId>akka-actor_2.12</artifactId>
715         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
716         <version>2.5.14</version>
717       </dependency>
718       <dependency>
719         <groupId>com.typesafe.akka</groupId>
720         <artifactId>akka-cluster_2.12</artifactId>
721         <version>2.5.14</version>
722       </dependency>
723       <dependency>
724         <groupId>com.typesafe.akka</groupId>
725         <artifactId>akka-osgi_2.12</artifactId>
726         <version>2.5.14</version>
727       </dependency>
728       <dependency>
729         <groupId>com.typesafe.akka</groupId>
730         <artifactId>akka-persistence_2.12</artifactId>
731         <version>2.5.14</version>
732       </dependency>
733       <dependency>
734         <groupId>com.typesafe.akka</groupId>
735         <artifactId>akka-persistence-tck_2.12</artifactId>
736         <version>2.5.14</version>
737         <scope>test</scope>
738       </dependency>
739       <dependency>
740         <groupId>com.typesafe.akka</groupId>
741         <artifactId>akka-protobuf_2.12</artifactId>
742         <version>2.5.14</version>
743       </dependency>
744       <dependency>
745         <groupId>com.typesafe.akka</groupId>
746         <artifactId>akka-remote_2.12</artifactId>
747         <version>2.5.14</version>
748       </dependency>
749       <dependency>
750         <groupId>com.typesafe.akka</groupId>
751         <artifactId>akka-slf4j_2.12</artifactId>
752         <version>2.5.14</version>
753       </dependency>
754       <dependency>
755         <groupId>com.typesafe.akka</groupId>
756         <artifactId>akka-stream_2.12</artifactId>
757         <version>2.5.14</version>
758       </dependency>
759       <dependency>
760         <groupId>com.typesafe.akka</groupId>
761         <artifactId>akka-testkit_2.12</artifactId>
762         <version>2.5.14</version>
763         <scope>test</scope>
764       </dependency>
765       <dependency>
766         <groupId>org.scala-lang.modules</groupId>
767         <artifactId>scala-java8-compat_2.12</artifactId>
768         <version>0.8.0</version>
769       </dependency>
770       <dependency>
771         <groupId>org.scala-lang.modules</groupId>
772         <artifactId>scala-parser-combinators_2.12</artifactId>
773         <version>1.1.1</version>
774       </dependency>
775       <dependency>
776         <groupId>org.uncommons.maths</groupId>
777         <artifactId>uncommons-maths</artifactId>
778         <version>1.2.2a</version>
779       </dependency>
780
781       <!-- Aeron, required by Akka -->
782       <dependency>
783         <groupId>org.agrona</groupId>
784         <artifactId>agrona</artifactId>
785         <version>0.9.21</version>
786       </dependency>
787       <dependency>
788         <groupId>io.aeron</groupId>
789         <artifactId>aeron-client</artifactId>
790         <version>1.9.3</version>
791       </dependency>
792       <dependency>
793         <groupId>io.aeron</groupId>
794         <artifactId>aeron-driver</artifactId>
795         <version>1.9.3</version>
796       </dependency>
797
798       <!-- Scala -->
799       <dependency>
800         <groupId>org.scala-lang</groupId>
801         <artifactId>scala-library</artifactId>
802         <version>2.12.6</version>
803       </dependency>
804       <dependency>
805         <groupId>org.scala-lang</groupId>
806         <artifactId>scala-reflect</artifactId>
807         <version>2.12.6</version>
808       </dependency>
809
810       <!-- LMAX Disruptor -->
811       <dependency>
812         <groupId>com.lmax</groupId>
813         <artifactId>disruptor</artifactId>
814         <version>3.4.1</version>
815       </dependency>
816
817       <!-- Add Pax Exam -->
818       <dependency>
819         <groupId>org.ops4j.pax.exam</groupId>
820         <artifactId>pax-exam</artifactId>
821         <version>4.12.0</version>
822         <scope>test</scope>
823       </dependency>
824       <dependency>
825         <groupId>org.ops4j.pax.exam</groupId>
826         <artifactId>pax-exam-container-forked</artifactId>
827         <version>4.12.0</version>
828         <scope>test</scope>
829       </dependency>
830       <dependency>
831         <groupId>org.ops4j.pax.exam</groupId>
832         <artifactId>pax-exam-container-karaf</artifactId>
833         <version>4.12.0</version>
834         <scope>test</scope>
835       </dependency>
836       <dependency>
837         <groupId>org.ops4j.pax.exam</groupId>
838         <artifactId>pax-exam-container-native</artifactId>
839         <version>4.12.0</version>
840         <scope>test</scope>
841       </dependency>
842       <dependency>
843         <groupId>org.ops4j.pax.exam</groupId>
844         <artifactId>pax-exam-extender-service</artifactId>
845         <version>4.12.0</version>
846         <scope>test</scope>
847       </dependency>
848       <dependency>
849         <groupId>org.ops4j.pax.exam</groupId>
850         <artifactId>pax-exam-inject</artifactId>
851         <version>4.12.0</version>
852         <scope>test</scope>
853       </dependency>
854       <dependency>
855         <groupId>org.ops4j.pax.exam</groupId>
856         <artifactId>pax-exam-invoker-junit</artifactId>
857         <version>4.12.0</version>
858         <scope>test</scope>
859       </dependency>
860       <dependency>
861         <groupId>org.ops4j.pax.exam</groupId>
862         <artifactId>pax-exam-features</artifactId>
863         <version>4.12.0</version>
864         <type>xml</type>
865         <scope>test</scope>
866       </dependency>
867       <dependency>
868         <groupId>org.ops4j.pax.exam</groupId>
869         <artifactId>pax-exam-junit4</artifactId>
870         <version>4.12.0</version>
871         <scope>test</scope>
872       </dependency>
873       <dependency>
874         <groupId>org.ops4j.pax.exam</groupId>
875         <artifactId>pax-exam-link-mvn</artifactId>
876         <version>4.12.0</version>
877         <scope>test</scope>
878       </dependency>
879       <dependency>
880         <groupId>org.ops4j.pax.exam</groupId>
881         <artifactId>pax-exam-link-assembly</artifactId>
882         <version>4.12.0</version>
883         <scope>test</scope>
884       </dependency>
885
886       <dependency>
887         <groupId>org.ops4j.pax.url</groupId>
888         <artifactId>pax-url-link</artifactId>
889         <version>2.5.4</version>
890         <scope>test</scope>
891       </dependency>
892       <dependency>
893         <groupId>org.ops4j.pax.url</groupId>
894         <artifactId>pax-url-aether</artifactId>
895         <version>2.5.4</version>
896         <scope>test</scope>
897       </dependency>
898       <dependency>
899         <groupId>org.ops4j.pax.url</groupId>
900         <artifactId>pax-url-wrap</artifactId>
901         <version>2.5.4</version>
902       </dependency>
903
904       <dependency>
905         <groupId>org.ops4j.pax.web</groupId>
906         <artifactId>pax-web-api</artifactId>
907         <!-- Note: keep this version synchronized with karaf -->
908         <version>7.2.3</version>
909       </dependency>
910
911       <dependency>
912         <groupId>org.springframework.osgi</groupId>
913         <artifactId>spring-osgi-mock</artifactId>
914         <version>1.2.1</version>
915         <scope>test</scope>
916       </dependency>
917
918       <dependency>
919         <groupId>org.xmlunit</groupId>
920         <artifactId>xmlunit-core</artifactId>
921         <version>2.6.2</version>
922         <scope>test</scope>
923       </dependency>
924       <dependency>
925         <groupId>org.xmlunit</groupId>
926         <artifactId>xmlunit-matchers</artifactId>
927         <version>2.6.2</version>
928         <scope>test</scope>
929       </dependency>
930       <!-- FIXME: remove this once we have migrated over -->
931       <dependency>
932         <groupId>org.xmlunit</groupId>
933         <artifactId>xmlunit-legacy</artifactId>
934         <version>2.6.2</version>
935         <scope>test</scope>
936       </dependency>
937
938       <dependency>
939         <groupId>org.eclipse.jetty</groupId>
940         <artifactId>jetty-client</artifactId>
941         <version>9.4.11.v20180605</version>
942       </dependency>
943       <dependency>
944         <groupId>org.eclipse.jetty</groupId>
945         <artifactId>jetty-server</artifactId>
946         <version>9.4.11.v20180605</version>
947       </dependency>
948       <dependency>
949         <groupId>org.eclipse.jetty</groupId>
950         <artifactId>jetty-servlets</artifactId>
951         <version>9.4.11.v20180605</version>
952       </dependency>
953       <dependency>
954         <groupId>org.eclipse.jetty</groupId>
955         <artifactId>jetty-webapp</artifactId>
956         <version>9.4.11.v20180605</version>
957       </dependency>
958
959       <dependency>
960         <groupId>com.h2database</groupId>
961         <artifactId>h2</artifactId>
962         <version>1.4.196</version>
963       </dependency>
964
965       <!-- Xtend http://xtend-lang.org
966            NOTE: When you increase the version here,
967            then remember to also increase it for the
968            xtend-maven-plugin below! (We don't want to
969            use a Maven property, in order not to "leak" that.)
970        -->
971       <dependency>
972           <groupId>org.eclipse.xtend</groupId>
973           <artifactId>org.eclipse.xtend.lib</artifactId>
974           <version>2.14.0</version>
975       </dependency>
976       <dependency>
977           <groupId>org.eclipse.xtend</groupId>
978           <artifactId>org.eclipse.xtend.lib.macro</artifactId>
979           <version>2.14.0</version>
980       </dependency>
981       <dependency>
982           <groupId>org.eclipse.xtext</groupId>
983           <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
984           <version>2.14.0</version>
985       </dependency>
986
987       <!-- Annotations -->
988       <dependency>
989         <groupId>javax.inject</groupId>
990         <artifactId>javax.inject</artifactId>
991         <version>1</version>
992         <optional>true</optional>
993       </dependency>
994
995       <!-- Cassandra -->
996       <dependency>
997         <groupId>com.datastax.cassandra</groupId>
998         <artifactId>cassandra-driver-core</artifactId>
999         <version>2.1.9</version>
1000       </dependency>
1001
1002       <!-- jung, a graph library -->
1003       <dependency>
1004         <groupId>net.sf.jung</groupId>
1005         <artifactId>jung-api</artifactId>
1006         <version>2.1.1</version>
1007       </dependency>
1008       <dependency>
1009         <groupId>net.sf.jung</groupId>
1010         <artifactId>jung-algorithms</artifactId>
1011         <version>2.1.1</version>
1012       </dependency>
1013       <dependency>
1014         <groupId>net.sf.jung</groupId>
1015         <artifactId>jung-graph-impl</artifactId>
1016         <version>2.1.1</version>
1017       </dependency>
1018
1019       <!-- Karaf console support -->
1020       <dependency>
1021         <groupId>org.apache.karaf.shell</groupId>
1022         <artifactId>org.apache.karaf.shell.core</artifactId>
1023         <version>${karaf.version}</version>
1024       </dependency>
1025       <dependency>
1026         <groupId>org.apache.karaf.shell</groupId>
1027         <artifactId>org.apache.karaf.shell.console</artifactId>
1028         <version>${karaf.version}</version>
1029       </dependency>
1030
1031       <!-- ThreeTen-Extra, date/time complements -->
1032       <dependency>
1033         <groupId>org.threeten</groupId>
1034         <artifactId>threeten-extra</artifactId>
1035         <version>1.4</version>
1036       </dependency>
1037
1038       <!-- When updating this version, consider antl4-maven-plugin below -->
1039       <dependency>
1040         <groupId>org.antlr</groupId>
1041         <artifactId>antlr4-runtime</artifactId>
1042         <version>4.7.1</version>
1043       </dependency>
1044       <!-- Aries' Blueprint version should be kept in sync to the version actually
1045            used by our ${karaf[4].version} ... please bump this when increasing that.
1046            TODO Find a smarter way to inherit this from a (TBD..) Karaf artifacts BOM! -->
1047       <dependency>
1048         <groupId>org.apache.aries.blueprint</groupId>
1049         <artifactId>org.apache.aries.blueprint.core</artifactId>
1050         <version>1.9.0</version>
1051       </dependency>
1052       <dependency>
1053         <groupId>org.apache.aries.blueprint</groupId>
1054         <artifactId>blueprint-maven-plugin-annotation</artifactId>
1055         <version>1.3.0</version>
1056         <optional>true</optional>
1057       </dependency>
1058
1059       <!-- Apache SSHD with netty -->
1060       <dependency>
1061         <groupId>org.apache.sshd</groupId>
1062         <artifactId>sshd-core</artifactId>
1063         <version>2.0.0</version>
1064       </dependency>
1065       <dependency>
1066         <groupId>org.apache.sshd</groupId>
1067         <artifactId>sshd-netty</artifactId>
1068         <version>2.0.0</version>
1069       </dependency>
1070       <dependency>
1071         <groupId>net.i2p.crypto</groupId>
1072         <artifactId>eddsa</artifactId>
1073         <version>0.3.0</version>
1074       </dependency>
1075     </dependencies>
1076   </dependencyManagement>
1077
1078   <dependencies>
1079     <!--
1080          We expect slf4j-api to be provided by the platform.
1081          Karaf provides it, other containers need to provide it themselves.
1082     -->
1083     <dependency>
1084       <groupId>org.slf4j</groupId>
1085       <artifactId>slf4j-api</artifactId>
1086       <scope>provided</scope>
1087     </dependency>
1088
1089     <!--
1090           Enable useful code quality annotations everywhere. Since these annotations
1091           are not required at runtime.
1092     -->
1093     <dependency>
1094       <groupId>com.google.code.findbugs</groupId>
1095       <artifactId>annotations</artifactId>
1096       <scope>provided</scope>
1097     </dependency>
1098     <dependency>
1099       <groupId>org.eclipse.jdt</groupId>
1100       <artifactId>org.eclipse.jdt.annotation</artifactId>
1101       <scope>provided</scope>
1102     </dependency>
1103
1104     <!--
1105           Testing output should be routed through slf4j-simple.
1106     -->
1107     <dependency>
1108       <groupId>org.slf4j</groupId>
1109       <artifactId>slf4j-simple</artifactId>
1110       <scope>test</scope>
1111     </dependency>
1112
1113     <!--
1114           Unit tests can use JUnit + Mockito + Hamcrest by default.
1115     -->
1116     <dependency>
1117       <groupId>junit</groupId>
1118       <artifactId>junit</artifactId>
1119       <scope>test</scope>
1120     </dependency>
1121     <dependency>
1122       <groupId>org.mockito</groupId>
1123       <artifactId>mockito-core</artifactId>
1124       <scope>test</scope>
1125     </dependency>
1126   </dependencies>
1127
1128   <build>
1129     <pluginManagement>
1130       <plugins>
1131         <!-- Official maven plugins, alpha-sorted by artifactId.
1132              We do not need to specify the groupId. -->
1133         <plugin>
1134           <artifactId>maven-antrun-plugin</artifactId>
1135           <version>1.8</version>
1136         </plugin>
1137         <plugin>
1138           <artifactId>maven-checkstyle-plugin</artifactId>
1139           <version>3.0.0</version>
1140           <dependencies>
1141             <dependency>
1142               <groupId>com.puppycrawl.tools</groupId>
1143               <artifactId>checkstyle</artifactId>
1144               <!-- This should match the dependency management on com.puppycrawl.tools:checkstyle above -->
1145               <version>8.12</version>
1146             </dependency>
1147             <dependency>
1148               <groupId>org.opendaylight.odlparent</groupId>
1149               <artifactId>checkstyle</artifactId>
1150               <version>4.0.1-SNAPSHOT</version>
1151             </dependency>
1152             <dependency>
1153               <groupId>org.opendaylight.odlparent</groupId>
1154               <artifactId>odl-license</artifactId>
1155               <version>4.0.1-SNAPSHOT</version>
1156             </dependency>
1157             <dependency>
1158               <groupId>com.github.sevntu-checkstyle</groupId>
1159               <artifactId>sevntu-checkstyle-maven-plugin</artifactId>
1160               <version>1.32.0</version>
1161             </dependency>
1162           </dependencies>
1163           <configuration>
1164             <configLocation>odl_checks.xml</configLocation>
1165             <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
1166             <!-- <sourceDirectories> are needed so that checkstyle ignores the
1167                  generated sources directory -->
1168             <sourceDirectories>
1169               <directory>${project.build.sourceDirectory}</directory>
1170             </sourceDirectories>
1171             <includeResources>true</includeResources>
1172             <includeTestSourceDirectory>true</includeTestSourceDirectory>
1173             <includeTestResources>true</includeTestResources>
1174             <includes>**\/*.java, **\/*.xtend</includes>
1175             <excludes>
1176               org/opendaylight/yang/gen/**,
1177               **/protobuff/messages/**,
1178               **/thrift/gen/*.java
1179             </excludes>
1180             <failsOnError>false</failsOnError>
1181             <consoleOutput>true</consoleOutput>
1182           </configuration>
1183           <executions>
1184             <execution>
1185               <id>check-license</id>
1186               <goals>
1187                 <goal>check</goal>
1188               </goals>
1189               <phase>process-sources</phase>
1190               <configuration>
1191                 <configLocation>check-license.xml</configLocation>
1192                 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1193                 <includeResources>false</includeResources>
1194                 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1195                 <includeTestResources>false</includeTestResources>
1196                 <sourceDirectories>
1197                   <directory>${project.build.sourceDirectory}</directory>
1198                 </sourceDirectories>
1199                 <excludes>
1200                   org/opendaylight/yang/gen/**,
1201                   **/protobuff/messages/**,
1202                   **/thrift/gen/*.java
1203                 </excludes>
1204                 <failsOnError>false</failsOnError>
1205                 <consoleOutput>true</consoleOutput>
1206               </configuration>
1207             </execution>
1208             <execution>
1209               <goals>
1210                 <goal>check</goal>
1211               </goals>
1212               <phase>process-sources</phase>
1213             </execution>
1214           </executions>
1215         </plugin>
1216         <plugin>
1217           <groupId>org.apache.maven.plugins</groupId>
1218           <artifactId>maven-pmd-plugin</artifactId>
1219           <version>3.10.0</version>
1220           <executions>
1221             <execution>
1222               <id>cpd</id>
1223               <phase>process-sources</phase>
1224               <goals>
1225                 <goal>cpd-check</goal>
1226               </goals>
1227               <configuration>
1228                 <failOnViolation>${pmd.cpd.fail}</failOnViolation>
1229                 <!-- 100 "tokens" here correspond to approx. 5-10 lines of code -->
1230                 <minimumTokens>101</minimumTokens>
1231                 <printFailingErrors>true</printFailingErrors>
1232                 <excludeRoots>
1233                   <!-- FIXME: this should be a wildcard, but PMD is brain-damaged and does
1234                               not understand path prefixes nor wildcards. Details are available
1235                               at http://stackoverflow.com/questions/15647771/pmd-exclude-not-working
1236                               Hence people introducing new generated sources have to include
1237                               PMD config too.
1238                    -->
1239                   <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
1240                   <excludeRoot>${project.build.directory}/generated-test-sources</excludeRoot>
1241                 </excludeRoots>
1242                 <linkXRef>false</linkXRef>
1243               </configuration>
1244             </execution>
1245           </executions>
1246         </plugin>
1247         <plugin>
1248           <artifactId>maven-compiler-plugin</artifactId>
1249           <version>3.8.0</version>
1250           <configuration>
1251             <source>1.8</source>
1252             <target>1.8</target>
1253             <showWarnings>true</showWarnings>
1254             <compilerArgs>
1255               <arg>-parameters</arg>
1256               <arg>-Xlint:deprecation</arg>
1257               <arg>-Xlint:unchecked</arg>
1258             </compilerArgs>
1259           </configuration>
1260         </plugin>
1261         <plugin>
1262           <artifactId>maven-enforcer-plugin</artifactId>
1263           <version>${enforcer.version}</version>
1264         </plugin>
1265         <plugin>
1266           <artifactId>maven-failsafe-plugin</artifactId>
1267           <version>2.20.1</version>
1268         </plugin>
1269         <plugin>
1270           <artifactId>maven-invoker-plugin</artifactId>
1271           <version>2.0.0</version>
1272         </plugin>
1273         <plugin>
1274           <artifactId>maven-jar-plugin</artifactId>
1275           <version>3.0.2</version>
1276         </plugin>
1277         <plugin>
1278           <artifactId>maven-dependency-plugin</artifactId>
1279           <executions>
1280             <execution>
1281               <id>unpack-license</id>
1282               <phase>generate-resources</phase>
1283               <goals><goal>unpack</goal></goals>
1284               <configuration>
1285                 <artifactItems>
1286                   <artifactItem>
1287                     <groupId>org.opendaylight.odlparent</groupId>
1288                     <artifactId>odl-license</artifactId>
1289                     <version>4.0.1-SNAPSHOT</version>
1290                   </artifactItem>
1291                 </artifactItems>
1292                 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1293                 <excludes>META-INF/**</excludes>
1294               </configuration>
1295             </execution>
1296           </executions>
1297         </plugin>
1298
1299         <plugin>
1300           <artifactId>maven-plugin-plugin</artifactId>
1301           <version>3.5</version>
1302         </plugin>
1303
1304         <plugin>
1305           <artifactId>maven-remote-resources-plugin</artifactId>
1306           <version>1.5</version>
1307         </plugin>
1308         <plugin>
1309           <artifactId>maven-resources-plugin</artifactId>
1310           <version>3.1.0</version>
1311         </plugin>
1312         <plugin>
1313           <artifactId>maven-shade-plugin</artifactId>
1314           <version>3.2.0</version>
1315         </plugin>
1316         <plugin>
1317           <artifactId>maven-source-plugin</artifactId>
1318           <version>3.0.1</version>
1319           <executions>
1320             <execution>
1321               <id>attach-sources</id>
1322               <phase>verify</phase>
1323               <goals>
1324                 <goal>jar-no-fork</goal>
1325               </goals>
1326             </execution>
1327           </executions>
1328         </plugin>
1329         <plugin>
1330           <artifactId>maven-surefire-plugin</artifactId>
1331           <version>2.18.1</version>
1332           <configuration>
1333             <redirectTestOutputToFile>${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
1334             <trimStackTrace>false</trimStackTrace>
1335           </configuration>
1336         </plugin>
1337
1338         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1339         <plugin>
1340           <!-- Support Blueprint XML construction using annotations -->
1341           <groupId>org.apache.aries.blueprint</groupId>
1342           <artifactId>blueprint-maven-plugin</artifactId>
1343           <version>1.10.0</version>
1344           <!-- TODO remove dependencies when we bump from 1.10.0 to 1.11.0 (or 1.10.1);
1345              see https://jira.opendaylight.org/browse/ODLPARENT-167 & https://jira.apache.org/jira/browse/ARIES-1826 -->
1346           <dependencies>
1347             <dependency>
1348               <groupId>org.apache.xbean</groupId>
1349               <artifactId>xbean-finder-shaded</artifactId>
1350               <version>4.9</version>
1351             </dependency>
1352           </dependencies>
1353           <configuration>
1354             <scanPaths>
1355               <scanPath>org.opendaylight</scanPath>
1356             </scanPaths>
1357           </configuration>
1358           <executions>
1359             <execution>
1360               <goals>
1361                 <goal>blueprint-generate</goal>
1362               </goals>
1363             </execution>
1364           </executions>
1365         </plugin>
1366
1367         <plugin>
1368           <groupId>org.apache.felix</groupId>
1369           <artifactId>maven-bundle-plugin</artifactId>
1370           <version>4.0.0</version>
1371           <extensions>true</extensions>
1372           <configuration>
1373             <instructions>
1374               <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
1375                    so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
1376                    and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present.  -->
1377               <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
1378
1379               <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
1380                    to generate Import-Service and Export-Service headers. -->
1381               <_removeheaders>Import-Service,Export-Service</_removeheaders>
1382             </instructions>
1383           </configuration>
1384         </plugin>
1385
1386         <plugin>
1387           <groupId>org.apache.karaf.tooling</groupId>
1388           <artifactId>karaf-maven-plugin</artifactId>
1389           <version>${karaf.version}</version>
1390         </plugin>
1391
1392         <plugin>
1393           <groupId>org.apache.servicemix.tooling</groupId>
1394           <artifactId>depends-maven-plugin</artifactId>
1395           <version>1.4.0</version>
1396           <executions>
1397             <execution>
1398               <id>generate-depends-file</id>
1399               <goals>
1400                 <goal>generate-depends-file</goal>
1401               </goals>
1402             </execution>
1403           </executions>
1404         </plugin>
1405
1406         <plugin>
1407           <groupId>org.codehaus.enunciate</groupId>
1408           <artifactId>maven-enunciate-plugin</artifactId>
1409           <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
1410           <version>1.31</version>
1411         </plugin>
1412         <plugin>
1413           <groupId>org.codehaus.groovy.maven</groupId>
1414           <artifactId>gmaven-plugin</artifactId>
1415           <version>1.0</version>
1416         </plugin>
1417         <plugin>
1418           <groupId>org.codehaus.mojo</groupId>
1419           <artifactId>build-helper-maven-plugin</artifactId>
1420           <version>3.0.0</version>
1421         </plugin>
1422         <plugin>
1423           <groupId>org.codehaus.mojo</groupId>
1424           <artifactId>findbugs-maven-plugin</artifactId>
1425           <version>3.0.5</version>
1426           <dependencies>
1427             <dependency>
1428               <groupId>org.opendaylight.odlparent</groupId>
1429               <artifactId>findbugs</artifactId>
1430               <version>4.0.1-SNAPSHOT</version>
1431             </dependency>
1432           </dependencies>
1433           <configuration>
1434             <plugins>
1435               <plugin>
1436                 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1437                 <artifactId>bug-pattern</artifactId>
1438                 <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
1439                      but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
1440                 <version>1.4.0</version>
1441               </plugin>
1442             </plugins>
1443             <!--
1444               Enables analysis which takes more memory but finds more bugs.
1445               If you run out of memory, changes the value of the effort element
1446               to 'Low'.
1447             -->
1448             <effort>Max</effort>
1449             <!-- Reports all bugs (other values are medium and max) -->
1450             <threshold>Low</threshold>
1451             <!-- Build doesn't fail if problems are found -->
1452             <failOnError>false</failOnError>
1453             <!-- References the excluded rules -->
1454             <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
1455             <!-- Produces XML report -->
1456             <xmlOutput>true</xmlOutput>
1457             <!-- Configures the directory in which the XML report is created -->
1458             <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
1459           </configuration>
1460           <executions>
1461               <!--
1462                 Ensures that FindBugs inspects source code when project is compiled.
1463               -->
1464               <execution>
1465                 <id>analyze-compile</id>
1466                 <phase>compile</phase>
1467                 <goals>
1468                   <goal>check</goal>
1469                 </goals>
1470               </execution>
1471           </executions>
1472         </plugin>
1473         <plugin>
1474           <groupId>com.github.spotbugs</groupId>
1475           <artifactId>spotbugs-maven-plugin</artifactId>
1476           <version>3.1.6</version>
1477           <dependencies>
1478             <dependency>
1479               <groupId>com.github.spotbugs</groupId>
1480               <artifactId>spotbugs</artifactId>
1481               <version>3.1.7</version>
1482             </dependency>
1483             <dependency>
1484               <groupId>org.opendaylight.odlparent</groupId>
1485               <artifactId>spotbugs</artifactId>
1486               <version>4.0.1-SNAPSHOT</version>
1487             </dependency>
1488           </dependencies>
1489           <configuration>
1490             <plugins>
1491               <plugin>
1492                 <groupId>jp.skypencil.findbugs.slf4j</groupId>
1493                 <artifactId>bug-pattern</artifactId>
1494                 <!-- NOTE: This version MUST be kept in sync with the same version in the old findbugs-maven-plugin above, if possible -->
1495                 <version>1.4.1</version>
1496               </plugin>
1497             </plugins>
1498             <!--
1499               Enables analysis which takes more memory but finds more bugs.
1500               If you run out of memory, changes the value of the effort element
1501               to 'Low'.
1502             -->
1503             <effort>Max</effort>
1504             <!-- Reports all bugs (other values are medium and max) -->
1505             <threshold>Low</threshold>
1506             <!-- Build doesn't fail if problems are found -->
1507             <failOnError>false</failOnError>
1508             <!-- References the excluded rules -->
1509             <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
1510             <!-- Produces XML report -->
1511             <xmlOutput>true</xmlOutput>
1512             <!-- Configures the directory in which the XML report is created -->
1513             <findbugsXmlOutputDirectory>${project.build.directory}/spotbugs</findbugsXmlOutputDirectory>
1514           </configuration>
1515           <executions>
1516             <!--
1517               Ensures that SpotBugs inspects source code when project is compiled.
1518             -->
1519             <execution>
1520               <id>analyze-compile</id>
1521               <phase>compile</phase>
1522               <goals>
1523                 <goal>check</goal>
1524               </goals>
1525             </execution>
1526           </executions>
1527         </plugin>
1528         <plugin>
1529           <groupId>org.codehaus.mojo</groupId>
1530           <artifactId>properties-maven-plugin</artifactId>
1531           <version>1.0.0</version>
1532         </plugin>
1533         <plugin>
1534           <groupId>org.eclipse.xtend</groupId>
1535           <artifactId>xtend-maven-plugin</artifactId>
1536           <!-- NOTE: This version MUST be kept in sync with the Xtend version in <dependencyManagement> -->
1537           <version>2.14.0</version>
1538           <executions>
1539             <execution>
1540               <goals>
1541                 <goal>compile</goal>
1542                 <goal>testCompile</goal>
1543               </goals>
1544               <configuration>
1545                 <outputDirectory>${project.build.directory}/generated-sources/xtend</outputDirectory>
1546                 <testOutputDirectory>${project.build.directory}/generated-test-sources/xtend</testOutputDirectory>
1547               </configuration>
1548             </execution>
1549           </executions>
1550
1551           <!-- This is needed because upstream got broken by their inconsistency: pulling in old core,
1552                but using ranges for other components. No wonder it blew up. -->
1553           <dependencies>
1554             <dependency>
1555               <groupId>org.eclipse.platform</groupId>
1556               <artifactId>org.eclipse.equinox.common</artifactId>
1557               <version>3.10.0</version>
1558             </dependency>
1559           </dependencies>
1560         </plugin>
1561         <plugin>
1562           <groupId>org.eclipse.m2e</groupId>
1563           <artifactId>lifecycle-mapping</artifactId>
1564           <version>1.0.0</version>
1565           <configuration>
1566             <lifecycleMappingMetadata>
1567               <pluginExecutions>
1568                 <pluginExecution>
1569                   <pluginExecutionFilter>
1570                     <groupId>org.apache.felix</groupId>
1571                     <artifactId>maven-bundle-plugin</artifactId>
1572                     <versionRange>[1.0,)</versionRange>
1573                     <goals>
1574                       <goal>manifest</goal>
1575                     </goals>
1576                   </pluginExecutionFilter>
1577                   <action>
1578                     <execute/>
1579                   </action>
1580                 </pluginExecution>
1581                 <pluginExecution>
1582                   <pluginExecutionFilter>
1583                     <groupId>org.apache.maven.plugins</groupId>
1584                     <artifactId>maven-enforcer-plugin</artifactId>
1585                     <versionRange>[1.0.0,)</versionRange>
1586                     <goals>
1587                       <goal>enforce</goal>
1588                     </goals>
1589                   </pluginExecutionFilter>
1590                   <action>
1591                     <ignore/>
1592                   </action>
1593                 </pluginExecution>
1594                 <pluginExecution>
1595                   <pluginExecutionFilter>
1596                     <groupId>org.apache.maven.plugins</groupId>
1597                     <artifactId>maven-dependency-plugin</artifactId>
1598                     <versionRange>[2.10,)</versionRange>
1599                     <goals>
1600                       <goal>unpack</goal>
1601                     </goals>
1602                   </pluginExecutionFilter>
1603                   <action>
1604                     <ignore/>
1605                   </action>
1606                 </pluginExecution>
1607                 <pluginExecution>
1608                   <pluginExecutionFilter>
1609                     <groupId>org.apache.maven.plugins</groupId>
1610                     <artifactId>maven-pmd-plugin</artifactId>
1611                     <versionRange>[3.6,)</versionRange>
1612                     <goals>
1613                       <goal>cpd-check</goal>
1614                     </goals>
1615                   </pluginExecutionFilter>
1616                   <action>
1617                     <ignore/>
1618                   </action>
1619                 </pluginExecution>
1620                 <!-- The plugin will eventually be removed, remove this too at that point -->
1621                 <pluginExecution>
1622                   <pluginExecutionFilter>
1623                     <groupId>org.apache.maven.plugins</groupId>
1624                     <artifactId>maven-antrun-plugin</artifactId>
1625                     <versionRange>[1.8,)</versionRange>
1626                     <goals>
1627                       <goal>run</goal>
1628                     </goals>
1629                   </pluginExecutionFilter>
1630                   <action>
1631                     <ignore/>
1632                   </action>
1633                 </pluginExecution>
1634                 <pluginExecution>
1635                   <pluginExecutionFilter>
1636                     <groupId>org.apache.servicemix.tooling</groupId>
1637                     <artifactId>depends-maven-plugin</artifactId>
1638                     <versionRange>[1.2,)</versionRange>
1639                     <goals>
1640                       <goal>generate-depends-file</goal>
1641                     </goals>
1642                   </pluginExecutionFilter>
1643                   <action>
1644                     <execute/>
1645                   </action>
1646                 </pluginExecution>
1647                 <pluginExecution>
1648                   <pluginExecutionFilter>
1649                     <groupId>org.jacoco</groupId>
1650                     <artifactId>jacoco-maven-plugin</artifactId>
1651                     <versionRange>[0.7.0,)</versionRange>
1652                     <goals>
1653                       <goal>prepare-agent</goal>
1654                     </goals>
1655                   </pluginExecutionFilter>
1656                   <action>
1657                     <ignore/>
1658                   </action>
1659                 </pluginExecution>
1660
1661                 <pluginExecution>
1662                   <pluginExecutionFilter>
1663                     <groupId>org.ops4j.pax.exam</groupId>
1664                     <artifactId>maven-paxexam-plugin</artifactId>
1665                     <versionRange>[1.2.4,)</versionRange>
1666                     <goals>
1667                       <goal>generate-depends-file</goal>
1668                     </goals>
1669                   </pluginExecutionFilter>
1670                   <action>
1671                     <ignore/>
1672                   </action>
1673                 </pluginExecution>
1674
1675                 <pluginExecution>
1676                   <pluginExecutionFilter>
1677                     <groupId>org.basepom.maven</groupId>
1678                     <artifactId>
1679                       duplicate-finder-maven-plugin
1680                     </artifactId>
1681                     <versionRange>[1.2.1,)</versionRange>
1682                     <goals>
1683                       <goal>check</goal>
1684                     </goals>
1685                   </pluginExecutionFilter>
1686                   <action>
1687                     <ignore></ignore>
1688                   </action>
1689                 </pluginExecution>
1690               </pluginExecutions>
1691             </lifecycleMappingMetadata>
1692           </configuration>
1693         </plugin>
1694
1695         <plugin>
1696           <groupId>org.jacoco</groupId>
1697           <artifactId>jacoco-maven-plugin</artifactId>
1698           <configuration>
1699             <!-- Note: This exclusion list should match <sonar.exclusions>
1700                        property above -->
1701             <excludes>
1702               <exclude>**/gen/**</exclude>
1703               <exclude>**/generated-sources/**</exclude>
1704               <exclude>**/generated-test-sources/**</exclude>
1705               <exclude>**/yang-gen/**</exclude>
1706               <exclude>**/yang-gen-config/**</exclude>
1707               <exclude>**/yang-gen-sal/**</exclude>
1708               <exclude>**/yang-gen-code/**</exclude>
1709               <exclude>**/pax/**</exclude>
1710             </excludes>
1711           </configuration>
1712         </plugin>
1713
1714         <plugin>
1715           <groupId>org.ops4j.pax.exam</groupId>
1716           <artifactId>maven-paxexam-plugin</artifactId>
1717           <version>1.2.4</version>
1718         </plugin>
1719
1720         <plugin>
1721           <groupId>org.codehaus.mojo</groupId>
1722           <artifactId>jdepend-maven-plugin</artifactId>
1723           <version>2.0</version>
1724           <executions>
1725             <execution>
1726               <phase>site</phase>
1727               <goals>
1728                 <goal>generate-no-fork</goal>
1729               </goals>
1730             </execution>
1731           </executions>
1732         </plugin>
1733
1734         <!-- When updating this version, consider antl4-runtime above -->
1735         <plugin>
1736           <groupId>org.antlr</groupId>
1737           <artifactId>antlr4-maven-plugin</artifactId>
1738           <version>4.7.1</version>
1739         </plugin>
1740       </plugins>
1741     </pluginManagement>
1742
1743     <plugins>
1744       <plugin>
1745         <artifactId>maven-enforcer-plugin</artifactId>
1746         <executions>
1747           <execution>
1748             <id>enforce-banned-dependencies</id>
1749             <goals>
1750               <goal>enforce</goal>
1751             </goals>
1752             <configuration>
1753               <rules>
1754                 <bannedDependencies>
1755                   <message>Please always use mockito-core instead of mockito-all, and findbugs:annotations instead of findbugs:jsr305 (see https://bugs.opendaylight.org/show_bug.cgi?id=7662 &amp; https://bugs.opendaylight.org/show_bug.cgi?id=7663)</message>
1756                   <excludes>
1757                     <exclude>org.mockito:mockito-all</exclude>
1758                     <!-- https://github.com/facebook/facebook-oss-pom/blob/master/pom.xml#L331-L336 -->
1759                     <!-- Clashes with com.google.code.findbugs:annotations and having both jars -->
1760                     <!-- as a dependency then clashes with the dependency checker (because it   -->
1761                     <!-- is not very good at handling annotations). Use the annotations jar     -->
1762                     <!-- instead which has all jsr305 annotations and the additional findbugs   -->
1763                     <!-- stuff. -->
1764                     <exclude>com.google.code.findbugs:jsr305</exclude>
1765                     <exclude>net.jcip:jcip-annotations</exclude>
1766                   </excludes>
1767                 </bannedDependencies>
1768               </rules>
1769               <fail>true</fail>
1770             </configuration>
1771           </execution>
1772         </executions>
1773       </plugin>
1774       <plugin>
1775         <groupId>org.basepom.maven</groupId>
1776         <artifactId>duplicate-finder-maven-plugin</artifactId>
1777         <version>1.3.0</version>
1778         <executions>
1779           <execution>
1780             <id>find-duplicate-classpath-entries</id>
1781             <phase>verify</phase>
1782             <goals>
1783               <goal>check</goal>
1784             </goals>
1785           </execution>
1786         </executions>
1787         <configuration>
1788             <!-- https://github.com/basepom/duplicate-finder-maven-plugin/wiki -->
1789             <failBuildInCaseOfConflict>false</failBuildInCaseOfConflict>
1790             <failBuildInCaseOfDifferentContentConflict>true</failBuildInCaseOfDifferentContentConflict>
1791             <failBuildInCaseOfEqualContentConflict>false</failBuildInCaseOfEqualContentConflict>
1792             <printEqualFiles>false</printEqualFiles>
1793             <quiet>true</quiet>
1794             <!-- In addition to https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Default%20ignored%20elements,
1795                  as explained on https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Ignoring%20Dependencies%20and%20Resources,
1796                  we use resources not dependencies (see https://github.com/basepom/duplicate-finder-maven-plugin/wiki/Classpath%20Exceptions)
1797                  also ignore: -->
1798             <ignoredResourcePatterns>
1799               <ignoredResourcePattern>org/opendaylight/blueprint/.*\.xml$</ignoredResourcePattern>
1800               <ignoredResourcePattern>OSGI-OPT/bnd.bnd$</ignoredResourcePattern>
1801               <ignoredResourcePattern>WEB-INF/web.xml</ignoredResourcePattern>
1802               <ignoredResourcePattern>README.*$</ignoredResourcePattern>
1803               <ignoredResourcePattern>.*\.html$</ignoredResourcePattern>
1804               <ignoredResourcePattern>reference.conf</ignoredResourcePattern>
1805             </ignoredResourcePatterns>
1806             <ignoredDependencies>
1807               <ignoredDependency>
1808                 <groupId>org.slf4j</groupId>
1809                 <artifactId>slf4j-simple</artifactId>
1810               </ignoredDependency>
1811               <ignoredDependency>
1812                 <groupId>org.opendaylight.odlparent</groupId>
1813                 <artifactId>opendaylight-karaf-empty</artifactId>
1814               </ignoredDependency>
1815             </ignoredDependencies>
1816         </configuration>
1817       </plugin>
1818       <plugin>
1819         <artifactId>maven-dependency-plugin</artifactId>
1820       </plugin>
1821       <plugin>
1822         <artifactId>maven-checkstyle-plugin</artifactId>
1823       </plugin>
1824       <plugin>
1825           <artifactId>maven-pmd-plugin</artifactId>
1826       </plugin>
1827       <plugin>
1828         <artifactId>maven-source-plugin</artifactId>
1829       </plugin>
1830       <plugin>
1831         <artifactId>maven-javadoc-plugin</artifactId>
1832       </plugin>
1833
1834       <!-- Jacoco / Sonar -->
1835       <plugin>
1836         <groupId>org.jacoco</groupId>
1837         <artifactId>jacoco-maven-plugin</artifactId>
1838         <executions>
1839           <execution>
1840             <id>pre-unit-test</id>
1841             <goals>
1842               <goal>prepare-agent</goal>
1843             </goals>
1844             <configuration>
1845               <destFile>${jacoco.destFile}</destFile>
1846             </configuration>
1847           </execution>
1848         </executions>
1849       </plugin>
1850
1851       <plugin>
1852         <groupId>com.alexecollins.maven.plugin</groupId>
1853         <artifactId>script-maven-plugin</artifactId>
1854         <version>1.0.0</version>
1855         <executions>
1856            <execution>
1857              <phase>prepare-package</phase>
1858              <goals>
1859                <goal>execute</goal>
1860              </goals>
1861              <configuration>
1862                <script>
1863                  // BeanShell is 2005-ish and thus doesn't support generics, varargs, try-with-resources or lambdas, so:
1864                  // (If we do this kind of inline code in pom.xml more often, we shold have a new simple module in
1865                  //  odl-parent, which has *.java that we compile, and then just depend on it here and call one-line
1866                  //  static class methods only - it will be MUCH easier to write!)
1867                  void copy(File root, String glob, File target) {
1868                      java.nio.file.DirectoryStream dirStream = java.nio.file.Files.newDirectoryStream(root.toPath(), glob);
1869                      Iterator dirStreamIterator = dirStream.iterator();
1870                      while (dirStreamIterator.hasNext()) {
1871                          java.nio.file.Path path = dirStreamIterator.next();
1872                          java.nio.file.Files.copy(path, new File(target, path.toFile().getName()).toPath(),
1873                              new java.nio.file.CopyOption[] {
1874                                  java.nio.file.StandardCopyOption.REPLACE_EXISTING,
1875                                  java.nio.file.StandardCopyOption.COPY_ATTRIBUTES
1876                              }
1877                          );
1878                      }
1879                      dirStream.close();
1880                  }
1881
1882                  File gitRepoRootDir = project.basedir;
1883                  while (!new File(gitRepoRootDir, ".git").exists() &amp;&amp; gitRepoRootDir.getParentFile() != null) {
1884                      gitRepoRootDir = gitRepoRootDir.getParentFile();
1885                  }
1886
1887                  File target = new File(project.build.outputDirectory);
1888                  target.mkdirs();
1889                  copy(gitRepoRootDir, "README*", target);
1890                  copy(gitRepoRootDir, "CONTRIBUTING*", target);
1891                  copy(gitRepoRootDir, "PROJECT_INFO.yaml", target);
1892                </script>
1893              </configuration>
1894            </execution>
1895          </executions>
1896          <dependencies>
1897            <dependency>
1898              <groupId>org.apache-extras.beanshell</groupId>
1899              <artifactId>bsh</artifactId>
1900              <version>2.0b6</version>
1901            </dependency>
1902          </dependencies>
1903       </plugin>
1904     </plugins>
1905   </build>
1906
1907   <reporting>
1908     <plugins>
1909       <plugin>
1910         <artifactId>maven-checkstyle-plugin</artifactId>
1911         <version>3.0.0</version>
1912       </plugin>
1913
1914       <!-- FIXME: activate this
1915       <plugin>
1916         <artifactId>maven-project-info-reports-plugin</artifactId>
1917         <version>${projectinfo}</version>
1918       </plugin-->
1919       <plugin>
1920         <groupId>org.codehaus.mojo</groupId>
1921         <artifactId>jdepend-maven-plugin</artifactId>
1922         <reportSets>
1923           <reportSet>
1924             <reports>
1925               <report>generate-no-fork</report>
1926             </reports>
1927           </reportSet>
1928         </reportSets>
1929       </plugin>
1930     </plugins>
1931   </reporting>
1932
1933   <profiles>
1934     <profile>
1935       <!-- On JDK9-and-later findbugs fails -->
1936       <id>jdk9-findbugs</id>
1937       <activation>
1938         <jdk>[9,)</jdk>
1939       </activation>
1940
1941       <build>
1942         <plugins>
1943           <plugin>
1944             <groupId>org.codehaus.mojo</groupId>
1945             <artifactId>findbugs-maven-plugin</artifactId>
1946             <configuration combine.children="append">
1947               <skip>true</skip>
1948             </configuration>
1949           </plugin>
1950         </plugins>
1951       </build>
1952     </profile>
1953   </profiles>
1954
1955 </project>
1956