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