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