blob: 48ad2d8e693900bdbf073f3e1de6fd4dc4927883 [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'Connor1545b1e2015-03-11 16:38:23 -070044 <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>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -070050 <module>tools/package/maven-plugin</module>
tom0eb04ca2014-08-25 14:34:51 -070051 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070052 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070053 <module>web</module>
54 <module>cli</module>
55 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070056 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070057 <module>apps</module>
tom09419512014-08-15 11:28:43 -070058 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070059 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070060 </modules>
61
Brian O'Connor3439c102014-12-03 01:02:03 -080062 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070063
Brian O'Connor932d9412014-12-03 17:20:11 -080064 <scm>
65 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080066 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
67 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080068 <url>http://gerrit.onosproject.org/</url>
69 </scm>
70
tom09419512014-08-15 11:28:43 -070071 <licenses>
72 <license>
tom09419512014-08-15 11:28:43 -070073 <name>Apache License, Version 2.0</name>
74 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
75 </license>
76 </licenses>
77
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070078 <properties>
79 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070080 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampani94c23532015-02-05 17:40:01 -080081 <copycat.version>0.5.0.onos-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080082 <openflowj.version>0.3.9.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070083 </properties>
84
Brian O'Connor932d9412014-12-03 17:20:11 -080085 <distributionManagement>
86 <snapshotRepository>
87 <id>ossrh</id>
88 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
89 </snapshotRepository>
90 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080091
tom0eb04ca2014-08-25 14:34:51 -070092 <dependencyManagement>
93 <dependencies>
94 <dependency>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
97 <version>4.11</version>
98 <scope>test</scope>
99 </dependency>
tom09419512014-08-15 11:28:43 -0700100
tom0eb04ca2014-08-25 14:34:51 -0700101 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700102 <groupId>org.hamcrest</groupId>
103 <artifactId>hamcrest-core</artifactId>
104 <version>1.3</version>
105 <scope>test</scope>
106 </dependency>
107 <dependency>
108 <groupId>org.hamcrest</groupId>
109 <artifactId>hamcrest-library</artifactId>
110 <version>1.3</version>
111 <scope>test</scope>
112 </dependency>
113
114 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700115 <groupId>org.slf4j</groupId>
116 <artifactId>slf4j-api</artifactId>
117 <version>1.7.6</version>
118 <scope>provided</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700123 <artifactId>slf4j-core</artifactId>
124 <version>1.7.6</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700130 <artifactId>slf4j-jdk14</artifactId>
131 <version>1.7.6</version>
132 <scope>test</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>com.google.guava</groupId>
137 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700138 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700139 </dependency>
140
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700141 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700142 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700143 <artifactId>netty</artifactId>
144 <version>3.9.0.Final</version>
145 </dependency>
146
tomde8d9682014-08-27 01:11:43 -0700147 <dependency>
148 <groupId>com.google.guava</groupId>
149 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700150 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700151 <scope>test</scope>
152 </dependency>
153
tom6d2a43e2014-09-08 01:50:20 -0700154 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700155 <groupId>com.googlecode.concurrent-trees</groupId>
156 <artifactId>concurrent-trees</artifactId>
157 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700158 </dependency>
159
160 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700161 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700162 <artifactId>commons-lang</artifactId>
163 <version>2.6</version>
164 </dependency>
tomde8d9682014-08-27 01:11:43 -0700165
tom66a7eb22014-09-22 11:58:56 -0700166 <dependency>
167 <groupId>org.apache.commons</groupId>
168 <artifactId>commons-lang3</artifactId>
169 <version>3.3.2</version>
170 </dependency>
171
Brian O'Connorf3d06162014-10-02 15:54:12 -0700172 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800173 <groupId>commons-configuration</groupId>
174 <artifactId>commons-configuration</artifactId>
175 <version>1.10</version>
176 </dependency>
177
178 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800179 <groupId>org.apache.commons</groupId>
180 <artifactId>commons-collections4</artifactId>
181 <version>4.0</version>
182 </dependency>
183
184 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700185 <groupId>org.codehaus.jackson</groupId>
186 <artifactId>jackson-core-asl</artifactId>
187 <version>1.9.13</version>
188 </dependency>
189 <dependency>
190 <groupId>org.codehaus.jackson</groupId>
191 <artifactId>jackson-mapper-asl</artifactId>
192 <version>1.9.13</version>
193 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700194
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700195 <dependency>
196 <groupId>org.easymock</groupId>
197 <artifactId>easymock</artifactId>
198 <version>3.2</version>
199 <scope>test</scope>
200 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700201
tom0eb04ca2014-08-25 14:34:51 -0700202 <!-- Web related -->
203 <dependency>
204 <groupId>com.sun.jersey</groupId>
205 <artifactId>jersey-servlet</artifactId>
206 <version>1.18.1</version>
207 <scope>provided</scope>
208 </dependency>
209 <dependency>
210 <groupId>com.fasterxml.jackson.core</groupId>
211 <artifactId>jackson-databind</artifactId>
212 <version>2.4.2</version>
213 <scope>provided</scope>
214 </dependency>
215 <dependency>
216 <groupId>com.fasterxml.jackson.core</groupId>
217 <artifactId>jackson-annotations</artifactId>
218 <version>2.4.2</version>
219 <scope>provided</scope>
220 </dependency>
221
222 <!-- OSGi related -->
223 <dependency>
224 <groupId>org.osgi</groupId>
225 <artifactId>org.osgi.core</artifactId>
226 <version>4.3.1</version>
227 <scope>provided</scope>
228 </dependency>
229 <dependency>
tomc16656f2014-10-15 18:30:31 -0700230 <groupId>org.osgi</groupId>
231 <artifactId>org.osgi.compendium</artifactId>
232 <version>4.3.1</version>
233 <scope>provided</scope>
234 </dependency>
235 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700236 <groupId>org.apache.felix</groupId>
237 <artifactId>org.apache.felix.scr.annotations</artifactId>
238 <version>1.9.8</version>
239 <scope>provided</scope>
240 </dependency>
241 <dependency>
242 <groupId>org.apache.karaf.shell</groupId>
243 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800244 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700245 <scope>provided</scope>
246 </dependency>
247
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700248 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700249 <groupId>org.livetribe.slp</groupId>
250 <artifactId>livetribe-slp</artifactId>
251 <version>2.2.1</version>
252 </dependency>
253
254 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700255 <groupId>com.hazelcast</groupId>
256 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800257 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700258 </dependency>
259 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800260 <groupId>com.hazelcast</groupId>
261 <artifactId>hazelcast</artifactId>
262 <version>3.4</version>
263 <classifier>tests</classifier>
264 <scope>test</scope>
265 </dependency>
266 <dependency>
tomdc66b382014-09-22 17:05:47 -0700267 <groupId>com.eclipsesource.minimal-json</groupId>
268 <artifactId>minimal-json</artifactId>
269 <version>0.9.1</version>
270 </dependency>
271 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700272 <groupId>com.esotericsoftware</groupId>
273 <artifactId>kryo</artifactId>
274 <version>3.0.0</version>
275 </dependency>
276 <dependency>
277 <groupId>com.esotericsoftware</groupId>
278 <artifactId>reflectasm</artifactId>
279 <version>1.10.0</version>
280 <type>bundle</type>
281 </dependency>
282 <dependency>
283 <groupId>org.ow2.asm</groupId>
284 <artifactId>asm</artifactId>
285 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700286 </dependency>
287 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700288 <groupId>com.esotericsoftware</groupId>
289 <artifactId>minlog</artifactId>
290 <version>1.3.0</version>
291 </dependency>
292 <dependency>
293 <groupId>org.objenesis</groupId>
294 <artifactId>objenesis</artifactId>
295 <version>2.1</version>
296 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700297
tom0eb04ca2014-08-25 14:34:51 -0700298 <!-- ONOS related -->
299 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800300 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700301 <artifactId>onlab-misc</artifactId>
302 <version>${project.version}</version>
303 </dependency>
tom931af4e2014-09-13 12:00:57 -0700304 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800305 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700306 <artifactId>onlab-nio</artifactId>
307 <version>${project.version}</version>
308 </dependency>
309 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800310 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700311 <artifactId>onlab-osgi</artifactId>
312 <version>${project.version}</version>
313 </dependency>
314 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800315 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800316 <artifactId>onlab-osgi</artifactId>
317 <version>${project.version}</version>
318 <classifier>tests</classifier>
319 <scope>test</scope>
320 </dependency>
321 <dependency>
322 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700323 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700324 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700325 <scope>test</scope>
326 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700327
328 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800329 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700330 <artifactId>onos-api</artifactId>
331 <version>${project.version}</version>
332 </dependency>
333 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800334 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700335 <artifactId>onos-api</artifactId>
336 <version>${project.version}</version>
337 <classifier>tests</classifier>
338 <scope>test</scope>
339 </dependency>
340
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800341
342 <dependency>
343 <groupId>org.onosproject</groupId>
344 <artifactId>onos-core-common</artifactId>
345 <version>${project.version}</version>
346 </dependency>
347
tom61359e92014-09-16 15:50:27 -0700348 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800349 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700350 <artifactId>onos-of-api</artifactId>
351 <version>${project.version}</version>
352 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700353
354 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800355 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700356 <artifactId>onlab-thirdparty</artifactId>
357 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700358 </dependency>
359
tom61359e92014-09-16 15:50:27 -0700360 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800361 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700362 <artifactId>onos-of-api</artifactId>
363 <version>${project.version}</version>
364 <classifier>tests</classifier>
365 <scope>test</scope>
366 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700367 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700368 <groupId>commons-pool</groupId>
369 <artifactId>commons-pool</artifactId>
370 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700371 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700372 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700373 <groupId>io.netty</groupId>
374 <artifactId>netty-common</artifactId>
375 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700376 </dependency>
377 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700378 <groupId>io.netty</groupId>
379 <artifactId>netty-buffer</artifactId>
380 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700381 </dependency>
382 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700383 <groupId>io.netty</groupId>
384 <artifactId>netty-transport</artifactId>
385 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700386 </dependency>
387 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700388 <groupId>io.netty</groupId>
389 <artifactId>netty-handler</artifactId>
390 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700391 </dependency>
392 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700393 <groupId>io.netty</groupId>
394 <artifactId>netty-codec</artifactId>
395 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700396 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700397 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700398 <groupId>io.netty</groupId>
399 <artifactId>netty-transport-native-epoll</artifactId>
400 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800401 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700402 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700403 <dependency>
404 <groupId>joda-time</groupId>
405 <artifactId>joda-time</artifactId>
406 <version>2.5</version>
407 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700408 </dependencies>
409 </dependencyManagement>
410
411 <dependencies>
412 <dependency>
413 <groupId>junit</groupId>
414 <artifactId>junit</artifactId>
415 </dependency>
416 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700417 <groupId>org.hamcrest</groupId>
418 <artifactId>hamcrest-core</artifactId>
419 </dependency>
420 <dependency>
421 <groupId>org.hamcrest</groupId>
422 <artifactId>hamcrest-library</artifactId>
423 </dependency>
424 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700425 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700426 <artifactId>slf4j-api</artifactId>
427 </dependency>
428 <dependency>
429 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700430 <artifactId>slf4j-jdk14</artifactId>
431 </dependency>
432 </dependencies>
tom09419512014-08-15 11:28:43 -0700433
434 <build>
435 <pluginManagement>
436 <plugins>
437 <plugin>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700440 <!-- TODO: update once following issue is fixed. -->
441 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
442 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700443 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800444 <source>1.8</source>
445 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700446 </configuration>
447 </plugin>
448
449 <plugin>
450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-surefire-plugin</artifactId>
452 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700453 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700454 <redirectTestOutputToFile>true
455 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700456 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800457 <excludedGroups>org.onlab.junit.IntegrationTest
458 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700459 </configuration>
tom09419512014-08-15 11:28:43 -0700460 </plugin>
461
462 <plugin>
463 <groupId>org.apache.maven.plugins</groupId>
464 <artifactId>maven-jar-plugin</artifactId>
465 <version>2.3.1</version>
466 <executions>
467 <execution>
468 <phase>package</phase>
469 <goals>
470 <goal>test-jar</goal>
471 </goals>
472 </execution>
473 </executions>
474 </plugin>
475
476 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-resources-plugin</artifactId>
479 <version>2.6</version>
480 </plugin>
481
482 <plugin>
tom09419512014-08-15 11:28:43 -0700483 <groupId>org.apache.felix</groupId>
484 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800485 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700486 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800487 <!--
488 Drop following dependency when the below bug fix is published
489 https://issues.apache.org/jira/browse/FELIX-4556
490 -->
491 <dependencies>
492 <dependency>
493 <groupId>biz.aQute.bnd</groupId>
494 <artifactId>bndlib</artifactId>
495 <version>2.4.0</version>
496 </dependency>
497 </dependencies>
tom09419512014-08-15 11:28:43 -0700498 </plugin>
499
500 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-shade-plugin</artifactId>
503 <version>2.3</version>
504 </plugin>
505
506 <plugin>
tom09419512014-08-15 11:28:43 -0700507 <groupId>org.apache.felix</groupId>
508 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800509 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700510 <executions>
511 <execution>
512 <id>generate-scr-srcdescriptor</id>
513 <goals>
514 <goal>scr</goal>
515 </goals>
516 </execution>
517 </executions>
518 <configuration>
519 <supportedProjectTypes>
520 <supportedProjectType>bundle</supportedProjectType>
521 <supportedProjectType>war</supportedProjectType>
522 </supportedProjectTypes>
523 </configuration>
524 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800525 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800526 <groupId>org.codehaus.mojo</groupId>
527 <artifactId>findbugs-maven-plugin</artifactId>
528 <version>3.0.0</version>
529 <dependencies>
530 <dependency>
531 <groupId>org.onosproject</groupId>
532 <artifactId>onos-build-conf</artifactId>
533 <version>1.0</version>
534 </dependency>
535 </dependencies>
536 <configuration>
537 <effort>Max</effort>
538 <excludeFilterFile>onos/findbugs-suppressions.xml
539 </excludeFilterFile>
540 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800541 </plugin>
tom09419512014-08-15 11:28:43 -0700542
Brian O'Connorf3d06162014-10-02 15:54:12 -0700543 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700544 <groupId>org.onosproject</groupId>
545 <artifactId>onos-maven-plugin</artifactId>
546 <version>${project.version}</version>
547 <executions>
548 <execution>
549 <phase>generate-resources</phase>
550 <goals>
551 <goal>cfg</goal>
552 </goals>
553 </execution>
554 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700555 </plugin>
tom09419512014-08-15 11:28:43 -0700556 </plugins>
tom09419512014-08-15 11:28:43 -0700557 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700558
559 <plugins>
560 <plugin>
561 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700562 <artifactId>maven-jar-plugin</artifactId>
563 </plugin>
564
565 <plugin>
566 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700567 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700568 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700569 <dependencies>
570 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800571 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700572 <artifactId>onos-build-conf</artifactId>
573 <version>1.0</version>
574 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800575 <!-- For Java 8 lambda support-->
576 <dependency>
577 <groupId>com.puppycrawl.tools</groupId>
578 <artifactId>checkstyle</artifactId>
579 <version>5.9</version>
580 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700581 </dependencies>
582 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800583 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800584 <sourceDirectory>${project.build.sourceDirectory}
585 </sourceDirectory>
586 <testSourceDirectory>${project.build.testSourceDirectory}
587 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800588 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700589 <configLocation>onos/checkstyle.xml</configLocation>
590 <suppressionsLocation>onos/suppressions.xml
591 </suppressionsLocation>
592 <failsOnError>false</failsOnError>
593 <logViolationsToConsole>true</logViolationsToConsole>
594 <includeTestSourceDirectory>true
595 </includeTestSourceDirectory>
596 </configuration>
597 <executions>
598 <execution>
599 <id>validate-checkstyle</id>
600 <phase>verify</phase>
601 <goals>
602 <goal>check</goal>
603 </goals>
604 </execution>
605 </executions>
606 </plugin>
607
608 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-pmd-plugin</artifactId>
611 <version>3.2</version>
612 <configuration>
613 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700614 </excludes>
615 <rulesets>
616 <ruleset>onos/pmd.xml</ruleset>
617 </rulesets>
618 </configuration>
619 <executions>
620 <execution>
621 <id>validate-pmd</id>
622 <phase>verify</phase>
623 <goals>
624 <!-- Uncomment this goal to make the build fail on pmd errors -->
625 <!--<goal>check</goal>-->
626 </goals>
627 </execution>
628 </executions>
629 </plugin>
630
631 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700632 <groupId>org.jacoco</groupId>
633 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800634 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700635 <executions>
636 <execution>
637 <id>default-prepare-agent</id>
638 <goals>
639 <goal>prepare-agent</goal>
640 </goals>
641 </execution>
642 <execution>
643 <id>default-report</id>
644 <phase>prepare-package</phase>
645 <goals>
646 <goal>report</goal>
647 </goals>
648 </execution>
649 </executions>
650 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700651 </plugins>
tom09419512014-08-15 11:28:43 -0700652 </build>
alshabib522d9872014-08-15 10:35:16 -0700653
tom0eb04ca2014-08-25 14:34:51 -0700654 <reporting>
655 <plugins>
656 <plugin>
657 <groupId>org.apache.maven.plugins</groupId>
658 <artifactId>maven-checkstyle-plugin</artifactId>
659 <version>2.12.1</version>
660 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800661 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700662 </configuration>
663 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700664
665 <plugin>
666 <groupId>org.apache.maven.plugins</groupId>
667 <artifactId>maven-pmd-plugin</artifactId>
668 <version>3.2</version>
669 <configuration>
670 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700671 </excludes>
672 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800673 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700674 </rulesets>
675 </configuration>
676 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700677 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700678 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700679</project>