blob: dea1fc6e144179d4193bee80e19c4c1615aef55f [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 HIGUCHIb561efa2013-12-20 01:35:04 -080011 <name>ONOS-RAMCloud</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>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080044 <!-- Note: the checkstyle configuration is also in the reporting section -->
45 <groupId>org.apache.maven.plugins</groupId>
46 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070047 <version>${checkstyle-plugin.version}</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080048 <configuration>
49 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Ray Milkey70d91cc2014-03-18 15:22:27 -070050 <suppressionsLocation>
51 ${basedir}/conf/checkstyle/onos_suppressions.xml
52 </suppressionsLocation>
53 <failsOnError>false</failsOnError>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080054 </configuration>
Ray Milkey70d91cc2014-03-18 15:22:27 -070055 <executions>
56 <execution>
57 <id>validate-checkstyle</id>
58 <phase>compile</phase>
59 <goals>
60 <!-- Uncomment this goal to make the build fail on Checkstyle errors -->
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>
88 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070089 <executions>
90 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070091 </plugin>
92 <!-- test -->
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070096 <version>2.16</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070097 <configuration>
98 <excludes>
99 <!-- exclude all test cases for now -->
100 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
101 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700102 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700103 <exclude>**/test/*</exclude>
104 <exclude>**/Test*.java</exclude>
105 <exclude>**/*Test.java</exclude>
106 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700107 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700108 </excludes>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -0700109 <argLine>-XX:MaxPermSize=256m</argLine>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800110 <redirectTestOutputToFile>true</redirectTestOutputToFile>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700111 </configuration>
112 </plugin>
113 <!-- exec:java -->
114 <plugin>
115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>exec-maven-plugin</artifactId>
117 <version>1.2.1</version>
118 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -0700119 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700120 </configuration>
121 <executions>
122 </executions>
123 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200124 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700125 <groupId>org.codehaus.mojo</groupId>
126 <artifactId>build-helper-maven-plugin</artifactId>
127 <version>1.7</version>
128 <executions>
129 <execution>
130 <id>add-source</id>
131 <phase>generate-sources</phase>
132 <goals>
133 <goal>add-source</goal>
134 </goals>
135 <configuration>
136 <sources>
137 <source>lib/gen-java</source>
138 </sources>
139 </configuration>
140 </execution>
141 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200142 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700146 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700147 <configuration>
148 <charset>UTF-8</charset>
149 <locale>en</locale>
150 </configuration>
151 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700152<!-- Remove me when we're sure that system test no longer need JaCoCo
timlindberg8b13e702013-07-17 14:45:50 -0700153 <plugin>
154 <groupId>org.jacoco</groupId>
155 <artifactId>jacoco-maven-plugin</artifactId>
156 <version>0.6.3.201306030806</version>
timlindberg8b13e702013-07-17 14:45:50 -0700157 <executions>
158 <execution>
159 <id>jacoco-initialize</id>
160 <goals>
161 <goal>prepare-agent</goal>
162 </goals>
163 </execution>
164 <execution>
165 <id>jacoco-site</id>
166 <phase>package</phase>
167 <goals>
168 <goal>report</goal>
169 </goals>
170 </execution>
171 </executions>
172 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700173-->
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800174 <!--
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700175 <plugin>
176 <groupId>com.github.github</groupId>
177 <artifactId>site-maven-plugin</artifactId>
178 <version>0.8</version>
179 <configuration>
180 <message>Creating site for ${project.version}</message>
181 <dryRun>true</dryRun>
182 <repositoryName>ONOS</repositoryName>
183 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800184 <path>javadoc/${project.version}/</path>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700185 </configuration>
186 <executions>
187 <execution>
188 <goals>
189 <goal>site</goal>
190 </goals>
191 <phase>site</phase>
192 </execution>
193 </executions>
194 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800195 -->
Jonathan Hart2c61a502013-10-18 18:12:26 -0700196 <plugin>
197 <artifactId>maven-assembly-plugin</artifactId>
198 <configuration>
199 <descriptorRefs>
200 <descriptorRef>jar-with-dependencies</descriptorRef>
201 </descriptorRefs>
202 </configuration>
203 </plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800204 <plugin>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700205 <!-- Using groovy script to set maven property ${hostname}.
206 This is a workaround to get hostname as a property inside pom file,
207 which current Maven does not provide. -->
208 <groupId>org.codehaus.gmaven</groupId>
209 <artifactId>groovy-maven-plugin</artifactId>
210 <version>2.0</version>
211 <executions>
212 <execution>
213 <phase>initialize</phase>
214 <goals>
215 <goal>execute</goal>
216 </goals>
217 <configuration>
218 <source>
219 project.properties["hostname"] = InetAddress.getLocalHost().getHostName()
220 </source>
221 </configuration>
222 </execution>
223 </executions>
224 </plugin>
225 <plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800226 <groupId>org.apache.maven.plugins</groupId>
227 <artifactId>maven-dependency-plugin</artifactId>
228 <version>2.8</version>
229 <executions>
230 <execution>
231 <id>build-classpath</id>
232 <phase>generate-sources</phase>
233 <goals>
234 <goal>build-classpath</goal>
235 </goals>
236 <configuration>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700237 <outputFile>${project.basedir}/.javacp.${hostname}</outputFile>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800238 </configuration>
239 </execution>
240 </executions>
241 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700242 <plugin>
243 <groupId>org.codehaus.mojo</groupId>
244 <artifactId>cobertura-maven-plugin</artifactId>
245 <version>${cobertura-maven-plugin.version}</version>
246 <configuration>
247 <instrumentation>
248 <ignores>
249 <ignore>org.slf4j.*</ignore>
250 <ignore>com.tinkerpop.*</ignore>
251 </ignores>
252 <excludes>
253 <exclude>org/openflow/**/*.class</exclude>
254 <exclude>net/floodlightcontroller/**/web/**/*.class</exclude>
255 </excludes>
256 </instrumentation>
257 </configuration>
258 <executions>
259 <execution>
260 <goals>
261 <goal>clean</goal>
262 </goals>
263 </execution>
264 </executions>
265 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700266 <!-- Note: the findbugs configuration is also in the reporting section -->
267 <plugin>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>findbugs-maven-plugin</artifactId>
270 <version>${findbugs-plugin.version}</version>
271 <configuration>
272 <effort>${findbugs.effort}</effort>
273 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
274 </configuration>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700275 <executions>
276 <execution>
277 <id>validate-findbugs</id>
278 <phase>compile</phase>
279 <goals>
280 <!-- Uncomment this goal to make the build fail on findbugs errors -->
281 <!--<goal>check</goal>-->
282 </goals>
283 </execution>
284 </executions>
285 </plugin>
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-pmd-plugin</artifactId>
289 <version>3.1</version>
290 <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
294 - maven-checkstyle-plugin configuration in pom.xml
295 - maven-pmd-plugin configuration in pom.xml
296 (under build and reporting)
297 -->
Ray Milkey70d91cc2014-03-18 15:22:27 -0700298 <excludes>
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700299 <exclude>**/RCProtos.java</exclude>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700300 <exclude>**/com/tinkerpop/**</exclude>
301 <exclude>**/edu/stanford/**</exclude>
302 <exclude>**/net/floodlightcontroller/**</exclude>
303 <exclude>**/org/openflow/**</exclude>
304 </excludes>
305 <rulesets>
306 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
307 </rulesets>
308 </configuration>
309 <executions>
310 <execution>
311 <id>validate-pmd</id>
312 <phase>compile</phase>
313 <goals>
314 <!-- Uncomment this goal to make the build fail on pmd errors -->
315 <!--<goal>check</goal>-->
316 </goals>
317 </execution>
318 </executions>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700319 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700320 </plugins>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800321 <pluginManagement>
322 <plugins>
323 <!--This plugin's configuration is used to store Eclipse m2e settings
324 only. It has no influence on the Maven build itself. -->
325 <plugin>
326 <groupId>org.eclipse.m2e</groupId>
327 <artifactId>lifecycle-mapping</artifactId>
328 <version>1.0.0</version>
329 <configuration>
330 <lifecycleMappingMetadata>
331 <pluginExecutions>
332 <pluginExecution>
333 <pluginExecutionFilter>
334 <groupId>
335 org.apache.maven.plugins
336 </groupId>
337 <artifactId>
338 maven-dependency-plugin
339 </artifactId>
340 <versionRange>[2.8,)</versionRange>
341 <goals>
342 <goal>build-classpath</goal>
343 </goals>
344 </pluginExecutionFilter>
345 <action>
346 <ignore></ignore>
347 </action>
348 </pluginExecution>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700349 <pluginExecution>
350 <pluginExecutionFilter>
351 <groupId>org.codehaus.gmaven</groupId>
352 <artifactId>groovy-maven-plugin</artifactId>
353 <versionRange>[2.0,)</versionRange>
354 <goals>
355 <goal>execute</goal>
356 </goals>
357 </pluginExecutionFilter>
358 <action>
359 <ignore></ignore>
360 </action>
361 </pluginExecution>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800362 </pluginExecutions>
363 </lifecycleMappingMetadata>
364 </configuration>
365 </plugin>
366 </plugins>
367 </pluginManagement>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700368 </build>
369 <!-- for getting visualization reporting -->
370 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700371 <excludeDefaults>true</excludeDefaults>
372 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700373 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700374 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700375 <plugin>
376 <groupId>org.apache.camel</groupId>
377 <artifactId>guice-maven-plugin</artifactId>
378 <version>2.11.0</version>
379 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700380 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700381 <plugin>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-project-info-reports-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700384 <version>2.7</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700385 <configuration>
386 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
387 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
388 </configuration>
389 <reportSets>
390 <reportSet>
391 <reports>
392 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700393 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700394 <report>scm</report>
395 </reports>
396 </reportSet>
397 </reportSets>
398 </plugin>
399 <plugin>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700402 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700403 <configuration>
404 <charset>UTF-8</charset>
405 <locale>en</locale>
406 </configuration>
407 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800408 <plugin>
409 <!-- Note: the checkstyle configuration is also in the build section -->
410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700412 <version>${checkstyle-plugin.version}</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800413 <configuration>
414 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700415 <!--
416 Note: Exclusion definition exists in multiple places.
417 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
418 - maven-checkstyle-plugin configuration in pom.xml
419 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700420 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700421 -->
422 <excludes>**/RCProtos.java,**/RamCloudGraphProtos.java</excludes>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700423 <suppressionsLocation>
424 ${basedir}/conf/checkstyle/onos_suppressions.xml
425 </suppressionsLocation>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800426 </configuration>
427 <reportSets>
428 <reportSet>
429 <reports>
430 <report>checkstyle</report>
431 </reports>
432 </reportSet>
433 </reportSets>
434 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700435 <!-- Note: the findbugs configuration is also in the build section -->
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800436 <plugin>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700437 <groupId>org.codehaus.mojo</groupId>
438 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700439 <version>${findbugs-plugin.version}</version>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700440 <configuration>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700441 <effort>${findbugs.effort}</effort>
442 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700443 <reportPlugins>
444 <plugin>
445 <groupId>org.codehaus.mojo</groupId>
446 <artifactId>findbugs-maven-plugin</artifactId>
447 </plugin>
448 </reportPlugins>
449 </configuration>
450 </plugin>
451 <plugin>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700454 <version>3.1</version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700455 <configuration>
456 <!--
457 Note: Exclusion definition exists in multiple places.
458 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
459 - maven-checkstyle-plugin configuration in pom.xml
460 - maven-pmd-plugin configuration in pom.xml
Yuta HIGUCHIabdb3562014-03-27 13:37:36 -0700461 (under build and reporting)
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700462 -->
463 <excludes>
464 <exclude>**/RCProtos.java</exclude>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700465 <exclude>**/com/tinkerpop/**</exclude>
466 <exclude>**/edu/stanford/**</exclude>
467 <exclude>**/net/floodlightcontroller/**</exclude>
468 <exclude>**/org/openflow/**</exclude>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700469 </excludes>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700470 <rulesets>
471 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
472 </rulesets>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700473 </configuration>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700474 </plugin>
475 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800476 <groupId>org.apache.maven.plugins</groupId>
477 <artifactId>maven-jxr-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700478 <version>2.4</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800479 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700480 <plugin>
481 <groupId>org.codehaus.mojo</groupId>
482 <artifactId>cobertura-maven-plugin</artifactId>
483 <version>${cobertura-maven-plugin.version}</version>
484 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700485 </plugins>
486 </reporting>
487 <dependencies>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800488 <!-- ONOS's direct dependencies -->
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700489 <dependency>
490 <groupId>com.esotericsoftware.kryo</groupId>
491 <artifactId>kryo</artifactId>
492 <version>2.22</version>
493 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700494 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800495 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700496 <groupId>com.thinkaurelius.titan</groupId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800497 <artifactId>titan-core</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800498 <version>0.4.2</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200499 <exclusions>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800500 <exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200501 <groupId>org.slf4j</groupId>
502 <artifactId>slf4j-log4j12</artifactId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800503 </exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200504 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700505 </dependency>
506 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800507 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700508 <groupId>com.tinkerpop</groupId>
509 <artifactId>frames</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800510 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700511 </dependency>
512 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800513 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700514 <groupId>com.tinkerpop.blueprints</groupId>
515 <artifactId>blueprints-core</artifactId>
Yuta HIGUCHIcc8b1012014-01-24 09:14:39 -0800516 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700517 </dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800518 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800519 <!-- remove me after BluePrint clean up -->
520 <groupId>com.tinkerpop.rexster</groupId>
521 <artifactId>rexster-core</artifactId>
522 <version>2.4.0</version>
yoshi28bac132014-01-22 11:00:17 -0800523 </dependency>
524 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800525 <groupId>com.google.protobuf</groupId>
526 <artifactId>protobuf-java</artifactId>
527 <version>2.5.0</version>
yoshi28bac132014-01-22 11:00:17 -0800528 </dependency>
529 <dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800530 <groupId>com.hazelcast</groupId>
531 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI6a643132014-03-18 22:39:27 -0700532 <version>${hazelcast.version}</version>
533 </dependency>
534 <dependency>
535 <groupId>com.hazelcast</groupId>
536 <artifactId>hazelcast-client</artifactId>
537 <version>${hazelcast.version}</version>
yoshi2fd4c7e2013-11-22 15:47:55 -0800538 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700539 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700540 <groupId>net.sf.json-lib</groupId>
541 <artifactId>json-lib</artifactId>
542 <version>2.4</version>
543 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700544 </dependency>
545 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700546 <groupId>org.restlet.jse</groupId>
547 <artifactId>org.restlet</artifactId>
548 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700549 </dependency>
550 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700551 <groupId>org.restlet.jse</groupId>
552 <artifactId>org.restlet.ext.slf4j</artifactId>
553 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700554 </dependency>
555 <dependency>
556 <groupId>org.codehaus.jackson</groupId>
557 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700558 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700559 </dependency>
560 <dependency>
561 <groupId>org.codehaus.jackson</groupId>
562 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700563 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700564 </dependency>
565 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700566 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700567 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700568 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700569 <scope>runtime</scope>
570 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800571 <dependency>
572 <groupId>commons-configuration</groupId>
573 <artifactId>commons-configuration</artifactId>
574 <version>1.6</version>
575 </dependency>
576 <dependency>
577 <groupId>com.google.guava</groupId>
578 <artifactId>guava</artifactId>
579 <version>14.0.1</version>
580 </dependency>
581 <dependency>
582 <!-- Used in net.onrc.onos.ofcontroller.bgproute.RestClient.get(String), but not sure if it is really required -->
583 <groupId>commons-httpclient</groupId>
584 <artifactId>commons-httpclient</artifactId>
585 <version>3.1</version>
586 </dependency>
587 <dependency>
588 <groupId>org.apache.zookeeper</groupId>
589 <artifactId>zookeeper</artifactId>
590 <version>3.4.5</version>
591 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700592 <!-- Floodlight's dependencies -->
593 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700594 <groupId>org.slf4j</groupId>
595 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700596 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700597 </dependency>
598 <dependency>
599 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700600 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700601 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700602 </dependency>
603 <dependency>
604 <groupId>org.restlet.jse</groupId>
605 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700606 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700607 </dependency>
608 <dependency>
609 <groupId>org.simpleframework</groupId>
610 <artifactId>simple</artifactId>
611 <version>4.1.21</version>
612 </dependency>
613 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700614 <groupId>io.netty</groupId>
615 <artifactId>netty-all</artifactId>
616 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700617 </dependency>
618 <dependency>
619 <groupId>args4j</groupId>
620 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700621 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700622 </dependency>
623 <dependency>
624 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
625 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700626 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700627 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700628 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700629 <groupId>com.google.inject</groupId>
630 <artifactId>guice</artifactId>
631 <version>3.0</version>
632 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800633 <dependency>
634 <!-- dependency to old version of netty? -->
635 <groupId>org.jboss.netty</groupId>
636 <artifactId>netty</artifactId>
637 <version>3.2.7.Final</version>
638 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700639 <!-- Dependency for libraries used for testing -->
640 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700641 <groupId>junit</groupId>
642 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700643 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700644 <scope>test</scope>
645 </dependency>
646 <dependency>
Ray Milkey6688cd82014-03-11 16:40:46 -0700647 <groupId>org.hamcrest</groupId>
648 <artifactId>hamcrest-core</artifactId>
649 <version>1.3</version>
650 <scope>test</scope>
651 </dependency>
652 <dependency>
653 <groupId>org.hamcrest</groupId>
654 <artifactId>hamcrest-library</artifactId>
655 <version>1.3</version>
656 <scope>test</scope>
657 </dependency>
658 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700659 <groupId>org.easymock</groupId>
660 <artifactId>easymock</artifactId>
yoshif5a6a502013-11-25 09:30:35 -0800661 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700662 <scope>test</scope>
663 </dependency>
664 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700665 <groupId>org.powermock</groupId>
666 <artifactId>powermock-module-junit4</artifactId>
667 <version>${powermock.version}</version>
668 <scope>test</scope>
669 </dependency>
670 <dependency>
671 <groupId>org.powermock</groupId>
672 <artifactId>powermock-api-easymock</artifactId>
673 <version>${powermock.version}</version>
674 <scope>test</scope>
675 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800676 <dependency>
677 <groupId>commons-io</groupId>
678 <artifactId>commons-io</artifactId>
679 <version>2.1</version>
680 <scope>test</scope>
681 </dependency>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700682 <dependency>
683 <groupId>org.apache.curator</groupId>
684 <artifactId>curator-framework</artifactId>
685 <version>2.4.1</version>
686 </dependency>
687 <dependency>
688 <groupId>org.apache.curator</groupId>
689 <artifactId>curator-client</artifactId>
690 <version>2.4.1</version>
691 </dependency>
692 <dependency>
693 <groupId>org.apache.curator</groupId>
694 <artifactId>curator-recipes</artifactId>
695 <version>2.4.1</version>
696 </dependency>
697 <dependency>
698 <groupId>org.apache.curator</groupId>
699 <artifactId>curator-x-discovery</artifactId>
700 <version>2.4.1</version>
701 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700702 </dependencies>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700703 <profiles>
704 <!-- Jenkins by default defines a property BUILD_NUMBER which is used to
705 enable the profile. -->
706 <profile>
707 <id>jenkins</id>
708 <activation>
709 <property>
710 <name>env.BUILD_NUMBER</name>
711 </property>
712 </activation>
713 <build>
714 <plugins>
715 <plugin>
716 <groupId>org.codehaus.mojo</groupId>
717 <artifactId>cobertura-maven-plugin</artifactId>
718 <version>${cobertura-maven-plugin.version}</version>
719 <configuration>
720 <formats>
721 <format>xml</format>
722 </formats>
723 </configuration>
724 <executions>
725 <execution>
726 <phase>package</phase>
727 <goals>
728 <goal>cobertura</goal>
729 </goals>
730 </execution>
731 </executions>
732 </plugin>
733 </plugins>
734 </build>
735 </profile>
736 </profiles>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700737</project>