blob: a5385380f9a961f6c968348603f0cadd7c4f6652 [file] [log] [blame]
Brian O'Connor5af8a942014-11-26 12:17:40 -08001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska7399e482014-12-01 21:27:42 -08002<!--
3 ~ Copyright 2014 Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
tom09419512014-08-15 11:28:43 -070017<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
alshabib522d9872014-08-15 10:35:16 -070021
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -070022 <prerequisites>
23 <maven>3.0.0</maven>
24 </prerequisites>
25
Brian O'Connor932d9412014-12-03 17:20:11 -080026 <parent>
27 <groupId>org.onosproject</groupId>
28 <artifactId>onos-base</artifactId>
29 <version>1</version>
30 <relativePath>tools/build/pom.xml</relativePath>
31 </parent>
32
Brian O'Connorabafb502014-12-02 22:26:20 -080033 <groupId>org.onosproject</groupId>
tom09419512014-08-15 11:28:43 -070034 <artifactId>onos</artifactId>
35 <packaging>pom</packaging>
Brian O'Connor7f2e9bf2014-12-04 23:35:13 -080036 <version>1.1.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070037
Brian O'Connor932d9412014-12-03 17:20:11 -080038 <name>${project.artifactId}</name>
Yuta HIGUCHI964c1732014-12-02 20:38:07 -080039 <description>Open Network Operating System root project</description>
tom09419512014-08-15 11:28:43 -070040
41 <modules>
tom0eb04ca2014-08-25 14:34:51 -070042 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070043 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070044 <module>web</module>
45 <module>cli</module>
46 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070047 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070048 <module>apps</module>
tom09419512014-08-15 11:28:43 -070049 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070050 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070051 </modules>
52
Brian O'Connor3439c102014-12-03 01:02:03 -080053 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070054
Brian O'Connor932d9412014-12-03 17:20:11 -080055 <scm>
56 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
57 <developerConnection>scm:git:https://gerrit.onosproject.org/onos</developerConnection>
58 <url>http://gerrit.onosproject.org/</url>
59 </scm>
60
tom09419512014-08-15 11:28:43 -070061 <licenses>
62 <license>
tom09419512014-08-15 11:28:43 -070063 <name>Apache License, Version 2.0</name>
64 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
65 </license>
66 </licenses>
67
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070068 <properties>
69 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070070 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connor932d9412014-12-03 17:20:11 -080071 <copycat.version>0.3.0.onos</copycat.version>
72 <openflowj.version>0.3.7.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070073 </properties>
74
Brian O'Connor932d9412014-12-03 17:20:11 -080075 <distributionManagement>
76 <snapshotRepository>
77 <id>ossrh</id>
78 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
79 </snapshotRepository>
80 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080081
tom0eb04ca2014-08-25 14:34:51 -070082 <dependencyManagement>
83 <dependencies>
84 <dependency>
85 <groupId>junit</groupId>
86 <artifactId>junit</artifactId>
87 <version>4.11</version>
88 <scope>test</scope>
89 </dependency>
tom09419512014-08-15 11:28:43 -070090
tom0eb04ca2014-08-25 14:34:51 -070091 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070092 <groupId>org.hamcrest</groupId>
93 <artifactId>hamcrest-core</artifactId>
94 <version>1.3</version>
95 <scope>test</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.hamcrest</groupId>
99 <artifactId>hamcrest-library</artifactId>
100 <version>1.3</version>
101 <scope>test</scope>
102 </dependency>
103
104 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700105 <groupId>org.slf4j</groupId>
106 <artifactId>slf4j-api</artifactId>
107 <version>1.7.6</version>
108 <scope>provided</scope>
109 </dependency>
110
111 <dependency>
112 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700113 <artifactId>slf4j-core</artifactId>
114 <version>1.7.6</version>
115 <scope>test</scope>
116 </dependency>
117
118 <dependency>
119 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700120 <artifactId>slf4j-jdk14</artifactId>
121 <version>1.7.6</version>
122 <scope>test</scope>
123 </dependency>
124
125 <dependency>
126 <groupId>com.google.guava</groupId>
127 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700128 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700129 </dependency>
130
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700131 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700132 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700133 <artifactId>netty</artifactId>
134 <version>3.9.0.Final</version>
135 </dependency>
136
tomde8d9682014-08-27 01:11:43 -0700137 <dependency>
138 <groupId>com.google.guava</groupId>
139 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700140 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700141 <scope>test</scope>
142 </dependency>
143
tom6d2a43e2014-09-08 01:50:20 -0700144 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700145 <groupId>com.googlecode.concurrent-trees</groupId>
146 <artifactId>concurrent-trees</artifactId>
147 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700148 </dependency>
149
150 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700151 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700152 <artifactId>commons-lang</artifactId>
153 <version>2.6</version>
154 </dependency>
tomde8d9682014-08-27 01:11:43 -0700155
tom66a7eb22014-09-22 11:58:56 -0700156 <dependency>
157 <groupId>org.apache.commons</groupId>
158 <artifactId>commons-lang3</artifactId>
159 <version>3.3.2</version>
160 </dependency>
161
Brian O'Connorf3d06162014-10-02 15:54:12 -0700162 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800163 <groupId>org.apache.commons</groupId>
164 <artifactId>commons-collections4</artifactId>
165 <version>4.0</version>
166 </dependency>
167
168 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700169 <groupId>org.codehaus.jackson</groupId>
170 <artifactId>jackson-core-asl</artifactId>
171 <version>1.9.13</version>
172 </dependency>
173 <dependency>
174 <groupId>org.codehaus.jackson</groupId>
175 <artifactId>jackson-mapper-asl</artifactId>
176 <version>1.9.13</version>
177 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700178
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700179 <dependency>
180 <groupId>org.easymock</groupId>
181 <artifactId>easymock</artifactId>
182 <version>3.2</version>
183 <scope>test</scope>
184 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700185
tom0eb04ca2014-08-25 14:34:51 -0700186 <!-- Web related -->
187 <dependency>
188 <groupId>com.sun.jersey</groupId>
189 <artifactId>jersey-servlet</artifactId>
190 <version>1.18.1</version>
191 <scope>provided</scope>
192 </dependency>
193 <dependency>
194 <groupId>com.fasterxml.jackson.core</groupId>
195 <artifactId>jackson-databind</artifactId>
196 <version>2.4.2</version>
197 <scope>provided</scope>
198 </dependency>
199 <dependency>
200 <groupId>com.fasterxml.jackson.core</groupId>
201 <artifactId>jackson-annotations</artifactId>
202 <version>2.4.2</version>
203 <scope>provided</scope>
204 </dependency>
205
206 <!-- OSGi related -->
207 <dependency>
208 <groupId>org.osgi</groupId>
209 <artifactId>org.osgi.core</artifactId>
210 <version>4.3.1</version>
211 <scope>provided</scope>
212 </dependency>
213 <dependency>
tomc16656f2014-10-15 18:30:31 -0700214 <groupId>org.osgi</groupId>
215 <artifactId>org.osgi.compendium</artifactId>
216 <version>4.3.1</version>
217 <scope>provided</scope>
218 </dependency>
219 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700220 <groupId>org.apache.felix</groupId>
221 <artifactId>org.apache.felix.scr.annotations</artifactId>
222 <version>1.9.8</version>
223 <scope>provided</scope>
224 </dependency>
225 <dependency>
226 <groupId>org.apache.karaf.shell</groupId>
227 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800228 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700229 <scope>provided</scope>
230 </dependency>
231
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700232 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700233 <groupId>org.livetribe.slp</groupId>
234 <artifactId>livetribe-slp</artifactId>
235 <version>2.2.1</version>
236 </dependency>
237
238 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700239 <groupId>com.hazelcast</groupId>
240 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI9eedb462014-10-23 12:45:14 -0700241 <version>3.3.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700242 </dependency>
243 <dependency>
tomdc66b382014-09-22 17:05:47 -0700244 <groupId>com.eclipsesource.minimal-json</groupId>
245 <artifactId>minimal-json</artifactId>
246 <version>0.9.1</version>
247 </dependency>
248 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700249 <groupId>com.esotericsoftware</groupId>
250 <artifactId>kryo</artifactId>
251 <version>3.0.0</version>
252 </dependency>
253 <dependency>
254 <groupId>com.esotericsoftware</groupId>
255 <artifactId>reflectasm</artifactId>
256 <version>1.10.0</version>
257 <type>bundle</type>
258 </dependency>
259 <dependency>
260 <groupId>org.ow2.asm</groupId>
261 <artifactId>asm</artifactId>
262 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700263 </dependency>
264 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700265 <groupId>com.esotericsoftware</groupId>
266 <artifactId>minlog</artifactId>
267 <version>1.3.0</version>
268 </dependency>
269 <dependency>
270 <groupId>org.objenesis</groupId>
271 <artifactId>objenesis</artifactId>
272 <version>2.1</version>
273 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700274
tom0eb04ca2014-08-25 14:34:51 -0700275 <!-- ONOS related -->
276 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800277 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700278 <artifactId>onlab-misc</artifactId>
279 <version>${project.version}</version>
280 </dependency>
tom931af4e2014-09-13 12:00:57 -0700281 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800282 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700283 <artifactId>onlab-nio</artifactId>
284 <version>${project.version}</version>
285 </dependency>
286 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800287 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700288 <artifactId>onlab-osgi</artifactId>
289 <version>${project.version}</version>
290 </dependency>
291 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800292 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700293 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700294 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700295 <scope>test</scope>
296 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700297
298 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800299 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700300 <artifactId>onos-api</artifactId>
301 <version>${project.version}</version>
302 </dependency>
303 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800304 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700305 <artifactId>onos-api</artifactId>
306 <version>${project.version}</version>
307 <classifier>tests</classifier>
308 <scope>test</scope>
309 </dependency>
310
311 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800312 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700313 <artifactId>onos-of-api</artifactId>
314 <version>${project.version}</version>
315 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700316
317 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800318 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700319 <artifactId>onlab-thirdparty</artifactId>
320 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700321 </dependency>
322
tom61359e92014-09-16 15:50:27 -0700323 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800324 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700325 <artifactId>onos-of-api</artifactId>
326 <version>${project.version}</version>
327 <classifier>tests</classifier>
328 <scope>test</scope>
329 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700330 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700331 <groupId>commons-pool</groupId>
332 <artifactId>commons-pool</artifactId>
333 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700334 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700335 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700336 <groupId>io.netty</groupId>
337 <artifactId>netty-common</artifactId>
338 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700339 </dependency>
340 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700341 <groupId>io.netty</groupId>
342 <artifactId>netty-buffer</artifactId>
343 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700344 </dependency>
345 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700346 <groupId>io.netty</groupId>
347 <artifactId>netty-transport</artifactId>
348 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700349 </dependency>
350 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700351 <groupId>io.netty</groupId>
352 <artifactId>netty-handler</artifactId>
353 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700354 </dependency>
355 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700356 <groupId>io.netty</groupId>
357 <artifactId>netty-codec</artifactId>
358 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700359 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700360 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700361 <groupId>io.netty</groupId>
362 <artifactId>netty-transport-native-epoll</artifactId>
363 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800364 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700365 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700366 <dependency>
367 <groupId>joda-time</groupId>
368 <artifactId>joda-time</artifactId>
369 <version>2.5</version>
370 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700371 </dependencies>
372 </dependencyManagement>
373
374 <dependencies>
375 <dependency>
376 <groupId>junit</groupId>
377 <artifactId>junit</artifactId>
378 </dependency>
379 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700380 <groupId>org.hamcrest</groupId>
381 <artifactId>hamcrest-core</artifactId>
382 </dependency>
383 <dependency>
384 <groupId>org.hamcrest</groupId>
385 <artifactId>hamcrest-library</artifactId>
386 </dependency>
387 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700388 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700389 <artifactId>slf4j-api</artifactId>
390 </dependency>
391 <dependency>
392 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700393 <artifactId>slf4j-jdk14</artifactId>
394 </dependency>
395 </dependencies>
tom09419512014-08-15 11:28:43 -0700396
397 <build>
398 <pluginManagement>
399 <plugins>
400 <plugin>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700403 <!-- TODO: update once following issue is fixed. -->
404 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
405 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700406 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800407 <source>1.8</source>
408 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700409 </configuration>
410 </plugin>
411
412 <plugin>
413 <groupId>org.apache.maven.plugins</groupId>
414 <artifactId>maven-surefire-plugin</artifactId>
415 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700416 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700417 <redirectTestOutputToFile>true
418 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700419 <printSummary>true</printSummary>
Pingping32fa30c2014-10-23 15:24:26 -0700420 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
tom64888122014-08-27 21:47:46 -0700421 </configuration>
tom09419512014-08-15 11:28:43 -0700422 </plugin>
423
424 <plugin>
425 <groupId>org.apache.maven.plugins</groupId>
426 <artifactId>maven-jar-plugin</artifactId>
427 <version>2.3.1</version>
428 <executions>
429 <execution>
430 <phase>package</phase>
431 <goals>
432 <goal>test-jar</goal>
433 </goals>
434 </execution>
435 </executions>
436 </plugin>
437
438 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-resources-plugin</artifactId>
441 <version>2.6</version>
442 </plugin>
443
444 <plugin>
tom09419512014-08-15 11:28:43 -0700445 <groupId>org.apache.felix</groupId>
446 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800447 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700448 <extensions>true</extensions>
449 </plugin>
450
451 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-shade-plugin</artifactId>
454 <version>2.3</version>
455 </plugin>
456
457 <plugin>
tom09419512014-08-15 11:28:43 -0700458 <groupId>org.apache.felix</groupId>
459 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800460 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700461 <executions>
462 <execution>
463 <id>generate-scr-srcdescriptor</id>
464 <goals>
465 <goal>scr</goal>
466 </goals>
467 </execution>
468 </executions>
469 <configuration>
470 <supportedProjectTypes>
471 <supportedProjectType>bundle</supportedProjectType>
472 <supportedProjectType>war</supportedProjectType>
473 </supportedProjectTypes>
474 </configuration>
475 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800476 <plugin>
477 <groupId>org.codehaus.mojo</groupId>
478 <artifactId>findbugs-maven-plugin</artifactId>
479 <version>3.0.0</version>
480 <dependencies>
481 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800482 <groupId>org.onosproject</groupId>
Ray Milkey241b96a2014-11-17 13:08:20 -0800483 <artifactId>onos-build-conf</artifactId>
484 <version>1.0</version>
485 </dependency>
486 </dependencies>
487 <configuration>
488 <effort>Max</effort>
489 <excludeFilterFile>onos/findbugs-suppressions.xml</excludeFilterFile>
490 </configuration>
491 </plugin>
tom09419512014-08-15 11:28:43 -0700492
tom09419512014-08-15 11:28:43 -0700493 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700494 <!--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 -0800495 <!--
Brian O'Connorf3d06162014-10-02 15:54:12 -0700496 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700497 <groupId>org.eclipse.m2e</groupId>
498 <artifactId>lifecycle-mapping</artifactId>
499 <version>1.0.0</version>
500 <configuration>
501 <lifecycleMappingMetadata>
502 <pluginExecutions>
503 <pluginExecution>
504 <pluginExecutionFilter>
505 <groupId>org.jacoco</groupId>
506 <artifactId>
507 jacoco-maven-plugin
508 </artifactId>
509 <versionRange>
510 [0.7.1.201405082137,)
511 </versionRange>
512 <goals>
513 <goal>prepare-agent</goal>
514 </goals>
515 </pluginExecutionFilter>
516 <action>
517 <ignore></ignore>
518 </action>
519 </pluginExecution>
520 </pluginExecutions>
521 </lifecycleMappingMetadata>
522 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700523 </plugin>
Brian O'Connor5b29ebd2014-12-04 21:22:06 -0800524 -->
tom09419512014-08-15 11:28:43 -0700525 </plugins>
tom09419512014-08-15 11:28:43 -0700526 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700527
528 <plugins>
529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700531 <artifactId>maven-jar-plugin</artifactId>
532 </plugin>
533
534 <plugin>
535 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700536 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700537 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700538 <dependencies>
539 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800540 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700541 <artifactId>onos-build-conf</artifactId>
542 <version>1.0</version>
543 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800544 <!-- For Java 8 lambda support-->
545 <dependency>
546 <groupId>com.puppycrawl.tools</groupId>
547 <artifactId>checkstyle</artifactId>
548 <version>5.9</version>
549 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700550 </dependencies>
551 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800552 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
553 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
554 <testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
555 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700556 <configLocation>onos/checkstyle.xml</configLocation>
557 <suppressionsLocation>onos/suppressions.xml
558 </suppressionsLocation>
559 <failsOnError>false</failsOnError>
560 <logViolationsToConsole>true</logViolationsToConsole>
561 <includeTestSourceDirectory>true
562 </includeTestSourceDirectory>
563 </configuration>
564 <executions>
565 <execution>
566 <id>validate-checkstyle</id>
567 <phase>verify</phase>
568 <goals>
569 <goal>check</goal>
570 </goals>
571 </execution>
572 </executions>
573 </plugin>
574
575 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700576 <groupId>org.apache.maven.plugins</groupId>
577 <artifactId>maven-pmd-plugin</artifactId>
578 <version>3.2</version>
579 <configuration>
580 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700581 </excludes>
582 <rulesets>
583 <ruleset>onos/pmd.xml</ruleset>
584 </rulesets>
585 </configuration>
586 <executions>
587 <execution>
588 <id>validate-pmd</id>
589 <phase>verify</phase>
590 <goals>
591 <!-- Uncomment this goal to make the build fail on pmd errors -->
592 <!--<goal>check</goal>-->
593 </goals>
594 </execution>
595 </executions>
596 </plugin>
597
598 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700599 <groupId>org.jacoco</groupId>
600 <artifactId>jacoco-maven-plugin</artifactId>
601 <version>0.7.1.201405082137</version>
602 <executions>
603 <execution>
604 <id>default-prepare-agent</id>
605 <goals>
606 <goal>prepare-agent</goal>
607 </goals>
608 </execution>
609 <execution>
610 <id>default-report</id>
611 <phase>prepare-package</phase>
612 <goals>
613 <goal>report</goal>
614 </goals>
615 </execution>
616 </executions>
617 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700618 </plugins>
tom09419512014-08-15 11:28:43 -0700619 </build>
alshabib522d9872014-08-15 10:35:16 -0700620
tom0eb04ca2014-08-25 14:34:51 -0700621 <reporting>
622 <plugins>
623 <plugin>
624 <groupId>org.apache.maven.plugins</groupId>
625 <artifactId>maven-checkstyle-plugin</artifactId>
626 <version>2.12.1</version>
627 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800628 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700629 </configuration>
630 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700631
632 <plugin>
633 <groupId>org.apache.maven.plugins</groupId>
634 <artifactId>maven-pmd-plugin</artifactId>
635 <version>3.2</version>
636 <configuration>
637 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700638 </excludes>
639 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800640 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700641 </rulesets>
642 </configuration>
643 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700644 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700645 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700646</project>