blob: 5267aeb4a39a625b0c6c7e8d9655832454410897 [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>
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
tom09419512014-08-15 11:28:43 -0700535 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700536 <!--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 -0800537 <!--
Brian O'Connorf3d06162014-10-02 15:54:12 -0700538 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700539 <groupId>org.eclipse.m2e</groupId>
540 <artifactId>lifecycle-mapping</artifactId>
541 <version>1.0.0</version>
542 <configuration>
543 <lifecycleMappingMetadata>
544 <pluginExecutions>
545 <pluginExecution>
546 <pluginExecutionFilter>
547 <groupId>org.jacoco</groupId>
548 <artifactId>
549 jacoco-maven-plugin
550 </artifactId>
551 <versionRange>
552 [0.7.1.201405082137,)
553 </versionRange>
554 <goals>
555 <goal>prepare-agent</goal>
556 </goals>
557 </pluginExecutionFilter>
558 <action>
559 <ignore></ignore>
560 </action>
561 </pluginExecution>
562 </pluginExecutions>
563 </lifecycleMappingMetadata>
564 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700565 </plugin>
Brian O'Connor5b29ebd2014-12-04 21:22:06 -0800566 -->
tom09419512014-08-15 11:28:43 -0700567 </plugins>
tom09419512014-08-15 11:28:43 -0700568 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700569
570 <plugins>
571 <plugin>
572 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700573 <artifactId>maven-jar-plugin</artifactId>
574 </plugin>
575
576 <plugin>
577 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700578 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700579 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700580 <dependencies>
581 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800582 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700583 <artifactId>onos-build-conf</artifactId>
584 <version>1.0</version>
585 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800586 <!-- For Java 8 lambda support-->
587 <dependency>
588 <groupId>com.puppycrawl.tools</groupId>
589 <artifactId>checkstyle</artifactId>
590 <version>5.9</version>
591 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700592 </dependencies>
593 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800594 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800595 <sourceDirectory>${project.build.sourceDirectory}
596 </sourceDirectory>
597 <testSourceDirectory>${project.build.testSourceDirectory}
598 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800599 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700600 <configLocation>onos/checkstyle.xml</configLocation>
601 <suppressionsLocation>onos/suppressions.xml
602 </suppressionsLocation>
603 <failsOnError>false</failsOnError>
604 <logViolationsToConsole>true</logViolationsToConsole>
605 <includeTestSourceDirectory>true
606 </includeTestSourceDirectory>
607 </configuration>
608 <executions>
609 <execution>
610 <id>validate-checkstyle</id>
611 <phase>verify</phase>
612 <goals>
613 <goal>check</goal>
614 </goals>
615 </execution>
616 </executions>
617 </plugin>
618
619 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-pmd-plugin</artifactId>
622 <version>3.2</version>
623 <configuration>
624 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700625 </excludes>
626 <rulesets>
627 <ruleset>onos/pmd.xml</ruleset>
628 </rulesets>
629 </configuration>
630 <executions>
631 <execution>
632 <id>validate-pmd</id>
633 <phase>verify</phase>
634 <goals>
635 <!-- Uncomment this goal to make the build fail on pmd errors -->
636 <!--<goal>check</goal>-->
637 </goals>
638 </execution>
639 </executions>
640 </plugin>
641
642 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700643 <groupId>org.jacoco</groupId>
644 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800645 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700646 <executions>
647 <execution>
648 <id>default-prepare-agent</id>
649 <goals>
650 <goal>prepare-agent</goal>
651 </goals>
652 </execution>
653 <execution>
654 <id>default-report</id>
655 <phase>prepare-package</phase>
656 <goals>
657 <goal>report</goal>
658 </goals>
659 </execution>
660 </executions>
661 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700662 </plugins>
tom09419512014-08-15 11:28:43 -0700663 </build>
alshabib522d9872014-08-15 10:35:16 -0700664
tom0eb04ca2014-08-25 14:34:51 -0700665 <reporting>
666 <plugins>
667 <plugin>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-checkstyle-plugin</artifactId>
670 <version>2.12.1</version>
671 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800672 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700673 </configuration>
674 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700675
676 <plugin>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-pmd-plugin</artifactId>
679 <version>3.2</version>
680 <configuration>
681 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700682 </excludes>
683 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800684 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700685 </rulesets>
686 </configuration>
687 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700688 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700689 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700690</project>