blob: 5b8df0c5f7fd507c8892f2849a609bc4d9a9d5d2 [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>
Pavlin Radoslavova463e462013-12-13 15:18:50 -080035 <!-- <github.global.server>github</github.global.server> -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070036 </properties>
37 <build>
38 <plugins>
39 <plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -080040 <!-- Note: the checkstyle configuration is also in the reporting section -->
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-checkstyle-plugin</artifactId>
43 <version>2.11</version>
44 <configuration>
45 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
46 </configuration>
47 </plugin>
48 <plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070049 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-install-plugin</artifactId>
51 <version>2.3.1</version>
52 <executions>
53 </executions>
54 </plugin>
55 <!-- guice maven plugin for dependency injection inside maven -->
56 <plugin>
57 <groupId>org.apache.camel</groupId>
58 <artifactId>guice-maven-plugin</artifactId>
59 <version>2.11.0</version>
60 </plugin>
61 <!-- compile -->
62 <plugin>
63 <groupId>org.apache.maven.plugins</groupId>
64 <artifactId>maven-compiler-plugin</artifactId>
65 <version>2.3.2</version>
66 <configuration>
67 <source>1.6</source>
68 <target>1.6</target>
69 <encoding>UTF-8</encoding>
70 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070071 <executions>
72 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070073 </plugin>
74 <!-- test -->
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-surefire-plugin</artifactId>
78 <version>2.12</version>
79 <configuration>
80 <excludes>
81 <!-- exclude all test cases for now -->
82 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
83 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070084 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070085 <exclude>**/test/*</exclude>
86 <exclude>**/Test*.java</exclude>
87 <exclude>**/*Test.java</exclude>
88 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070089 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070090 </excludes>
Pankaj Berdec8275ea2013-11-26 14:02:23 -080091 <argLine>-XX:MaxPermSize=256m</argLine>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070092 </configuration>
93 </plugin>
94 <!-- exec:java -->
95 <plugin>
96 <groupId>org.codehaus.mojo</groupId>
97 <artifactId>exec-maven-plugin</artifactId>
98 <version>1.2.1</version>
99 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -0700100 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700101 </configuration>
102 <executions>
103 </executions>
104 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200105 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700106 <groupId>org.codehaus.mojo</groupId>
107 <artifactId>build-helper-maven-plugin</artifactId>
108 <version>1.7</version>
109 <executions>
110 <execution>
111 <id>add-source</id>
112 <phase>generate-sources</phase>
113 <goals>
114 <goal>add-source</goal>
115 </goals>
116 <configuration>
117 <sources>
118 <source>lib/gen-java</source>
119 </sources>
120 </configuration>
121 </execution>
122 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200123 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-javadoc-plugin</artifactId>
127 <version>2.9</version>
128 <configuration>
129 <charset>UTF-8</charset>
130 <locale>en</locale>
131 </configuration>
132 </plugin>
timlindberg8b13e702013-07-17 14:45:50 -0700133 <plugin>
134 <groupId>org.jacoco</groupId>
135 <artifactId>jacoco-maven-plugin</artifactId>
136 <version>0.6.3.201306030806</version>
137 <configuration>
138 <destfile>${basedir}/target/jacoco/jacoco.exec</destfile>
139 <datafile>${basedir}/target/jacoco/jacoco.exec</datafile>
140 </configuration>
141 <executions>
142 <execution>
143 <id>jacoco-initialize</id>
144 <goals>
145 <goal>prepare-agent</goal>
146 </goals>
147 </execution>
148 <execution>
149 <id>jacoco-site</id>
150 <phase>package</phase>
151 <goals>
152 <goal>report</goal>
153 </goals>
154 </execution>
155 </executions>
156 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800157 <!--
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800158 <plugin>
159 <groupId>com.github.github</groupId>
160 <artifactId>site-maven-plugin</artifactId>
161 <version>0.8</version>
162 <configuration>
163 <message>Creating site for ${project.version}</message>
164 <dryRun>true</dryRun>
165 <repositoryName>ONOS</repositoryName>
166 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
167 </configuration>
168 <executions>
169 <execution>
170 <goals>
171 <goal>site</goal>
172 </goals>
173 <phase>site</phase>
174 </execution>
175 </executions>
176 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800177 -->
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800178 <plugin>
179 <artifactId>maven-assembly-plugin</artifactId>
180 <configuration>
181 <descriptorRefs>
182 <descriptorRef>jar-with-dependencies</descriptorRef>
183 </descriptorRefs>
184 </configuration>
185 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700186 </plugins>
187 </build>
188 <!-- for getting visualization reporting -->
189 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700190 <excludeDefaults>true</excludeDefaults>
191 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700192 <plugins>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800193 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700194 <plugin>
195 <groupId>org.apache.camel</groupId>
196 <artifactId>guice-maven-plugin</artifactId>
197 <version>2.11.0</version>
198 </plugin>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800199 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-project-info-reports-plugin</artifactId>
203 <version>2.4</version>
204 <configuration>
205 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
206 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
207 </configuration>
208 <reportSets>
209 <reportSet>
210 <reports>
211 <report>dependencies</report>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800212 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700213 <report>scm</report>
214 </reports>
215 </reportSet>
216 </reportSets>
217 </plugin>
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-javadoc-plugin</artifactId>
221 <version>2.9</version>
222 <configuration>
223 <charset>UTF-8</charset>
224 <locale>en</locale>
225 </configuration>
226 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800227 <plugin>
228 <!-- Note: the checkstyle configuration is also in the build section -->
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-checkstyle-plugin</artifactId>
231 <version>2.11</version>
232 <configuration>
233 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
234 </configuration>
235 <reportSets>
236 <reportSet>
237 <reports>
238 <report>checkstyle</report>
239 </reports>
240 </reportSet>
241 </reportSets>
242 </plugin>
243 <plugin>
244 <groupId>org.apache.maven.plugins</groupId>
245 <artifactId>maven-jxr-plugin</artifactId>
246 <version>2.3</version>
247 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700248 </plugins>
249 </reporting>
250 <dependencies>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800251 <!--
252 <dependency>
253 <groupId>com.esotericsoftware.kryo</groupId>
254 <artifactId>kryo</artifactId>
255 <version>2.22</version>
256 </dependency>
257 -->
258 <dependency>
259 <groupId>net.onrc.onos</groupId>
260 <artifactId>kryo2</artifactId>
261 <version>2.22</version>
262 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700263 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700264 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700265 <groupId>org.apache.cassandra</groupId>
266 <artifactId>apache-cassandra</artifactId>
267 <version>1.2.4</version>
268 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700269 </dependency>
270 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700271 <groupId>com.thinkaurelius.titan</groupId>
272 <artifactId>titan-all</artifactId>
273 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200274 <exclusions>
275 <exclusion>
276 <groupId>org.slf4j</groupId>
277 <artifactId>slf4j-log4j12</artifactId>
278 </exclusion>
279 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700280 </dependency>
281 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700282 <groupId>com.tinkerpop</groupId>
283 <artifactId>frames</artifactId>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800284 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700285 </dependency>
286 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700287 <groupId>com.tinkerpop.blueprints</groupId>
288 <artifactId>blueprints-core</artifactId>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800289 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700290 </dependency>
291 <dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800292 <groupId>com.hazelcast</groupId>
293 <artifactId>hazelcast</artifactId>
294 <version>3.0.2</version>
295 </dependency>
296 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700297 <groupId>net.sf.json-lib</groupId>
298 <artifactId>json-lib</artifactId>
299 <version>2.4</version>
300 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700301 </dependency>
302 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700303 <groupId>org.restlet.jse</groupId>
304 <artifactId>org.restlet</artifactId>
305 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700306 </dependency>
307 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700308 <groupId>org.restlet.jse</groupId>
309 <artifactId>org.restlet.ext.slf4j</artifactId>
310 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700311 </dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800312 <dependency>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -0800313 <groupId>org.codehaus.jackson</groupId>
314 <artifactId>jackson-core-asl</artifactId>
315 <version>1.9.13</version>
316 </dependency>
317 <dependency>
318 <groupId>org.codehaus.jackson</groupId>
319 <artifactId>jackson-mapper-asl</artifactId>
320 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700321 </dependency>
322 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700323 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700324 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700325 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700326 <scope>runtime</scope>
327 </dependency>
328 <!-- Floodlight's dependencies -->
329 <dependency>
330 <groupId>net.sourceforge.cobertura</groupId>
331 <artifactId>cobertura</artifactId>
332 <version>1.9.4.1</version>
333 </dependency>
334 <!--
335 <dependency>
336 <groupId>com.google.guava</groupId>
337 <artifactId>guava</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700338 <version>14.0.1</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700339 </dependency>
340 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700341 <dependency>
342 <groupId>org.slf4j</groupId>
343 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700344 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700345 </dependency>
346 <dependency>
347 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700348 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700349 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700350 </dependency>
351 <dependency>
352 <groupId>org.restlet.jse</groupId>
353 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700354 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700355 </dependency>
356 <dependency>
357 <groupId>org.simpleframework</groupId>
358 <artifactId>simple</artifactId>
359 <version>4.1.21</version>
360 </dependency>
361 <dependency>
Pankaj Berde98478422013-09-10 13:53:26 -0700362 <groupId>io.netty</groupId>
363 <artifactId>netty-all</artifactId>
364 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700365 </dependency>
366 <dependency>
367 <groupId>args4j</groupId>
368 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700369 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700370 </dependency>
371 <dependency>
372 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
373 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700374 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700375 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200376 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700377 <groupId>org.python</groupId>
378 <artifactId>jython-standalone</artifactId>
379 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200380 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200381 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700382 <groupId>org.apache.thrift</groupId>
383 <artifactId>libthrift</artifactId>
384 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200385 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700386 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700387 <groupId>com.google.inject</groupId>
388 <artifactId>guice</artifactId>
389 <version>3.0</version>
390 </dependency>
391 <!-- Dependency for libraries used for testing -->
392 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700393 <groupId>junit</groupId>
394 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700395 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700396 <scope>test</scope>
397 </dependency>
398 <dependency>
399 <groupId>org.easymock</groupId>
400 <artifactId>easymock</artifactId>
401 <version>3.1</version>
402 <scope>test</scope>
403 </dependency>
404 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700405 <groupId>org.powermock</groupId>
406 <artifactId>powermock-module-junit4</artifactId>
407 <version>${powermock.version}</version>
408 <scope>test</scope>
409 </dependency>
410 <dependency>
411 <groupId>org.powermock</groupId>
412 <artifactId>powermock-api-easymock</artifactId>
413 <version>${powermock.version}</version>
414 <scope>test</scope>
415 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700416 <!--
417 <dependency>
418 <groupId>org.objenesis</groupId>
419 <artifactId>objenesis</artifactId>
420 <version>1.2</version>
421 <scope>test</scope>
422 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700423 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700424 <groupId>cglib</groupId>
425 <artifactId>cglib-nodep</artifactId>
426 <version>2.2.2</version>
427 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700428 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700429 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700430 <dependency>
431 <groupId>com.netflix.curator</groupId>
432 <artifactId>curator-framework</artifactId>
433 <version>1.3.5-SNAPSHOT</version>
434 </dependency>
435 <dependency>
436 <groupId>com.netflix.curator</groupId>
437 <artifactId>curator-client</artifactId>
438 <version>1.3.5-SNAPSHOT</version>
439 </dependency>
440 <dependency>
441 <groupId>com.netflix.curator</groupId>
442 <artifactId>curator-recipes</artifactId>
443 <version>1.3.5-SNAPSHOT</version>
444 </dependency>
445 <dependency>
446 <groupId>com.netflix.curator</groupId>
447 <artifactId>curator-x-discovery</artifactId>
448 <version>1.3.5-SNAPSHOT</version>
449 </dependency>
450 <!--
451 <dependency>
452 <groupId>net.floodlightcontroller</groupId>
453 <artifactId>packetstreamer-thrift</artifactId>
454 <version>0.1.0</version>
455 </dependency>
456 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700457 </dependencies>
Pankaj Berde98478422013-09-10 13:53:26 -0700458</project>