blob: 32fff076c4ec04422912c0aac2b545ce36e42283 [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>
Yuta HIGUCHId62fb872014-01-02 10:40:32 -080014 <!-- In Project repository -->
15 <repository>
16 <id>in-project</id>
17 <name>In Project Repo</name>
18 <url>file://${project.basedir}/repo</url>
19 </repository>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070020 <repository>
21 <id>central</id>
22 <name>Maven Central repository</name>
23 <url>http://repo1.maven.org/maven2</url>
24 </repository>
25 <repository>
26 <id>maven-restlet</id>
27 <name>Public online Restlet repository</name>
28 <url>http://maven.restlet.org</url>
29 </repository>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070030 </repositories>
31 <properties>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
yoshi2fd4c7e2013-11-22 15:47:55 -080033 <powermock.version>1.5.1</powermock.version>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -080034 <restlet.version>2.1.4</restlet.version>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -070035 <cobertura-maven-plugin.version>2.6</cobertura-maven-plugin.version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -070036 <findbugs-plugin.version>2.5.3</findbugs-plugin.version>
37 <findbugs.effort>Max</findbugs.effort>
38 <findbugs.excludeFilterFile>conf/findbugs/exclude.xml</findbugs.excludeFilterFile>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -080039 <!-- To publish javadoc to github,
40 uncomment com.github.github site-maven-plugin and
41 see https://github.com/OPENNETWORKINGLAB/ONOS/pull/425
42 <github.global.server>github</github.global.server>
43 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070044 </properties>
45 <build>
46 <plugins>
47 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080048 <!-- Note: the checkstyle configuration is also in the reporting section -->
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-checkstyle-plugin</artifactId>
51 <version>2.11</version>
52 <configuration>
53 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
54 </configuration>
55 </plugin>
56 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070057 <groupId>org.apache.maven.plugins</groupId>
58 <artifactId>maven-install-plugin</artifactId>
59 <version>2.3.1</version>
60 <executions>
61 </executions>
62 </plugin>
63 <!-- guice maven plugin for dependency injection inside maven -->
64 <plugin>
65 <groupId>org.apache.camel</groupId>
66 <artifactId>guice-maven-plugin</artifactId>
67 <version>2.11.0</version>
68 </plugin>
69 <!-- compile -->
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-compiler-plugin</artifactId>
73 <version>2.3.2</version>
74 <configuration>
Yuta HIGUCHI641d9992013-12-18 16:40:45 -080075 <source>1.7</source>
76 <target>1.7</target>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070077 <encoding>UTF-8</encoding>
78 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070079 <executions>
80 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070081 </plugin>
82 <!-- test -->
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-surefire-plugin</artifactId>
86 <version>2.12</version>
87 <configuration>
88 <excludes>
89 <!-- exclude all test cases for now -->
90 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
91 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070092 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070093 <exclude>**/test/*</exclude>
94 <exclude>**/Test*.java</exclude>
95 <exclude>**/*Test.java</exclude>
96 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070097 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070098 </excludes>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -070099 <argLine>-XX:MaxPermSize=256m</argLine>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800100 <redirectTestOutputToFile>true</redirectTestOutputToFile>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700101 </configuration>
102 </plugin>
103 <!-- exec:java -->
104 <plugin>
105 <groupId>org.codehaus.mojo</groupId>
106 <artifactId>exec-maven-plugin</artifactId>
107 <version>1.2.1</version>
108 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -0700109 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700110 </configuration>
111 <executions>
112 </executions>
113 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200114 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>build-helper-maven-plugin</artifactId>
117 <version>1.7</version>
118 <executions>
119 <execution>
120 <id>add-source</id>
121 <phase>generate-sources</phase>
122 <goals>
123 <goal>add-source</goal>
124 </goals>
125 <configuration>
126 <sources>
127 <source>lib/gen-java</source>
128 </sources>
129 </configuration>
130 </execution>
131 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200132 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-javadoc-plugin</artifactId>
136 <version>2.9</version>
137 <configuration>
138 <charset>UTF-8</charset>
139 <locale>en</locale>
140 </configuration>
141 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700142<!-- Remove me when we're sure that system test no longer need JaCoCo
timlindberg8b13e702013-07-17 14:45:50 -0700143 <plugin>
144 <groupId>org.jacoco</groupId>
145 <artifactId>jacoco-maven-plugin</artifactId>
146 <version>0.6.3.201306030806</version>
timlindberg8b13e702013-07-17 14:45:50 -0700147 <executions>
148 <execution>
149 <id>jacoco-initialize</id>
150 <goals>
151 <goal>prepare-agent</goal>
152 </goals>
153 </execution>
154 <execution>
155 <id>jacoco-site</id>
156 <phase>package</phase>
157 <goals>
158 <goal>report</goal>
159 </goals>
160 </execution>
161 </executions>
162 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700163-->
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800164 <!--
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700165 <plugin>
166 <groupId>com.github.github</groupId>
167 <artifactId>site-maven-plugin</artifactId>
168 <version>0.8</version>
169 <configuration>
170 <message>Creating site for ${project.version}</message>
171 <dryRun>true</dryRun>
172 <repositoryName>ONOS</repositoryName>
173 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800174 <path>javadoc/${project.version}/</path>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700175 </configuration>
176 <executions>
177 <execution>
178 <goals>
179 <goal>site</goal>
180 </goals>
181 <phase>site</phase>
182 </execution>
183 </executions>
184 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800185 -->
Jonathan Hart2c61a502013-10-18 18:12:26 -0700186 <plugin>
187 <artifactId>maven-assembly-plugin</artifactId>
188 <configuration>
189 <descriptorRefs>
190 <descriptorRef>jar-with-dependencies</descriptorRef>
191 </descriptorRefs>
192 </configuration>
193 </plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-dependency-plugin</artifactId>
197 <version>2.8</version>
198 <executions>
199 <execution>
200 <id>build-classpath</id>
201 <phase>generate-sources</phase>
202 <goals>
203 <goal>build-classpath</goal>
204 </goals>
205 <configuration>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800206 <outputFile>${project.basedir}/.javacp</outputFile>
207 </configuration>
208 </execution>
209 </executions>
210 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700211 <plugin>
212 <groupId>org.codehaus.mojo</groupId>
213 <artifactId>cobertura-maven-plugin</artifactId>
214 <version>${cobertura-maven-plugin.version}</version>
215 <configuration>
216 <instrumentation>
217 <ignores>
218 <ignore>org.slf4j.*</ignore>
219 <ignore>com.tinkerpop.*</ignore>
220 </ignores>
221 <excludes>
222 <exclude>org/openflow/**/*.class</exclude>
223 <exclude>net/floodlightcontroller/**/web/**/*.class</exclude>
224 </excludes>
225 </instrumentation>
226 </configuration>
227 <executions>
228 <execution>
229 <goals>
230 <goal>clean</goal>
231 </goals>
232 </execution>
233 </executions>
234 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700235 <!-- Note: the findbugs configuration is also in the reporting section -->
236 <plugin>
237 <groupId>org.codehaus.mojo</groupId>
238 <artifactId>findbugs-maven-plugin</artifactId>
239 <version>${findbugs-plugin.version}</version>
240 <configuration>
241 <effort>${findbugs.effort}</effort>
242 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
243 </configuration>
244 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700245 </plugins>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800246 <pluginManagement>
247 <plugins>
248 <!--This plugin's configuration is used to store Eclipse m2e settings
249 only. It has no influence on the Maven build itself. -->
250 <plugin>
251 <groupId>org.eclipse.m2e</groupId>
252 <artifactId>lifecycle-mapping</artifactId>
253 <version>1.0.0</version>
254 <configuration>
255 <lifecycleMappingMetadata>
256 <pluginExecutions>
257 <pluginExecution>
258 <pluginExecutionFilter>
259 <groupId>
260 org.apache.maven.plugins
261 </groupId>
262 <artifactId>
263 maven-dependency-plugin
264 </artifactId>
265 <versionRange>[2.8,)</versionRange>
266 <goals>
267 <goal>build-classpath</goal>
268 </goals>
269 </pluginExecutionFilter>
270 <action>
271 <ignore></ignore>
272 </action>
273 </pluginExecution>
274 </pluginExecutions>
275 </lifecycleMappingMetadata>
276 </configuration>
277 </plugin>
278 </plugins>
279 </pluginManagement>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700280 </build>
281 <!-- for getting visualization reporting -->
282 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700283 <excludeDefaults>true</excludeDefaults>
284 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700285 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700286 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700287 <plugin>
288 <groupId>org.apache.camel</groupId>
289 <artifactId>guice-maven-plugin</artifactId>
290 <version>2.11.0</version>
291 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700292 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700293 <plugin>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-project-info-reports-plugin</artifactId>
296 <version>2.4</version>
297 <configuration>
298 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
299 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
300 </configuration>
301 <reportSets>
302 <reportSet>
303 <reports>
304 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700305 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700306 <report>scm</report>
307 </reports>
308 </reportSet>
309 </reportSets>
310 </plugin>
311 <plugin>
312 <groupId>org.apache.maven.plugins</groupId>
313 <artifactId>maven-javadoc-plugin</artifactId>
314 <version>2.9</version>
315 <configuration>
316 <charset>UTF-8</charset>
317 <locale>en</locale>
318 </configuration>
319 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800320 <plugin>
321 <!-- Note: the checkstyle configuration is also in the build section -->
322 <groupId>org.apache.maven.plugins</groupId>
323 <artifactId>maven-checkstyle-plugin</artifactId>
324 <version>2.11</version>
325 <configuration>
326 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700327 <!--
328 Note: Exclusion definition exists in multiple places.
329 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
330 - maven-checkstyle-plugin configuration in pom.xml
331 - maven-pmd-plugin configuration in pom.xml
332 -->
333 <excludes>**/RCProtos.java,**/RamCloudGraphProtos.java</excludes>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800334 </configuration>
335 <reportSets>
336 <reportSet>
337 <reports>
338 <report>checkstyle</report>
339 </reports>
340 </reportSet>
341 </reportSets>
342 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700343 <!-- Note: the findbugs configuration is also in the build section -->
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800344 <plugin>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700345 <groupId>org.codehaus.mojo</groupId>
346 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700347 <version>${findbugs-plugin.version}</version>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700348 <configuration>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700349 <effort>${findbugs.effort}</effort>
350 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700351 <reportPlugins>
352 <plugin>
353 <groupId>org.codehaus.mojo</groupId>
354 <artifactId>findbugs-maven-plugin</artifactId>
355 </plugin>
356 </reportPlugins>
357 </configuration>
358 </plugin>
359 <plugin>
360 <groupId>org.apache.maven.plugins</groupId>
361 <artifactId>maven-pmd-plugin</artifactId>
362 <version>3.0.1</version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700363 <configuration>
364 <!--
365 Note: Exclusion definition exists in multiple places.
366 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
367 - maven-checkstyle-plugin configuration in pom.xml
368 - maven-pmd-plugin configuration in pom.xml
369 -->
370 <excludes>
371 <exclude>**/RCProtos.java</exclude>
372 <exclude>**/RamCloudGraphProtos.java</exclude>
373 </excludes>
374 </configuration>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700375 </plugin>
376 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800377 <groupId>org.apache.maven.plugins</groupId>
378 <artifactId>maven-jxr-plugin</artifactId>
379 <version>2.3</version>
380 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700381 <plugin>
382 <groupId>org.codehaus.mojo</groupId>
383 <artifactId>cobertura-maven-plugin</artifactId>
384 <version>${cobertura-maven-plugin.version}</version>
385 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700386 </plugins>
387 </reporting>
388 <dependencies>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800389 <!-- ONOS's direct dependencies -->
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700390 <dependency>
391 <groupId>com.esotericsoftware.kryo</groupId>
392 <artifactId>kryo</artifactId>
393 <version>2.22</version>
394 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700395 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800396 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700397 <groupId>com.thinkaurelius.titan</groupId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800398 <artifactId>titan-core</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800399 <version>0.4.2</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200400 <exclusions>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800401 <exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200402 <groupId>org.slf4j</groupId>
403 <artifactId>slf4j-log4j12</artifactId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800404 </exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200405 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700406 </dependency>
407 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800408 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700409 <groupId>com.tinkerpop</groupId>
410 <artifactId>frames</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800411 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700412 </dependency>
413 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800414 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700415 <groupId>com.tinkerpop.blueprints</groupId>
416 <artifactId>blueprints-core</artifactId>
Yuta HIGUCHIcc8b1012014-01-24 09:14:39 -0800417 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700418 </dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800419 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800420 <!-- remove me after BluePrint clean up -->
421 <groupId>com.tinkerpop.rexster</groupId>
422 <artifactId>rexster-core</artifactId>
423 <version>2.4.0</version>
yoshi28bac132014-01-22 11:00:17 -0800424 </dependency>
425 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800426 <groupId>com.google.protobuf</groupId>
427 <artifactId>protobuf-java</artifactId>
428 <version>2.5.0</version>
yoshi28bac132014-01-22 11:00:17 -0800429 </dependency>
430 <dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800431 <groupId>com.hazelcast</groupId>
432 <artifactId>hazelcast</artifactId>
433 <version>3.0.2</version>
434 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700435 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700436 <groupId>net.sf.json-lib</groupId>
437 <artifactId>json-lib</artifactId>
438 <version>2.4</version>
439 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700440 </dependency>
441 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700442 <groupId>org.restlet.jse</groupId>
443 <artifactId>org.restlet</artifactId>
444 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700445 </dependency>
446 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700447 <groupId>org.restlet.jse</groupId>
448 <artifactId>org.restlet.ext.slf4j</artifactId>
449 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700450 </dependency>
451 <dependency>
452 <groupId>org.codehaus.jackson</groupId>
453 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700454 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700455 </dependency>
456 <dependency>
457 <groupId>org.codehaus.jackson</groupId>
458 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700459 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700460 </dependency>
461 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700462 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700463 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700464 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700465 <scope>runtime</scope>
466 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800467 <dependency>
468 <groupId>commons-configuration</groupId>
469 <artifactId>commons-configuration</artifactId>
470 <version>1.6</version>
471 </dependency>
472 <dependency>
473 <groupId>com.google.guava</groupId>
474 <artifactId>guava</artifactId>
475 <version>14.0.1</version>
476 </dependency>
477 <dependency>
478 <!-- Used in net.onrc.onos.ofcontroller.bgproute.RestClient.get(String), but not sure if it is really required -->
479 <groupId>commons-httpclient</groupId>
480 <artifactId>commons-httpclient</artifactId>
481 <version>3.1</version>
482 </dependency>
483 <dependency>
484 <groupId>org.apache.zookeeper</groupId>
485 <artifactId>zookeeper</artifactId>
486 <version>3.4.5</version>
487 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700488 <!-- Floodlight's dependencies -->
489 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700490 <groupId>org.slf4j</groupId>
491 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700492 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700493 </dependency>
494 <dependency>
495 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700496 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700497 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700498 </dependency>
499 <dependency>
500 <groupId>org.restlet.jse</groupId>
501 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700502 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700503 </dependency>
504 <dependency>
505 <groupId>org.simpleframework</groupId>
506 <artifactId>simple</artifactId>
507 <version>4.1.21</version>
508 </dependency>
509 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700510 <groupId>io.netty</groupId>
511 <artifactId>netty-all</artifactId>
512 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700513 </dependency>
514 <dependency>
515 <groupId>args4j</groupId>
516 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700517 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700518 </dependency>
519 <dependency>
520 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
521 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700522 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700523 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200524 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700525 <groupId>org.python</groupId>
526 <artifactId>jython-standalone</artifactId>
527 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200528 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200529 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700530 <groupId>org.apache.thrift</groupId>
531 <artifactId>libthrift</artifactId>
532 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200533 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700534 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700535 <groupId>com.google.inject</groupId>
536 <artifactId>guice</artifactId>
537 <version>3.0</version>
538 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800539 <dependency>
540 <!-- dependency to old version of netty? -->
541 <groupId>org.jboss.netty</groupId>
542 <artifactId>netty</artifactId>
543 <version>3.2.7.Final</version>
544 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700545 <!-- Dependency for libraries used for testing -->
546 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700547 <groupId>junit</groupId>
548 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700549 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700550 <scope>test</scope>
551 </dependency>
552 <dependency>
Ray Milkey6688cd82014-03-11 16:40:46 -0700553 <groupId>org.hamcrest</groupId>
554 <artifactId>hamcrest-core</artifactId>
555 <version>1.3</version>
556 <scope>test</scope>
557 </dependency>
558 <dependency>
559 <groupId>org.hamcrest</groupId>
560 <artifactId>hamcrest-library</artifactId>
561 <version>1.3</version>
562 <scope>test</scope>
563 </dependency>
564 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700565 <groupId>org.easymock</groupId>
566 <artifactId>easymock</artifactId>
yoshif5a6a502013-11-25 09:30:35 -0800567 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700568 <scope>test</scope>
569 </dependency>
570 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700571 <groupId>org.powermock</groupId>
572 <artifactId>powermock-module-junit4</artifactId>
573 <version>${powermock.version}</version>
574 <scope>test</scope>
575 </dependency>
576 <dependency>
577 <groupId>org.powermock</groupId>
578 <artifactId>powermock-api-easymock</artifactId>
579 <version>${powermock.version}</version>
580 <scope>test</scope>
581 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800582 <dependency>
583 <groupId>commons-io</groupId>
584 <artifactId>commons-io</artifactId>
585 <version>2.1</version>
586 <scope>test</scope>
587 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700588 <!--
589 <dependency>
590 <groupId>org.objenesis</groupId>
591 <artifactId>objenesis</artifactId>
592 <version>1.2</version>
593 <scope>test</scope>
594 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700595 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700596 <groupId>cglib</groupId>
597 <artifactId>cglib-nodep</artifactId>
598 <version>2.2.2</version>
599 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700600 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700601 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700602 <dependency>
603 <groupId>com.netflix.curator</groupId>
604 <artifactId>curator-framework</artifactId>
605 <version>1.3.5-SNAPSHOT</version>
606 </dependency>
607 <dependency>
608 <groupId>com.netflix.curator</groupId>
609 <artifactId>curator-client</artifactId>
610 <version>1.3.5-SNAPSHOT</version>
611 </dependency>
612 <dependency>
613 <groupId>com.netflix.curator</groupId>
614 <artifactId>curator-recipes</artifactId>
615 <version>1.3.5-SNAPSHOT</version>
616 </dependency>
617 <dependency>
618 <groupId>com.netflix.curator</groupId>
619 <artifactId>curator-x-discovery</artifactId>
620 <version>1.3.5-SNAPSHOT</version>
621 </dependency>
622 <!--
623 <dependency>
624 <groupId>net.floodlightcontroller</groupId>
625 <artifactId>packetstreamer-thrift</artifactId>
626 <version>0.1.0</version>
627 </dependency>
628 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700629 </dependencies>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700630 <profiles>
631 <!-- Jenkins by default defines a property BUILD_NUMBER which is used to
632 enable the profile. -->
633 <profile>
634 <id>jenkins</id>
635 <activation>
636 <property>
637 <name>env.BUILD_NUMBER</name>
638 </property>
639 </activation>
640 <build>
641 <plugins>
642 <plugin>
643 <groupId>org.codehaus.mojo</groupId>
644 <artifactId>cobertura-maven-plugin</artifactId>
645 <version>${cobertura-maven-plugin.version}</version>
646 <configuration>
647 <formats>
648 <format>xml</format>
649 </formats>
650 </configuration>
651 <executions>
652 <execution>
653 <phase>package</phase>
654 <goals>
655 <goal>cobertura</goal>
656 </goals>
657 </execution>
658 </executions>
659 </plugin>
660 </plugins>
661 </build>
662 </profile>
663 </profiles>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700664</project>