blob: 276f9b49c7ce1a501aea67b0c5235e5c8cd668c7 [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
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'Connor1545b1e2015-03-11 16:38:23 -070036 <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>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -070042 <module>tools/package/maven-plugin</module>
tom0eb04ca2014-08-25 14:34:51 -070043 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070044 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070045 <module>web</module>
46 <module>cli</module>
47 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070048 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070049 <module>apps</module>
tom09419512014-08-15 11:28:43 -070050 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070051 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070052 </modules>
53
Brian O'Connor3439c102014-12-03 01:02:03 -080054 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070055
Brian O'Connor932d9412014-12-03 17:20:11 -080056 <scm>
57 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080058 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
59 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080060 <url>http://gerrit.onosproject.org/</url>
61 </scm>
62
tom09419512014-08-15 11:28:43 -070063 <licenses>
64 <license>
tom09419512014-08-15 11:28:43 -070065 <name>Apache License, Version 2.0</name>
66 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
67 </license>
68 </licenses>
69
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070070 <properties>
71 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070072 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connor55396412015-03-17 18:49:29 -070073 <copycat.version>0.4.0.onos</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080074 <openflowj.version>0.3.9.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070075 </properties>
76
Brian O'Connor932d9412014-12-03 17:20:11 -080077 <distributionManagement>
78 <snapshotRepository>
79 <id>ossrh</id>
80 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
81 </snapshotRepository>
82 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080083
tom0eb04ca2014-08-25 14:34:51 -070084 <dependencyManagement>
85 <dependencies>
86 <dependency>
87 <groupId>junit</groupId>
88 <artifactId>junit</artifactId>
89 <version>4.11</version>
90 <scope>test</scope>
91 </dependency>
tom09419512014-08-15 11:28:43 -070092
tom0eb04ca2014-08-25 14:34:51 -070093 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070094 <groupId>org.hamcrest</groupId>
95 <artifactId>hamcrest-core</artifactId>
96 <version>1.3</version>
97 <scope>test</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.hamcrest</groupId>
101 <artifactId>hamcrest-library</artifactId>
102 <version>1.3</version>
103 <scope>test</scope>
104 </dependency>
105
106 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700107 <groupId>org.slf4j</groupId>
108 <artifactId>slf4j-api</artifactId>
109 <version>1.7.6</version>
110 <scope>provided</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700115 <artifactId>slf4j-core</artifactId>
116 <version>1.7.6</version>
117 <scope>test</scope>
118 </dependency>
119
120 <dependency>
121 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700122 <artifactId>slf4j-jdk14</artifactId>
123 <version>1.7.6</version>
124 <scope>test</scope>
125 </dependency>
126
127 <dependency>
128 <groupId>com.google.guava</groupId>
129 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700130 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700131 </dependency>
132
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700133 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700134 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700135 <artifactId>netty</artifactId>
136 <version>3.9.0.Final</version>
137 </dependency>
138
tomde8d9682014-08-27 01:11:43 -0700139 <dependency>
140 <groupId>com.google.guava</groupId>
141 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700142 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700143 <scope>test</scope>
144 </dependency>
145
tom6d2a43e2014-09-08 01:50:20 -0700146 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700147 <groupId>com.googlecode.concurrent-trees</groupId>
148 <artifactId>concurrent-trees</artifactId>
149 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700150 </dependency>
151
152 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700153 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700154 <artifactId>commons-lang</artifactId>
155 <version>2.6</version>
156 </dependency>
tomde8d9682014-08-27 01:11:43 -0700157
tom66a7eb22014-09-22 11:58:56 -0700158 <dependency>
159 <groupId>org.apache.commons</groupId>
160 <artifactId>commons-lang3</artifactId>
161 <version>3.3.2</version>
162 </dependency>
163
Brian O'Connorf3d06162014-10-02 15:54:12 -0700164 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800165 <groupId>commons-configuration</groupId>
166 <artifactId>commons-configuration</artifactId>
167 <version>1.10</version>
168 </dependency>
169
170 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800171 <groupId>org.apache.commons</groupId>
172 <artifactId>commons-collections4</artifactId>
173 <version>4.0</version>
174 </dependency>
175
176 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700177 <groupId>org.codehaus.jackson</groupId>
178 <artifactId>jackson-core-asl</artifactId>
179 <version>1.9.13</version>
180 </dependency>
181 <dependency>
182 <groupId>org.codehaus.jackson</groupId>
183 <artifactId>jackson-mapper-asl</artifactId>
184 <version>1.9.13</version>
185 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700186
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700187 <dependency>
188 <groupId>org.easymock</groupId>
189 <artifactId>easymock</artifactId>
190 <version>3.2</version>
191 <scope>test</scope>
192 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700193
tom0eb04ca2014-08-25 14:34:51 -0700194 <!-- Web related -->
195 <dependency>
196 <groupId>com.sun.jersey</groupId>
197 <artifactId>jersey-servlet</artifactId>
198 <version>1.18.1</version>
199 <scope>provided</scope>
200 </dependency>
201 <dependency>
202 <groupId>com.fasterxml.jackson.core</groupId>
203 <artifactId>jackson-databind</artifactId>
204 <version>2.4.2</version>
205 <scope>provided</scope>
206 </dependency>
207 <dependency>
208 <groupId>com.fasterxml.jackson.core</groupId>
209 <artifactId>jackson-annotations</artifactId>
210 <version>2.4.2</version>
211 <scope>provided</scope>
212 </dependency>
213
214 <!-- OSGi related -->
215 <dependency>
216 <groupId>org.osgi</groupId>
217 <artifactId>org.osgi.core</artifactId>
218 <version>4.3.1</version>
219 <scope>provided</scope>
220 </dependency>
221 <dependency>
tomc16656f2014-10-15 18:30:31 -0700222 <groupId>org.osgi</groupId>
223 <artifactId>org.osgi.compendium</artifactId>
224 <version>4.3.1</version>
225 <scope>provided</scope>
226 </dependency>
227 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700228 <groupId>org.apache.felix</groupId>
229 <artifactId>org.apache.felix.scr.annotations</artifactId>
230 <version>1.9.8</version>
231 <scope>provided</scope>
232 </dependency>
233 <dependency>
234 <groupId>org.apache.karaf.shell</groupId>
235 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800236 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700237 <scope>provided</scope>
238 </dependency>
239
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700240 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700241 <groupId>org.livetribe.slp</groupId>
242 <artifactId>livetribe-slp</artifactId>
243 <version>2.2.1</version>
244 </dependency>
245
246 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700247 <groupId>com.hazelcast</groupId>
248 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800249 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700250 </dependency>
251 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800252 <groupId>com.hazelcast</groupId>
253 <artifactId>hazelcast</artifactId>
254 <version>3.4</version>
255 <classifier>tests</classifier>
256 <scope>test</scope>
257 </dependency>
258 <dependency>
tomdc66b382014-09-22 17:05:47 -0700259 <groupId>com.eclipsesource.minimal-json</groupId>
260 <artifactId>minimal-json</artifactId>
261 <version>0.9.1</version>
262 </dependency>
263 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700264 <groupId>com.esotericsoftware</groupId>
265 <artifactId>kryo</artifactId>
266 <version>3.0.0</version>
267 </dependency>
268 <dependency>
269 <groupId>com.esotericsoftware</groupId>
270 <artifactId>reflectasm</artifactId>
271 <version>1.10.0</version>
272 <type>bundle</type>
273 </dependency>
274 <dependency>
275 <groupId>org.ow2.asm</groupId>
276 <artifactId>asm</artifactId>
277 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700278 </dependency>
279 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700280 <groupId>com.esotericsoftware</groupId>
281 <artifactId>minlog</artifactId>
282 <version>1.3.0</version>
283 </dependency>
284 <dependency>
285 <groupId>org.objenesis</groupId>
286 <artifactId>objenesis</artifactId>
287 <version>2.1</version>
288 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700289
tom0eb04ca2014-08-25 14:34:51 -0700290 <!-- ONOS related -->
291 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800292 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700293 <artifactId>onlab-misc</artifactId>
294 <version>${project.version}</version>
295 </dependency>
tom931af4e2014-09-13 12:00:57 -0700296 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800297 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700298 <artifactId>onlab-nio</artifactId>
299 <version>${project.version}</version>
300 </dependency>
301 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800302 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700303 <artifactId>onlab-osgi</artifactId>
304 <version>${project.version}</version>
305 </dependency>
306 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800307 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800308 <artifactId>onlab-osgi</artifactId>
309 <version>${project.version}</version>
310 <classifier>tests</classifier>
311 <scope>test</scope>
312 </dependency>
313 <dependency>
314 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700315 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700316 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700317 <scope>test</scope>
318 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700319
320 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800321 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700322 <artifactId>onos-api</artifactId>
323 <version>${project.version}</version>
324 </dependency>
325 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800326 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700327 <artifactId>onos-api</artifactId>
328 <version>${project.version}</version>
329 <classifier>tests</classifier>
330 <scope>test</scope>
331 </dependency>
332
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800333
334 <dependency>
335 <groupId>org.onosproject</groupId>
336 <artifactId>onos-core-common</artifactId>
337 <version>${project.version}</version>
338 </dependency>
339
tom61359e92014-09-16 15:50:27 -0700340 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800341 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700342 <artifactId>onos-of-api</artifactId>
343 <version>${project.version}</version>
344 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700345
346 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800347 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700348 <artifactId>onlab-thirdparty</artifactId>
349 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700350 </dependency>
351
tom61359e92014-09-16 15:50:27 -0700352 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800353 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700354 <artifactId>onos-of-api</artifactId>
355 <version>${project.version}</version>
356 <classifier>tests</classifier>
357 <scope>test</scope>
358 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700359 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700360 <groupId>commons-pool</groupId>
361 <artifactId>commons-pool</artifactId>
362 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700363 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700364 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700365 <groupId>io.netty</groupId>
366 <artifactId>netty-common</artifactId>
367 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700368 </dependency>
369 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700370 <groupId>io.netty</groupId>
371 <artifactId>netty-buffer</artifactId>
372 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700373 </dependency>
374 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700375 <groupId>io.netty</groupId>
376 <artifactId>netty-transport</artifactId>
377 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700378 </dependency>
379 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700380 <groupId>io.netty</groupId>
381 <artifactId>netty-handler</artifactId>
382 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700383 </dependency>
384 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700385 <groupId>io.netty</groupId>
386 <artifactId>netty-codec</artifactId>
387 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700388 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700389 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700390 <groupId>io.netty</groupId>
391 <artifactId>netty-transport-native-epoll</artifactId>
392 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800393 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700394 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700395 <dependency>
396 <groupId>joda-time</groupId>
397 <artifactId>joda-time</artifactId>
398 <version>2.5</version>
399 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700400 </dependencies>
401 </dependencyManagement>
402
403 <dependencies>
404 <dependency>
405 <groupId>junit</groupId>
406 <artifactId>junit</artifactId>
407 </dependency>
408 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700409 <groupId>org.hamcrest</groupId>
410 <artifactId>hamcrest-core</artifactId>
411 </dependency>
412 <dependency>
413 <groupId>org.hamcrest</groupId>
414 <artifactId>hamcrest-library</artifactId>
415 </dependency>
416 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700417 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700418 <artifactId>slf4j-api</artifactId>
419 </dependency>
420 <dependency>
421 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700422 <artifactId>slf4j-jdk14</artifactId>
423 </dependency>
424 </dependencies>
tom09419512014-08-15 11:28:43 -0700425
426 <build>
427 <pluginManagement>
428 <plugins>
429 <plugin>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700432 <!-- TODO: update once following issue is fixed. -->
433 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
434 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700435 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800436 <source>1.8</source>
437 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700438 </configuration>
439 </plugin>
440
441 <plugin>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-surefire-plugin</artifactId>
444 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700445 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700446 <redirectTestOutputToFile>true
447 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700448 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800449 <excludedGroups>org.onlab.junit.IntegrationTest
450 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700451 </configuration>
tom09419512014-08-15 11:28:43 -0700452 </plugin>
453
454 <plugin>
455 <groupId>org.apache.maven.plugins</groupId>
456 <artifactId>maven-jar-plugin</artifactId>
457 <version>2.3.1</version>
458 <executions>
459 <execution>
460 <phase>package</phase>
461 <goals>
462 <goal>test-jar</goal>
463 </goals>
464 </execution>
465 </executions>
466 </plugin>
467
468 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-resources-plugin</artifactId>
471 <version>2.6</version>
472 </plugin>
473
474 <plugin>
tom09419512014-08-15 11:28:43 -0700475 <groupId>org.apache.felix</groupId>
476 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800477 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700478 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800479 <!--
480 Drop following dependency when the below bug fix is published
481 https://issues.apache.org/jira/browse/FELIX-4556
482 -->
483 <dependencies>
484 <dependency>
485 <groupId>biz.aQute.bnd</groupId>
486 <artifactId>bndlib</artifactId>
487 <version>2.4.0</version>
488 </dependency>
489 </dependencies>
tom09419512014-08-15 11:28:43 -0700490 </plugin>
491
492 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-shade-plugin</artifactId>
495 <version>2.3</version>
496 </plugin>
497
498 <plugin>
tom09419512014-08-15 11:28:43 -0700499 <groupId>org.apache.felix</groupId>
500 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800501 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700502 <executions>
503 <execution>
504 <id>generate-scr-srcdescriptor</id>
505 <goals>
506 <goal>scr</goal>
507 </goals>
508 </execution>
509 </executions>
510 <configuration>
511 <supportedProjectTypes>
512 <supportedProjectType>bundle</supportedProjectType>
513 <supportedProjectType>war</supportedProjectType>
514 </supportedProjectTypes>
515 </configuration>
516 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800517 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800518 <groupId>org.codehaus.mojo</groupId>
519 <artifactId>findbugs-maven-plugin</artifactId>
520 <version>3.0.0</version>
521 <dependencies>
522 <dependency>
523 <groupId>org.onosproject</groupId>
524 <artifactId>onos-build-conf</artifactId>
525 <version>1.0</version>
526 </dependency>
527 </dependencies>
528 <configuration>
529 <effort>Max</effort>
530 <excludeFilterFile>onos/findbugs-suppressions.xml
531 </excludeFilterFile>
532 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800533 </plugin>
tom09419512014-08-15 11:28:43 -0700534
Brian O'Connorf3d06162014-10-02 15:54:12 -0700535 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700536 <groupId>org.onosproject</groupId>
537 <artifactId>onos-maven-plugin</artifactId>
538 <version>${project.version}</version>
539 <executions>
540 <execution>
541 <phase>generate-resources</phase>
542 <goals>
543 <goal>cfg</goal>
544 </goals>
545 </execution>
546 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700547 </plugin>
tom09419512014-08-15 11:28:43 -0700548 </plugins>
tom09419512014-08-15 11:28:43 -0700549 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700550
551 <plugins>
552 <plugin>
553 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700554 <artifactId>maven-jar-plugin</artifactId>
555 </plugin>
556
557 <plugin>
558 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700559 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700560 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700561 <dependencies>
562 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800563 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700564 <artifactId>onos-build-conf</artifactId>
565 <version>1.0</version>
566 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800567 <!-- For Java 8 lambda support-->
568 <dependency>
569 <groupId>com.puppycrawl.tools</groupId>
570 <artifactId>checkstyle</artifactId>
571 <version>5.9</version>
572 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700573 </dependencies>
574 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800575 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800576 <sourceDirectory>${project.build.sourceDirectory}
577 </sourceDirectory>
578 <testSourceDirectory>${project.build.testSourceDirectory}
579 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800580 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700581 <configLocation>onos/checkstyle.xml</configLocation>
582 <suppressionsLocation>onos/suppressions.xml
583 </suppressionsLocation>
584 <failsOnError>false</failsOnError>
585 <logViolationsToConsole>true</logViolationsToConsole>
586 <includeTestSourceDirectory>true
587 </includeTestSourceDirectory>
588 </configuration>
589 <executions>
590 <execution>
591 <id>validate-checkstyle</id>
592 <phase>verify</phase>
593 <goals>
594 <goal>check</goal>
595 </goals>
596 </execution>
597 </executions>
598 </plugin>
599
600 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-pmd-plugin</artifactId>
603 <version>3.2</version>
604 <configuration>
605 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700606 </excludes>
607 <rulesets>
608 <ruleset>onos/pmd.xml</ruleset>
609 </rulesets>
610 </configuration>
611 <executions>
612 <execution>
613 <id>validate-pmd</id>
614 <phase>verify</phase>
615 <goals>
616 <!-- Uncomment this goal to make the build fail on pmd errors -->
617 <!--<goal>check</goal>-->
618 </goals>
619 </execution>
620 </executions>
621 </plugin>
622
623 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700624 <groupId>org.jacoco</groupId>
625 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800626 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700627 <executions>
628 <execution>
629 <id>default-prepare-agent</id>
630 <goals>
631 <goal>prepare-agent</goal>
632 </goals>
633 </execution>
634 <execution>
635 <id>default-report</id>
636 <phase>prepare-package</phase>
637 <goals>
638 <goal>report</goal>
639 </goals>
640 </execution>
641 </executions>
642 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700643 </plugins>
tom09419512014-08-15 11:28:43 -0700644 </build>
alshabib522d9872014-08-15 10:35:16 -0700645
tom0eb04ca2014-08-25 14:34:51 -0700646 <reporting>
647 <plugins>
648 <plugin>
649 <groupId>org.apache.maven.plugins</groupId>
650 <artifactId>maven-checkstyle-plugin</artifactId>
651 <version>2.12.1</version>
652 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800653 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700654 </configuration>
655 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700656
657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-pmd-plugin</artifactId>
660 <version>3.2</version>
661 <configuration>
662 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700663 </excludes>
664 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800665 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700666 </rulesets>
667 </configuration>
668 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700669 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700670 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700671</project>