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