blob: 23ee5b310488a6187875ea76926f356338d62ccf [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>
Yuta HIGUCHI1cb9a522015-02-04 11:55:19 -080023 <maven>3.0.1</maven>
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -070024 </prerequisites>
25
Madan Jampanicb7ab082015-02-06 15:33:03 -080026 <!--- Needed for copycat. Remove before official release -->
27 <repositories>
28 <repository>
29 <id>snapshots</id>
30 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
31 </repository>
32 </repositories>
33
Brian O'Connor932d9412014-12-03 17:20:11 -080034 <parent>
35 <groupId>org.onosproject</groupId>
36 <artifactId>onos-base</artifactId>
37 <version>1</version>
38 <relativePath>tools/build/pom.xml</relativePath>
39 </parent>
40
Brian O'Connorabafb502014-12-02 22:26:20 -080041 <groupId>org.onosproject</groupId>
tom09419512014-08-15 11:28:43 -070042 <artifactId>onos</artifactId>
43 <packaging>pom</packaging>
Brian O'Connor7f2e9bf2014-12-04 23:35:13 -080044 <version>1.1.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070045
Brian O'Connor932d9412014-12-03 17:20:11 -080046 <name>${project.artifactId}</name>
Yuta HIGUCHI964c1732014-12-02 20:38:07 -080047 <description>Open Network Operating System root project</description>
tom09419512014-08-15 11:28:43 -070048
49 <modules>
tom0eb04ca2014-08-25 14:34:51 -070050 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070051 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070052 <module>web</module>
53 <module>cli</module>
54 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070055 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070056 <module>apps</module>
tom09419512014-08-15 11:28:43 -070057 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070058 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070059 </modules>
60
Brian O'Connor3439c102014-12-03 01:02:03 -080061 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070062
Brian O'Connor932d9412014-12-03 17:20:11 -080063 <scm>
64 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080065 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
66 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080067 <url>http://gerrit.onosproject.org/</url>
68 </scm>
69
tom09419512014-08-15 11:28:43 -070070 <licenses>
71 <license>
tom09419512014-08-15 11:28:43 -070072 <name>Apache License, Version 2.0</name>
73 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
74 </license>
75 </licenses>
76
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070077 <properties>
78 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070079 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampani94c23532015-02-05 17:40:01 -080080 <copycat.version>0.5.0.onos-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080081 <openflowj.version>0.3.9.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070082 </properties>
83
Brian O'Connor932d9412014-12-03 17:20:11 -080084 <distributionManagement>
85 <snapshotRepository>
86 <id>ossrh</id>
87 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
88 </snapshotRepository>
89 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080090
tom0eb04ca2014-08-25 14:34:51 -070091 <dependencyManagement>
92 <dependencies>
93 <dependency>
94 <groupId>junit</groupId>
95 <artifactId>junit</artifactId>
96 <version>4.11</version>
97 <scope>test</scope>
98 </dependency>
tom09419512014-08-15 11:28:43 -070099
tom0eb04ca2014-08-25 14:34:51 -0700100 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700101 <groupId>org.hamcrest</groupId>
102 <artifactId>hamcrest-core</artifactId>
103 <version>1.3</version>
104 <scope>test</scope>
105 </dependency>
106 <dependency>
107 <groupId>org.hamcrest</groupId>
108 <artifactId>hamcrest-library</artifactId>
109 <version>1.3</version>
110 <scope>test</scope>
111 </dependency>
112
113 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700114 <groupId>org.slf4j</groupId>
115 <artifactId>slf4j-api</artifactId>
116 <version>1.7.6</version>
117 <scope>provided</scope>
118 </dependency>
119
120 <dependency>
121 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700122 <artifactId>slf4j-core</artifactId>
123 <version>1.7.6</version>
124 <scope>test</scope>
125 </dependency>
126
127 <dependency>
128 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700129 <artifactId>slf4j-jdk14</artifactId>
130 <version>1.7.6</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>com.google.guava</groupId>
136 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700137 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700138 </dependency>
139
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700140 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700141 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700142 <artifactId>netty</artifactId>
143 <version>3.9.0.Final</version>
144 </dependency>
145
tomde8d9682014-08-27 01:11:43 -0700146 <dependency>
147 <groupId>com.google.guava</groupId>
148 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700149 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700150 <scope>test</scope>
151 </dependency>
152
tom6d2a43e2014-09-08 01:50:20 -0700153 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700154 <groupId>com.googlecode.concurrent-trees</groupId>
155 <artifactId>concurrent-trees</artifactId>
156 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700157 </dependency>
158
159 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700160 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700161 <artifactId>commons-lang</artifactId>
162 <version>2.6</version>
163 </dependency>
tomde8d9682014-08-27 01:11:43 -0700164
tom66a7eb22014-09-22 11:58:56 -0700165 <dependency>
166 <groupId>org.apache.commons</groupId>
167 <artifactId>commons-lang3</artifactId>
168 <version>3.3.2</version>
169 </dependency>
170
Brian O'Connorf3d06162014-10-02 15:54:12 -0700171 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800172 <groupId>commons-configuration</groupId>
173 <artifactId>commons-configuration</artifactId>
174 <version>1.10</version>
175 </dependency>
176
177 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800178 <groupId>org.apache.commons</groupId>
179 <artifactId>commons-collections4</artifactId>
180 <version>4.0</version>
181 </dependency>
182
183 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700184 <groupId>org.codehaus.jackson</groupId>
185 <artifactId>jackson-core-asl</artifactId>
186 <version>1.9.13</version>
187 </dependency>
188 <dependency>
189 <groupId>org.codehaus.jackson</groupId>
190 <artifactId>jackson-mapper-asl</artifactId>
191 <version>1.9.13</version>
192 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700193
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700194 <dependency>
195 <groupId>org.easymock</groupId>
196 <artifactId>easymock</artifactId>
197 <version>3.2</version>
198 <scope>test</scope>
199 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700200
tom0eb04ca2014-08-25 14:34:51 -0700201 <!-- Web related -->
202 <dependency>
203 <groupId>com.sun.jersey</groupId>
204 <artifactId>jersey-servlet</artifactId>
205 <version>1.18.1</version>
206 <scope>provided</scope>
207 </dependency>
208 <dependency>
209 <groupId>com.fasterxml.jackson.core</groupId>
210 <artifactId>jackson-databind</artifactId>
211 <version>2.4.2</version>
212 <scope>provided</scope>
213 </dependency>
214 <dependency>
215 <groupId>com.fasterxml.jackson.core</groupId>
216 <artifactId>jackson-annotations</artifactId>
217 <version>2.4.2</version>
218 <scope>provided</scope>
219 </dependency>
220
221 <!-- OSGi related -->
222 <dependency>
223 <groupId>org.osgi</groupId>
224 <artifactId>org.osgi.core</artifactId>
225 <version>4.3.1</version>
226 <scope>provided</scope>
227 </dependency>
228 <dependency>
tomc16656f2014-10-15 18:30:31 -0700229 <groupId>org.osgi</groupId>
230 <artifactId>org.osgi.compendium</artifactId>
231 <version>4.3.1</version>
232 <scope>provided</scope>
233 </dependency>
234 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700235 <groupId>org.apache.felix</groupId>
236 <artifactId>org.apache.felix.scr.annotations</artifactId>
237 <version>1.9.8</version>
238 <scope>provided</scope>
239 </dependency>
240 <dependency>
241 <groupId>org.apache.karaf.shell</groupId>
242 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800243 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700244 <scope>provided</scope>
245 </dependency>
246
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700247 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700248 <groupId>org.livetribe.slp</groupId>
249 <artifactId>livetribe-slp</artifactId>
250 <version>2.2.1</version>
251 </dependency>
252
253 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700254 <groupId>com.hazelcast</groupId>
255 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800256 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700257 </dependency>
258 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800259 <groupId>com.hazelcast</groupId>
260 <artifactId>hazelcast</artifactId>
261 <version>3.4</version>
262 <classifier>tests</classifier>
263 <scope>test</scope>
264 </dependency>
265 <dependency>
tomdc66b382014-09-22 17:05:47 -0700266 <groupId>com.eclipsesource.minimal-json</groupId>
267 <artifactId>minimal-json</artifactId>
268 <version>0.9.1</version>
269 </dependency>
270 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700271 <groupId>com.esotericsoftware</groupId>
272 <artifactId>kryo</artifactId>
273 <version>3.0.0</version>
274 </dependency>
275 <dependency>
276 <groupId>com.esotericsoftware</groupId>
277 <artifactId>reflectasm</artifactId>
278 <version>1.10.0</version>
279 <type>bundle</type>
280 </dependency>
281 <dependency>
282 <groupId>org.ow2.asm</groupId>
283 <artifactId>asm</artifactId>
284 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700285 </dependency>
286 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700287 <groupId>com.esotericsoftware</groupId>
288 <artifactId>minlog</artifactId>
289 <version>1.3.0</version>
290 </dependency>
291 <dependency>
292 <groupId>org.objenesis</groupId>
293 <artifactId>objenesis</artifactId>
294 <version>2.1</version>
295 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700296
tom0eb04ca2014-08-25 14:34:51 -0700297 <!-- ONOS related -->
298 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800299 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700300 <artifactId>onlab-misc</artifactId>
301 <version>${project.version}</version>
302 </dependency>
tom931af4e2014-09-13 12:00:57 -0700303 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800304 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700305 <artifactId>onlab-nio</artifactId>
306 <version>${project.version}</version>
307 </dependency>
308 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800309 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700310 <artifactId>onlab-osgi</artifactId>
311 <version>${project.version}</version>
312 </dependency>
313 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800314 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800315 <artifactId>onlab-osgi</artifactId>
316 <version>${project.version}</version>
317 <classifier>tests</classifier>
318 <scope>test</scope>
319 </dependency>
320 <dependency>
321 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700322 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700323 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700324 <scope>test</scope>
325 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700326
327 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800328 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700329 <artifactId>onos-api</artifactId>
330 <version>${project.version}</version>
331 </dependency>
332 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800333 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700334 <artifactId>onos-api</artifactId>
335 <version>${project.version}</version>
336 <classifier>tests</classifier>
337 <scope>test</scope>
338 </dependency>
339
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800340
341 <dependency>
342 <groupId>org.onosproject</groupId>
343 <artifactId>onos-core-common</artifactId>
344 <version>${project.version}</version>
345 </dependency>
346
tom61359e92014-09-16 15:50:27 -0700347 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800348 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700349 <artifactId>onos-of-api</artifactId>
350 <version>${project.version}</version>
351 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700352
353 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800354 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700355 <artifactId>onlab-thirdparty</artifactId>
356 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700357 </dependency>
358
tom61359e92014-09-16 15:50:27 -0700359 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800360 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700361 <artifactId>onos-of-api</artifactId>
362 <version>${project.version}</version>
363 <classifier>tests</classifier>
364 <scope>test</scope>
365 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700366 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700367 <groupId>commons-pool</groupId>
368 <artifactId>commons-pool</artifactId>
369 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700370 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700371 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700372 <groupId>io.netty</groupId>
373 <artifactId>netty-common</artifactId>
374 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700375 </dependency>
376 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700377 <groupId>io.netty</groupId>
378 <artifactId>netty-buffer</artifactId>
379 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700380 </dependency>
381 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700382 <groupId>io.netty</groupId>
383 <artifactId>netty-transport</artifactId>
384 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700385 </dependency>
386 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700387 <groupId>io.netty</groupId>
388 <artifactId>netty-handler</artifactId>
389 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700390 </dependency>
391 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700392 <groupId>io.netty</groupId>
393 <artifactId>netty-codec</artifactId>
394 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700395 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700396 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700397 <groupId>io.netty</groupId>
398 <artifactId>netty-transport-native-epoll</artifactId>
399 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800400 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700401 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700402 <dependency>
403 <groupId>joda-time</groupId>
404 <artifactId>joda-time</artifactId>
405 <version>2.5</version>
406 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700407 </dependencies>
408 </dependencyManagement>
409
410 <dependencies>
411 <dependency>
412 <groupId>junit</groupId>
413 <artifactId>junit</artifactId>
414 </dependency>
415 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700416 <groupId>org.hamcrest</groupId>
417 <artifactId>hamcrest-core</artifactId>
418 </dependency>
419 <dependency>
420 <groupId>org.hamcrest</groupId>
421 <artifactId>hamcrest-library</artifactId>
422 </dependency>
423 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700424 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700425 <artifactId>slf4j-api</artifactId>
426 </dependency>
427 <dependency>
428 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700429 <artifactId>slf4j-jdk14</artifactId>
430 </dependency>
431 </dependencies>
tom09419512014-08-15 11:28:43 -0700432
433 <build>
434 <pluginManagement>
435 <plugins>
436 <plugin>
437 <groupId>org.apache.maven.plugins</groupId>
438 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700439 <!-- TODO: update once following issue is fixed. -->
440 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
441 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700442 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800443 <source>1.8</source>
444 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700445 </configuration>
446 </plugin>
447
448 <plugin>
449 <groupId>org.apache.maven.plugins</groupId>
450 <artifactId>maven-surefire-plugin</artifactId>
451 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700452 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700453 <redirectTestOutputToFile>true
454 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700455 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800456 <excludedGroups>org.onlab.junit.IntegrationTest
457 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700458 </configuration>
tom09419512014-08-15 11:28:43 -0700459 </plugin>
460
461 <plugin>
462 <groupId>org.apache.maven.plugins</groupId>
463 <artifactId>maven-jar-plugin</artifactId>
464 <version>2.3.1</version>
465 <executions>
466 <execution>
467 <phase>package</phase>
468 <goals>
469 <goal>test-jar</goal>
470 </goals>
471 </execution>
472 </executions>
473 </plugin>
474
475 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-resources-plugin</artifactId>
478 <version>2.6</version>
479 </plugin>
480
481 <plugin>
tom09419512014-08-15 11:28:43 -0700482 <groupId>org.apache.felix</groupId>
483 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800484 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700485 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800486 <!--
487 Drop following dependency when the below bug fix is published
488 https://issues.apache.org/jira/browse/FELIX-4556
489 -->
490 <dependencies>
491 <dependency>
492 <groupId>biz.aQute.bnd</groupId>
493 <artifactId>bndlib</artifactId>
494 <version>2.4.0</version>
495 </dependency>
496 </dependencies>
tom09419512014-08-15 11:28:43 -0700497 </plugin>
498
499 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800500 <groupId>org.apache.maven.plugins</groupId>
501 <artifactId>maven-shade-plugin</artifactId>
502 <version>2.3</version>
503 </plugin>
504
505 <plugin>
tom09419512014-08-15 11:28:43 -0700506 <groupId>org.apache.felix</groupId>
507 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800508 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700509 <executions>
510 <execution>
511 <id>generate-scr-srcdescriptor</id>
512 <goals>
513 <goal>scr</goal>
514 </goals>
515 </execution>
516 </executions>
517 <configuration>
518 <supportedProjectTypes>
519 <supportedProjectType>bundle</supportedProjectType>
520 <supportedProjectType>war</supportedProjectType>
521 </supportedProjectTypes>
522 </configuration>
523 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800524 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800525 <groupId>org.codehaus.mojo</groupId>
526 <artifactId>findbugs-maven-plugin</artifactId>
527 <version>3.0.0</version>
528 <dependencies>
529 <dependency>
530 <groupId>org.onosproject</groupId>
531 <artifactId>onos-build-conf</artifactId>
532 <version>1.0</version>
533 </dependency>
534 </dependencies>
535 <configuration>
536 <effort>Max</effort>
537 <excludeFilterFile>onos/findbugs-suppressions.xml
538 </excludeFilterFile>
539 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800540 </plugin>
tom09419512014-08-15 11:28:43 -0700541
tom09419512014-08-15 11:28:43 -0700542 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700543 <!--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 -0800544 <!--
Brian O'Connorf3d06162014-10-02 15:54:12 -0700545 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700546 <groupId>org.eclipse.m2e</groupId>
547 <artifactId>lifecycle-mapping</artifactId>
548 <version>1.0.0</version>
549 <configuration>
550 <lifecycleMappingMetadata>
551 <pluginExecutions>
552 <pluginExecution>
553 <pluginExecutionFilter>
554 <groupId>org.jacoco</groupId>
555 <artifactId>
556 jacoco-maven-plugin
557 </artifactId>
558 <versionRange>
559 [0.7.1.201405082137,)
560 </versionRange>
561 <goals>
562 <goal>prepare-agent</goal>
563 </goals>
564 </pluginExecutionFilter>
565 <action>
566 <ignore></ignore>
567 </action>
568 </pluginExecution>
569 </pluginExecutions>
570 </lifecycleMappingMetadata>
571 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700572 </plugin>
Brian O'Connor5b29ebd2014-12-04 21:22:06 -0800573 -->
tom09419512014-08-15 11:28:43 -0700574 </plugins>
tom09419512014-08-15 11:28:43 -0700575 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700576
577 <plugins>
578 <plugin>
579 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700580 <artifactId>maven-jar-plugin</artifactId>
581 </plugin>
582
583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700585 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700586 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700587 <dependencies>
588 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800589 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700590 <artifactId>onos-build-conf</artifactId>
591 <version>1.0</version>
592 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800593 <!-- For Java 8 lambda support-->
594 <dependency>
595 <groupId>com.puppycrawl.tools</groupId>
596 <artifactId>checkstyle</artifactId>
597 <version>5.9</version>
598 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700599 </dependencies>
600 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800601 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800602 <sourceDirectory>${project.build.sourceDirectory}
603 </sourceDirectory>
604 <testSourceDirectory>${project.build.testSourceDirectory}
605 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800606 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700607 <configLocation>onos/checkstyle.xml</configLocation>
608 <suppressionsLocation>onos/suppressions.xml
609 </suppressionsLocation>
610 <failsOnError>false</failsOnError>
611 <logViolationsToConsole>true</logViolationsToConsole>
612 <includeTestSourceDirectory>true
613 </includeTestSourceDirectory>
614 </configuration>
615 <executions>
616 <execution>
617 <id>validate-checkstyle</id>
618 <phase>verify</phase>
619 <goals>
620 <goal>check</goal>
621 </goals>
622 </execution>
623 </executions>
624 </plugin>
625
626 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700627 <groupId>org.apache.maven.plugins</groupId>
628 <artifactId>maven-pmd-plugin</artifactId>
629 <version>3.2</version>
630 <configuration>
631 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700632 </excludes>
633 <rulesets>
634 <ruleset>onos/pmd.xml</ruleset>
635 </rulesets>
636 </configuration>
637 <executions>
638 <execution>
639 <id>validate-pmd</id>
640 <phase>verify</phase>
641 <goals>
642 <!-- Uncomment this goal to make the build fail on pmd errors -->
643 <!--<goal>check</goal>-->
644 </goals>
645 </execution>
646 </executions>
647 </plugin>
648
649 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700650 <groupId>org.jacoco</groupId>
651 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800652 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700653 <executions>
654 <execution>
655 <id>default-prepare-agent</id>
656 <goals>
657 <goal>prepare-agent</goal>
658 </goals>
659 </execution>
660 <execution>
661 <id>default-report</id>
662 <phase>prepare-package</phase>
663 <goals>
664 <goal>report</goal>
665 </goals>
666 </execution>
667 </executions>
668 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700669 </plugins>
tom09419512014-08-15 11:28:43 -0700670 </build>
alshabib522d9872014-08-15 10:35:16 -0700671
tom0eb04ca2014-08-25 14:34:51 -0700672 <reporting>
673 <plugins>
674 <plugin>
675 <groupId>org.apache.maven.plugins</groupId>
676 <artifactId>maven-checkstyle-plugin</artifactId>
677 <version>2.12.1</version>
678 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800679 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700680 </configuration>
681 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700682
683 <plugin>
684 <groupId>org.apache.maven.plugins</groupId>
685 <artifactId>maven-pmd-plugin</artifactId>
686 <version>3.2</version>
687 <configuration>
688 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700689 </excludes>
690 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800691 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700692 </rulesets>
693 </configuration>
694 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700695 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700696 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700697</project>