blob: cfb3429798d03248f4ad8143250233e46819faf3 [file] [log] [blame]
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -07001<?xml version="1.0"?>
2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <prerequisites>
5 <maven>3.0.4</maven>
6 </prerequisites>
7 <groupId>net.onrc.onos</groupId>
Pankaj Berdebbd38612013-06-22 05:59:12 -07008 <artifactId>onos</artifactId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -07009 <version>0.1.0</version>
10 <packaging>jar</packaging>
Yuta HIGUCHIf232d0f2014-04-16 09:23:02 -070011 <name>ONOS</name>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070012 <url>http://onlab.us/</url>
13 <repositories>
14 <repository>
15 <id>central</id>
16 <name>Maven Central repository</name>
17 <url>http://repo1.maven.org/maven2</url>
18 </repository>
19 <repository>
20 <id>maven-restlet</id>
21 <name>Public online Restlet repository</name>
22 <url>http://maven.restlet.org</url>
23 </repository>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070024 </repositories>
25 <properties>
26 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
yoshi2fd4c7e2013-11-22 15:47:55 -080027 <powermock.version>1.5.1</powermock.version>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -080028 <restlet.version>2.1.4</restlet.version>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -070029 <cobertura-maven-plugin.version>2.6</cobertura-maven-plugin.version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -070030 <findbugs-plugin.version>2.5.3</findbugs-plugin.version>
31 <findbugs.effort>Max</findbugs.effort>
32 <findbugs.excludeFilterFile>conf/findbugs/exclude.xml</findbugs.excludeFilterFile>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070033 <checkstyle-plugin.version>2.12</checkstyle-plugin.version>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -080034 <!-- To publish javadoc to github,
35 uncomment com.github.github site-maven-plugin and
36 see https://github.com/OPENNETWORKINGLAB/ONOS/pull/425
37 <github.global.server>github</github.global.server>
38 -->
Yuta HIGUCHI6a643132014-03-18 22:39:27 -070039 <hazelcast.version>3.0.2</hazelcast.version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070040 </properties>
41 <build>
42 <plugins>
43 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -070044 <!-- Note: the checkstyle configuration is also in the reporting section -->
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-checkstyle-plugin</artifactId>
47 <version>${checkstyle-plugin.version}</version>
48 <configuration>
49 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
50 <suppressionsLocation>
51 ${basedir}/conf/checkstyle/onos_suppressions.xml
52 </suppressionsLocation>
53 <failsOnError>false</failsOnError>
54 <logViolationsToConsole>true</logViolationsToConsole>
55 </configuration>
56 <executions>
57 <execution>
58 <id>validate-checkstyle</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -070059 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -070060 <goals>
61 <goal>check</goal>
62 </goals>
63 </execution>
64 </executions>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080065 </plugin>
66 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070067 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-install-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070069 <version>2.5.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070070 <executions>
71 </executions>
72 </plugin>
73 <!-- guice maven plugin for dependency injection inside maven -->
74 <plugin>
75 <groupId>org.apache.camel</groupId>
76 <artifactId>guice-maven-plugin</artifactId>
77 <version>2.11.0</version>
78 </plugin>
79 <!-- compile -->
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070083 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070084 <configuration>
Yuta HIGUCHI641d9992013-12-18 16:40:45 -080085 <source>1.7</source>
86 <target>1.7</target>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070087 <encoding>UTF-8</encoding>
Yuta HIGUCHIe636d472014-04-25 09:43:44 -070088 <showDeprecation>true</showDeprecation>
89 <showWarnings>true</showWarnings>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070090 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070091 <executions>
92 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070093 </plugin>
94 <!-- test -->
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070098 <version>2.16</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070099 <configuration>
100 <excludes>
101 <!-- exclude all test cases for now -->
102 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
103 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700104 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700105 <exclude>**/test/*</exclude>
106 <exclude>**/Test*.java</exclude>
107 <exclude>**/*Test.java</exclude>
108 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700109 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700110 </excludes>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -0700111 <argLine>-XX:MaxPermSize=256m</argLine>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800112 <redirectTestOutputToFile>true</redirectTestOutputToFile>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700113 </configuration>
114 </plugin>
115 <!-- exec:java -->
116 <plugin>
117 <groupId>org.codehaus.mojo</groupId>
118 <artifactId>exec-maven-plugin</artifactId>
119 <version>1.2.1</version>
120 <configuration>
Jonathan Hart51f6f5b2014-04-03 10:32:10 -0700121 <mainClass>net.onrc.onos.core.main.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700122 </configuration>
123 <executions>
124 </executions>
125 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200126 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700127 <groupId>org.codehaus.mojo</groupId>
128 <artifactId>build-helper-maven-plugin</artifactId>
129 <version>1.7</version>
130 <executions>
131 <execution>
132 <id>add-source</id>
133 <phase>generate-sources</phase>
134 <goals>
135 <goal>add-source</goal>
136 </goals>
137 <configuration>
138 <sources>
139 <source>lib/gen-java</source>
140 </sources>
141 </configuration>
142 </execution>
143 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200144 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700145 <plugin>
146 <groupId>org.apache.maven.plugins</groupId>
147 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700148 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700149 <configuration>
150 <charset>UTF-8</charset>
151 <locale>en</locale>
152 </configuration>
153 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700154<!-- Remove me when we're sure that system test no longer need JaCoCo
timlindberg8b13e702013-07-17 14:45:50 -0700155 <plugin>
156 <groupId>org.jacoco</groupId>
157 <artifactId>jacoco-maven-plugin</artifactId>
158 <version>0.6.3.201306030806</version>
timlindberg8b13e702013-07-17 14:45:50 -0700159 <executions>
160 <execution>
161 <id>jacoco-initialize</id>
162 <goals>
163 <goal>prepare-agent</goal>
164 </goals>
165 </execution>
166 <execution>
167 <id>jacoco-site</id>
168 <phase>package</phase>
169 <goals>
170 <goal>report</goal>
171 </goals>
172 </execution>
173 </executions>
174 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700175-->
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800176 <!--
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700177 <plugin>
178 <groupId>com.github.github</groupId>
179 <artifactId>site-maven-plugin</artifactId>
180 <version>0.8</version>
181 <configuration>
182 <message>Creating site for ${project.version}</message>
183 <dryRun>true</dryRun>
184 <repositoryName>ONOS</repositoryName>
185 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800186 <path>javadoc/${project.version}/</path>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700187 </configuration>
188 <executions>
189 <execution>
190 <goals>
191 <goal>site</goal>
192 </goals>
193 <phase>site</phase>
194 </execution>
195 </executions>
196 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800197 -->
Jonathan Hart2c61a502013-10-18 18:12:26 -0700198 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700199 <artifactId>maven-assembly-plugin</artifactId>
200 <configuration>
201 <descriptorRefs>
202 <descriptorRef>jar-with-dependencies</descriptorRef>
203 </descriptorRefs>
204 </configuration>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700205 </plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800206 <plugin>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700207 <!-- Using groovy script to set maven property ${hostname}.
208 This is a workaround to get hostname as a property inside pom file,
209 which current Maven does not provide. -->
210 <groupId>org.codehaus.gmaven</groupId>
211 <artifactId>groovy-maven-plugin</artifactId>
212 <version>2.0</version>
213 <executions>
214 <execution>
215 <phase>initialize</phase>
216 <goals>
217 <goal>execute</goal>
218 </goals>
219 <configuration>
220 <source>
221 project.properties["hostname"] = InetAddress.getLocalHost().getHostName()
222 </source>
223 </configuration>
224 </execution>
225 </executions>
226 </plugin>
227 <plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-dependency-plugin</artifactId>
230 <version>2.8</version>
231 <executions>
232 <execution>
233 <id>build-classpath</id>
234 <phase>generate-sources</phase>
235 <goals>
236 <goal>build-classpath</goal>
237 </goals>
238 <configuration>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700239 <outputFile>${project.basedir}/.javacp.${hostname}</outputFile>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800240 </configuration>
241 </execution>
242 </executions>
243 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700244 <plugin>
245 <groupId>org.codehaus.mojo</groupId>
246 <artifactId>cobertura-maven-plugin</artifactId>
247 <version>${cobertura-maven-plugin.version}</version>
248 <configuration>
249 <instrumentation>
250 <ignores>
251 <ignore>org.slf4j.*</ignore>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700252 </ignores>
253 <excludes>
254 <exclude>org/openflow/**/*.class</exclude>
255 <exclude>net/floodlightcontroller/**/web/**/*.class</exclude>
256 </excludes>
257 </instrumentation>
258 </configuration>
259 <executions>
260 <execution>
261 <goals>
262 <goal>clean</goal>
263 </goals>
264 </execution>
265 </executions>
266 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700267 <!-- Note: the findbugs configuration is also in the reporting section -->
268 <plugin>
269 <groupId>org.codehaus.mojo</groupId>
270 <artifactId>findbugs-maven-plugin</artifactId>
271 <version>${findbugs-plugin.version}</version>
272 <configuration>
273 <effort>${findbugs.effort}</effort>
274 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
275 </configuration>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700276 <executions>
277 <execution>
278 <id>validate-findbugs</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700279 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700280 <goals>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700281 <goal>check</goal>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700282 </goals>
283 </execution>
284 </executions>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700285 </plugin>
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-pmd-plugin</artifactId>
289 <version>3.1</version>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700290 <configuration>
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700291 <!--
292 Note: Exclusion definition exists in multiple places.
293 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
Yuta HIGUCHI057f7bc2014-04-16 17:37:41 -0700294 - In file conf/checkstyle/onos_suppressions.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700295 - maven-pmd-plugin configuration in pom.xml
296 (under build and reporting)
297 -->
Ray Milkeyb5716c52014-04-07 11:38:27 -0700298 <excludes>
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -0700299 <exclude>**/datastore/serializers/**</exclude>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700300 <exclude>**/edu/stanford/**</exclude>
301 <exclude>**/net/floodlightcontroller/**</exclude>
302 <exclude>**/org/openflow/**</exclude>
303 </excludes>
304 <rulesets>
305 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
306 </rulesets>
307 </configuration>
308 <executions>
309 <execution>
310 <id>validate-pmd</id>
Yuta HIGUCHI82566512014-04-16 09:44:17 -0700311 <phase>verify</phase>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700312 <goals>
313 <!-- Uncomment this goal to make the build fail on pmd errors -->
314 <!--<goal>check</goal>-->
315 </goals>
316 </execution>
317 </executions>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700318 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700319 </plugins>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800320 <pluginManagement>
321 <plugins>
322 <!--This plugin's configuration is used to store Eclipse m2e settings
323 only. It has no influence on the Maven build itself. -->
324 <plugin>
325 <groupId>org.eclipse.m2e</groupId>
326 <artifactId>lifecycle-mapping</artifactId>
327 <version>1.0.0</version>
328 <configuration>
329 <lifecycleMappingMetadata>
330 <pluginExecutions>
331 <pluginExecution>
332 <pluginExecutionFilter>
333 <groupId>
334 org.apache.maven.plugins
335 </groupId>
336 <artifactId>
337 maven-dependency-plugin
338 </artifactId>
339 <versionRange>[2.8,)</versionRange>
340 <goals>
341 <goal>build-classpath</goal>
342 </goals>
343 </pluginExecutionFilter>
344 <action>
345 <ignore></ignore>
346 </action>
347 </pluginExecution>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700348 <pluginExecution>
349 <pluginExecutionFilter>
350 <groupId>org.codehaus.gmaven</groupId>
351 <artifactId>groovy-maven-plugin</artifactId>
352 <versionRange>[2.0,)</versionRange>
353 <goals>
354 <goal>execute</goal>
355 </goals>
356 </pluginExecutionFilter>
357 <action>
358 <ignore></ignore>
359 </action>
360 </pluginExecution>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800361 </pluginExecutions>
362 </lifecycleMappingMetadata>
363 </configuration>
364 </plugin>
365 </plugins>
366 </pluginManagement>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700367 </build>
368 <!-- for getting visualization reporting -->
369 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700370 <excludeDefaults>true</excludeDefaults>
371 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700372 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700373 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700374 <plugin>
375 <groupId>org.apache.camel</groupId>
376 <artifactId>guice-maven-plugin</artifactId>
377 <version>2.11.0</version>
378 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700379 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700380 <plugin>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-project-info-reports-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700383 <version>2.7</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700384 <configuration>
385 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
386 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
387 </configuration>
388 <reportSets>
389 <reportSet>
390 <reports>
391 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700392 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700393 <report>scm</report>
394 </reports>
395 </reportSet>
396 </reportSets>
397 </plugin>
398 <plugin>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700401 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700402 <configuration>
403 <charset>UTF-8</charset>
404 <locale>en</locale>
405 </configuration>
406 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800407 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700408 <!-- Note: the checkstyle configuration is also in the build section -->
409 <groupId>org.apache.maven.plugins</groupId>
410 <artifactId>maven-checkstyle-plugin</artifactId>
411 <version>${checkstyle-plugin.version}</version>
412 <configuration>
413 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700414 <!--
415 Note: Exclusion definition exists in multiple places.
416 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
417 - maven-checkstyle-plugin configuration in pom.xml
418 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700419 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700420 -->
Ray Milkeyb5716c52014-04-07 11:38:27 -0700421 <suppressionsLocation>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700422 ${basedir}/conf/checkstyle/onos_suppressions.xml
423 </suppressionsLocation>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700424 </configuration>
425 <reportSets>
426 <reportSet>
427 <reports>
428 <report>checkstyle</report>
429 </reports>
430 </reportSet>
431 </reportSets>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800432 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700433 <!-- Note: the findbugs configuration is also in the build section -->
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800434 <plugin>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700435 <groupId>org.codehaus.mojo</groupId>
436 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700437 <version>${findbugs-plugin.version}</version>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700438 <configuration>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700439 <effort>${findbugs.effort}</effort>
440 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700441 <reportPlugins>
442 <plugin>
443 <groupId>org.codehaus.mojo</groupId>
444 <artifactId>findbugs-maven-plugin</artifactId>
445 </plugin>
446 </reportPlugins>
447 </configuration>
448 </plugin>
449 <plugin>
450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700452 <version>3.1</version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700453 <configuration>
454 <!--
455 Note: Exclusion definition exists in multiple places.
456 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
Yuta HIGUCHI057f7bc2014-04-16 17:37:41 -0700457 - In file conf/checkstyle/onos_suppressions.xml
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700458 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700459 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700460 -->
461 <excludes>
Yuta HIGUCHI1cd90292014-04-03 14:31:10 -0700462 <exclude>**/datastore/serializers/**</exclude>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700463 <exclude>**/edu/stanford/**</exclude>
464 <exclude>**/net/floodlightcontroller/**</exclude>
465 <exclude>**/org/openflow/**</exclude>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700466 </excludes>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700467 <rulesets>
468 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
469 </rulesets>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700470 </configuration>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700471 </plugin>
472 <plugin>
Ray Milkeyb5716c52014-04-07 11:38:27 -0700473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-jxr-plugin</artifactId>
475 <version>2.4</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800476 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700477 <plugin>
478 <groupId>org.codehaus.mojo</groupId>
479 <artifactId>cobertura-maven-plugin</artifactId>
480 <version>${cobertura-maven-plugin.version}</version>
481 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700482 </plugins>
483 </reporting>
484 <dependencies>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800485 <!-- ONOS's direct dependencies -->
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700486 <dependency>
487 <groupId>com.esotericsoftware.kryo</groupId>
488 <artifactId>kryo</artifactId>
489 <version>2.22</version>
490 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700491 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800492 <groupId>com.google.protobuf</groupId>
493 <artifactId>protobuf-java</artifactId>
494 <version>2.5.0</version>
yoshi28bac132014-01-22 11:00:17 -0800495 </dependency>
496 <dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800497 <groupId>com.hazelcast</groupId>
498 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI6a643132014-03-18 22:39:27 -0700499 <version>${hazelcast.version}</version>
500 </dependency>
501 <dependency>
502 <groupId>com.hazelcast</groupId>
503 <artifactId>hazelcast-client</artifactId>
504 <version>${hazelcast.version}</version>
yoshi2fd4c7e2013-11-22 15:47:55 -0800505 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700506 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700507 <groupId>net.sf.json-lib</groupId>
508 <artifactId>json-lib</artifactId>
509 <version>2.4</version>
510 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700511 </dependency>
512 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700513 <groupId>org.restlet.jse</groupId>
514 <artifactId>org.restlet</artifactId>
515 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700516 </dependency>
517 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700518 <groupId>org.restlet.jse</groupId>
519 <artifactId>org.restlet.ext.slf4j</artifactId>
520 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700521 </dependency>
522 <dependency>
523 <groupId>org.codehaus.jackson</groupId>
524 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700525 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700526 </dependency>
527 <dependency>
528 <groupId>org.codehaus.jackson</groupId>
529 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700530 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700531 </dependency>
532 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700533 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700534 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700535 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700536 <scope>runtime</scope>
537 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800538 <dependency>
539 <groupId>commons-configuration</groupId>
540 <artifactId>commons-configuration</artifactId>
541 <version>1.6</version>
542 </dependency>
543 <dependency>
Yuta HIGUCHI850b0042014-04-16 15:10:31 -0700544 <groupId>commons-lang</groupId>
545 <artifactId>commons-lang</artifactId>
546 <version>2.6</version>
547 </dependency>
548 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800549 <groupId>com.google.guava</groupId>
550 <artifactId>guava</artifactId>
Jonathan Hart0487c712014-04-18 14:52:04 -0700551 <version>16.0.1</version>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800552 </dependency>
553 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800554 <groupId>commons-httpclient</groupId>
555 <artifactId>commons-httpclient</artifactId>
556 <version>3.1</version>
557 </dependency>
558 <dependency>
559 <groupId>org.apache.zookeeper</groupId>
560 <artifactId>zookeeper</artifactId>
561 <version>3.4.5</version>
Yuta HIGUCHI6d935e52014-03-28 10:34:26 -0700562 <scope>runtime</scope>
563 <!-- Following workaround exclusions can be removed,
564 when we're ready to switch to ZooKeeper 3.4.6 -->
565 <exclusions>
566 <exclusion>
567 <groupId>com.sun.jmx</groupId>
568 <artifactId>jmxri</artifactId>
569 </exclusion>
570 <exclusion>
571 <groupId>com.sun.jdmk</groupId>
572 <artifactId>jmxtools</artifactId>
573 </exclusion>
574 <exclusion>
575 <groupId>javax.jms</groupId>
576 <artifactId>jms</artifactId>
577 </exclusion>
578 </exclusions>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800579 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700580 <!-- Floodlight's dependencies -->
581 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700582 <groupId>org.slf4j</groupId>
583 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700584 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700585 </dependency>
586 <dependency>
587 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700588 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700589 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700590 </dependency>
591 <dependency>
592 <groupId>org.restlet.jse</groupId>
593 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700594 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700595 </dependency>
596 <dependency>
597 <groupId>org.simpleframework</groupId>
598 <artifactId>simple</artifactId>
599 <version>4.1.21</version>
600 </dependency>
601 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700602 <groupId>io.netty</groupId>
603 <artifactId>netty-all</artifactId>
604 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700605 </dependency>
606 <dependency>
607 <groupId>args4j</groupId>
608 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700609 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700610 </dependency>
611 <dependency>
612 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
613 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700614 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700615 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700616 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700617 <groupId>com.google.inject</groupId>
618 <artifactId>guice</artifactId>
619 <version>3.0</version>
620 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800621 <dependency>
622 <!-- dependency to old version of netty? -->
623 <groupId>org.jboss.netty</groupId>
624 <artifactId>netty</artifactId>
625 <version>3.2.7.Final</version>
626 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700627 <!-- Dependency for libraries used for testing -->
628 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700629 <groupId>junit</groupId>
630 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700631 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700632 <scope>test</scope>
633 </dependency>
634 <dependency>
Ray Milkey6688cd82014-03-11 16:40:46 -0700635 <groupId>org.hamcrest</groupId>
636 <artifactId>hamcrest-core</artifactId>
637 <version>1.3</version>
638 <scope>test</scope>
639 </dependency>
640 <dependency>
641 <groupId>org.hamcrest</groupId>
642 <artifactId>hamcrest-library</artifactId>
643 <version>1.3</version>
644 <scope>test</scope>
645 </dependency>
646 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700647 <groupId>org.easymock</groupId>
648 <artifactId>easymock</artifactId>
yoshif5a6a502013-11-25 09:30:35 -0800649 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700650 <scope>test</scope>
651 </dependency>
652 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700653 <groupId>org.powermock</groupId>
654 <artifactId>powermock-module-junit4</artifactId>
655 <version>${powermock.version}</version>
656 <scope>test</scope>
657 </dependency>
658 <dependency>
659 <groupId>org.powermock</groupId>
660 <artifactId>powermock-api-easymock</artifactId>
661 <version>${powermock.version}</version>
662 <scope>test</scope>
663 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800664 <dependency>
665 <groupId>commons-io</groupId>
666 <artifactId>commons-io</artifactId>
667 <version>2.1</version>
668 <scope>test</scope>
669 </dependency>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700670 <dependency>
671 <groupId>org.apache.curator</groupId>
672 <artifactId>curator-framework</artifactId>
673 <version>2.4.1</version>
674 </dependency>
675 <dependency>
676 <groupId>org.apache.curator</groupId>
677 <artifactId>curator-client</artifactId>
678 <version>2.4.1</version>
679 </dependency>
680 <dependency>
681 <groupId>org.apache.curator</groupId>
682 <artifactId>curator-recipes</artifactId>
683 <version>2.4.1</version>
684 </dependency>
685 <dependency>
686 <groupId>org.apache.curator</groupId>
687 <artifactId>curator-x-discovery</artifactId>
688 <version>2.4.1</version>
689 </dependency>
Yuta HIGUCHI6ee19182014-04-11 09:48:35 -0700690 <dependency>
691 <groupId>org.codehaus.mojo</groupId>
692 <artifactId>findbugs-maven-plugin</artifactId>
693 <version>${findbugs-plugin.version}</version>
694 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700695 </dependencies>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700696 <profiles>
697 <!-- Jenkins by default defines a property BUILD_NUMBER which is used to
698 enable the profile. -->
699 <profile>
700 <id>jenkins</id>
701 <activation>
702 <property>
703 <name>env.BUILD_NUMBER</name>
704 </property>
705 </activation>
706 <build>
707 <plugins>
708 <plugin>
709 <groupId>org.codehaus.mojo</groupId>
710 <artifactId>cobertura-maven-plugin</artifactId>
711 <version>${cobertura-maven-plugin.version}</version>
712 <configuration>
713 <formats>
714 <format>xml</format>
715 </formats>
716 </configuration>
717 <executions>
718 <execution>
719 <phase>package</phase>
720 <goals>
721 <goal>cobertura</goal>
722 </goals>
723 </execution>
724 </executions>
725 </plugin>
726 </plugins>
727 </build>
728 </profile>
729 </profiles>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700730</project>