blob: bfff1bc925df61c92980cc5a284730a5f2de0147 [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 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070039 </properties>
40 <build>
41 <plugins>
42 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080043 <!-- Note: the checkstyle configuration is also in the reporting section -->
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070046 <version>${checkstyle-plugin.version}</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080047 <configuration>
48 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Ray Milkey70d91cc2014-03-18 15:22:27 -070049 <suppressionsLocation>
50 ${basedir}/conf/checkstyle/onos_suppressions.xml
51 </suppressionsLocation>
52 <failsOnError>false</failsOnError>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080053 </configuration>
Ray Milkey70d91cc2014-03-18 15:22:27 -070054 <executions>
55 <execution>
56 <id>validate-checkstyle</id>
57 <phase>compile</phase>
58 <goals>
59 <!-- Uncomment this goal to make the build fail on Checkstyle errors -->
60 <!--<goal>check</goal>-->
61 </goals>
62 </execution>
63 </executions>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080064 </plugin>
65 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070066 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-install-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070068 <version>2.5.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070069 <executions>
70 </executions>
71 </plugin>
72 <!-- guice maven plugin for dependency injection inside maven -->
73 <plugin>
74 <groupId>org.apache.camel</groupId>
75 <artifactId>guice-maven-plugin</artifactId>
76 <version>2.11.0</version>
77 </plugin>
78 <!-- compile -->
79 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070082 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070083 <configuration>
Yuta HIGUCHI641d9992013-12-18 16:40:45 -080084 <source>1.7</source>
85 <target>1.7</target>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070086 <encoding>UTF-8</encoding>
87 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070088 <executions>
89 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070090 </plugin>
91 <!-- test -->
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070095 <version>2.16</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070096 <configuration>
97 <excludes>
98 <!-- exclude all test cases for now -->
99 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
100 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700101 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700102 <exclude>**/test/*</exclude>
103 <exclude>**/Test*.java</exclude>
104 <exclude>**/*Test.java</exclude>
105 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700106 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700107 </excludes>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -0700108 <argLine>-XX:MaxPermSize=256m</argLine>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800109 <redirectTestOutputToFile>true</redirectTestOutputToFile>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700110 </configuration>
111 </plugin>
112 <!-- exec:java -->
113 <plugin>
114 <groupId>org.codehaus.mojo</groupId>
115 <artifactId>exec-maven-plugin</artifactId>
116 <version>1.2.1</version>
117 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -0700118 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700119 </configuration>
120 <executions>
121 </executions>
122 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200123 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700124 <groupId>org.codehaus.mojo</groupId>
125 <artifactId>build-helper-maven-plugin</artifactId>
126 <version>1.7</version>
127 <executions>
128 <execution>
129 <id>add-source</id>
130 <phase>generate-sources</phase>
131 <goals>
132 <goal>add-source</goal>
133 </goals>
134 <configuration>
135 <sources>
136 <source>lib/gen-java</source>
137 </sources>
138 </configuration>
139 </execution>
140 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200141 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700145 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700146 <configuration>
147 <charset>UTF-8</charset>
148 <locale>en</locale>
149 </configuration>
150 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700151<!-- Remove me when we're sure that system test no longer need JaCoCo
timlindberg8b13e702013-07-17 14:45:50 -0700152 <plugin>
153 <groupId>org.jacoco</groupId>
154 <artifactId>jacoco-maven-plugin</artifactId>
155 <version>0.6.3.201306030806</version>
timlindberg8b13e702013-07-17 14:45:50 -0700156 <executions>
157 <execution>
158 <id>jacoco-initialize</id>
159 <goals>
160 <goal>prepare-agent</goal>
161 </goals>
162 </execution>
163 <execution>
164 <id>jacoco-site</id>
165 <phase>package</phase>
166 <goals>
167 <goal>report</goal>
168 </goals>
169 </execution>
170 </executions>
171 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700172-->
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800173 <!--
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700174 <plugin>
175 <groupId>com.github.github</groupId>
176 <artifactId>site-maven-plugin</artifactId>
177 <version>0.8</version>
178 <configuration>
179 <message>Creating site for ${project.version}</message>
180 <dryRun>true</dryRun>
181 <repositoryName>ONOS</repositoryName>
182 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800183 <path>javadoc/${project.version}/</path>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700184 </configuration>
185 <executions>
186 <execution>
187 <goals>
188 <goal>site</goal>
189 </goals>
190 <phase>site</phase>
191 </execution>
192 </executions>
193 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800194 -->
Jonathan Hart2c61a502013-10-18 18:12:26 -0700195 <plugin>
196 <artifactId>maven-assembly-plugin</artifactId>
197 <configuration>
198 <descriptorRefs>
199 <descriptorRef>jar-with-dependencies</descriptorRef>
200 </descriptorRefs>
201 </configuration>
202 </plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800203 <plugin>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700204 <!-- Using groovy script to set maven property ${hostname}.
205 This is a workaround to get hostname as a property inside pom file,
206 which current Maven does not provide. -->
207 <groupId>org.codehaus.gmaven</groupId>
208 <artifactId>groovy-maven-plugin</artifactId>
209 <version>2.0</version>
210 <executions>
211 <execution>
212 <phase>initialize</phase>
213 <goals>
214 <goal>execute</goal>
215 </goals>
216 <configuration>
217 <source>
218 project.properties["hostname"] = InetAddress.getLocalHost().getHostName()
219 </source>
220 </configuration>
221 </execution>
222 </executions>
223 </plugin>
224 <plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-dependency-plugin</artifactId>
227 <version>2.8</version>
228 <executions>
229 <execution>
230 <id>build-classpath</id>
231 <phase>generate-sources</phase>
232 <goals>
233 <goal>build-classpath</goal>
234 </goals>
235 <configuration>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700236 <outputFile>${project.basedir}/.javacp.${hostname}</outputFile>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800237 </configuration>
238 </execution>
239 </executions>
240 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700241 <plugin>
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>cobertura-maven-plugin</artifactId>
244 <version>${cobertura-maven-plugin.version}</version>
245 <configuration>
246 <instrumentation>
247 <ignores>
248 <ignore>org.slf4j.*</ignore>
249 <ignore>com.tinkerpop.*</ignore>
250 </ignores>
251 <excludes>
252 <exclude>org/openflow/**/*.class</exclude>
253 <exclude>net/floodlightcontroller/**/web/**/*.class</exclude>
254 </excludes>
255 </instrumentation>
256 </configuration>
257 <executions>
258 <execution>
259 <goals>
260 <goal>clean</goal>
261 </goals>
262 </execution>
263 </executions>
264 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700265 <!-- Note: the findbugs configuration is also in the reporting section -->
266 <plugin>
267 <groupId>org.codehaus.mojo</groupId>
268 <artifactId>findbugs-maven-plugin</artifactId>
269 <version>${findbugs-plugin.version}</version>
270 <configuration>
271 <effort>${findbugs.effort}</effort>
272 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
273 </configuration>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700274 <executions>
275 <execution>
276 <id>validate-findbugs</id>
277 <phase>compile</phase>
278 <goals>
279 <!-- Uncomment this goal to make the build fail on findbugs errors -->
280 <!--<goal>check</goal>-->
281 </goals>
282 </execution>
283 </executions>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-pmd-plugin</artifactId>
288 <version>3.1</version>
289 <configuration>
290 <excludes>
291 <exclude>**/com/tinkerpop/**</exclude>
292 <exclude>**/edu/stanford/**</exclude>
293 <exclude>**/net/floodlightcontroller/**</exclude>
294 <exclude>**/org/openflow/**</exclude>
295 </excludes>
296 <rulesets>
297 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
298 </rulesets>
299 </configuration>
300 <executions>
301 <execution>
302 <id>validate-pmd</id>
303 <phase>compile</phase>
304 <goals>
305 <!-- Uncomment this goal to make the build fail on pmd errors -->
306 <!--<goal>check</goal>-->
307 </goals>
308 </execution>
309 </executions>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700310 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700311 </plugins>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800312 <pluginManagement>
313 <plugins>
314 <!--This plugin's configuration is used to store Eclipse m2e settings
315 only. It has no influence on the Maven build itself. -->
316 <plugin>
317 <groupId>org.eclipse.m2e</groupId>
318 <artifactId>lifecycle-mapping</artifactId>
319 <version>1.0.0</version>
320 <configuration>
321 <lifecycleMappingMetadata>
322 <pluginExecutions>
323 <pluginExecution>
324 <pluginExecutionFilter>
325 <groupId>
326 org.apache.maven.plugins
327 </groupId>
328 <artifactId>
329 maven-dependency-plugin
330 </artifactId>
331 <versionRange>[2.8,)</versionRange>
332 <goals>
333 <goal>build-classpath</goal>
334 </goals>
335 </pluginExecutionFilter>
336 <action>
337 <ignore></ignore>
338 </action>
339 </pluginExecution>
Yuta HIGUCHIfbd9a7e2014-03-23 00:18:50 -0700340 <pluginExecution>
341 <pluginExecutionFilter>
342 <groupId>org.codehaus.gmaven</groupId>
343 <artifactId>groovy-maven-plugin</artifactId>
344 <versionRange>[2.0,)</versionRange>
345 <goals>
346 <goal>execute</goal>
347 </goals>
348 </pluginExecutionFilter>
349 <action>
350 <ignore></ignore>
351 </action>
352 </pluginExecution>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800353 </pluginExecutions>
354 </lifecycleMappingMetadata>
355 </configuration>
356 </plugin>
357 </plugins>
358 </pluginManagement>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700359 </build>
360 <!-- for getting visualization reporting -->
361 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700362 <excludeDefaults>true</excludeDefaults>
363 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700364 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700365 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700366 <plugin>
367 <groupId>org.apache.camel</groupId>
368 <artifactId>guice-maven-plugin</artifactId>
369 <version>2.11.0</version>
370 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700371 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700372 <plugin>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-project-info-reports-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700375 <version>2.7</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700376 <configuration>
377 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
378 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
379 </configuration>
380 <reportSets>
381 <reportSet>
382 <reports>
383 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700384 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700385 <report>scm</report>
386 </reports>
387 </reportSet>
388 </reportSets>
389 </plugin>
390 <plugin>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700393 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700394 <configuration>
395 <charset>UTF-8</charset>
396 <locale>en</locale>
397 </configuration>
398 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800399 <plugin>
400 <!-- Note: the checkstyle configuration is also in the build section -->
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700403 <version>${checkstyle-plugin.version}</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800404 <configuration>
405 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700406 <!--
407 Note: Exclusion definition exists in multiple places.
408 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
409 - maven-checkstyle-plugin configuration in pom.xml
410 - maven-pmd-plugin configuration in pom.xml
411 -->
412 <excludes>**/RCProtos.java,**/RamCloudGraphProtos.java</excludes>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700413 <suppressionsLocation>
414 ${basedir}/conf/checkstyle/onos_suppressions.xml
415 </suppressionsLocation>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800416 </configuration>
417 <reportSets>
418 <reportSet>
419 <reports>
420 <report>checkstyle</report>
421 </reports>
422 </reportSet>
423 </reportSets>
424 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700425 <!-- Note: the findbugs configuration is also in the build section -->
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800426 <plugin>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700427 <groupId>org.codehaus.mojo</groupId>
428 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700429 <version>${findbugs-plugin.version}</version>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700430 <configuration>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700431 <effort>${findbugs.effort}</effort>
432 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700433 <reportPlugins>
434 <plugin>
435 <groupId>org.codehaus.mojo</groupId>
436 <artifactId>findbugs-maven-plugin</artifactId>
437 </plugin>
438 </reportPlugins>
439 </configuration>
440 </plugin>
441 <plugin>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700444 <version>3.1</version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700445 <configuration>
446 <!--
447 Note: Exclusion definition exists in multiple places.
448 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
449 - maven-checkstyle-plugin configuration in pom.xml
450 - maven-pmd-plugin configuration in pom.xml
451 -->
452 <excludes>
453 <exclude>**/RCProtos.java</exclude>
454 <exclude>**/RamCloudGraphProtos.java</exclude>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700455 <exclude>**/com/tinkerpop/**</exclude>
456 <exclude>**/edu/stanford/**</exclude>
457 <exclude>**/net/floodlightcontroller/**</exclude>
458 <exclude>**/org/openflow/**</exclude>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700459 </excludes>
Ray Milkey70d91cc2014-03-18 15:22:27 -0700460 <rulesets>
461 <ruleset>${basedir}/conf/pmd/onos_ruleset.xml</ruleset>
462 </rulesets>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700463 </configuration>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700464 </plugin>
465 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-jxr-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700468 <version>2.4</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800469 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700470 <plugin>
471 <groupId>org.codehaus.mojo</groupId>
472 <artifactId>cobertura-maven-plugin</artifactId>
473 <version>${cobertura-maven-plugin.version}</version>
474 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700475 </plugins>
476 </reporting>
477 <dependencies>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800478 <!-- ONOS's direct dependencies -->
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700479 <dependency>
480 <groupId>com.esotericsoftware.kryo</groupId>
481 <artifactId>kryo</artifactId>
482 <version>2.22</version>
483 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700484 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800485 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700486 <groupId>com.thinkaurelius.titan</groupId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800487 <artifactId>titan-core</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800488 <version>0.4.2</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200489 <exclusions>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800490 <exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200491 <groupId>org.slf4j</groupId>
492 <artifactId>slf4j-log4j12</artifactId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800493 </exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200494 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700495 </dependency>
496 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800497 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700498 <groupId>com.tinkerpop</groupId>
499 <artifactId>frames</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800500 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700501 </dependency>
502 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800503 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700504 <groupId>com.tinkerpop.blueprints</groupId>
505 <artifactId>blueprints-core</artifactId>
Yuta HIGUCHIcc8b1012014-01-24 09:14:39 -0800506 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700507 </dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800508 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800509 <!-- remove me after BluePrint clean up -->
510 <groupId>com.tinkerpop.rexster</groupId>
511 <artifactId>rexster-core</artifactId>
512 <version>2.4.0</version>
yoshi28bac132014-01-22 11:00:17 -0800513 </dependency>
514 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800515 <groupId>com.google.protobuf</groupId>
516 <artifactId>protobuf-java</artifactId>
517 <version>2.5.0</version>
yoshi28bac132014-01-22 11:00:17 -0800518 </dependency>
519 <dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800520 <groupId>com.hazelcast</groupId>
521 <artifactId>hazelcast</artifactId>
522 <version>3.0.2</version>
523 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700524 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700525 <groupId>net.sf.json-lib</groupId>
526 <artifactId>json-lib</artifactId>
527 <version>2.4</version>
528 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700529 </dependency>
530 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700531 <groupId>org.restlet.jse</groupId>
532 <artifactId>org.restlet</artifactId>
533 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700534 </dependency>
535 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700536 <groupId>org.restlet.jse</groupId>
537 <artifactId>org.restlet.ext.slf4j</artifactId>
538 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700539 </dependency>
540 <dependency>
541 <groupId>org.codehaus.jackson</groupId>
542 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700543 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700544 </dependency>
545 <dependency>
546 <groupId>org.codehaus.jackson</groupId>
547 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700548 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700549 </dependency>
550 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700551 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700552 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700553 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700554 <scope>runtime</scope>
555 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800556 <dependency>
557 <groupId>commons-configuration</groupId>
558 <artifactId>commons-configuration</artifactId>
559 <version>1.6</version>
560 </dependency>
561 <dependency>
562 <groupId>com.google.guava</groupId>
563 <artifactId>guava</artifactId>
564 <version>14.0.1</version>
565 </dependency>
566 <dependency>
567 <!-- Used in net.onrc.onos.ofcontroller.bgproute.RestClient.get(String), but not sure if it is really required -->
568 <groupId>commons-httpclient</groupId>
569 <artifactId>commons-httpclient</artifactId>
570 <version>3.1</version>
571 </dependency>
572 <dependency>
573 <groupId>org.apache.zookeeper</groupId>
574 <artifactId>zookeeper</artifactId>
575 <version>3.4.5</version>
576 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700577 <!-- Floodlight's dependencies -->
578 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700579 <groupId>org.slf4j</groupId>
580 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700581 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700582 </dependency>
583 <dependency>
584 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700585 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700586 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700587 </dependency>
588 <dependency>
589 <groupId>org.restlet.jse</groupId>
590 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700591 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700592 </dependency>
593 <dependency>
594 <groupId>org.simpleframework</groupId>
595 <artifactId>simple</artifactId>
596 <version>4.1.21</version>
597 </dependency>
598 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700599 <groupId>io.netty</groupId>
600 <artifactId>netty-all</artifactId>
601 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700602 </dependency>
603 <dependency>
604 <groupId>args4j</groupId>
605 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700606 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700607 </dependency>
608 <dependency>
609 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
610 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700611 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700612 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700613 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700614 <groupId>com.google.inject</groupId>
615 <artifactId>guice</artifactId>
616 <version>3.0</version>
617 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800618 <dependency>
619 <!-- dependency to old version of netty? -->
620 <groupId>org.jboss.netty</groupId>
621 <artifactId>netty</artifactId>
622 <version>3.2.7.Final</version>
623 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700624 <!-- Dependency for libraries used for testing -->
625 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700626 <groupId>junit</groupId>
627 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700628 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700629 <scope>test</scope>
630 </dependency>
631 <dependency>
Ray Milkey6688cd82014-03-11 16:40:46 -0700632 <groupId>org.hamcrest</groupId>
633 <artifactId>hamcrest-core</artifactId>
634 <version>1.3</version>
635 <scope>test</scope>
636 </dependency>
637 <dependency>
638 <groupId>org.hamcrest</groupId>
639 <artifactId>hamcrest-library</artifactId>
640 <version>1.3</version>
641 <scope>test</scope>
642 </dependency>
643 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700644 <groupId>org.easymock</groupId>
645 <artifactId>easymock</artifactId>
yoshif5a6a502013-11-25 09:30:35 -0800646 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700647 <scope>test</scope>
648 </dependency>
649 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700650 <groupId>org.powermock</groupId>
651 <artifactId>powermock-module-junit4</artifactId>
652 <version>${powermock.version}</version>
653 <scope>test</scope>
654 </dependency>
655 <dependency>
656 <groupId>org.powermock</groupId>
657 <artifactId>powermock-api-easymock</artifactId>
658 <version>${powermock.version}</version>
659 <scope>test</scope>
660 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800661 <dependency>
662 <groupId>commons-io</groupId>
663 <artifactId>commons-io</artifactId>
664 <version>2.1</version>
665 <scope>test</scope>
666 </dependency>
Jonathan Hart116b1fe2014-03-14 18:53:47 -0700667 <dependency>
668 <groupId>org.apache.curator</groupId>
669 <artifactId>curator-framework</artifactId>
670 <version>2.4.1</version>
671 </dependency>
672 <dependency>
673 <groupId>org.apache.curator</groupId>
674 <artifactId>curator-client</artifactId>
675 <version>2.4.1</version>
676 </dependency>
677 <dependency>
678 <groupId>org.apache.curator</groupId>
679 <artifactId>curator-recipes</artifactId>
680 <version>2.4.1</version>
681 </dependency>
682 <dependency>
683 <groupId>org.apache.curator</groupId>
684 <artifactId>curator-x-discovery</artifactId>
685 <version>2.4.1</version>
686 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700687 </dependencies>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700688 <profiles>
689 <!-- Jenkins by default defines a property BUILD_NUMBER which is used to
690 enable the profile. -->
691 <profile>
692 <id>jenkins</id>
693 <activation>
694 <property>
695 <name>env.BUILD_NUMBER</name>
696 </property>
697 </activation>
698 <build>
699 <plugins>
700 <plugin>
701 <groupId>org.codehaus.mojo</groupId>
702 <artifactId>cobertura-maven-plugin</artifactId>
703 <version>${cobertura-maven-plugin.version}</version>
704 <configuration>
705 <formats>
706 <format>xml</format>
707 </formats>
708 </configuration>
709 <executions>
710 <execution>
711 <phase>package</phase>
712 <goals>
713 <goal>cobertura</goal>
714 </goals>
715 </execution>
716 </executions>
717 </plugin>
718 </plugins>
719 </build>
720 </profile>
721 </profiles>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700722</project>