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