blob: f7bf38858759a5b1738d2539a246038921f155a5 [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>
Yuta HIGUCHI641d9992013-12-18 16:40:45 -080067 <source>1.7</source>
68 <target>1.7</target>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070069 <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>
Yuta HIGUCHI8d9723d2013-12-21 00:10:07 -0800186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-dependency-plugin</artifactId>
189 <version>2.8</version>
190 <executions>
191 <execution>
192 <id>build-classpath</id>
193 <phase>generate-sources</phase>
194 <goals>
195 <goal>build-classpath</goal>
196 </goals>
197 <configuration>
198 <outputFile>${project.basedir}/.javacp</outputFile>
199 </configuration>
200 </execution>
201 </executions>
202 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700203 </plugins>
204 </build>
205 <!-- for getting visualization reporting -->
206 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700207 <excludeDefaults>true</excludeDefaults>
208 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700209 <plugins>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800210 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700211 <plugin>
212 <groupId>org.apache.camel</groupId>
213 <artifactId>guice-maven-plugin</artifactId>
214 <version>2.11.0</version>
215 </plugin>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800216 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-project-info-reports-plugin</artifactId>
220 <version>2.4</version>
221 <configuration>
222 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
223 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
224 </configuration>
225 <reportSets>
226 <reportSet>
227 <reports>
228 <report>dependencies</report>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800229 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700230 <report>scm</report>
231 </reports>
232 </reportSet>
233 </reportSets>
234 </plugin>
235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-javadoc-plugin</artifactId>
238 <version>2.9</version>
239 <configuration>
240 <charset>UTF-8</charset>
241 <locale>en</locale>
242 </configuration>
243 </plugin>
Pavlin Radoslavov4f090a82013-12-13 18:45:45 -0800244 <plugin>
245 <!-- Note: the checkstyle configuration is also in the build section -->
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-checkstyle-plugin</artifactId>
248 <version>2.11</version>
249 <configuration>
250 <configLocation>conf/checkstyle/sun_checks.xml</configLocation>
251 </configuration>
252 <reportSets>
253 <reportSet>
254 <reports>
255 <report>checkstyle</report>
256 </reports>
257 </reportSet>
258 </reportSets>
259 </plugin>
260 <plugin>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-jxr-plugin</artifactId>
263 <version>2.3</version>
264 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700265 </plugins>
266 </reporting>
267 <dependencies>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800268 <!--
269 <dependency>
270 <groupId>com.esotericsoftware.kryo</groupId>
271 <artifactId>kryo</artifactId>
272 <version>2.22</version>
273 </dependency>
274 -->
275 <dependency>
276 <groupId>net.onrc.onos</groupId>
277 <artifactId>kryo2</artifactId>
278 <version>2.22</version>
279 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700280 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700281 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700282 <groupId>org.apache.cassandra</groupId>
283 <artifactId>apache-cassandra</artifactId>
284 <version>1.2.4</version>
285 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700286 </dependency>
287 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700288 <groupId>com.thinkaurelius.titan</groupId>
289 <artifactId>titan-all</artifactId>
290 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200291 <exclusions>
292 <exclusion>
293 <groupId>org.slf4j</groupId>
294 <artifactId>slf4j-log4j12</artifactId>
295 </exclusion>
296 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700297 </dependency>
298 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700299 <groupId>com.tinkerpop</groupId>
300 <artifactId>frames</artifactId>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800301 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700302 </dependency>
303 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700304 <groupId>com.tinkerpop.blueprints</groupId>
305 <artifactId>blueprints-core</artifactId>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800306 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700307 </dependency>
308 <dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800309 <groupId>com.hazelcast</groupId>
310 <artifactId>hazelcast</artifactId>
311 <version>3.0.2</version>
312 </dependency>
313 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700314 <groupId>net.sf.json-lib</groupId>
315 <artifactId>json-lib</artifactId>
316 <version>2.4</version>
317 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700318 </dependency>
319 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700320 <groupId>org.restlet.jse</groupId>
321 <artifactId>org.restlet</artifactId>
322 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700323 </dependency>
324 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700325 <groupId>org.restlet.jse</groupId>
326 <artifactId>org.restlet.ext.slf4j</artifactId>
327 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700328 </dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800329 <dependency>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -0800330 <groupId>org.codehaus.jackson</groupId>
331 <artifactId>jackson-core-asl</artifactId>
332 <version>1.9.13</version>
333 </dependency>
334 <dependency>
335 <groupId>org.codehaus.jackson</groupId>
336 <artifactId>jackson-mapper-asl</artifactId>
337 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700338 </dependency>
339 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700340 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700341 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700342 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700343 <scope>runtime</scope>
344 </dependency>
345 <!-- Floodlight's dependencies -->
346 <dependency>
347 <groupId>net.sourceforge.cobertura</groupId>
348 <artifactId>cobertura</artifactId>
349 <version>1.9.4.1</version>
350 </dependency>
351 <!--
352 <dependency>
353 <groupId>com.google.guava</groupId>
354 <artifactId>guava</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700355 <version>14.0.1</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700356 </dependency>
357 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700358 <dependency>
359 <groupId>org.slf4j</groupId>
360 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700361 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700362 </dependency>
363 <dependency>
364 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700365 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700366 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700367 </dependency>
368 <dependency>
369 <groupId>org.restlet.jse</groupId>
370 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700371 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700372 </dependency>
373 <dependency>
374 <groupId>org.simpleframework</groupId>
375 <artifactId>simple</artifactId>
376 <version>4.1.21</version>
377 </dependency>
378 <dependency>
Pankaj Berde98478422013-09-10 13:53:26 -0700379 <groupId>io.netty</groupId>
380 <artifactId>netty-all</artifactId>
381 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700382 </dependency>
383 <dependency>
384 <groupId>args4j</groupId>
385 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700386 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700387 </dependency>
388 <dependency>
389 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
390 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700391 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700392 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200393 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700394 <groupId>org.python</groupId>
395 <artifactId>jython-standalone</artifactId>
396 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200397 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200398 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700399 <groupId>org.apache.thrift</groupId>
400 <artifactId>libthrift</artifactId>
401 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200402 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700403 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700404 <groupId>com.google.inject</groupId>
405 <artifactId>guice</artifactId>
406 <version>3.0</version>
407 </dependency>
408 <!-- Dependency for libraries used for testing -->
409 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700410 <groupId>junit</groupId>
411 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700412 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700413 <scope>test</scope>
414 </dependency>
415 <dependency>
416 <groupId>org.easymock</groupId>
417 <artifactId>easymock</artifactId>
418 <version>3.1</version>
419 <scope>test</scope>
420 </dependency>
421 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700422 <groupId>org.powermock</groupId>
423 <artifactId>powermock-module-junit4</artifactId>
424 <version>${powermock.version}</version>
425 <scope>test</scope>
426 </dependency>
427 <dependency>
428 <groupId>org.powermock</groupId>
429 <artifactId>powermock-api-easymock</artifactId>
430 <version>${powermock.version}</version>
431 <scope>test</scope>
432 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700433 <!--
434 <dependency>
435 <groupId>org.objenesis</groupId>
436 <artifactId>objenesis</artifactId>
437 <version>1.2</version>
438 <scope>test</scope>
439 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700440 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700441 <groupId>cglib</groupId>
442 <artifactId>cglib-nodep</artifactId>
443 <version>2.2.2</version>
444 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700445 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700446 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700447 <dependency>
448 <groupId>com.netflix.curator</groupId>
449 <artifactId>curator-framework</artifactId>
450 <version>1.3.5-SNAPSHOT</version>
451 </dependency>
452 <dependency>
453 <groupId>com.netflix.curator</groupId>
454 <artifactId>curator-client</artifactId>
455 <version>1.3.5-SNAPSHOT</version>
456 </dependency>
457 <dependency>
458 <groupId>com.netflix.curator</groupId>
459 <artifactId>curator-recipes</artifactId>
460 <version>1.3.5-SNAPSHOT</version>
461 </dependency>
462 <dependency>
463 <groupId>com.netflix.curator</groupId>
464 <artifactId>curator-x-discovery</artifactId>
465 <version>1.3.5-SNAPSHOT</version>
466 </dependency>
467 <!--
468 <dependency>
469 <groupId>net.floodlightcontroller</groupId>
470 <artifactId>packetstreamer-thrift</artifactId>
471 <version>0.1.0</version>
472 </dependency>
473 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700474 </dependencies>
Pankaj Berde98478422013-09-10 13:53:26 -0700475</project>