blob: c1e573244ff17455a40a354ac90f0883fd8b92ff [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>
yoshitomob292c622013-11-23 14:35:58 -080011 <name>ONOS-RAMLCloud</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>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -070024 <!-- In Project repository -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070025 <repository>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -070026 <id>in-project</id>
27 <name>In Project Repo</name>
28 <url>file://${project.basedir}/repo</url>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070029 </repository>
30 </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>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070034 <restlet.version>2.1-RC1</restlet.version>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -070035 <github.global.server>github</github.global.server>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070036 </properties>
37 <build>
38 <plugins>
39 <plugin>
40 <groupId>org.apache.maven.plugins</groupId>
41 <artifactId>maven-install-plugin</artifactId>
42 <version>2.3.1</version>
43 <executions>
44 </executions>
45 </plugin>
46 <!-- guice maven plugin for dependency injection inside maven -->
47 <plugin>
48 <groupId>org.apache.camel</groupId>
49 <artifactId>guice-maven-plugin</artifactId>
50 <version>2.11.0</version>
51 </plugin>
52 <!-- compile -->
53 <plugin>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-compiler-plugin</artifactId>
56 <version>2.3.2</version>
57 <configuration>
58 <source>1.6</source>
59 <target>1.6</target>
60 <encoding>UTF-8</encoding>
61 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070062 <executions>
63 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070064 </plugin>
65 <!-- test -->
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-surefire-plugin</artifactId>
69 <version>2.12</version>
70 <configuration>
71 <excludes>
72 <!-- exclude all test cases for now -->
73 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
74 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070075 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070076 <exclude>**/test/*</exclude>
77 <exclude>**/Test*.java</exclude>
78 <exclude>**/*Test.java</exclude>
79 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070080 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070081 </excludes>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -070082 <argLine>-XX:MaxPermSize=256m</argLine>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070083 </configuration>
84 </plugin>
85 <!-- exec:java -->
86 <plugin>
87 <groupId>org.codehaus.mojo</groupId>
88 <artifactId>exec-maven-plugin</artifactId>
89 <version>1.2.1</version>
90 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -070091 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070092 </configuration>
93 <executions>
94 </executions>
95 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +120096 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070097 <groupId>org.codehaus.mojo</groupId>
98 <artifactId>build-helper-maven-plugin</artifactId>
99 <version>1.7</version>
100 <executions>
101 <execution>
102 <id>add-source</id>
103 <phase>generate-sources</phase>
104 <goals>
105 <goal>add-source</goal>
106 </goals>
107 <configuration>
108 <sources>
109 <source>lib/gen-java</source>
110 </sources>
111 </configuration>
112 </execution>
113 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200114 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700115 <plugin>
116 <groupId>org.apache.maven.plugins</groupId>
117 <artifactId>maven-javadoc-plugin</artifactId>
118 <version>2.9</version>
119 <configuration>
120 <charset>UTF-8</charset>
121 <locale>en</locale>
122 </configuration>
123 </plugin>
timlindberg8b13e702013-07-17 14:45:50 -0700124 <plugin>
125 <groupId>org.jacoco</groupId>
126 <artifactId>jacoco-maven-plugin</artifactId>
127 <version>0.6.3.201306030806</version>
128 <configuration>
129 <destfile>${basedir}/target/jacoco/jacoco.exec</destfile>
130 <datafile>${basedir}/target/jacoco/jacoco.exec</datafile>
131 </configuration>
132 <executions>
133 <execution>
134 <id>jacoco-initialize</id>
135 <goals>
136 <goal>prepare-agent</goal>
137 </goals>
138 </execution>
139 <execution>
140 <id>jacoco-site</id>
141 <phase>package</phase>
142 <goals>
143 <goal>report</goal>
144 </goals>
145 </execution>
146 </executions>
147 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700148 <plugin>
149 <groupId>com.github.github</groupId>
150 <artifactId>site-maven-plugin</artifactId>
151 <version>0.8</version>
152 <configuration>
153 <message>Creating site for ${project.version}</message>
154 <dryRun>true</dryRun>
155 <repositoryName>ONOS</repositoryName>
156 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
157 </configuration>
158 <executions>
159 <execution>
160 <goals>
161 <goal>site</goal>
162 </goals>
163 <phase>site</phase>
164 </execution>
165 </executions>
166 </plugin>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700167 <plugin>
168 <artifactId>maven-assembly-plugin</artifactId>
169 <configuration>
170 <descriptorRefs>
171 <descriptorRef>jar-with-dependencies</descriptorRef>
172 </descriptorRefs>
173 </configuration>
174 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700175 </plugins>
176 </build>
177 <!-- for getting visualization reporting -->
178 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700179 <excludeDefaults>true</excludeDefaults>
180 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700181 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700182 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700183 <plugin>
184 <groupId>org.apache.camel</groupId>
185 <artifactId>guice-maven-plugin</artifactId>
186 <version>2.11.0</version>
187 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700188 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-project-info-reports-plugin</artifactId>
192 <version>2.4</version>
193 <configuration>
194 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
195 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
196 </configuration>
197 <reportSets>
198 <reportSet>
199 <reports>
200 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700201 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700202 <report>scm</report>
203 </reports>
204 </reportSet>
205 </reportSets>
206 </plugin>
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-javadoc-plugin</artifactId>
210 <version>2.9</version>
211 <configuration>
212 <charset>UTF-8</charset>
213 <locale>en</locale>
214 </configuration>
215 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700216 </plugins>
217 </reporting>
218 <dependencies>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700219 <!--
220 <dependency>
221 <groupId>com.esotericsoftware.kryo</groupId>
222 <artifactId>kryo</artifactId>
223 <version>2.22</version>
224 </dependency>
225 -->
226 <dependency>
227 <groupId>net.onrc.onos</groupId>
228 <artifactId>kryo2</artifactId>
229 <version>2.22</version>
230 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700231 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700232 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700233 <groupId>org.apache.cassandra</groupId>
234 <artifactId>apache-cassandra</artifactId>
235 <version>1.2.4</version>
236 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700237 </dependency>
238 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700239 <groupId>com.thinkaurelius.titan</groupId>
240 <artifactId>titan-all</artifactId>
241 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200242 <exclusions>
243 <exclusion>
244 <groupId>org.slf4j</groupId>
245 <artifactId>slf4j-log4j12</artifactId>
246 </exclusion>
247 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700248 </dependency>
249 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700250 <groupId>com.tinkerpop</groupId>
251 <artifactId>frames</artifactId>
252 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700253 </dependency>
254 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700255 <groupId>com.tinkerpop.blueprints</groupId>
256 <artifactId>blueprints-core</artifactId>
yoshi2fd4c7e2013-11-22 15:47:55 -0800257 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700258 </dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800259 <dependency>
260 <groupId>com.hazelcast</groupId>
261 <artifactId>hazelcast</artifactId>
262 <version>3.0.2</version>
263 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700264 <dependency>
Pavlin Radoslavov1eee2c82013-10-15 02:30:32 -0700265 <groupId>com.hazelcast</groupId>
266 <artifactId>hazelcast</artifactId>
267 <version>3.0.2</version>
268 </dependency>
269 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700270 <groupId>net.sf.json-lib</groupId>
271 <artifactId>json-lib</artifactId>
272 <version>2.4</version>
273 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700274 </dependency>
275 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700276 <groupId>org.restlet.jse</groupId>
277 <artifactId>org.restlet</artifactId>
278 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700279 </dependency>
280 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700281 <groupId>org.restlet.jse</groupId>
282 <artifactId>org.restlet.ext.slf4j</artifactId>
283 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700284 </dependency>
285 <dependency>
286 <groupId>org.codehaus.jackson</groupId>
287 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700288 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700289 </dependency>
290 <dependency>
291 <groupId>org.codehaus.jackson</groupId>
292 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700293 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700294 </dependency>
295 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700296 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700297 <artifactId>logback-classic</artifactId>
298 <version>1.0.0</version>
299 <scope>runtime</scope>
300 </dependency>
301 <!-- Floodlight's dependencies -->
302 <dependency>
303 <groupId>net.sourceforge.cobertura</groupId>
304 <artifactId>cobertura</artifactId>
305 <version>1.9.4.1</version>
306 </dependency>
307 <!--
308 <dependency>
309 <groupId>com.google.guava</groupId>
310 <artifactId>guava</artifactId>
311 <version>13.0.1</version>
312 </dependency>
313 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700314 <dependency>
315 <groupId>org.slf4j</groupId>
316 <artifactId>slf4j-api</artifactId>
317 <version>1.6.4</version>
318 </dependency>
319 <dependency>
320 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700321 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700322 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700323 </dependency>
324 <dependency>
325 <groupId>org.restlet.jse</groupId>
326 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700327 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700328 </dependency>
329 <dependency>
330 <groupId>org.simpleframework</groupId>
331 <artifactId>simple</artifactId>
332 <version>4.1.21</version>
333 </dependency>
334 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700335 <groupId>io.netty</groupId>
336 <artifactId>netty-all</artifactId>
337 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700338 </dependency>
339 <dependency>
340 <groupId>args4j</groupId>
341 <artifactId>args4j</artifactId>
342 <version>2.0.16</version>
343 </dependency>
344 <dependency>
345 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
346 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700347 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700348 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200349 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700350 <groupId>org.python</groupId>
351 <artifactId>jython-standalone</artifactId>
352 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200353 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200354 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700355 <groupId>org.apache.thrift</groupId>
356 <artifactId>libthrift</artifactId>
357 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200358 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700359 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700360 <groupId>com.google.inject</groupId>
361 <artifactId>guice</artifactId>
362 <version>3.0</version>
363 </dependency>
364 <!-- Dependency for libraries used for testing -->
365 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700366 <groupId>junit</groupId>
367 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700368 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700369 <scope>test</scope>
370 </dependency>
371 <dependency>
372 <groupId>org.easymock</groupId>
373 <artifactId>easymock</artifactId>
yoshi2fd4c7e2013-11-22 15:47:55 -0800374 <version>3.2</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700375 <scope>test</scope>
376 </dependency>
377 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700378 <groupId>org.powermock</groupId>
379 <artifactId>powermock-module-junit4</artifactId>
380 <version>${powermock.version}</version>
381 <scope>test</scope>
382 </dependency>
383 <dependency>
384 <groupId>org.powermock</groupId>
385 <artifactId>powermock-api-easymock</artifactId>
386 <version>${powermock.version}</version>
387 <scope>test</scope>
388 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700389 <!--
390 <dependency>
391 <groupId>org.objenesis</groupId>
392 <artifactId>objenesis</artifactId>
393 <version>1.2</version>
394 <scope>test</scope>
395 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700396 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700397 <groupId>cglib</groupId>
398 <artifactId>cglib-nodep</artifactId>
399 <version>2.2.2</version>
400 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700401 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700402 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700403 <dependency>
404 <groupId>com.netflix.curator</groupId>
405 <artifactId>curator-framework</artifactId>
406 <version>1.3.5-SNAPSHOT</version>
407 </dependency>
408 <dependency>
409 <groupId>com.netflix.curator</groupId>
410 <artifactId>curator-client</artifactId>
411 <version>1.3.5-SNAPSHOT</version>
412 </dependency>
413 <dependency>
414 <groupId>com.netflix.curator</groupId>
415 <artifactId>curator-recipes</artifactId>
416 <version>1.3.5-SNAPSHOT</version>
417 </dependency>
418 <dependency>
419 <groupId>com.netflix.curator</groupId>
420 <artifactId>curator-x-discovery</artifactId>
421 <version>1.3.5-SNAPSHOT</version>
422 </dependency>
423 <!--
424 <dependency>
425 <groupId>net.floodlightcontroller</groupId>
426 <artifactId>packetstreamer-thrift</artifactId>
427 <version>0.1.0</version>
428 </dependency>
429 -->
yoshi2fd4c7e2013-11-22 15:47:55 -0800430 <dependency>
431 <groupId>com.tinkerpop.blueprints.impls.ramcloud</groupId>
432 <artifactId>blueprints-ramcloud-graph</artifactId>
433 <version>2.4.0</version>
434 <scope>system</scope>
435 <systemPath>${project.basedir}/lib/blueprints-ramcloud-graph-2.4.0.jar</systemPath>
436 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700437 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700438</project>