blob: d60a2e44ff684609c50f9a58e5ee1d9d03199ae2 [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>
Brian O'Connoreb8e3ea2014-12-03 17:53:33 -080032
33 <!-- FIXME remove before release -->
34 <repositories>
35 <repository>
36 <id>oss-staging</id>
37 <name>OSS Staging</name>
38 <url>https://oss.sonatype.org/content/groups/staging</url>
39 </repository>
40 </repositories>
Yuta HIGUCHI8d6ea0e2014-12-04 14:00:25 -080041 <pluginRepositories>
42 <pluginRepository>
43 <id>oss-staging</id>
44 <name>OSS Staging</name>
45 <url>https://oss.sonatype.org/content/groups/staging</url>
46 </pluginRepository>
47 </pluginRepositories>
Brian O'Connor932d9412014-12-03 17:20:11 -080048
Brian O'Connorabafb502014-12-02 22:26:20 -080049 <groupId>org.onosproject</groupId>
tom09419512014-08-15 11:28:43 -070050 <artifactId>onos</artifactId>
51 <packaging>pom</packaging>
52 <version>1.0.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070053
Brian O'Connor932d9412014-12-03 17:20:11 -080054 <name>${project.artifactId}</name>
Yuta HIGUCHI964c1732014-12-02 20:38:07 -080055 <description>Open Network Operating System root project</description>
tom09419512014-08-15 11:28:43 -070056
57 <modules>
tom0eb04ca2014-08-25 14:34:51 -070058 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070059 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070060 <module>web</module>
61 <module>cli</module>
62 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070063 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070064 <module>apps</module>
tom09419512014-08-15 11:28:43 -070065 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070066 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070067 </modules>
68
Brian O'Connor3439c102014-12-03 01:02:03 -080069 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070070
Brian O'Connor932d9412014-12-03 17:20:11 -080071 <scm>
72 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
73 <developerConnection>scm:git:https://gerrit.onosproject.org/onos</developerConnection>
74 <url>http://gerrit.onosproject.org/</url>
75 </scm>
76
tom09419512014-08-15 11:28:43 -070077 <licenses>
78 <license>
tom09419512014-08-15 11:28:43 -070079 <name>Apache License, Version 2.0</name>
80 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
81 </license>
82 </licenses>
83
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070084 <properties>
85 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070086 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connor932d9412014-12-03 17:20:11 -080087 <copycat.version>0.3.0.onos</copycat.version>
88 <openflowj.version>0.3.7.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070089 </properties>
90
Brian O'Connor932d9412014-12-03 17:20:11 -080091 <distributionManagement>
92 <snapshotRepository>
93 <id>ossrh</id>
94 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
95 </snapshotRepository>
96 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080097
tom0eb04ca2014-08-25 14:34:51 -070098 <dependencyManagement>
99 <dependencies>
100 <dependency>
101 <groupId>junit</groupId>
102 <artifactId>junit</artifactId>
103 <version>4.11</version>
104 <scope>test</scope>
105 </dependency>
tom09419512014-08-15 11:28:43 -0700106
tom0eb04ca2014-08-25 14:34:51 -0700107 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700108 <groupId>org.hamcrest</groupId>
109 <artifactId>hamcrest-core</artifactId>
110 <version>1.3</version>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.hamcrest</groupId>
115 <artifactId>hamcrest-library</artifactId>
116 <version>1.3</version>
117 <scope>test</scope>
118 </dependency>
119
120 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700121 <groupId>org.slf4j</groupId>
122 <artifactId>slf4j-api</artifactId>
123 <version>1.7.6</version>
124 <scope>provided</scope>
125 </dependency>
126
127 <dependency>
128 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700129 <artifactId>slf4j-core</artifactId>
130 <version>1.7.6</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700136 <artifactId>slf4j-jdk14</artifactId>
137 <version>1.7.6</version>
138 <scope>test</scope>
139 </dependency>
140
141 <dependency>
142 <groupId>com.google.guava</groupId>
143 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700144 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700145 </dependency>
146
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700147 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700148 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700149 <artifactId>netty</artifactId>
150 <version>3.9.0.Final</version>
151 </dependency>
152
tomde8d9682014-08-27 01:11:43 -0700153 <dependency>
154 <groupId>com.google.guava</groupId>
155 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700156 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700157 <scope>test</scope>
158 </dependency>
159
tom6d2a43e2014-09-08 01:50:20 -0700160 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700161 <groupId>com.googlecode.concurrent-trees</groupId>
162 <artifactId>concurrent-trees</artifactId>
163 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700164 </dependency>
165
166 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700167 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700168 <artifactId>commons-lang</artifactId>
169 <version>2.6</version>
170 </dependency>
tomde8d9682014-08-27 01:11:43 -0700171
tom66a7eb22014-09-22 11:58:56 -0700172 <dependency>
173 <groupId>org.apache.commons</groupId>
174 <artifactId>commons-lang3</artifactId>
175 <version>3.3.2</version>
176 </dependency>
177
Brian O'Connorf3d06162014-10-02 15:54:12 -0700178 <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 HIGUCHI9eedb462014-10-23 12:45:14 -0700257 <version>3.3.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700258 </dependency>
259 <dependency>
tomdc66b382014-09-22 17:05:47 -0700260 <groupId>com.eclipsesource.minimal-json</groupId>
261 <artifactId>minimal-json</artifactId>
262 <version>0.9.1</version>
263 </dependency>
264 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700265 <groupId>com.esotericsoftware</groupId>
266 <artifactId>kryo</artifactId>
267 <version>3.0.0</version>
268 </dependency>
269 <dependency>
270 <groupId>com.esotericsoftware</groupId>
271 <artifactId>reflectasm</artifactId>
272 <version>1.10.0</version>
273 <type>bundle</type>
274 </dependency>
275 <dependency>
276 <groupId>org.ow2.asm</groupId>
277 <artifactId>asm</artifactId>
278 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700279 </dependency>
280 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700281 <groupId>com.esotericsoftware</groupId>
282 <artifactId>minlog</artifactId>
283 <version>1.3.0</version>
284 </dependency>
285 <dependency>
286 <groupId>org.objenesis</groupId>
287 <artifactId>objenesis</artifactId>
288 <version>2.1</version>
289 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700290
tom0eb04ca2014-08-25 14:34:51 -0700291 <!-- ONOS related -->
292 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800293 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700294 <artifactId>onlab-misc</artifactId>
295 <version>${project.version}</version>
296 </dependency>
tom931af4e2014-09-13 12:00:57 -0700297 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800298 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700299 <artifactId>onlab-nio</artifactId>
300 <version>${project.version}</version>
301 </dependency>
302 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800303 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700304 <artifactId>onlab-osgi</artifactId>
305 <version>${project.version}</version>
306 </dependency>
307 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800308 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700309 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700310 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700311 <scope>test</scope>
312 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700313
314 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800315 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700316 <artifactId>onos-api</artifactId>
317 <version>${project.version}</version>
318 </dependency>
319 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800320 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700321 <artifactId>onos-api</artifactId>
322 <version>${project.version}</version>
323 <classifier>tests</classifier>
324 <scope>test</scope>
325 </dependency>
326
327 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800328 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700329 <artifactId>onos-of-api</artifactId>
330 <version>${project.version}</version>
331 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700332
333 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800334 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700335 <artifactId>onlab-thirdparty</artifactId>
336 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700337 </dependency>
338
tom61359e92014-09-16 15:50:27 -0700339 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800340 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700341 <artifactId>onos-of-api</artifactId>
342 <version>${project.version}</version>
343 <classifier>tests</classifier>
344 <scope>test</scope>
345 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700346 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700347 <groupId>commons-pool</groupId>
348 <artifactId>commons-pool</artifactId>
349 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700350 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700351 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700352 <groupId>io.netty</groupId>
353 <artifactId>netty-common</artifactId>
354 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700355 </dependency>
356 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700357 <groupId>io.netty</groupId>
358 <artifactId>netty-buffer</artifactId>
359 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700360 </dependency>
361 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700362 <groupId>io.netty</groupId>
363 <artifactId>netty-transport</artifactId>
364 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700365 </dependency>
366 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700367 <groupId>io.netty</groupId>
368 <artifactId>netty-handler</artifactId>
369 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700370 </dependency>
371 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700372 <groupId>io.netty</groupId>
373 <artifactId>netty-codec</artifactId>
374 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700375 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700376 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700377 <groupId>io.netty</groupId>
378 <artifactId>netty-transport-native-epoll</artifactId>
379 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800380 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700381 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700382 <dependency>
383 <groupId>joda-time</groupId>
384 <artifactId>joda-time</artifactId>
385 <version>2.5</version>
386 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700387 </dependencies>
388 </dependencyManagement>
389
390 <dependencies>
391 <dependency>
392 <groupId>junit</groupId>
393 <artifactId>junit</artifactId>
394 </dependency>
395 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700396 <groupId>org.hamcrest</groupId>
397 <artifactId>hamcrest-core</artifactId>
398 </dependency>
399 <dependency>
400 <groupId>org.hamcrest</groupId>
401 <artifactId>hamcrest-library</artifactId>
402 </dependency>
403 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700404 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700405 <artifactId>slf4j-api</artifactId>
406 </dependency>
407 <dependency>
408 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700409 <artifactId>slf4j-jdk14</artifactId>
410 </dependency>
411 </dependencies>
tom09419512014-08-15 11:28:43 -0700412
413 <build>
414 <pluginManagement>
415 <plugins>
416 <plugin>
417 <groupId>org.apache.maven.plugins</groupId>
418 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700419 <!-- TODO: update once following issue is fixed. -->
420 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
421 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700422 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800423 <source>1.8</source>
424 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700425 </configuration>
426 </plugin>
427
428 <plugin>
429 <groupId>org.apache.maven.plugins</groupId>
430 <artifactId>maven-surefire-plugin</artifactId>
431 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700432 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700433 <redirectTestOutputToFile>true
434 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700435 <printSummary>true</printSummary>
Pingping32fa30c2014-10-23 15:24:26 -0700436 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
tom64888122014-08-27 21:47:46 -0700437 </configuration>
tom09419512014-08-15 11:28:43 -0700438 </plugin>
439
440 <plugin>
441 <groupId>org.apache.maven.plugins</groupId>
442 <artifactId>maven-jar-plugin</artifactId>
443 <version>2.3.1</version>
444 <executions>
445 <execution>
446 <phase>package</phase>
447 <goals>
448 <goal>test-jar</goal>
449 </goals>
450 </execution>
451 </executions>
452 </plugin>
453
454 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700455 <groupId>org.apache.maven.plugins</groupId>
456 <artifactId>maven-resources-plugin</artifactId>
457 <version>2.6</version>
458 </plugin>
459
460 <plugin>
tom09419512014-08-15 11:28:43 -0700461 <groupId>org.apache.felix</groupId>
462 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800463 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700464 <extensions>true</extensions>
465 </plugin>
466
467 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800468 <groupId>org.apache.maven.plugins</groupId>
469 <artifactId>maven-shade-plugin</artifactId>
470 <version>2.3</version>
471 </plugin>
472
473 <plugin>
tom09419512014-08-15 11:28:43 -0700474 <groupId>org.apache.felix</groupId>
475 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800476 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700477 <executions>
478 <execution>
479 <id>generate-scr-srcdescriptor</id>
480 <goals>
481 <goal>scr</goal>
482 </goals>
483 </execution>
484 </executions>
485 <configuration>
486 <supportedProjectTypes>
487 <supportedProjectType>bundle</supportedProjectType>
488 <supportedProjectType>war</supportedProjectType>
489 </supportedProjectTypes>
490 </configuration>
491 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800492 <plugin>
493 <groupId>org.codehaus.mojo</groupId>
494 <artifactId>findbugs-maven-plugin</artifactId>
495 <version>3.0.0</version>
496 <dependencies>
497 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800498 <groupId>org.onosproject</groupId>
Ray Milkey241b96a2014-11-17 13:08:20 -0800499 <artifactId>onos-build-conf</artifactId>
500 <version>1.0</version>
501 </dependency>
502 </dependencies>
503 <configuration>
504 <effort>Max</effort>
505 <excludeFilterFile>onos/findbugs-suppressions.xml</excludeFilterFile>
506 </configuration>
507 </plugin>
tom09419512014-08-15 11:28:43 -0700508
tom09419512014-08-15 11:28:43 -0700509 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700510 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
511 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700512 <groupId>org.eclipse.m2e</groupId>
513 <artifactId>lifecycle-mapping</artifactId>
514 <version>1.0.0</version>
515 <configuration>
516 <lifecycleMappingMetadata>
517 <pluginExecutions>
518 <pluginExecution>
519 <pluginExecutionFilter>
520 <groupId>org.jacoco</groupId>
521 <artifactId>
522 jacoco-maven-plugin
523 </artifactId>
524 <versionRange>
525 [0.7.1.201405082137,)
526 </versionRange>
527 <goals>
528 <goal>prepare-agent</goal>
529 </goals>
530 </pluginExecutionFilter>
531 <action>
532 <ignore></ignore>
533 </action>
534 </pluginExecution>
535 </pluginExecutions>
536 </lifecycleMappingMetadata>
537 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700538 </plugin>
tom09419512014-08-15 11:28:43 -0700539 </plugins>
tom09419512014-08-15 11:28:43 -0700540 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700541
542 <plugins>
543 <plugin>
544 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700545 <artifactId>maven-jar-plugin</artifactId>
546 </plugin>
547
548 <plugin>
549 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700550 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700551 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700552 <dependencies>
553 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800554 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700555 <artifactId>onos-build-conf</artifactId>
556 <version>1.0</version>
557 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800558 <!-- For Java 8 lambda support-->
559 <dependency>
560 <groupId>com.puppycrawl.tools</groupId>
561 <artifactId>checkstyle</artifactId>
562 <version>5.9</version>
563 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700564 </dependencies>
565 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800566 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
567 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
568 <testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
569 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700570 <configLocation>onos/checkstyle.xml</configLocation>
571 <suppressionsLocation>onos/suppressions.xml
572 </suppressionsLocation>
573 <failsOnError>false</failsOnError>
574 <logViolationsToConsole>true</logViolationsToConsole>
575 <includeTestSourceDirectory>true
576 </includeTestSourceDirectory>
577 </configuration>
578 <executions>
579 <execution>
580 <id>validate-checkstyle</id>
581 <phase>verify</phase>
582 <goals>
583 <goal>check</goal>
584 </goals>
585 </execution>
586 </executions>
587 </plugin>
588
589 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-pmd-plugin</artifactId>
592 <version>3.2</version>
593 <configuration>
594 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700595 </excludes>
596 <rulesets>
597 <ruleset>onos/pmd.xml</ruleset>
598 </rulesets>
599 </configuration>
600 <executions>
601 <execution>
602 <id>validate-pmd</id>
603 <phase>verify</phase>
604 <goals>
605 <!-- Uncomment this goal to make the build fail on pmd errors -->
606 <!--<goal>check</goal>-->
607 </goals>
608 </execution>
609 </executions>
610 </plugin>
611
612 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700613 <groupId>org.jacoco</groupId>
614 <artifactId>jacoco-maven-plugin</artifactId>
615 <version>0.7.1.201405082137</version>
616 <executions>
617 <execution>
618 <id>default-prepare-agent</id>
619 <goals>
620 <goal>prepare-agent</goal>
621 </goals>
622 </execution>
623 <execution>
624 <id>default-report</id>
625 <phase>prepare-package</phase>
626 <goals>
627 <goal>report</goal>
628 </goals>
629 </execution>
630 </executions>
631 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700632 </plugins>
tom09419512014-08-15 11:28:43 -0700633 </build>
alshabib522d9872014-08-15 10:35:16 -0700634
tom0eb04ca2014-08-25 14:34:51 -0700635 <reporting>
636 <plugins>
637 <plugin>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-checkstyle-plugin</artifactId>
640 <version>2.12.1</version>
641 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800642 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700643 </configuration>
644 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700645
646 <plugin>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-pmd-plugin</artifactId>
649 <version>3.2</version>
650 <configuration>
651 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700652 </excludes>
653 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800654 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700655 </rulesets>
656 </configuration>
657 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700658 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700659 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700660</project>