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