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