blob: 5c172e2ab700e28dd5e8b3c7c33c19005b95d4ea [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 HIGUCHI01c5ed92014-03-18 11:08:22 -070039 <checkstyle-plugin.version>2.12</checkstyle-plugin.version>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -080040 <!-- To publish javadoc to github,
41 uncomment com.github.github site-maven-plugin and
42 see https://github.com/OPENNETWORKINGLAB/ONOS/pull/425
43 <github.global.server>github</github.global.server>
44 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070045 </properties>
46 <build>
47 <plugins>
48 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080049 <!-- Note: the checkstyle configuration is also in the reporting section -->
50 <groupId>org.apache.maven.plugins</groupId>
51 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070052 <version>${checkstyle-plugin.version}</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080053 <configuration>
54 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
55 </configuration>
56 </plugin>
57 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070058 <groupId>org.apache.maven.plugins</groupId>
59 <artifactId>maven-install-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070060 <version>2.5.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070061 <executions>
62 </executions>
63 </plugin>
64 <!-- guice maven plugin for dependency injection inside maven -->
65 <plugin>
66 <groupId>org.apache.camel</groupId>
67 <artifactId>guice-maven-plugin</artifactId>
68 <version>2.11.0</version>
69 </plugin>
70 <!-- compile -->
71 <plugin>
72 <groupId>org.apache.maven.plugins</groupId>
73 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070074 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070075 <configuration>
Yuta HIGUCHI641d9992013-12-18 16:40:45 -080076 <source>1.7</source>
77 <target>1.7</target>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070078 <encoding>UTF-8</encoding>
79 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070080 <executions>
81 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070082 </plugin>
83 <!-- test -->
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -070087 <version>2.16</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070088 <configuration>
89 <excludes>
90 <!-- exclude all test cases for now -->
91 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
92 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070093 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070094 <exclude>**/test/*</exclude>
95 <exclude>**/Test*.java</exclude>
96 <exclude>**/*Test.java</exclude>
97 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070098 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070099 </excludes>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -0700100 <argLine>-XX:MaxPermSize=256m</argLine>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800101 <redirectTestOutputToFile>true</redirectTestOutputToFile>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700102 </configuration>
103 </plugin>
104 <!-- exec:java -->
105 <plugin>
106 <groupId>org.codehaus.mojo</groupId>
107 <artifactId>exec-maven-plugin</artifactId>
108 <version>1.2.1</version>
109 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -0700110 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700111 </configuration>
112 <executions>
113 </executions>
114 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200115 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700116 <groupId>org.codehaus.mojo</groupId>
117 <artifactId>build-helper-maven-plugin</artifactId>
118 <version>1.7</version>
119 <executions>
120 <execution>
121 <id>add-source</id>
122 <phase>generate-sources</phase>
123 <goals>
124 <goal>add-source</goal>
125 </goals>
126 <configuration>
127 <sources>
128 <source>lib/gen-java</source>
129 </sources>
130 </configuration>
131 </execution>
132 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200133 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700137 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700138 <configuration>
139 <charset>UTF-8</charset>
140 <locale>en</locale>
141 </configuration>
142 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700143<!-- Remove me when we're sure that system test no longer need JaCoCo
timlindberg8b13e702013-07-17 14:45:50 -0700144 <plugin>
145 <groupId>org.jacoco</groupId>
146 <artifactId>jacoco-maven-plugin</artifactId>
147 <version>0.6.3.201306030806</version>
timlindberg8b13e702013-07-17 14:45:50 -0700148 <executions>
149 <execution>
150 <id>jacoco-initialize</id>
151 <goals>
152 <goal>prepare-agent</goal>
153 </goals>
154 </execution>
155 <execution>
156 <id>jacoco-site</id>
157 <phase>package</phase>
158 <goals>
159 <goal>report</goal>
160 </goals>
161 </execution>
162 </executions>
163 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700164-->
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800165 <!--
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700166 <plugin>
167 <groupId>com.github.github</groupId>
168 <artifactId>site-maven-plugin</artifactId>
169 <version>0.8</version>
170 <configuration>
171 <message>Creating site for ${project.version}</message>
172 <dryRun>true</dryRun>
173 <repositoryName>ONOS</repositoryName>
174 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800175 <path>javadoc/${project.version}/</path>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700176 </configuration>
177 <executions>
178 <execution>
179 <goals>
180 <goal>site</goal>
181 </goals>
182 <phase>site</phase>
183 </execution>
184 </executions>
185 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800186 -->
Jonathan Hart2c61a502013-10-18 18:12:26 -0700187 <plugin>
188 <artifactId>maven-assembly-plugin</artifactId>
189 <configuration>
190 <descriptorRefs>
191 <descriptorRef>jar-with-dependencies</descriptorRef>
192 </descriptorRefs>
193 </configuration>
194 </plugin>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800195 <plugin>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-dependency-plugin</artifactId>
198 <version>2.8</version>
199 <executions>
200 <execution>
201 <id>build-classpath</id>
202 <phase>generate-sources</phase>
203 <goals>
204 <goal>build-classpath</goal>
205 </goals>
206 <configuration>
Yuta HIGUCHIb561efa2013-12-20 01:35:04 -0800207 <outputFile>${project.basedir}/.javacp</outputFile>
208 </configuration>
209 </execution>
210 </executions>
211 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700212 <plugin>
213 <groupId>org.codehaus.mojo</groupId>
214 <artifactId>cobertura-maven-plugin</artifactId>
215 <version>${cobertura-maven-plugin.version}</version>
216 <configuration>
217 <instrumentation>
218 <ignores>
219 <ignore>org.slf4j.*</ignore>
220 <ignore>com.tinkerpop.*</ignore>
221 </ignores>
222 <excludes>
223 <exclude>org/openflow/**/*.class</exclude>
224 <exclude>net/floodlightcontroller/**/web/**/*.class</exclude>
225 </excludes>
226 </instrumentation>
227 </configuration>
228 <executions>
229 <execution>
230 <goals>
231 <goal>clean</goal>
232 </goals>
233 </execution>
234 </executions>
235 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700236 <!-- Note: the findbugs configuration is also in the reporting section -->
237 <plugin>
238 <groupId>org.codehaus.mojo</groupId>
239 <artifactId>findbugs-maven-plugin</artifactId>
240 <version>${findbugs-plugin.version}</version>
241 <configuration>
242 <effort>${findbugs.effort}</effort>
243 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
244 </configuration>
245 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700246 </plugins>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800247 <pluginManagement>
248 <plugins>
249 <!--This plugin's configuration is used to store Eclipse m2e settings
250 only. It has no influence on the Maven build itself. -->
251 <plugin>
252 <groupId>org.eclipse.m2e</groupId>
253 <artifactId>lifecycle-mapping</artifactId>
254 <version>1.0.0</version>
255 <configuration>
256 <lifecycleMappingMetadata>
257 <pluginExecutions>
258 <pluginExecution>
259 <pluginExecutionFilter>
260 <groupId>
261 org.apache.maven.plugins
262 </groupId>
263 <artifactId>
264 maven-dependency-plugin
265 </artifactId>
266 <versionRange>[2.8,)</versionRange>
267 <goals>
268 <goal>build-classpath</goal>
269 </goals>
270 </pluginExecutionFilter>
271 <action>
272 <ignore></ignore>
273 </action>
274 </pluginExecution>
275 </pluginExecutions>
276 </lifecycleMappingMetadata>
277 </configuration>
278 </plugin>
279 </plugins>
280 </pluginManagement>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700281 </build>
282 <!-- for getting visualization reporting -->
283 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700284 <excludeDefaults>true</excludeDefaults>
285 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700286 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700287 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700288 <plugin>
289 <groupId>org.apache.camel</groupId>
290 <artifactId>guice-maven-plugin</artifactId>
291 <version>2.11.0</version>
292 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700293 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700294 <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-project-info-reports-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700297 <version>2.7</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700298 <configuration>
299 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
300 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
301 </configuration>
302 <reportSets>
303 <reportSet>
304 <reports>
305 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700306 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700307 <report>scm</report>
308 </reports>
309 </reportSet>
310 </reportSets>
311 </plugin>
312 <plugin>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700315 <version>2.9.1</version>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700316 <configuration>
317 <charset>UTF-8</charset>
318 <locale>en</locale>
319 </configuration>
320 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800321 <plugin>
322 <!-- Note: the checkstyle configuration is also in the build section -->
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700325 <version>${checkstyle-plugin.version}</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800326 <configuration>
327 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700328 <!--
329 Note: Exclusion definition exists in multiple places.
330 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
331 - maven-checkstyle-plugin configuration in pom.xml
332 - maven-pmd-plugin configuration in pom.xml
333 -->
334 <excludes>**/RCProtos.java,**/RamCloudGraphProtos.java</excludes>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800335 </configuration>
336 <reportSets>
337 <reportSet>
338 <reports>
339 <report>checkstyle</report>
340 </reports>
341 </reportSet>
342 </reportSets>
343 </plugin>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700344 <!-- Note: the findbugs configuration is also in the build section -->
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800345 <plugin>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700346 <groupId>org.codehaus.mojo</groupId>
347 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700348 <version>${findbugs-plugin.version}</version>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700349 <configuration>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700350 <effort>${findbugs.effort}</effort>
351 <excludeFilterFile>${findbugs.excludeFilterFile}</excludeFilterFile>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700352 <reportPlugins>
353 <plugin>
354 <groupId>org.codehaus.mojo</groupId>
355 <artifactId>findbugs-maven-plugin</artifactId>
356 </plugin>
357 </reportPlugins>
358 </configuration>
359 </plugin>
360 <plugin>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700363 <version>3.1</version>
Yuta HIGUCHI6cab6382014-03-17 13:47:38 -0700364 <configuration>
365 <!--
366 Note: Exclusion definition exists in multiple places.
367 - In file ${findbugs.excludeFilterFile} defined at top of pom.xml
368 - maven-checkstyle-plugin configuration in pom.xml
369 - maven-pmd-plugin configuration in pom.xml
370 -->
371 <excludes>
372 <exclude>**/RCProtos.java</exclude>
373 <exclude>**/RamCloudGraphProtos.java</exclude>
374 </excludes>
375 </configuration>
Ray Milkey8d3a2f02014-03-10 18:13:35 -0700376 </plugin>
377 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-jxr-plugin</artifactId>
Yuta HIGUCHI01c5ed92014-03-18 11:08:22 -0700380 <version>2.4</version>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800381 </plugin>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700382 <plugin>
383 <groupId>org.codehaus.mojo</groupId>
384 <artifactId>cobertura-maven-plugin</artifactId>
385 <version>${cobertura-maven-plugin.version}</version>
386 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700387 </plugins>
388 </reporting>
389 <dependencies>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800390 <!-- ONOS's direct dependencies -->
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700391 <dependency>
392 <groupId>com.esotericsoftware.kryo</groupId>
393 <artifactId>kryo</artifactId>
394 <version>2.22</version>
395 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700396 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800397 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700398 <groupId>com.thinkaurelius.titan</groupId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800399 <artifactId>titan-core</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800400 <version>0.4.2</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200401 <exclusions>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800402 <exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200403 <groupId>org.slf4j</groupId>
404 <artifactId>slf4j-log4j12</artifactId>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800405 </exclusion>
Jonathan Hart28182492013-06-13 15:22:03 +1200406 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700407 </dependency>
408 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800409 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700410 <groupId>com.tinkerpop</groupId>
411 <artifactId>frames</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800412 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700413 </dependency>
414 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800415 <!-- remove me after BluePrint clean up -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700416 <groupId>com.tinkerpop.blueprints</groupId>
417 <artifactId>blueprints-core</artifactId>
Yuta HIGUCHIcc8b1012014-01-24 09:14:39 -0800418 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700419 </dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800420 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800421 <!-- remove me after BluePrint clean up -->
422 <groupId>com.tinkerpop.rexster</groupId>
423 <artifactId>rexster-core</artifactId>
424 <version>2.4.0</version>
yoshi28bac132014-01-22 11:00:17 -0800425 </dependency>
426 <dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800427 <groupId>com.google.protobuf</groupId>
428 <artifactId>protobuf-java</artifactId>
429 <version>2.5.0</version>
yoshi28bac132014-01-22 11:00:17 -0800430 </dependency>
431 <dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800432 <groupId>com.hazelcast</groupId>
433 <artifactId>hazelcast</artifactId>
434 <version>3.0.2</version>
435 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700436 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700437 <groupId>net.sf.json-lib</groupId>
438 <artifactId>json-lib</artifactId>
439 <version>2.4</version>
440 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700441 </dependency>
442 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700443 <groupId>org.restlet.jse</groupId>
444 <artifactId>org.restlet</artifactId>
445 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700446 </dependency>
447 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700448 <groupId>org.restlet.jse</groupId>
449 <artifactId>org.restlet.ext.slf4j</artifactId>
450 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700451 </dependency>
452 <dependency>
453 <groupId>org.codehaus.jackson</groupId>
454 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700455 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700456 </dependency>
457 <dependency>
458 <groupId>org.codehaus.jackson</groupId>
459 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700460 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700461 </dependency>
462 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700463 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700464 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700465 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700466 <scope>runtime</scope>
467 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800468 <dependency>
469 <groupId>commons-configuration</groupId>
470 <artifactId>commons-configuration</artifactId>
471 <version>1.6</version>
472 </dependency>
473 <dependency>
474 <groupId>com.google.guava</groupId>
475 <artifactId>guava</artifactId>
476 <version>14.0.1</version>
477 </dependency>
478 <dependency>
479 <!-- Used in net.onrc.onos.ofcontroller.bgproute.RestClient.get(String), but not sure if it is really required -->
480 <groupId>commons-httpclient</groupId>
481 <artifactId>commons-httpclient</artifactId>
482 <version>3.1</version>
483 </dependency>
484 <dependency>
485 <groupId>org.apache.zookeeper</groupId>
486 <artifactId>zookeeper</artifactId>
487 <version>3.4.5</version>
488 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700489 <!-- Floodlight's dependencies -->
490 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700491 <groupId>org.slf4j</groupId>
492 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700493 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700494 </dependency>
495 <dependency>
496 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700497 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700498 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700499 </dependency>
500 <dependency>
501 <groupId>org.restlet.jse</groupId>
502 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700503 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700504 </dependency>
505 <dependency>
506 <groupId>org.simpleframework</groupId>
507 <artifactId>simple</artifactId>
508 <version>4.1.21</version>
509 </dependency>
510 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700511 <groupId>io.netty</groupId>
512 <artifactId>netty-all</artifactId>
513 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700514 </dependency>
515 <dependency>
516 <groupId>args4j</groupId>
517 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700518 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700519 </dependency>
520 <dependency>
521 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
522 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700523 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700524 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200525 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700526 <groupId>org.python</groupId>
527 <artifactId>jython-standalone</artifactId>
528 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200529 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200530 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700531 <groupId>org.apache.thrift</groupId>
532 <artifactId>libthrift</artifactId>
533 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200534 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700535 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700536 <groupId>com.google.inject</groupId>
537 <artifactId>guice</artifactId>
538 <version>3.0</version>
539 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800540 <dependency>
541 <!-- dependency to old version of netty? -->
542 <groupId>org.jboss.netty</groupId>
543 <artifactId>netty</artifactId>
544 <version>3.2.7.Final</version>
545 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700546 <!-- Dependency for libraries used for testing -->
547 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700548 <groupId>junit</groupId>
549 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700550 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700551 <scope>test</scope>
552 </dependency>
553 <dependency>
Ray Milkey6688cd82014-03-11 16:40:46 -0700554 <groupId>org.hamcrest</groupId>
555 <artifactId>hamcrest-core</artifactId>
556 <version>1.3</version>
557 <scope>test</scope>
558 </dependency>
559 <dependency>
560 <groupId>org.hamcrest</groupId>
561 <artifactId>hamcrest-library</artifactId>
562 <version>1.3</version>
563 <scope>test</scope>
564 </dependency>
565 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700566 <groupId>org.easymock</groupId>
567 <artifactId>easymock</artifactId>
yoshif5a6a502013-11-25 09:30:35 -0800568 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700569 <scope>test</scope>
570 </dependency>
571 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700572 <groupId>org.powermock</groupId>
573 <artifactId>powermock-module-junit4</artifactId>
574 <version>${powermock.version}</version>
575 <scope>test</scope>
576 </dependency>
577 <dependency>
578 <groupId>org.powermock</groupId>
579 <artifactId>powermock-api-easymock</artifactId>
580 <version>${powermock.version}</version>
581 <scope>test</scope>
582 </dependency>
Yuta HIGUCHI824552a2014-03-07 13:01:06 -0800583 <dependency>
584 <groupId>commons-io</groupId>
585 <artifactId>commons-io</artifactId>
586 <version>2.1</version>
587 <scope>test</scope>
588 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700589 <!--
590 <dependency>
591 <groupId>org.objenesis</groupId>
592 <artifactId>objenesis</artifactId>
593 <version>1.2</version>
594 <scope>test</scope>
595 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700596 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700597 <groupId>cglib</groupId>
598 <artifactId>cglib-nodep</artifactId>
599 <version>2.2.2</version>
600 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700601 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700602 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700603 <dependency>
604 <groupId>com.netflix.curator</groupId>
605 <artifactId>curator-framework</artifactId>
606 <version>1.3.5-SNAPSHOT</version>
607 </dependency>
608 <dependency>
609 <groupId>com.netflix.curator</groupId>
610 <artifactId>curator-client</artifactId>
611 <version>1.3.5-SNAPSHOT</version>
612 </dependency>
613 <dependency>
614 <groupId>com.netflix.curator</groupId>
615 <artifactId>curator-recipes</artifactId>
616 <version>1.3.5-SNAPSHOT</version>
617 </dependency>
618 <dependency>
619 <groupId>com.netflix.curator</groupId>
620 <artifactId>curator-x-discovery</artifactId>
621 <version>1.3.5-SNAPSHOT</version>
622 </dependency>
623 <!--
624 <dependency>
625 <groupId>net.floodlightcontroller</groupId>
626 <artifactId>packetstreamer-thrift</artifactId>
627 <version>0.1.0</version>
628 </dependency>
629 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700630 </dependencies>
Yuta HIGUCHI889958b2014-03-12 12:05:47 -0700631 <profiles>
632 <!-- Jenkins by default defines a property BUILD_NUMBER which is used to
633 enable the profile. -->
634 <profile>
635 <id>jenkins</id>
636 <activation>
637 <property>
638 <name>env.BUILD_NUMBER</name>
639 </property>
640 </activation>
641 <build>
642 <plugins>
643 <plugin>
644 <groupId>org.codehaus.mojo</groupId>
645 <artifactId>cobertura-maven-plugin</artifactId>
646 <version>${cobertura-maven-plugin.version}</version>
647 <configuration>
648 <formats>
649 <format>xml</format>
650 </formats>
651 </configuration>
652 <executions>
653 <execution>
654 <phase>package</phase>
655 <goals>
656 <goal>cobertura</goal>
657 </goals>
658 </execution>
659 </executions>
660 </plugin>
661 </plugins>
662 </build>
663 </profile>
664 </profiles>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700665</project>