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