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