blob: 062b049b96e66dd1d6131c70cc80f54d48291e7d [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>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080057 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
58 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080059 <url>http://gerrit.onosproject.org/</url>
60 </scm>
61
tom09419512014-08-15 11:28:43 -070062 <licenses>
63 <license>
tom09419512014-08-15 11:28:43 -070064 <name>Apache License, Version 2.0</name>
65 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
66 </license>
67 </licenses>
68
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070069 <properties>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070071 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connor932d9412014-12-03 17:20:11 -080072 <copycat.version>0.3.0.onos</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080073 <openflowj.version>0.3.9.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070074 </properties>
75
Brian O'Connor932d9412014-12-03 17:20:11 -080076 <distributionManagement>
77 <snapshotRepository>
78 <id>ossrh</id>
79 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
80 </snapshotRepository>
81 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080082
tom0eb04ca2014-08-25 14:34:51 -070083 <dependencyManagement>
84 <dependencies>
85 <dependency>
86 <groupId>junit</groupId>
87 <artifactId>junit</artifactId>
88 <version>4.11</version>
89 <scope>test</scope>
90 </dependency>
tom09419512014-08-15 11:28:43 -070091
tom0eb04ca2014-08-25 14:34:51 -070092 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070093 <groupId>org.hamcrest</groupId>
94 <artifactId>hamcrest-core</artifactId>
95 <version>1.3</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.hamcrest</groupId>
100 <artifactId>hamcrest-library</artifactId>
101 <version>1.3</version>
102 <scope>test</scope>
103 </dependency>
104
105 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-api</artifactId>
108 <version>1.7.6</version>
109 <scope>provided</scope>
110 </dependency>
111
112 <dependency>
113 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700114 <artifactId>slf4j-core</artifactId>
115 <version>1.7.6</version>
116 <scope>test</scope>
117 </dependency>
118
119 <dependency>
120 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700121 <artifactId>slf4j-jdk14</artifactId>
122 <version>1.7.6</version>
123 <scope>test</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>com.google.guava</groupId>
128 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700129 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700130 </dependency>
131
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700132 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700133 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700134 <artifactId>netty</artifactId>
135 <version>3.9.0.Final</version>
136 </dependency>
137
tomde8d9682014-08-27 01:11:43 -0700138 <dependency>
139 <groupId>com.google.guava</groupId>
140 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700141 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700142 <scope>test</scope>
143 </dependency>
144
tom6d2a43e2014-09-08 01:50:20 -0700145 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700146 <groupId>com.googlecode.concurrent-trees</groupId>
147 <artifactId>concurrent-trees</artifactId>
148 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700149 </dependency>
150
151 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700152 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700153 <artifactId>commons-lang</artifactId>
154 <version>2.6</version>
155 </dependency>
tomde8d9682014-08-27 01:11:43 -0700156
tom66a7eb22014-09-22 11:58:56 -0700157 <dependency>
158 <groupId>org.apache.commons</groupId>
159 <artifactId>commons-lang3</artifactId>
160 <version>3.3.2</version>
161 </dependency>
162
Brian O'Connorf3d06162014-10-02 15:54:12 -0700163 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800164 <groupId>org.apache.commons</groupId>
165 <artifactId>commons-collections4</artifactId>
166 <version>4.0</version>
167 </dependency>
168
169 <dependency>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800170 <groupId>commons-configuration</groupId>
171 <artifactId>commons-configuration</artifactId>
172 <version>1.10</version>
173 </dependency>
174
175 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700176 <groupId>org.codehaus.jackson</groupId>
177 <artifactId>jackson-core-asl</artifactId>
178 <version>1.9.13</version>
179 </dependency>
180 <dependency>
181 <groupId>org.codehaus.jackson</groupId>
182 <artifactId>jackson-mapper-asl</artifactId>
183 <version>1.9.13</version>
184 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700185
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700186 <dependency>
187 <groupId>org.easymock</groupId>
188 <artifactId>easymock</artifactId>
189 <version>3.2</version>
190 <scope>test</scope>
191 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700192
tom0eb04ca2014-08-25 14:34:51 -0700193 <!-- Web related -->
194 <dependency>
195 <groupId>com.sun.jersey</groupId>
196 <artifactId>jersey-servlet</artifactId>
197 <version>1.18.1</version>
198 <scope>provided</scope>
199 </dependency>
200 <dependency>
201 <groupId>com.fasterxml.jackson.core</groupId>
202 <artifactId>jackson-databind</artifactId>
203 <version>2.4.2</version>
204 <scope>provided</scope>
205 </dependency>
206 <dependency>
207 <groupId>com.fasterxml.jackson.core</groupId>
208 <artifactId>jackson-annotations</artifactId>
209 <version>2.4.2</version>
210 <scope>provided</scope>
211 </dependency>
212
213 <!-- OSGi related -->
214 <dependency>
215 <groupId>org.osgi</groupId>
216 <artifactId>org.osgi.core</artifactId>
217 <version>4.3.1</version>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
tomc16656f2014-10-15 18:30:31 -0700221 <groupId>org.osgi</groupId>
222 <artifactId>org.osgi.compendium</artifactId>
223 <version>4.3.1</version>
224 <scope>provided</scope>
225 </dependency>
226 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700227 <groupId>org.apache.felix</groupId>
228 <artifactId>org.apache.felix.scr.annotations</artifactId>
229 <version>1.9.8</version>
230 <scope>provided</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.apache.karaf.shell</groupId>
234 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800235 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700236 <scope>provided</scope>
237 </dependency>
238
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700239 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700240 <groupId>org.livetribe.slp</groupId>
241 <artifactId>livetribe-slp</artifactId>
242 <version>2.2.1</version>
243 </dependency>
244
245 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700246 <groupId>com.hazelcast</groupId>
247 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800248 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700249 </dependency>
250 <dependency>
tomdc66b382014-09-22 17:05:47 -0700251 <groupId>com.eclipsesource.minimal-json</groupId>
252 <artifactId>minimal-json</artifactId>
253 <version>0.9.1</version>
254 </dependency>
255 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700256 <groupId>com.esotericsoftware</groupId>
257 <artifactId>kryo</artifactId>
258 <version>3.0.0</version>
259 </dependency>
260 <dependency>
261 <groupId>com.esotericsoftware</groupId>
262 <artifactId>reflectasm</artifactId>
263 <version>1.10.0</version>
264 <type>bundle</type>
265 </dependency>
266 <dependency>
267 <groupId>org.ow2.asm</groupId>
268 <artifactId>asm</artifactId>
269 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700270 </dependency>
271 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700272 <groupId>com.esotericsoftware</groupId>
273 <artifactId>minlog</artifactId>
274 <version>1.3.0</version>
275 </dependency>
276 <dependency>
277 <groupId>org.objenesis</groupId>
278 <artifactId>objenesis</artifactId>
279 <version>2.1</version>
280 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700281
tom0eb04ca2014-08-25 14:34:51 -0700282 <!-- ONOS related -->
283 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800284 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700285 <artifactId>onlab-misc</artifactId>
286 <version>${project.version}</version>
287 </dependency>
tom931af4e2014-09-13 12:00:57 -0700288 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800289 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700290 <artifactId>onlab-nio</artifactId>
291 <version>${project.version}</version>
292 </dependency>
293 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800294 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700295 <artifactId>onlab-osgi</artifactId>
296 <version>${project.version}</version>
297 </dependency>
298 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800299 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700300 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700301 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700302 <scope>test</scope>
303 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700304
305 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800306 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700307 <artifactId>onos-api</artifactId>
308 <version>${project.version}</version>
309 </dependency>
310 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800311 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700312 <artifactId>onos-api</artifactId>
313 <version>${project.version}</version>
314 <classifier>tests</classifier>
315 <scope>test</scope>
316 </dependency>
317
318 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800319 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700320 <artifactId>onos-of-api</artifactId>
321 <version>${project.version}</version>
322 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700323
324 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800325 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700326 <artifactId>onlab-thirdparty</artifactId>
327 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700328 </dependency>
329
tom61359e92014-09-16 15:50:27 -0700330 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800331 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700332 <artifactId>onos-of-api</artifactId>
333 <version>${project.version}</version>
334 <classifier>tests</classifier>
335 <scope>test</scope>
336 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700337 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700338 <groupId>commons-pool</groupId>
339 <artifactId>commons-pool</artifactId>
340 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700341 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700342 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700343 <groupId>io.netty</groupId>
344 <artifactId>netty-common</artifactId>
345 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700346 </dependency>
347 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700348 <groupId>io.netty</groupId>
349 <artifactId>netty-buffer</artifactId>
350 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700351 </dependency>
352 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700353 <groupId>io.netty</groupId>
354 <artifactId>netty-transport</artifactId>
355 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700356 </dependency>
357 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700358 <groupId>io.netty</groupId>
359 <artifactId>netty-handler</artifactId>
360 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700361 </dependency>
362 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700363 <groupId>io.netty</groupId>
364 <artifactId>netty-codec</artifactId>
365 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700366 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700367 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700368 <groupId>io.netty</groupId>
369 <artifactId>netty-transport-native-epoll</artifactId>
370 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800371 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700372 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700373 <dependency>
374 <groupId>joda-time</groupId>
375 <artifactId>joda-time</artifactId>
376 <version>2.5</version>
377 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700378 </dependencies>
379 </dependencyManagement>
380
381 <dependencies>
382 <dependency>
383 <groupId>junit</groupId>
384 <artifactId>junit</artifactId>
385 </dependency>
386 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700387 <groupId>org.hamcrest</groupId>
388 <artifactId>hamcrest-core</artifactId>
389 </dependency>
390 <dependency>
391 <groupId>org.hamcrest</groupId>
392 <artifactId>hamcrest-library</artifactId>
393 </dependency>
394 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700395 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700396 <artifactId>slf4j-api</artifactId>
397 </dependency>
398 <dependency>
399 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700400 <artifactId>slf4j-jdk14</artifactId>
401 </dependency>
402 </dependencies>
tom09419512014-08-15 11:28:43 -0700403
404 <build>
405 <pluginManagement>
406 <plugins>
407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700410 <!-- TODO: update once following issue is fixed. -->
411 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
412 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700413 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800414 <source>1.8</source>
415 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700416 </configuration>
417 </plugin>
418
419 <plugin>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-surefire-plugin</artifactId>
422 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700423 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700424 <redirectTestOutputToFile>true
425 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700426 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800427 <excludedGroups>org.onlab.junit.IntegrationTest
428 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700429 </configuration>
tom09419512014-08-15 11:28:43 -0700430 </plugin>
431
432 <plugin>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-jar-plugin</artifactId>
435 <version>2.3.1</version>
436 <executions>
437 <execution>
438 <phase>package</phase>
439 <goals>
440 <goal>test-jar</goal>
441 </goals>
442 </execution>
443 </executions>
444 </plugin>
445
446 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-resources-plugin</artifactId>
449 <version>2.6</version>
450 </plugin>
451
452 <plugin>
tom09419512014-08-15 11:28:43 -0700453 <groupId>org.apache.felix</groupId>
454 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800455 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700456 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800457 <!--
458 Drop following dependency when the below bug fix is published
459 https://issues.apache.org/jira/browse/FELIX-4556
460 -->
461 <dependencies>
462 <dependency>
463 <groupId>biz.aQute.bnd</groupId>
464 <artifactId>bndlib</artifactId>
465 <version>2.4.0</version>
466 </dependency>
467 </dependencies>
tom09419512014-08-15 11:28:43 -0700468 </plugin>
469
470 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-shade-plugin</artifactId>
473 <version>2.3</version>
474 </plugin>
475
476 <plugin>
tom09419512014-08-15 11:28:43 -0700477 <groupId>org.apache.felix</groupId>
478 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800479 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700480 <executions>
481 <execution>
482 <id>generate-scr-srcdescriptor</id>
483 <goals>
484 <goal>scr</goal>
485 </goals>
486 </execution>
487 </executions>
488 <configuration>
489 <supportedProjectTypes>
490 <supportedProjectType>bundle</supportedProjectType>
491 <supportedProjectType>war</supportedProjectType>
492 </supportedProjectTypes>
493 </configuration>
494 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800495 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800496 <groupId>org.codehaus.mojo</groupId>
497 <artifactId>findbugs-maven-plugin</artifactId>
498 <version>3.0.0</version>
499 <dependencies>
500 <dependency>
501 <groupId>org.onosproject</groupId>
502 <artifactId>onos-build-conf</artifactId>
503 <version>1.0</version>
504 </dependency>
505 </dependencies>
506 <configuration>
507 <effort>Max</effort>
508 <excludeFilterFile>onos/findbugs-suppressions.xml
509 </excludeFilterFile>
510 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800511 </plugin>
tom09419512014-08-15 11:28:43 -0700512
tom09419512014-08-15 11:28:43 -0700513 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700514 <!--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 -0800515 <!--
Brian O'Connorf3d06162014-10-02 15:54:12 -0700516 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700517 <groupId>org.eclipse.m2e</groupId>
518 <artifactId>lifecycle-mapping</artifactId>
519 <version>1.0.0</version>
520 <configuration>
521 <lifecycleMappingMetadata>
522 <pluginExecutions>
523 <pluginExecution>
524 <pluginExecutionFilter>
525 <groupId>org.jacoco</groupId>
526 <artifactId>
527 jacoco-maven-plugin
528 </artifactId>
529 <versionRange>
530 [0.7.1.201405082137,)
531 </versionRange>
532 <goals>
533 <goal>prepare-agent</goal>
534 </goals>
535 </pluginExecutionFilter>
536 <action>
537 <ignore></ignore>
538 </action>
539 </pluginExecution>
540 </pluginExecutions>
541 </lifecycleMappingMetadata>
542 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700543 </plugin>
Brian O'Connor5b29ebd2014-12-04 21:22:06 -0800544 -->
tom09419512014-08-15 11:28:43 -0700545 </plugins>
tom09419512014-08-15 11:28:43 -0700546 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700547
548 <plugins>
549 <plugin>
550 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700551 <artifactId>maven-jar-plugin</artifactId>
552 </plugin>
553
554 <plugin>
555 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700556 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700557 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700558 <dependencies>
559 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800560 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700561 <artifactId>onos-build-conf</artifactId>
562 <version>1.0</version>
563 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800564 <!-- For Java 8 lambda support-->
565 <dependency>
566 <groupId>com.puppycrawl.tools</groupId>
567 <artifactId>checkstyle</artifactId>
568 <version>5.9</version>
569 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700570 </dependencies>
571 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800572 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800573 <sourceDirectory>${project.build.sourceDirectory}
574 </sourceDirectory>
575 <testSourceDirectory>${project.build.testSourceDirectory}
576 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800577 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700578 <configLocation>onos/checkstyle.xml</configLocation>
579 <suppressionsLocation>onos/suppressions.xml
580 </suppressionsLocation>
581 <failsOnError>false</failsOnError>
582 <logViolationsToConsole>true</logViolationsToConsole>
583 <includeTestSourceDirectory>true
584 </includeTestSourceDirectory>
585 </configuration>
586 <executions>
587 <execution>
588 <id>validate-checkstyle</id>
589 <phase>verify</phase>
590 <goals>
591 <goal>check</goal>
592 </goals>
593 </execution>
594 </executions>
595 </plugin>
596
597 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700598 <groupId>org.apache.maven.plugins</groupId>
599 <artifactId>maven-pmd-plugin</artifactId>
600 <version>3.2</version>
601 <configuration>
602 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700603 </excludes>
604 <rulesets>
605 <ruleset>onos/pmd.xml</ruleset>
606 </rulesets>
607 </configuration>
608 <executions>
609 <execution>
610 <id>validate-pmd</id>
611 <phase>verify</phase>
612 <goals>
613 <!-- Uncomment this goal to make the build fail on pmd errors -->
614 <!--<goal>check</goal>-->
615 </goals>
616 </execution>
617 </executions>
618 </plugin>
619
620 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700621 <groupId>org.jacoco</groupId>
622 <artifactId>jacoco-maven-plugin</artifactId>
623 <version>0.7.1.201405082137</version>
624 <executions>
625 <execution>
626 <id>default-prepare-agent</id>
627 <goals>
628 <goal>prepare-agent</goal>
629 </goals>
630 </execution>
631 <execution>
632 <id>default-report</id>
633 <phase>prepare-package</phase>
634 <goals>
635 <goal>report</goal>
636 </goals>
637 </execution>
638 </executions>
639 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700640 </plugins>
tom09419512014-08-15 11:28:43 -0700641 </build>
alshabib522d9872014-08-15 10:35:16 -0700642
tom0eb04ca2014-08-25 14:34:51 -0700643 <reporting>
644 <plugins>
645 <plugin>
646 <groupId>org.apache.maven.plugins</groupId>
647 <artifactId>maven-checkstyle-plugin</artifactId>
648 <version>2.12.1</version>
649 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800650 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700651 </configuration>
652 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700653
654 <plugin>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-pmd-plugin</artifactId>
657 <version>3.2</version>
658 <configuration>
659 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700660 </excludes>
661 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800662 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700663 </rulesets>
664 </configuration>
665 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700666 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700667 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700668</project>