Merge "Bug 5787 Upgrade for Jersey from 2.8 to 2.22.2, the latest version"
[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>1.7.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     <maven.antrun.plugin.version>1.8</maven.antrun.plugin.version>
52     <maven.bundle.version>3.0.0</maven.bundle.version>
53     <maven.clean.plugin.version>2.6.1</maven.clean.plugin.version>
54     <maven.compile.plugin.version>3.3</maven.compile.plugin.version>
55     <maven.jar.version>2.6</maven.jar.version>
56     <maven.javadoc.version>2.10.3</maven.javadoc.version>
57     <maven.plugin.version>3.4</maven.plugin.version>
58     <maven.release.version>2.5.2</maven.release.version>
59     <maven.surefire.version>2.18.1</maven.surefire.version>
60
61     <!-- Maven plugin versions, in random formats -->
62     <bundle.plugin.version>${maven.bundle.version}</bundle.plugin.version>
63     <checkstyle.version>2.16</checkstyle.version>
64     <compiler.version>${maven.compile.plugin.version}</compiler.version>
65     <enforcer.version>1.4.1</enforcer.version>
66     <enunciate.version>1.31</enunciate.version> <!-- Needs to remain exported, as its used for dependencies, too -->
67     <exam.version>4.4.0</exam.version> <!-- Needs to remain exported, as its used for dependencies, too -->
68     <failsafe.version>2.18.1</failsafe.version>
69     <gmaven.plugin.version>1.0</gmaven.plugin.version>
70     <!--
71         Regression in jacoco-plugin 0.7.5 prevents us from upgrading to it
72         http://jira.xwiki.org/browse/XCOMMONS-821
73
74         Additionally we need to stay on jacoco 0.7.2.201409121644. Future
75         versions appear to have issues picking up code coverage for projects
76         that use PowerMock.
77         https://github.com/jayway/powermock/issues/564
78     -->
79     <jacoco.version>0.7.2.201409121644</jacoco.version>
80     <jar.plugin.version>${maven.jar.version}</jar.plugin.version>
81     <karaf.version>3.0.3</karaf.version> <!-- Needs to remain exported, as its used for dependencies, too -->
82     <projectinfo>2.8.1</projectinfo>
83     <propertymavenplugin.version>1.0-alpha-2</propertymavenplugin.version>
84     <releaseplugin.version>${maven.release.version}</releaseplugin.version>
85     <odl.checkstyle.version>0.2.0-SNAPSHOT</odl.checkstyle.version>
86
87     <!-- Supporting Libraries -->
88     <!-- Used by controller -->
89     <bouncycastle.version>1.54</bouncycastle.version>
90     <!-- Used by persistence, snmp4sdn; see also didm -->
91     <guava.version>18.0</guava.version>
92     <!-- Used by alto; see also affinity, defense4all, integration/distribution, snmp4sdn, toolkit, ttp -->
93     <jackson.version>2.3.2</jackson.version>
94     <!-- Used by snmp4sdn -->
95     <javassist.version>3.20.0-GA</javassist.version>
96
97     <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
98     <!-- Used by alto, centinel, tsdr; see also affinity, defense4all, nemo, snmp4sdn, toolkit -->
99     <jersey.version>1.17</jersey.version>
100
101     <!-- Used by centinel -->
102     <org.json.version>20131018</org.json.version>
103
104     <!-- Used by centinel -->
105     <jettison.version>1.3.7</jettison.version>
106     <!-- Used by persistence -->
107     <jsr305.api.version>3.0.0</jsr305.api.version>
108     <!-- Need to stick to JUnit 4.11 until
109          https://github.com/jayway/powermock/issues/560 is fixed (either in
110          PowerMock or with a new JUnit release) -->
111     <!-- Used by nic, persistence, tsdr; see also nemo -->
112     <junit.version>4.11</junit.version>
113     <!-- Used by snmp4sdn; see also affinity, toolkit -->
114     <logback.version>1.1.3</logback.version>
115     <!-- Used by nic, tsdr -->
116     <mockito.version>1.10.19</mockito.version>
117     <!-- Used by alto, controller, didm, snbi; see also centinel, dlux, toolkit, tsdr -->
118     <osgi.core.version>5.0.0</osgi.core.version>
119     <!-- Used by persistence, snmp4sdn; see also affinity, toolkit -->
120     <slf4j.version>1.7.12</slf4j.version>
121
122     <akka.version>2.4.4</akka.version>
123     <scala.version>2.11</scala.version>
124     <scala.micro.version>8</scala.micro.version>
125     <leveldb.version>0.7</leveldb.version>
126
127     <!-- Default Sonar configuration -->
128     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
129     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
130     <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
131     <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
132     <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
133     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
134   </properties>
135
136   <dependencyManagement>
137     <dependencies>
138
139       <dependency>
140         <groupId>org.opendaylight.odlparent</groupId>
141         <artifactId>odlparent-artifacts</artifactId>
142         <version>1.7.0-SNAPSHOT</version>
143         <scope>import</scope>
144         <type>pom</type>
145       </dependency>
146
147       <!-- Testing Dependencies -->
148       <!-- JUnit, Hamcrest, Mockito and PowerMock need to be kept in sync -->
149       <dependency>
150         <groupId>junit</groupId>
151         <artifactId>junit</artifactId>
152         <version>${junit.version}</version>
153         <scope>test</scope>
154       </dependency>
155       <dependency>
156         <groupId>junit</groupId>
157         <artifactId>junit-dep</artifactId>
158         <version>${junit.version}</version>
159         <scope>test</scope>
160       </dependency>
161       <dependency>
162          <groupId>org.skyscreamer</groupId>
163          <artifactId>jsonassert</artifactId>
164          <version>1.2.3</version>
165          <scope>test</scope>
166       </dependency>
167       <dependency>
168         <groupId>org.mockito</groupId>
169         <artifactId>mockito-all</artifactId>
170         <version>${mockito.version}</version>
171         <scope>test</scope>
172       </dependency>
173       <dependency>
174         <groupId>org.mockito</groupId>
175         <artifactId>mockito-core</artifactId>
176         <version>${mockito.version}</version>
177         <scope>test</scope>
178       </dependency>
179       <dependency>
180         <groupId>org.hamcrest</groupId>
181         <artifactId>hamcrest-core</artifactId>
182         <version>1.3</version>
183         <scope>test</scope>
184       </dependency>
185       <dependency>
186         <groupId>org.slf4j</groupId>
187         <artifactId>slf4j-simple</artifactId>
188         <version>${slf4j.version}</version>
189         <scope>test</scope>
190       </dependency>
191       <dependency>
192         <groupId>org.powermock</groupId>
193         <artifactId>powermock-api-mockito</artifactId>
194         <version>1.6.4</version>
195         <scope>test</scope>
196       </dependency>
197       <dependency>
198         <groupId>org.powermock</groupId>
199         <artifactId>powermock-api-support</artifactId>
200         <version>1.6.4</version>
201         <scope>test</scope>
202       </dependency>
203       <dependency>
204         <groupId>org.powermock</groupId>
205         <artifactId>powermock-core</artifactId>
206         <version>1.6.4</version>
207         <scope>test</scope>
208       </dependency>
209       <dependency>
210         <groupId>org.powermock</groupId>
211         <artifactId>powermock-module-junit4</artifactId>
212         <version>1.6.4</version>
213         <scope>test</scope>
214       </dependency>
215       <dependency>
216         <groupId>org.powermock</groupId>
217         <artifactId>powermock-reflect</artifactId>
218         <version>1.6.4</version>
219         <scope>test</scope>
220       </dependency>
221       <!-- Supporting Libraries -->
222       <dependency>
223         <groupId>org.slf4j</groupId>
224         <artifactId>jcl-over-slf4j</artifactId>
225         <version>${slf4j.version}</version>
226       </dependency>
227       <dependency>
228         <groupId>org.slf4j</groupId>
229         <artifactId>slf4j-api</artifactId>
230         <version>${slf4j.version}</version>
231       </dependency>
232       <dependency>
233         <groupId>org.slf4j</groupId>
234         <artifactId>slf4j-log4j12</artifactId>
235         <version>${slf4j.version}</version>
236       </dependency>
237       <dependency>
238         <groupId>org.slf4j</groupId>
239         <artifactId>log4j-over-slf4j</artifactId>
240         <version>${slf4j.version}</version>
241       </dependency>
242       <dependency>
243         <groupId>xml-apis</groupId>
244         <artifactId>xml-apis</artifactId>
245         <version>2.0.2</version>
246       </dependency>
247       <dependency>
248         <groupId>ch.qos.logback</groupId>
249         <artifactId>logback-core</artifactId>
250         <version>${logback.version}</version>
251       </dependency>
252       <dependency>
253         <groupId>ch.qos.logback</groupId>
254         <artifactId>logback-classic</artifactId>
255         <version>${logback.version}</version>
256       </dependency>
257       <dependency>
258         <groupId>com.google.guava</groupId>
259         <artifactId>guava</artifactId>
260         <version>${guava.version}</version>
261       </dependency>
262       <dependency>
263         <groupId>org.apache.commons</groupId>
264         <artifactId>commons-lang3</artifactId>
265         <version>3.4</version>
266       </dependency>
267       <dependency>
268         <groupId>commons-lang</groupId>
269         <artifactId>commons-lang</artifactId>
270         <version>2.6</version>
271       </dependency>
272       <dependency>
273         <groupId>commons-codec</groupId>
274         <artifactId>commons-codec</artifactId>
275         <version>1.10</version>
276       </dependency>
277       <!-- Jersey for JAXRS -->
278       <dependency>
279         <groupId>javax.ws.rs</groupId>
280         <artifactId>javax.ws.rs-api</artifactId>
281         <version>2.0.1</version>
282       </dependency>
283       <dependency>
284         <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
285         <artifactId>jersey-guava</artifactId>
286         <version>2.22.2</version>
287       </dependency>
288       <dependency>
289         <groupId>org.glassfish</groupId>
290         <artifactId>javax.json</artifactId>
291         <version>1.0.4</version>
292       </dependency>
293       <dependency>
294         <groupId>com.eclipsesource.jaxrs</groupId>
295         <artifactId>jersey-all</artifactId>
296         <version>2.22.2</version>
297       </dependency>
298
299       <!-- servlet 3.x support -->
300       <dependency>
301         <groupId>org.glassfish.jersey.containers</groupId>
302         <artifactId>jersey-container-servlet</artifactId>
303         <version>2.8</version>
304       </dependency>
305       <dependency>
306         <groupId>org.apache.geronimo.bundles</groupId>
307         <artifactId>json</artifactId>
308         <version>20090211_1</version>
309       </dependency>
310       <!-- FIXME : remove all dependencies for jersey 1.7 -->
311       <dependency>
312         <groupId>com.sun.jersey</groupId>
313         <artifactId>jersey-core</artifactId>
314         <version>${jersey.version}</version>
315       </dependency>
316       <dependency>
317         <groupId>com.sun.jersey</groupId>
318         <artifactId>jersey-json</artifactId>
319         <version>${jersey.version}</version>
320       </dependency>
321       <dependency>
322         <groupId>com.sun.jersey</groupId>
323         <artifactId>jersey-server</artifactId>
324         <version>${jersey.version}</version>
325       </dependency>
326       <dependency>
327         <groupId>com.sun.jersey</groupId>
328         <artifactId>jersey-servlet</artifactId>
329         <version>${jersey.version}</version>
330       </dependency>
331       <dependency>
332         <groupId>com.sun.jersey.jersey-test-framework</groupId>
333         <artifactId>jersey-test-framework-grizzly2</artifactId>
334         <version>${jersey.version}</version>
335         <scope>test</scope>
336       </dependency>
337       <dependency>
338         <groupId>com.sun.jersey.jersey-test-framework</groupId>
339         <artifactId>jersey-test-framework-inmemory</artifactId>
340         <version>1.17</version>
341         <scope>test</scope>
342       </dependency>
343       <dependency>
344         <groupId>com.sun.jersey</groupId>
345         <artifactId>jersey-client</artifactId>
346         <version>${jersey.version}</version>
347       </dependency>
348       <dependency>
349         <groupId>org.opendaylight.controller.thirdparty</groupId>
350         <artifactId>com.sun.jersey.jersey-servlet</artifactId>
351         <version>1.17</version>
352       </dependency>
353       <dependency>
354         <groupId>org.apache.shiro</groupId>
355         <artifactId>shiro-core</artifactId>
356         <version>1.2.4</version>
357       </dependency>
358       <dependency>
359         <groupId>org.apache.shiro</groupId>
360         <artifactId>shiro-web</artifactId>
361         <version>1.2.4</version>
362       </dependency>
363
364       <!-- Plugin integration -->
365       <dependency>
366         <groupId>net.java.dev.stax-utils</groupId>
367         <artifactId>stax-utils</artifactId>
368         <version>20070216</version>
369       </dependency>
370       <dependency>
371         <groupId>org.sonatype.plexus</groupId>
372         <artifactId>plexus-build-api</artifactId>
373         <version>0.0.7</version>
374       </dependency>
375       <dependency>
376         <groupId>org.codehaus.plexus</groupId>
377         <artifactId>plexus-slf4j-logging</artifactId>
378         <version>1.1</version>
379       </dependency>
380       <dependency>
381         <groupId>com.fasterxml.jackson.core</groupId>
382         <artifactId>jackson-annotations</artifactId>
383         <version>${jackson.version}</version>
384       </dependency>
385       <dependency>
386         <groupId>com.fasterxml.jackson.core</groupId>
387         <artifactId>jackson-core</artifactId>
388         <version>${jackson.version}</version>
389       </dependency>
390       <dependency>
391         <groupId>com.fasterxml.jackson.core</groupId>
392         <artifactId>jackson-databind</artifactId>
393         <version>${jackson.version}</version>
394       </dependency>
395       <dependency>
396         <groupId>com.fasterxml.jackson.datatype</groupId>
397         <artifactId>jackson-datatype-json-org</artifactId>
398         <version>${jackson.version}</version>
399       </dependency>
400       <!-- TODO do we really need resteasy ? -->
401       <dependency>
402           <groupId>org.jboss.resteasy</groupId>
403           <artifactId>jaxrs-api</artifactId>
404           <version>3.0.4.Final</version>
405       </dependency>
406
407       <dependency>
408         <groupId>com.fasterxml.jackson.jaxrs</groupId>
409         <artifactId>jackson-jaxrs-base</artifactId>
410         <version>${jackson.version}</version>
411       </dependency>
412       <dependency>
413         <groupId>com.fasterxml.jackson.jaxrs</groupId>
414         <artifactId>jackson-jaxrs-json-provider</artifactId>
415         <version>${jackson.version}</version>
416       </dependency>
417       <dependency>
418         <groupId>com.fasterxml.jackson.module</groupId>
419         <artifactId>jackson-module-jaxb-annotations</artifactId>
420         <version>${jackson.version}</version>
421       </dependency>
422       <dependency>
423         <groupId>com.sun.xml.txw2</groupId>
424         <artifactId>txw2</artifactId>
425         <version>20110809</version>
426       </dependency>
427       <dependency>
428         <groupId>com.github.romix</groupId>
429         <artifactId>java-concurrent-hash-trie-map</artifactId>
430         <version>0.2.23</version>
431       </dependency>
432       <dependency>
433         <groupId>com.google.code.findbugs</groupId>
434         <artifactId>jsr305</artifactId>
435         <version>${jsr305.api.version}</version>
436       </dependency>
437       <dependency>
438         <groupId>com.google.code.gson</groupId>
439         <artifactId>gson</artifactId>
440         <version>2.3.1</version>
441       </dependency>
442       <dependency>
443         <groupId>commons-fileupload</groupId>
444         <artifactId>commons-fileupload</artifactId>
445         <version>1.3.1</version>
446       </dependency>
447       <dependency>
448         <groupId>commons-io</groupId>
449         <artifactId>commons-io</artifactId>
450         <version>2.4</version>
451       </dependency>
452       <dependency>
453         <groupId>commons-net</groupId>
454         <artifactId>commons-net</artifactId>
455         <version>3.4</version>
456       </dependency>
457       <dependency>
458         <groupId>eclipselink</groupId>
459         <artifactId>javax.persistence</artifactId>
460         <version>2.0.4.v201112161009</version>
461       </dependency>
462       <dependency>
463         <groupId>eclipselink</groupId>
464         <artifactId>javax.resource</artifactId>
465         <version>1.5.0.v200906010428</version>
466       </dependency>
467       <dependency>
468         <groupId>equinoxSDK381</groupId>
469         <artifactId>javax.servlet</artifactId>
470         <version>3.0.0.v201112011016</version>
471       </dependency>
472       <dependency>
473         <groupId>equinoxSDK381</groupId>
474         <artifactId>javax.servlet.jsp</artifactId>
475         <version>2.2.0.v201112011158</version>
476       </dependency>
477       <dependency>
478         <groupId>equinoxSDK381</groupId>
479         <artifactId>org.apache.felix.gogo.command</artifactId>
480         <version>0.8.0.v201108120515</version>
481       </dependency>
482       <dependency>
483         <groupId>equinoxSDK381</groupId>
484         <artifactId>org.apache.felix.gogo.runtime</artifactId>
485         <version>0.8.0.v201108120515</version>
486       </dependency>
487       <dependency>
488         <groupId>equinoxSDK381</groupId>
489         <artifactId>org.apache.felix.gogo.shell</artifactId>
490         <version>0.8.0.v201110170705</version>
491       </dependency>
492       <dependency>
493         <groupId>equinoxSDK381</groupId>
494         <artifactId>org.eclipse.equinox.cm</artifactId>
495         <version>1.0.400.v20120522-1841</version>
496       </dependency>
497       <dependency>
498         <groupId>equinoxSDK381</groupId>
499         <artifactId>org.eclipse.equinox.console</artifactId>
500         <version>1.0.0.v20120522-1841</version>
501       </dependency>
502       <dependency>
503         <groupId>equinoxSDK381</groupId>
504         <artifactId>org.eclipse.equinox.ds</artifactId>
505         <version>1.4.0.v20120522-1841</version>
506       </dependency>
507       <dependency>
508         <groupId>equinoxSDK381</groupId>
509         <artifactId>org.eclipse.equinox.launcher</artifactId>
510         <version>1.3.0.v20120522-1813</version>
511       </dependency>
512       <dependency>
513         <groupId>equinoxSDK381</groupId>
514         <artifactId>org.eclipse.equinox.util</artifactId>
515         <version>1.0.400.v20120522-2049</version>
516       </dependency>
517       <dependency>
518         <groupId>equinoxSDK381</groupId>
519         <artifactId>org.eclipse.osgi.services</artifactId>
520         <version>3.3.100.v20120522-1822</version>
521       </dependency>
522
523       <dependency>
524         <groupId>org.eclipse.tycho</groupId>
525         <artifactId>org.eclipse.osgi</artifactId>
526         <version>3.9.1.v20130814-1242</version>
527       </dependency>
528       <!-- FIXME: remove once all users migrate to org.eclipse.tycho -->
529       <dependency>
530         <groupId>equinoxSDK381</groupId>
531         <artifactId>org.eclipse.osgi</artifactId>
532         <version>3.8.1.v20120830-144521</version>
533       </dependency>
534
535       <!-- Gemini Web -->
536       <dependency>
537         <groupId>geminiweb</groupId>
538         <artifactId>org.eclipse.gemini.web.core</artifactId>
539         <version>2.2.0.RELEASE</version>
540       </dependency>
541       <dependency>
542         <groupId>geminiweb</groupId>
543         <artifactId>org.eclipse.gemini.web.extender</artifactId>
544         <version>2.2.0.RELEASE</version>
545       </dependency>
546       <dependency>
547         <groupId>geminiweb</groupId>
548         <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
549         <version>2.2.0.RELEASE</version>
550       </dependency>
551       <dependency>
552         <groupId>geminiweb</groupId>
553         <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
554         <version>3.6.0.RELEASE</version>
555       </dependency>
556       <dependency>
557         <groupId>geminiweb</groupId>
558         <artifactId>org.eclipse.virgo.util.common</artifactId>
559         <version>3.6.0.RELEASE</version>
560       </dependency>
561       <dependency>
562         <groupId>geminiweb</groupId>
563         <artifactId>org.eclipse.virgo.util.io</artifactId>
564         <version>3.6.0.RELEASE</version>
565       </dependency>
566       <dependency>
567         <groupId>geminiweb</groupId>
568         <artifactId>org.eclipse.virgo.util.math</artifactId>
569         <version>3.6.0.RELEASE</version>
570       </dependency>
571       <dependency>
572         <groupId>geminiweb</groupId>
573         <artifactId>org.eclipse.virgo.util.osgi</artifactId>
574         <version>3.6.0.RELEASE</version>
575       </dependency>
576       <dependency>
577         <groupId>geminiweb</groupId>
578         <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
579         <version>3.6.0.RELEASE</version>
580       </dependency>
581       <dependency>
582         <groupId>geminiweb</groupId>
583         <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
584         <version>3.6.0.RELEASE</version>
585       </dependency>
586       <!-- Netty -->
587       <dependency>
588         <groupId>io.netty</groupId>
589         <artifactId>netty-all</artifactId>
590         <!-- If these are updated, the version in features.xml needs to be changed too -->
591         <version>4.0.36.Final</version>
592       </dependency>
593       <dependency>
594         <groupId>io.netty</groupId>
595         <artifactId>netty-buffer</artifactId>
596         <version>4.0.36.Final</version>
597       </dependency>
598       <dependency>
599         <groupId>io.netty</groupId>
600         <artifactId>netty-codec</artifactId>
601         <version>4.0.36.Final</version>
602       </dependency>
603       <dependency>
604         <groupId>io.netty</groupId>
605         <artifactId>netty-codec-http</artifactId>
606         <version>4.0.36.Final</version>
607       </dependency>
608       <dependency>
609         <groupId>io.netty</groupId>
610         <artifactId>netty-common</artifactId>
611         <version>4.0.36.Final</version>
612       </dependency>
613       <dependency>
614         <groupId>io.netty</groupId>
615         <artifactId>netty-handler</artifactId>
616         <version>4.0.36.Final</version>
617       </dependency>
618       <dependency>
619         <groupId>io.netty</groupId>
620         <artifactId>netty-transport</artifactId>
621         <version>4.0.36.Final</version>
622       </dependency>
623       <!-- Here we need to define all available native epoll implementations; we can't limit ourselves to the build
624       platform and we can't require the build platform to have an implementation (e.g. OS X) -->
625       <dependency>
626         <groupId>io.netty</groupId>
627         <artifactId>netty-transport-native-epoll</artifactId>
628         <classifier>linux-x86_64</classifier>
629         <version>4.0.36.Final</version>
630       </dependency>
631       <dependency>
632         <groupId>javax.ws.rs</groupId>
633         <artifactId>jsr311-api</artifactId>
634         <version>1.1.1</version>
635       </dependency>
636       <dependency>
637         <groupId>orbit</groupId>
638         <artifactId>javax.activation</artifactId>
639         <version>1.1.0.v201211130549</version>
640       </dependency>
641       <dependency>
642         <groupId>orbit</groupId>
643         <artifactId>javax.annotation</artifactId>
644         <version>1.1.0.v201209060031</version>
645       </dependency>
646       <dependency>
647         <groupId>orbit</groupId>
648         <artifactId>javax.ejb</artifactId>
649         <version>3.1.1.v201204261316</version>
650       </dependency>
651       <dependency>
652         <groupId>orbit</groupId>
653         <artifactId>javax.el</artifactId>
654         <version>2.2.0.v201108011116</version>
655       </dependency>
656       <dependency>
657         <groupId>orbit</groupId>
658         <artifactId>javax.mail.glassfish</artifactId>
659         <version>1.4.1.v201108011116</version>
660       </dependency>
661       <dependency>
662         <groupId>javax.servlet</groupId>
663         <artifactId>javax.servlet-api</artifactId>
664         <version>3.0.1</version>
665       </dependency>
666       <dependency>
667         <groupId>orbit</groupId>
668         <artifactId>javax.servlet.jsp.jstl</artifactId>
669         <version>1.2.0.v201105211821</version>
670       </dependency>
671       <dependency>
672         <groupId>orbit</groupId>
673         <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
674         <version>1.2.0.v201210211230</version>
675       </dependency>
676       <dependency>
677         <groupId>orbit</groupId>
678         <artifactId>javax.xml.rpc</artifactId>
679         <version>1.1.0.v201005080400</version>
680       </dependency>
681       <dependency>
682         <groupId>orbit</groupId>
683         <artifactId>org.apache.catalina</artifactId>
684         <version>7.0.53.v201406061610</version>
685       </dependency>
686       <dependency>
687         <groupId>orbit</groupId>
688         <artifactId>org.apache.catalina.ha</artifactId>
689         <version>7.0.53.v201406070630</version>
690       </dependency>
691       <dependency>
692         <groupId>orbit</groupId>
693         <artifactId>org.apache.catalina.tribes</artifactId>
694         <version>7.0.53.v201406070630</version>
695       </dependency>
696       <dependency>
697         <groupId>orbit</groupId>
698         <artifactId>org.apache.coyote</artifactId>
699         <version>7.0.53.v201406070630</version>
700       </dependency>
701       <dependency>
702         <groupId>orbit</groupId>
703         <artifactId>org.apache.el</artifactId>
704         <version>7.0.53.v201406060720</version>
705       </dependency>
706       <dependency>
707         <groupId>orbit</groupId>
708         <artifactId>org.apache.jasper</artifactId>
709         <version>7.0.53.v201406070630</version>
710       </dependency>
711       <dependency>
712         <groupId>orbit</groupId>
713         <artifactId>org.apache.juli.extras</artifactId>
714         <version>7.0.53.v201406060720</version>
715       </dependency>
716       <dependency>
717         <groupId>orbit</groupId>
718         <artifactId>org.apache.tomcat.api</artifactId>
719         <version>7.0.53.v201406060720</version>
720       </dependency>
721       <dependency>
722         <groupId>orbit</groupId>
723         <artifactId>org.apache.tomcat.util</artifactId>
724         <version>7.0.53.v201406070630</version>
725       </dependency>
726       <dependency>
727         <groupId>org.aopalliance</groupId>
728         <artifactId>com.springsource.org.aopalliance</artifactId>
729         <version>1.0.0</version>
730       </dependency>
731       <dependency>
732         <groupId>org.apache.felix</groupId>
733         <artifactId>org.apache.felix.dependencymanager</artifactId>
734         <version>3.1.0</version>
735       </dependency>
736       <dependency>
737         <groupId>org.apache.felix</groupId>
738         <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
739         <version>3.0.1</version>
740       </dependency>
741       <dependency>
742         <groupId>org.apache.felix</groupId>
743         <artifactId>org.apache.felix.fileinstall</artifactId>
744         <version>3.1.6</version>
745       </dependency>
746       <dependency>
747         <groupId>org.apache.felix</groupId>
748         <artifactId>org.apache.felix.metatype</artifactId>
749         <version>1.1.2</version>
750       </dependency>
751       <!-- felix webconsole -->
752       <dependency>
753         <groupId>org.apache.felix</groupId>
754         <artifactId>org.apache.felix.webconsole</artifactId>
755         <version>4.2.0</version>
756         <!-- the all bundle includes all the necessary plugins -->
757         <classifier>all</classifier>
758       </dependency>
759       <dependency>
760         <groupId>org.bouncycastle</groupId>
761         <artifactId>bcpkix-jdk15on</artifactId>
762         <version>${bouncycastle.version}</version>
763       </dependency>
764       <dependency>
765         <groupId>org.bouncycastle</groupId>
766         <artifactId>bcprov-jdk15on</artifactId>
767         <version>${bouncycastle.version}</version>
768       </dependency>
769       <dependency>
770         <groupId>org.codehaus.enunciate</groupId>
771         <artifactId>enunciate-core-annotations</artifactId>
772         <version>${enunciate.version}</version>
773       </dependency>
774       <dependency>
775         <groupId>com.webcohesion.enunciate</groupId>
776         <artifactId>enunciate-core-annotations</artifactId>
777         <version>2.1.1</version>
778       </dependency>
779       <dependency>
780         <groupId>org.codehaus.jettison</groupId>
781         <artifactId>jettison</artifactId>
782         <version>${jettison.version}</version>
783       </dependency>
784       <!-- equinox http service bridge -->
785       <dependency>
786         <groupId>org.eclipse.equinox.http</groupId>
787         <artifactId>servlet</artifactId>
788         <version>1.0.0-v20070606</version>
789       </dependency>
790       <!-- To upgrade org.eclipse.persistence dependencies to 2.6.0+, we need to ensure all downstreams consumers
791          pull in javax.validation first:
792          http://stackoverflow.com/questions/28568154/how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3 -->
793       <dependency>
794         <groupId>org.eclipse.persistence</groupId>
795         <artifactId>org.eclipse.persistence.antlr</artifactId>
796         <version>2.5.2</version>
797       </dependency>
798       <dependency>
799         <groupId>org.eclipse.persistence</groupId>
800         <artifactId>org.eclipse.persistence.core</artifactId>
801         <version>2.5.2</version>
802       </dependency>
803       <dependency>
804         <groupId>org.eclipse.persistence</groupId>
805         <artifactId>org.eclipse.persistence.moxy</artifactId>
806         <version>2.5.2</version>
807       </dependency>
808       <dependency>
809         <groupId>javax.validation</groupId>
810         <artifactId>validation-api</artifactId>
811         <version>1.1.0.Final</version>
812       </dependency>
813       <dependency>
814         <groupId>org.javassist</groupId>
815         <artifactId>javassist</artifactId>
816         <version>${javassist.version}</version>
817       </dependency>
818       <dependency>
819         <groupId>org.jboss.spec.javax.transaction</groupId>
820         <artifactId>jboss-transaction-api_1.1_spec</artifactId>
821         <version>1.0.1.Final</version>
822       </dependency>
823       <dependency>
824         <groupId>org.jolokia</groupId>
825         <artifactId>jolokia-osgi</artifactId>
826         <version>1.3.3</version>
827       </dependency>
828       <dependency>
829         <groupId>org.json</groupId>
830         <artifactId>json</artifactId>
831         <version>${org.json.version}</version>
832       </dependency>
833       <dependency>
834         <groupId>org.osgi</groupId>
835         <artifactId>org.osgi.compendium</artifactId>
836         <version>5.0.0</version>
837         <scope>provided</scope>
838       </dependency>
839       <dependency>
840         <groupId>org.osgi</groupId>
841         <artifactId>org.osgi.core</artifactId>
842         <version>${osgi.core.version}</version>
843         <scope>provided</scope>
844       </dependency>
845       <dependency>
846         <groupId>org.ow2.asm</groupId>
847         <artifactId>asm-all</artifactId>
848         <version>5.0.4</version>
849       </dependency>
850       <!-- Visual VM hook -->
851       <dependency>
852         <groupId>org.ow2.chameleon.management</groupId>
853         <artifactId>chameleon-mbeans</artifactId>
854         <version>1.0.0</version>
855       </dependency>
856       <dependency>
857         <groupId>org.springframework</groupId>
858         <artifactId>spring-aop</artifactId>
859         <version>3.2.14.RELEASE</version>
860       </dependency>
861       <dependency>
862         <groupId>org.springframework</groupId>
863         <artifactId>spring-beans</artifactId>
864         <version>3.2.14.RELEASE</version>
865       </dependency>
866       <dependency>
867         <groupId>org.springframework</groupId>
868         <artifactId>spring-context</artifactId>
869         <version>3.2.14.RELEASE</version>
870       </dependency>
871       <dependency>
872         <groupId>org.springframework</groupId>
873         <artifactId>spring-core</artifactId>
874         <version>3.2.14.RELEASE</version>
875       </dependency>
876       <dependency>
877         <groupId>org.springframework</groupId>
878         <artifactId>spring-expression</artifactId>
879         <version>3.2.14.RELEASE</version>
880       </dependency>
881       <dependency>
882         <groupId>org.springframework</groupId>
883         <artifactId>spring-tx</artifactId>
884         <version>3.2.14.RELEASE</version>
885       </dependency>
886       <dependency>
887         <groupId>org.springframework</groupId>
888         <artifactId>spring-web</artifactId>
889         <version>3.2.14.RELEASE</version>
890       </dependency>
891       <dependency>
892         <groupId>org.springframework</groupId>
893         <artifactId>spring-webmvc</artifactId>
894         <version>3.2.14.RELEASE</version>
895       </dependency>
896       <!-- Spring security -->
897       <dependency>
898         <groupId>org.springframework.security</groupId>
899         <artifactId>spring-security-config</artifactId>
900         <version>3.2.8.RELEASE</version>
901       </dependency>
902       <dependency>
903         <groupId>org.springframework.security</groupId>
904         <artifactId>spring-security-core</artifactId>
905         <version>3.2.8.RELEASE</version>
906       </dependency>
907       <dependency>
908         <groupId>org.springframework.security</groupId>
909         <artifactId>spring-security-taglibs</artifactId>
910         <version>3.2.8.RELEASE</version>
911       </dependency>
912       <dependency>
913         <groupId>org.springframework.security</groupId>
914         <artifactId>spring-security-web</artifactId>
915         <version>3.2.8.RELEASE</version>
916       </dependency>
917       <dependency>
918         <groupId>virgomirror</groupId>
919         <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
920         <version>3.8.0.I20120518-2145</version>
921       </dependency>
922
923       <!-- Configuration library -->
924       <!-- This needs to be kept in sync with the version used by akka -->
925       <dependency>
926         <groupId>com.typesafe</groupId>
927         <artifactId>config</artifactId>
928         <version>1.3.0</version>
929       </dependency>
930
931       <!-- Akka -->
932       <dependency>
933         <groupId>com.typesafe.akka</groupId>
934         <artifactId>akka-actor_${scala.version}</artifactId>
935         <version>${akka.version}</version>
936       </dependency>
937       <dependency>
938         <groupId>com.typesafe.akka</groupId>
939         <artifactId>akka-cluster_${scala.version}</artifactId>
940         <version>${akka.version}</version>
941       </dependency>
942       <dependency>
943         <groupId>com.typesafe.akka</groupId>
944         <artifactId>akka-persistence_${scala.version}</artifactId>
945         <version>${akka.version}</version>
946       </dependency>
947       <dependency>
948         <groupId>com.typesafe.akka</groupId>
949         <artifactId>akka-protobuf_${scala.version}</artifactId>
950         <version>${akka.version}</version>
951       </dependency>
952       <dependency>
953         <groupId>com.typesafe.akka</groupId>
954         <artifactId>akka-remote_${scala.version}</artifactId>
955         <version>${akka.version}</version>
956       </dependency>
957       <dependency>
958         <groupId>com.typesafe.akka</groupId>
959         <artifactId>akka-testkit_${scala.version}</artifactId>
960         <version>${akka.version}</version>
961       </dependency>
962       <dependency>
963         <groupId>com.typesafe.akka</groupId>
964         <artifactId>akka-osgi_${scala.version}</artifactId>
965         <version>${akka.version}</version>
966       </dependency>
967       <dependency>
968         <groupId>com.typesafe.akka</groupId>
969         <artifactId>akka-slf4j_${scala.version}</artifactId>
970         <version>${akka.version}</version>
971       </dependency>
972       <dependency>
973         <groupId>org.scala-lang.modules</groupId>
974         <artifactId>scala-java8-compat_${scala.version}</artifactId>
975         <version>0.7.0</version>
976       </dependency>
977       <dependency>
978         <groupId>org.iq80.leveldb</groupId>
979         <artifactId>leveldb</artifactId>
980         <version>${leveldb.version}</version>
981       </dependency>
982       <dependency>
983         <groupId>org.fusesource.leveldbjni</groupId>
984         <artifactId>leveldbjni-all</artifactId>
985         <version>1.8-odl</version>
986       </dependency>
987       <dependency>
988         <groupId>org.uncommons.maths</groupId>
989         <artifactId>uncommons-maths</artifactId>
990         <version>1.2.2a</version>
991       </dependency>
992       <dependency>
993         <groupId>com.google.protobuf</groupId>
994         <artifactId>protobuf-java</artifactId>
995         <version>2.5.0</version>
996       </dependency>
997
998       <!-- Scala -->
999       <dependency>
1000         <groupId>org.scala-lang</groupId>
1001         <artifactId>scala-library</artifactId>
1002         <version>${scala.version}.${scala.micro.version}</version>
1003       </dependency>
1004       <dependency>
1005         <groupId>org.scala-lang</groupId>
1006         <artifactId>scala-reflect</artifactId>
1007         <version>${scala.version}.${scala.micro.version}</version>
1008       </dependency>
1009
1010       <!-- LMAX Disruptor -->
1011       <dependency>
1012         <groupId>com.lmax</groupId>
1013         <artifactId>disruptor</artifactId>
1014         <!-- If this is updated, the version in features.xml needs to be changed too -->
1015         <version>3.3.2</version>
1016       </dependency>
1017
1018       <!-- Add Pax Exam -->
1019       <dependency>
1020         <groupId>org.ops4j.pax.exam</groupId>
1021         <artifactId>pax-exam</artifactId>
1022         <version>${exam.version}</version>
1023         <scope>test</scope>
1024       </dependency>
1025       <dependency>
1026         <groupId>org.ops4j.pax.exam</groupId>
1027         <artifactId>pax-exam-container-karaf</artifactId>
1028         <version>${exam.version}</version>
1029         <scope>test</scope>
1030       </dependency>
1031       <dependency>
1032         <groupId>org.ops4j.pax.exam</groupId>
1033         <artifactId>pax-exam-container-native</artifactId>
1034         <version>${exam.version}</version>
1035         <scope>test</scope>
1036       </dependency>
1037       <dependency>
1038         <groupId>org.ops4j.pax.exam</groupId>
1039         <artifactId>pax-exam-junit4</artifactId>
1040         <version>${exam.version}</version>
1041         <scope>test</scope>
1042       </dependency>
1043       <dependency>
1044         <groupId>org.ops4j.pax.exam</groupId>
1045         <artifactId>pax-exam-link-mvn</artifactId>
1046         <version>${exam.version}</version>
1047         <scope>test</scope>
1048       </dependency>
1049
1050       <dependency>
1051         <groupId>org.ops4j.pax.url</groupId>
1052         <artifactId>pax-url-aether</artifactId>
1053         <version>1.5.0</version>
1054         <scope>test</scope>
1055       </dependency>
1056       <dependency>
1057         <groupId>org.ops4j.pax.url</groupId>
1058         <artifactId>pax-url-wrap</artifactId>
1059         <version>1.5.0</version>
1060       </dependency>
1061       <dependency>
1062         <groupId>org.springframework.osgi</groupId>
1063         <artifactId>spring-osgi-mock</artifactId>
1064         <version>1.2.1</version>
1065         <scope>test</scope>
1066       </dependency>
1067       <dependency>
1068         <groupId>xmlunit</groupId>
1069         <artifactId>xmlunit</artifactId>
1070         <version>1.6</version>
1071         <scope>test</scope>
1072       </dependency>
1073       <dependency>
1074         <groupId>org.eclipse.jetty</groupId>
1075         <artifactId>jetty-servlets</artifactId>
1076         <version>8.1.14.v20131031</version>
1077       </dependency>
1078       <dependency>
1079         <groupId>org.apache.aries.blueprint</groupId>
1080         <artifactId>org.apache.aries.blueprint.core</artifactId>
1081         <version>1.4.2</version>
1082       </dependency>
1083     </dependencies>
1084   </dependencyManagement>
1085
1086   <build>
1087     <pluginManagement>
1088       <plugins>
1089         <!-- Official maven plugins, alpha-sorted by artifactId.
1090              We do not need to specify the groupId. -->
1091         <plugin>
1092           <artifactId>maven-antrun-plugin</artifactId>
1093           <version>${maven.antrun.plugin.version}</version>
1094         </plugin>
1095         <plugin>
1096           <artifactId>maven-checkstyle-plugin</artifactId>
1097           <version>${checkstyle.version}</version>
1098           <dependencies>
1099             <dependency>
1100               <groupId>org.opendaylight.odlparent</groupId>
1101               <artifactId>checkstyle</artifactId>
1102               <version>${odl.checkstyle.version}</version>
1103             </dependency>
1104             <dependency>
1105               <groupId>org.opendaylight.odlparent</groupId>
1106               <artifactId>odl-license</artifactId>
1107               <version>0.1.0-SNAPSHOT</version>
1108             </dependency>
1109           </dependencies>
1110           <configuration>
1111             <configLocation>odl_checks.xml</configLocation>
1112             <!-- <sourceDirectory> is needed so that checkstyle ignores the
1113                  generated sources directory -->
1114             <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1115             <excludes>
1116               org/opendaylight/yang/gen/**,
1117               **/protobuff/messages/**,
1118               **/thrift/gen/*.java
1119             </excludes>
1120             <failsOnError>false</failsOnError>
1121             <consoleOutput>true</consoleOutput>
1122           </configuration>
1123           <executions>
1124             <execution>
1125               <id>check-license</id>
1126               <goals>
1127                 <goal>check</goal>
1128               </goals>
1129               <phase>process-sources</phase>
1130               <configuration>
1131                 <configLocation>check-license.xml</configLocation>
1132                 <headerLocation>EPL-LICENSE.regexp.txt</headerLocation>
1133                 <includeResources>false</includeResources>
1134                 <includeTestResources>false</includeTestResources>
1135                 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
1136                 <excludes>
1137                   org/opendaylight/yang/gen/**,
1138                   **/protobuff/messages/**,
1139                   **/thrift/gen/*.java
1140                 </excludes>
1141                 <failsOnError>false</failsOnError>
1142                 <consoleOutput>true</consoleOutput>
1143               </configuration>
1144             </execution>
1145             <execution>
1146               <goals>
1147                 <goal>check</goal>
1148               </goals>
1149               <phase>process-sources</phase>
1150             </execution>
1151           </executions>
1152         </plugin>
1153         <plugin>
1154           <artifactId>maven-compiler-plugin</artifactId>
1155           <version>${maven.compile.plugin.version}</version>
1156           <configuration>
1157             <source>1.8</source>
1158             <target>1.8</target>
1159           </configuration>
1160         </plugin>
1161         <plugin>
1162           <artifactId>maven-enforcer-plugin</artifactId>
1163           <version>${enforcer.version}</version>
1164         </plugin>
1165         <plugin>
1166           <artifactId>maven-failsafe-plugin</artifactId>
1167           <version>${failsafe.version}</version>
1168         </plugin>
1169         <plugin>
1170           <artifactId>maven-invoker-plugin</artifactId>
1171           <version>2.0.0</version>
1172         </plugin>
1173         <plugin>
1174           <artifactId>maven-jar-plugin</artifactId>
1175           <version>${maven.jar.version}</version>
1176         </plugin>
1177         <plugin>
1178           <artifactId>maven-release-plugin</artifactId>
1179           <version>${maven.release.version}</version>
1180         </plugin>
1181         <plugin>
1182           <artifactId>maven-dependency-plugin</artifactId>
1183           <version>2.10</version>
1184           <executions>
1185             <execution>
1186               <id>unpack-license</id>
1187               <phase>generate-resources</phase>
1188               <goals><goal>unpack</goal></goals>
1189               <configuration>
1190                 <artifactItems>
1191                   <artifactItem>
1192                     <groupId>org.opendaylight.odlparent</groupId>
1193                     <artifactId>odl-license</artifactId>
1194                     <version>0.1.0-SNAPSHOT</version>
1195                   </artifactItem>
1196                 </artifactItems>
1197                 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
1198                 <excludes>META-INF/**</excludes>
1199               </configuration>
1200             </execution>
1201           </executions>
1202         </plugin>
1203
1204         <plugin>
1205           <artifactId>maven-plugin-plugin</artifactId>
1206           <version>${maven.plugin.version}</version>
1207         </plugin>
1208
1209         <plugin>
1210           <artifactId>maven-resources-plugin</artifactId>
1211           <version>2.7</version>
1212         </plugin>
1213         <plugin>
1214           <artifactId>maven-shade-plugin</artifactId>
1215           <version>2.4.1</version>
1216         </plugin>
1217         <plugin>
1218           <artifactId>maven-site-plugin</artifactId>
1219           <version>3.4</version>
1220         </plugin>
1221         <plugin>
1222           <artifactId>maven-source-plugin</artifactId>
1223           <version>2.4</version>
1224           <executions>
1225             <execution>
1226               <id>attach-sources</id>
1227               <goals>
1228                 <goal>jar-no-fork</goal>
1229               </goals>
1230             </execution>
1231           </executions>
1232         </plugin>
1233         <plugin>
1234           <artifactId>maven-surefire-plugin</artifactId>
1235           <version>${maven.surefire.version}</version>
1236           <configuration>
1237             <redirectTestOutputToFile>true</redirectTestOutputToFile>
1238           </configuration>
1239         </plugin>
1240
1241         <!-- Third-party plugins, grouped by groupId, alpha-sorted by artifactId -->
1242         <plugin>
1243           <groupId>org.apache.felix</groupId>
1244           <artifactId>maven-bundle-plugin</artifactId>
1245           <version>${maven.bundle.version}</version>
1246           <extensions>true</extensions>
1247         </plugin>
1248
1249         <plugin>
1250           <groupId>org.apache.karaf.tooling</groupId>
1251           <artifactId>karaf-maven-plugin</artifactId>
1252           <version>${karaf.version}</version>
1253         </plugin>
1254
1255         <plugin>
1256           <groupId>org.apache.servicemix.tooling</groupId>
1257           <artifactId>depends-maven-plugin</artifactId>
1258           <version>1.3.1</version>
1259           <executions>
1260             <execution>
1261               <id>generate-depends-file</id>
1262               <goals>
1263                 <goal>generate-depends-file</goal>
1264               </goals>
1265             </execution>
1266           </executions>
1267         </plugin>
1268
1269         <plugin>
1270           <groupId>org.codehaus.enunciate</groupId>
1271           <artifactId>maven-enunciate-plugin</artifactId>
1272           <version>${enunciate.version}</version>
1273         </plugin>
1274         <plugin>
1275           <groupId>com.webcohesion.enunciate</groupId>
1276           <artifactId>enunciate-maven-plugin</artifactId>
1277           <version>2.1.1</version>
1278         </plugin>
1279         <plugin>
1280           <groupId>org.codehaus.groovy.maven</groupId>
1281           <artifactId>gmaven-plugin</artifactId>
1282           <version>${gmaven.plugin.version}</version>
1283         </plugin>
1284         <plugin>
1285           <groupId>org.codehaus.mojo</groupId>
1286           <artifactId>build-helper-maven-plugin</artifactId>
1287           <version>1.9.1</version>
1288         </plugin>
1289         <plugin>
1290           <groupId>org.codehaus.mojo</groupId>
1291           <artifactId>findbugs-maven-plugin</artifactId>
1292           <version>3.0.3</version>
1293         </plugin>
1294         <plugin>
1295           <groupId>org.codehaus.mojo</groupId>
1296           <artifactId>properties-maven-plugin</artifactId>
1297           <version>${propertymavenplugin.version}</version>
1298         </plugin>
1299
1300         <plugin>
1301           <groupId>org.eclipse.m2e</groupId>
1302           <artifactId>lifecycle-mapping</artifactId>
1303           <version>1.0.0</version>
1304           <configuration>
1305             <lifecycleMappingMetadata>
1306               <pluginExecutions>
1307                 <pluginExecution>
1308                   <pluginExecutionFilter>
1309                     <groupId>org.apache.felix</groupId>
1310                     <artifactId>maven-bundle-plugin</artifactId>
1311                     <versionRange>[1.0,)</versionRange>
1312                     <goals>
1313                       <goal>manifest</goal>
1314                     </goals>
1315                   </pluginExecutionFilter>
1316                   <action>
1317                     <execute/>
1318                   </action>
1319                 </pluginExecution>
1320                 <pluginExecution>
1321                   <pluginExecutionFilter>
1322                     <groupId>org.apache.maven.plugins</groupId>
1323                     <artifactId>maven-enforcer-plugin</artifactId>
1324                     <versionRange>[1.0.0,)</versionRange>
1325                     <goals>
1326                       <goal>enforce</goal>
1327                     </goals>
1328                   </pluginExecutionFilter>
1329                   <action>
1330                     <ignore/>
1331                   </action>
1332                 </pluginExecution>
1333                 <pluginExecution>
1334                   <pluginExecutionFilter>
1335                     <groupId>org.apache.maven.plugins</groupId>
1336                     <artifactId>maven-checkstyle-plugin</artifactId>
1337                     <versionRange>[2.0.0,)</versionRange>
1338                     <goals>
1339                       <goal>check</goal>
1340                     </goals>
1341                   </pluginExecutionFilter>
1342                   <action>
1343                     <ignore/>
1344                   </action>
1345                 </pluginExecution>
1346                 <pluginExecution>
1347                   <pluginExecutionFilter>
1348                     <groupId>org.apache.maven.plugins</groupId>
1349                     <artifactId>maven-dependency-plugin</artifactId>
1350                     <versionRange>[2.10,)</versionRange>
1351                     <goals>
1352                       <goal>unpack</goal>
1353                     </goals>
1354                   </pluginExecutionFilter>
1355                   <action>
1356                     <execute/>
1357                   </action>
1358                 </pluginExecution>
1359                 <pluginExecution>
1360                   <pluginExecutionFilter>
1361                     <groupId>org.apache.servicemix.tooling</groupId>
1362                     <artifactId>depends-maven-plugin</artifactId>
1363                     <versionRange>[1.2,)</versionRange>
1364                     <goals>
1365                       <goal>generate-depends-file</goal>
1366                     </goals>
1367                   </pluginExecutionFilter>
1368                   <action>
1369                     <execute/>
1370                   </action>
1371                 </pluginExecution>
1372                 <pluginExecution>
1373                   <pluginExecutionFilter>
1374                     <groupId>org.jacoco</groupId>
1375                     <artifactId>jacoco-maven-plugin</artifactId>
1376                     <versionRange>[0.7.0,)</versionRange>
1377                     <goals>
1378                       <goal>prepare-agent</goal>
1379                       <goal>report</goal>
1380                     </goals>
1381                   </pluginExecutionFilter>
1382                   <action>
1383                     <ignore/>
1384                   </action>
1385                 </pluginExecution>
1386               </pluginExecutions>
1387             </lifecycleMappingMetadata>
1388           </configuration>
1389         </plugin>
1390
1391         <plugin>
1392           <groupId>org.jacoco</groupId>
1393           <artifactId>jacoco-maven-plugin</artifactId>
1394           <version>${jacoco.version}</version>
1395           <configuration>
1396             <!-- Note: This exclusion list should match <sonar.exclusions>
1397                        property above -->
1398             <excludes>
1399               <exclude>**/gen/**</exclude>
1400               <exclude>**/generated-sources/**</exclude>
1401               <exclude>**/yang-gen/**</exclude>
1402               <exclude>**/pax/**</exclude>
1403             </excludes>
1404           </configuration>
1405         </plugin>
1406
1407         <plugin>
1408           <groupId>org.ops4j.pax.exam</groupId>
1409           <artifactId>maven-paxexam-plugin</artifactId>
1410           <version>1.2.4</version>
1411         </plugin>
1412
1413         <plugin>
1414           <groupId>org.codehaus.mojo</groupId>
1415           <artifactId>jdepend-maven-plugin</artifactId>
1416           <version>2.0</version>
1417           <executions>
1418             <execution>
1419               <phase>site</phase>
1420               <goals>
1421                 <goal>generate-no-fork</goal>
1422               </goals>
1423             </execution>
1424           </executions>
1425         </plugin>
1426       </plugins>
1427     </pluginManagement>
1428
1429     <plugins>
1430       <plugin>
1431         <artifactId>maven-enforcer-plugin</artifactId>
1432         <executions>
1433           <execution>
1434             <id>enforce-maven</id>
1435             <configuration>
1436               <rules>
1437                 <requireMavenVersion>
1438                   <version>3.1.1</version>
1439                 </requireMavenVersion>
1440               </rules>
1441             </configuration>
1442             <goals>
1443               <goal>enforce</goal>
1444             </goals>
1445           </execution>
1446         </executions>
1447       </plugin>
1448       <plugin>
1449         <artifactId>maven-dependency-plugin</artifactId>
1450       </plugin>
1451       <plugin>
1452         <artifactId>maven-checkstyle-plugin</artifactId>
1453       </plugin>
1454       <plugin>
1455         <artifactId>maven-source-plugin</artifactId>
1456       </plugin>
1457       <plugin>
1458         <artifactId>maven-javadoc-plugin</artifactId>
1459       </plugin>
1460
1461       <!-- Jacoco / Sonar -->
1462       <plugin>
1463         <groupId>org.jacoco</groupId>
1464         <artifactId>jacoco-maven-plugin</artifactId>
1465         <executions>
1466           <execution>
1467             <id>pre-unit-test</id>
1468             <goals>
1469               <goal>prepare-agent</goal>
1470             </goals>
1471             <configuration>
1472               <destFile>${sonar.jacoco.reportPath}</destFile>
1473             </configuration>
1474           </execution>
1475           <execution>
1476             <id>post-unit-test</id>
1477             <goals>
1478               <goal>report</goal>
1479             </goals>
1480             <configuration>
1481               <dataFile>${sonar.jacoco.reportPath}</dataFile>
1482             </configuration>
1483           </execution>
1484         </executions>
1485       </plugin>
1486     </plugins>
1487   </build>
1488
1489   <reporting>
1490     <plugins>
1491       <plugin>
1492         <artifactId>maven-checkstyle-plugin</artifactId>
1493         <version>${checkstyle.version}</version>
1494       </plugin>
1495
1496       <!-- FIXME: activate this
1497       <plugin>
1498         <artifactId>maven-project-info-reports-plugin</artifactId>
1499         <version>${projectinfo}</version>
1500       </plugin-->
1501       <plugin>
1502         <groupId>org.codehaus.mojo</groupId>
1503         <artifactId>findbugs-maven-plugin</artifactId>
1504         <configuration>
1505           <effort>Max</effort>
1506           <threshold>Low</threshold>
1507           <goal>site</goal>
1508         </configuration>
1509       </plugin>
1510       <plugin>
1511         <groupId>org.codehaus.mojo</groupId>
1512         <artifactId>jdepend-maven-plugin</artifactId>
1513         <reportSets>
1514           <reportSet>
1515             <reports>
1516               <report>generate-no-fork</report>
1517             </reports>
1518           </reportSet>
1519         </reportSets>
1520       </plugin>
1521       <plugin>
1522         <artifactId>maven-javadoc-plugin</artifactId>
1523         <configuration>
1524           <links>
1525             <link>http://doc.akka.io/japi/akka/${akka.version}/</link>
1526             <link>https://google.github.io/guava/releases/${guava.version}/api/docs/</link>
1527             <link>http://netty.io/4.0/api/</link>
1528           </links>
1529         </configuration>
1530       </plugin>
1531     </plugins>
1532   </reporting>
1533
1534   <!--
1535     Maven Site Configuration
1536
1537     The following configuration is necessary for maven-site-plugin to
1538     correctly identify the correct deployment path for OpenDaylight Maven
1539     sites.
1540   -->
1541   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
1542
1543   <distributionManagement>
1544     <site>
1545       <id>opendaylight-site</id>
1546       <url>${nexus.site.url}/${project.artifactId}/</url>
1547     </site>
1548   </distributionManagement>
1549 </project>