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