blob: ad4ae60fad12f34e8402aef28041c4fd55c45ab3 [file] [log] [blame]
Brian O'Connor5af8a942014-11-26 12:17:40 -08001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska7399e482014-12-01 21:27:42 -08002<!--
3 ~ Copyright 2014 Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
tom09419512014-08-15 11:28:43 -070017<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
alshabib522d9872014-08-15 10:35:16 -070021
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -070022 <prerequisites>
23 <maven>3.0.0</maven>
24 </prerequisites>
25
Brian O'Connor932d9412014-12-03 17:20:11 -080026 <parent>
27 <groupId>org.onosproject</groupId>
28 <artifactId>onos-base</artifactId>
29 <version>1</version>
30 <relativePath>tools/build/pom.xml</relativePath>
31 </parent>
32
Brian O'Connorabafb502014-12-02 22:26:20 -080033 <groupId>org.onosproject</groupId>
tom09419512014-08-15 11:28:43 -070034 <artifactId>onos</artifactId>
35 <packaging>pom</packaging>
Brian O'Connor7f2e9bf2014-12-04 23:35:13 -080036 <version>1.1.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070037
Brian O'Connor932d9412014-12-03 17:20:11 -080038 <name>${project.artifactId}</name>
Yuta HIGUCHI964c1732014-12-02 20:38:07 -080039 <description>Open Network Operating System root project</description>
tom09419512014-08-15 11:28:43 -070040
41 <modules>
tom0eb04ca2014-08-25 14:34:51 -070042 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070043 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070044 <module>web</module>
45 <module>cli</module>
46 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070047 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070048 <module>apps</module>
tom09419512014-08-15 11:28:43 -070049 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070050 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070051 </modules>
52
Brian O'Connor3439c102014-12-03 01:02:03 -080053 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070054
Brian O'Connor932d9412014-12-03 17:20:11 -080055 <scm>
56 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080057 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
58 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080059 <url>http://gerrit.onosproject.org/</url>
60 </scm>
61
tom09419512014-08-15 11:28:43 -070062 <licenses>
63 <license>
tom09419512014-08-15 11:28:43 -070064 <name>Apache License, Version 2.0</name>
65 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
66 </license>
67 </licenses>
68
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070069 <properties>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070071 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connor932d9412014-12-03 17:20:11 -080072 <copycat.version>0.3.0.onos</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080073 <openflowj.version>0.3.9.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070074 </properties>
75
Brian O'Connor932d9412014-12-03 17:20:11 -080076 <distributionManagement>
77 <snapshotRepository>
78 <id>ossrh</id>
79 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
80 </snapshotRepository>
81 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080082
tom0eb04ca2014-08-25 14:34:51 -070083 <dependencyManagement>
84 <dependencies>
85 <dependency>
86 <groupId>junit</groupId>
87 <artifactId>junit</artifactId>
88 <version>4.11</version>
89 <scope>test</scope>
90 </dependency>
tom09419512014-08-15 11:28:43 -070091
tom0eb04ca2014-08-25 14:34:51 -070092 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070093 <groupId>org.hamcrest</groupId>
94 <artifactId>hamcrest-core</artifactId>
95 <version>1.3</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.hamcrest</groupId>
100 <artifactId>hamcrest-library</artifactId>
101 <version>1.3</version>
102 <scope>test</scope>
103 </dependency>
104
105 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-api</artifactId>
108 <version>1.7.6</version>
109 <scope>provided</scope>
110 </dependency>
111
112 <dependency>
113 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700114 <artifactId>slf4j-core</artifactId>
115 <version>1.7.6</version>
116 <scope>test</scope>
117 </dependency>
118
119 <dependency>
120 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700121 <artifactId>slf4j-jdk14</artifactId>
122 <version>1.7.6</version>
123 <scope>test</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>com.google.guava</groupId>
128 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700129 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700130 </dependency>
131
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700132 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700133 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700134 <artifactId>netty</artifactId>
135 <version>3.9.0.Final</version>
136 </dependency>
137
tomde8d9682014-08-27 01:11:43 -0700138 <dependency>
139 <groupId>com.google.guava</groupId>
140 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700141 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700142 <scope>test</scope>
143 </dependency>
144
tom6d2a43e2014-09-08 01:50:20 -0700145 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700146 <groupId>com.googlecode.concurrent-trees</groupId>
147 <artifactId>concurrent-trees</artifactId>
148 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700149 </dependency>
150
151 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700152 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700153 <artifactId>commons-lang</artifactId>
154 <version>2.6</version>
155 </dependency>
tomde8d9682014-08-27 01:11:43 -0700156
tom66a7eb22014-09-22 11:58:56 -0700157 <dependency>
158 <groupId>org.apache.commons</groupId>
159 <artifactId>commons-lang3</artifactId>
160 <version>3.3.2</version>
161 </dependency>
162
Brian O'Connorf3d06162014-10-02 15:54:12 -0700163 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800164 <groupId>commons-configuration</groupId>
165 <artifactId>commons-configuration</artifactId>
166 <version>1.10</version>
167 </dependency>
168
169 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-collections4</artifactId>
172 <version>4.0</version>
173 </dependency>
174
175 <dependency>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800176 <groupId>commons-configuration</groupId>
177 <artifactId>commons-configuration</artifactId>
178 <version>1.10</version>
179 </dependency>
180
181 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700182 <groupId>org.codehaus.jackson</groupId>
183 <artifactId>jackson-core-asl</artifactId>
184 <version>1.9.13</version>
185 </dependency>
186 <dependency>
187 <groupId>org.codehaus.jackson</groupId>
188 <artifactId>jackson-mapper-asl</artifactId>
189 <version>1.9.13</version>
190 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700191
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700192 <dependency>
193 <groupId>org.easymock</groupId>
194 <artifactId>easymock</artifactId>
195 <version>3.2</version>
196 <scope>test</scope>
197 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700198
tom0eb04ca2014-08-25 14:34:51 -0700199 <!-- Web related -->
200 <dependency>
201 <groupId>com.sun.jersey</groupId>
202 <artifactId>jersey-servlet</artifactId>
203 <version>1.18.1</version>
204 <scope>provided</scope>
205 </dependency>
206 <dependency>
207 <groupId>com.fasterxml.jackson.core</groupId>
208 <artifactId>jackson-databind</artifactId>
209 <version>2.4.2</version>
210 <scope>provided</scope>
211 </dependency>
212 <dependency>
213 <groupId>com.fasterxml.jackson.core</groupId>
214 <artifactId>jackson-annotations</artifactId>
215 <version>2.4.2</version>
216 <scope>provided</scope>
217 </dependency>
218
219 <!-- OSGi related -->
220 <dependency>
221 <groupId>org.osgi</groupId>
222 <artifactId>org.osgi.core</artifactId>
223 <version>4.3.1</version>
224 <scope>provided</scope>
225 </dependency>
226 <dependency>
tomc16656f2014-10-15 18:30:31 -0700227 <groupId>org.osgi</groupId>
228 <artifactId>org.osgi.compendium</artifactId>
229 <version>4.3.1</version>
230 <scope>provided</scope>
231 </dependency>
232 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700233 <groupId>org.apache.felix</groupId>
234 <artifactId>org.apache.felix.scr.annotations</artifactId>
235 <version>1.9.8</version>
236 <scope>provided</scope>
237 </dependency>
238 <dependency>
239 <groupId>org.apache.karaf.shell</groupId>
240 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800241 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700242 <scope>provided</scope>
243 </dependency>
244
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700245 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700246 <groupId>org.livetribe.slp</groupId>
247 <artifactId>livetribe-slp</artifactId>
248 <version>2.2.1</version>
249 </dependency>
250
251 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700252 <groupId>com.hazelcast</groupId>
253 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800254 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700255 </dependency>
256 <dependency>
tomdc66b382014-09-22 17:05:47 -0700257 <groupId>com.eclipsesource.minimal-json</groupId>
258 <artifactId>minimal-json</artifactId>
259 <version>0.9.1</version>
260 </dependency>
261 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700262 <groupId>com.esotericsoftware</groupId>
263 <artifactId>kryo</artifactId>
264 <version>3.0.0</version>
265 </dependency>
266 <dependency>
267 <groupId>com.esotericsoftware</groupId>
268 <artifactId>reflectasm</artifactId>
269 <version>1.10.0</version>
270 <type>bundle</type>
271 </dependency>
272 <dependency>
273 <groupId>org.ow2.asm</groupId>
274 <artifactId>asm</artifactId>
275 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700276 </dependency>
277 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700278 <groupId>com.esotericsoftware</groupId>
279 <artifactId>minlog</artifactId>
280 <version>1.3.0</version>
281 </dependency>
282 <dependency>
283 <groupId>org.objenesis</groupId>
284 <artifactId>objenesis</artifactId>
285 <version>2.1</version>
286 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700287
tom0eb04ca2014-08-25 14:34:51 -0700288 <!-- ONOS related -->
289 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800290 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700291 <artifactId>onlab-misc</artifactId>
292 <version>${project.version}</version>
293 </dependency>
tom931af4e2014-09-13 12:00:57 -0700294 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800295 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700296 <artifactId>onlab-nio</artifactId>
297 <version>${project.version}</version>
298 </dependency>
299 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800300 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700301 <artifactId>onlab-osgi</artifactId>
302 <version>${project.version}</version>
303 </dependency>
304 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800305 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700306 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700307 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700308 <scope>test</scope>
309 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700310
311 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800312 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700313 <artifactId>onos-api</artifactId>
314 <version>${project.version}</version>
315 </dependency>
316 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800317 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700318 <artifactId>onos-api</artifactId>
319 <version>${project.version}</version>
320 <classifier>tests</classifier>
321 <scope>test</scope>
322 </dependency>
323
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800324
325 <dependency>
326 <groupId>org.onosproject</groupId>
327 <artifactId>onos-core-common</artifactId>
328 <version>${project.version}</version>
329 </dependency>
330
tom61359e92014-09-16 15:50:27 -0700331 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800332 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700333 <artifactId>onos-of-api</artifactId>
334 <version>${project.version}</version>
335 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700336
337 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800338 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700339 <artifactId>onlab-thirdparty</artifactId>
340 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700341 </dependency>
342
tom61359e92014-09-16 15:50:27 -0700343 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800344 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700345 <artifactId>onos-of-api</artifactId>
346 <version>${project.version}</version>
347 <classifier>tests</classifier>
348 <scope>test</scope>
349 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700350 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700351 <groupId>commons-pool</groupId>
352 <artifactId>commons-pool</artifactId>
353 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700354 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700355 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700356 <groupId>io.netty</groupId>
357 <artifactId>netty-common</artifactId>
358 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700359 </dependency>
360 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700361 <groupId>io.netty</groupId>
362 <artifactId>netty-buffer</artifactId>
363 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700364 </dependency>
365 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700366 <groupId>io.netty</groupId>
367 <artifactId>netty-transport</artifactId>
368 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700369 </dependency>
370 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700371 <groupId>io.netty</groupId>
372 <artifactId>netty-handler</artifactId>
373 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700374 </dependency>
375 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700376 <groupId>io.netty</groupId>
377 <artifactId>netty-codec</artifactId>
378 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700379 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700380 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700381 <groupId>io.netty</groupId>
382 <artifactId>netty-transport-native-epoll</artifactId>
383 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800384 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700385 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700386 <dependency>
387 <groupId>joda-time</groupId>
388 <artifactId>joda-time</artifactId>
389 <version>2.5</version>
390 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700391 </dependencies>
392 </dependencyManagement>
393
394 <dependencies>
395 <dependency>
396 <groupId>junit</groupId>
397 <artifactId>junit</artifactId>
398 </dependency>
399 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700400 <groupId>org.hamcrest</groupId>
401 <artifactId>hamcrest-core</artifactId>
402 </dependency>
403 <dependency>
404 <groupId>org.hamcrest</groupId>
405 <artifactId>hamcrest-library</artifactId>
406 </dependency>
407 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700408 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700409 <artifactId>slf4j-api</artifactId>
410 </dependency>
411 <dependency>
412 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700413 <artifactId>slf4j-jdk14</artifactId>
414 </dependency>
415 </dependencies>
tom09419512014-08-15 11:28:43 -0700416
417 <build>
418 <pluginManagement>
419 <plugins>
420 <plugin>
421 <groupId>org.apache.maven.plugins</groupId>
422 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700423 <!-- TODO: update once following issue is fixed. -->
424 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
425 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700426 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800427 <source>1.8</source>
428 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700429 </configuration>
430 </plugin>
431
432 <plugin>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-surefire-plugin</artifactId>
435 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700436 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700437 <redirectTestOutputToFile>true
438 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700439 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800440 <excludedGroups>org.onlab.junit.IntegrationTest
441 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700442 </configuration>
tom09419512014-08-15 11:28:43 -0700443 </plugin>
444
445 <plugin>
446 <groupId>org.apache.maven.plugins</groupId>
447 <artifactId>maven-jar-plugin</artifactId>
448 <version>2.3.1</version>
449 <executions>
450 <execution>
451 <phase>package</phase>
452 <goals>
453 <goal>test-jar</goal>
454 </goals>
455 </execution>
456 </executions>
457 </plugin>
458
459 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-resources-plugin</artifactId>
462 <version>2.6</version>
463 </plugin>
464
465 <plugin>
tom09419512014-08-15 11:28:43 -0700466 <groupId>org.apache.felix</groupId>
467 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800468 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700469 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800470 <!--
471 Drop following dependency when the below bug fix is published
472 https://issues.apache.org/jira/browse/FELIX-4556
473 -->
474 <dependencies>
475 <dependency>
476 <groupId>biz.aQute.bnd</groupId>
477 <artifactId>bndlib</artifactId>
478 <version>2.4.0</version>
479 </dependency>
480 </dependencies>
tom09419512014-08-15 11:28:43 -0700481 </plugin>
482
483 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-shade-plugin</artifactId>
486 <version>2.3</version>
487 </plugin>
488
489 <plugin>
tom09419512014-08-15 11:28:43 -0700490 <groupId>org.apache.felix</groupId>
491 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800492 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700493 <executions>
494 <execution>
495 <id>generate-scr-srcdescriptor</id>
496 <goals>
497 <goal>scr</goal>
498 </goals>
499 </execution>
500 </executions>
501 <configuration>
502 <supportedProjectTypes>
503 <supportedProjectType>bundle</supportedProjectType>
504 <supportedProjectType>war</supportedProjectType>
505 </supportedProjectTypes>
506 </configuration>
507 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800508 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800509 <groupId>org.codehaus.mojo</groupId>
510 <artifactId>findbugs-maven-plugin</artifactId>
511 <version>3.0.0</version>
512 <dependencies>
513 <dependency>
514 <groupId>org.onosproject</groupId>
515 <artifactId>onos-build-conf</artifactId>
516 <version>1.0</version>
517 </dependency>
518 </dependencies>
519 <configuration>
520 <effort>Max</effort>
521 <excludeFilterFile>onos/findbugs-suppressions.xml
522 </excludeFilterFile>
523 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800524 </plugin>
tom09419512014-08-15 11:28:43 -0700525
tom09419512014-08-15 11:28:43 -0700526 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700527 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
Brian O'Connor5b29ebd2014-12-04 21:22:06 -0800528 <!--
Brian O'Connorf3d06162014-10-02 15:54:12 -0700529 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700530 <groupId>org.eclipse.m2e</groupId>
531 <artifactId>lifecycle-mapping</artifactId>
532 <version>1.0.0</version>
533 <configuration>
534 <lifecycleMappingMetadata>
535 <pluginExecutions>
536 <pluginExecution>
537 <pluginExecutionFilter>
538 <groupId>org.jacoco</groupId>
539 <artifactId>
540 jacoco-maven-plugin
541 </artifactId>
542 <versionRange>
543 [0.7.1.201405082137,)
544 </versionRange>
545 <goals>
546 <goal>prepare-agent</goal>
547 </goals>
548 </pluginExecutionFilter>
549 <action>
550 <ignore></ignore>
551 </action>
552 </pluginExecution>
553 </pluginExecutions>
554 </lifecycleMappingMetadata>
555 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700556 </plugin>
Brian O'Connor5b29ebd2014-12-04 21:22:06 -0800557 -->
tom09419512014-08-15 11:28:43 -0700558 </plugins>
tom09419512014-08-15 11:28:43 -0700559 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700560
561 <plugins>
562 <plugin>
563 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700564 <artifactId>maven-jar-plugin</artifactId>
565 </plugin>
566
567 <plugin>
568 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700569 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700570 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700571 <dependencies>
572 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800573 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700574 <artifactId>onos-build-conf</artifactId>
575 <version>1.0</version>
576 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800577 <!-- For Java 8 lambda support-->
578 <dependency>
579 <groupId>com.puppycrawl.tools</groupId>
580 <artifactId>checkstyle</artifactId>
581 <version>5.9</version>
582 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700583 </dependencies>
584 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800585 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800586 <sourceDirectory>${project.build.sourceDirectory}
587 </sourceDirectory>
588 <testSourceDirectory>${project.build.testSourceDirectory}
589 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800590 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700591 <configLocation>onos/checkstyle.xml</configLocation>
592 <suppressionsLocation>onos/suppressions.xml
593 </suppressionsLocation>
594 <failsOnError>false</failsOnError>
595 <logViolationsToConsole>true</logViolationsToConsole>
596 <includeTestSourceDirectory>true
597 </includeTestSourceDirectory>
598 </configuration>
599 <executions>
600 <execution>
601 <id>validate-checkstyle</id>
602 <phase>verify</phase>
603 <goals>
604 <goal>check</goal>
605 </goals>
606 </execution>
607 </executions>
608 </plugin>
609
610 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700611 <groupId>org.apache.maven.plugins</groupId>
612 <artifactId>maven-pmd-plugin</artifactId>
613 <version>3.2</version>
614 <configuration>
615 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700616 </excludes>
617 <rulesets>
618 <ruleset>onos/pmd.xml</ruleset>
619 </rulesets>
620 </configuration>
621 <executions>
622 <execution>
623 <id>validate-pmd</id>
624 <phase>verify</phase>
625 <goals>
626 <!-- Uncomment this goal to make the build fail on pmd errors -->
627 <!--<goal>check</goal>-->
628 </goals>
629 </execution>
630 </executions>
631 </plugin>
632
633 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700634 <groupId>org.jacoco</groupId>
635 <artifactId>jacoco-maven-plugin</artifactId>
636 <version>0.7.1.201405082137</version>
637 <executions>
638 <execution>
639 <id>default-prepare-agent</id>
640 <goals>
641 <goal>prepare-agent</goal>
642 </goals>
643 </execution>
644 <execution>
645 <id>default-report</id>
646 <phase>prepare-package</phase>
647 <goals>
648 <goal>report</goal>
649 </goals>
650 </execution>
651 </executions>
652 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700653 </plugins>
tom09419512014-08-15 11:28:43 -0700654 </build>
alshabib522d9872014-08-15 10:35:16 -0700655
tom0eb04ca2014-08-25 14:34:51 -0700656 <reporting>
657 <plugins>
658 <plugin>
659 <groupId>org.apache.maven.plugins</groupId>
660 <artifactId>maven-checkstyle-plugin</artifactId>
661 <version>2.12.1</version>
662 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800663 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700664 </configuration>
665 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700666
667 <plugin>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-pmd-plugin</artifactId>
670 <version>3.2</version>
671 <configuration>
672 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700673 </excludes>
674 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800675 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700676 </rulesets>
677 </configuration>
678 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700679 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700680 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700681</project>