blob: ebed8685a1febfed140cdc7a0cbe34bfcee4be6e [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>
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -070011 <name>ONOS</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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -080024 <!-- In Project repository -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070025 <repository>
Pankaj Berdec8275ea2013-11-26 14:02:23 -080026 <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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -080033 <powermock.version>1.5.1</powermock.version>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -080034 <restlet.version>2.1.4</restlet.version>
Pankaj Berdec8275ea2013-11-26 14:02:23 -080035 <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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -080082 <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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800148 <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>
167 <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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800182 <!--
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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800188 -->
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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800201 <!--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>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800219 <!--
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>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800252 <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>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800257 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700258 </dependency>
259 <dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800260 <groupId>com.hazelcast</groupId>
261 <artifactId>hazelcast</artifactId>
262 <version>3.0.2</version>
263 </dependency>
264 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700265 <groupId>net.sf.json-lib</groupId>
266 <artifactId>json-lib</artifactId>
267 <version>2.4</version>
268 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700269 </dependency>
270 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700271 <groupId>org.restlet.jse</groupId>
272 <artifactId>org.restlet</artifactId>
273 <version>${restlet.version}</version>
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.ext.slf4j</artifactId>
278 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700279 </dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800280 <dependency>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -0800281 <groupId>org.codehaus.jackson</groupId>
282 <artifactId>jackson-core-asl</artifactId>
283 <version>1.9.13</version>
284 </dependency>
285 <dependency>
286 <groupId>org.codehaus.jackson</groupId>
287 <artifactId>jackson-mapper-asl</artifactId>
288 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700289 </dependency>
290 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700291 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700292 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700293 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700294 <scope>runtime</scope>
295 </dependency>
296 <!-- Floodlight's dependencies -->
297 <dependency>
298 <groupId>net.sourceforge.cobertura</groupId>
299 <artifactId>cobertura</artifactId>
300 <version>1.9.4.1</version>
301 </dependency>
302 <!--
303 <dependency>
304 <groupId>com.google.guava</groupId>
305 <artifactId>guava</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700306 <version>14.0.1</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700307 </dependency>
308 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700309 <dependency>
310 <groupId>org.slf4j</groupId>
311 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700312 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700313 </dependency>
314 <dependency>
315 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700316 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700317 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700318 </dependency>
319 <dependency>
320 <groupId>org.restlet.jse</groupId>
321 <artifactId>org.restlet.ext.simple</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.simpleframework</groupId>
326 <artifactId>simple</artifactId>
327 <version>4.1.21</version>
328 </dependency>
329 <dependency>
Pankaj Berde98478422013-09-10 13:53:26 -0700330 <groupId>io.netty</groupId>
331 <artifactId>netty-all</artifactId>
332 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700333 </dependency>
334 <dependency>
335 <groupId>args4j</groupId>
336 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700337 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700338 </dependency>
339 <dependency>
340 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
341 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700342 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700343 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200344 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700345 <groupId>org.python</groupId>
346 <artifactId>jython-standalone</artifactId>
347 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200348 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200349 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700350 <groupId>org.apache.thrift</groupId>
351 <artifactId>libthrift</artifactId>
352 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200353 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700354 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700355 <groupId>com.google.inject</groupId>
356 <artifactId>guice</artifactId>
357 <version>3.0</version>
358 </dependency>
359 <!-- Dependency for libraries used for testing -->
360 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700361 <groupId>junit</groupId>
362 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700363 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700364 <scope>test</scope>
365 </dependency>
366 <dependency>
367 <groupId>org.easymock</groupId>
368 <artifactId>easymock</artifactId>
369 <version>3.1</version>
370 <scope>test</scope>
371 </dependency>
372 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700373 <groupId>org.powermock</groupId>
374 <artifactId>powermock-module-junit4</artifactId>
375 <version>${powermock.version}</version>
376 <scope>test</scope>
377 </dependency>
378 <dependency>
379 <groupId>org.powermock</groupId>
380 <artifactId>powermock-api-easymock</artifactId>
381 <version>${powermock.version}</version>
382 <scope>test</scope>
383 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700384 <!--
385 <dependency>
386 <groupId>org.objenesis</groupId>
387 <artifactId>objenesis</artifactId>
388 <version>1.2</version>
389 <scope>test</scope>
390 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700391 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700392 <groupId>cglib</groupId>
393 <artifactId>cglib-nodep</artifactId>
394 <version>2.2.2</version>
395 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700396 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700397 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700398 <dependency>
399 <groupId>com.netflix.curator</groupId>
400 <artifactId>curator-framework</artifactId>
401 <version>1.3.5-SNAPSHOT</version>
402 </dependency>
403 <dependency>
404 <groupId>com.netflix.curator</groupId>
405 <artifactId>curator-client</artifactId>
406 <version>1.3.5-SNAPSHOT</version>
407 </dependency>
408 <dependency>
409 <groupId>com.netflix.curator</groupId>
410 <artifactId>curator-recipes</artifactId>
411 <version>1.3.5-SNAPSHOT</version>
412 </dependency>
413 <dependency>
414 <groupId>com.netflix.curator</groupId>
415 <artifactId>curator-x-discovery</artifactId>
416 <version>1.3.5-SNAPSHOT</version>
417 </dependency>
418 <!--
419 <dependency>
420 <groupId>net.floodlightcontroller</groupId>
421 <artifactId>packetstreamer-thrift</artifactId>
422 <version>0.1.0</version>
423 </dependency>
424 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700425 </dependencies>
Pankaj Berde98478422013-09-10 13:53:26 -0700426</project>