blob: c0cf489c68aca114b5fb00767b7cf52d57ebb0a5 [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>
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>
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>
Yuta HIGUCHId62fb872014-01-02 10:40:32 -0800268 <!-- Commenting out original kryo 2.X
269 and using shaded version (net.onrc.onos.kryo2)
270 to workaround conflict with kryo 1.X in titan's dependency.(#443)
271 -->
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800272 <!--
273 <dependency>
274 <groupId>com.esotericsoftware.kryo</groupId>
275 <artifactId>kryo</artifactId>
276 <version>2.22</version>
277 </dependency>
278 -->
279 <dependency>
280 <groupId>net.onrc.onos</groupId>
281 <artifactId>kryo2</artifactId>
282 <version>2.22</version>
283 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700284 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700285 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700286 <groupId>org.apache.cassandra</groupId>
287 <artifactId>apache-cassandra</artifactId>
288 <version>1.2.4</version>
289 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700290 </dependency>
291 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700292 <groupId>com.thinkaurelius.titan</groupId>
293 <artifactId>titan-all</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800294 <version>0.4.2</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200295 <exclusions>
296 <exclusion>
297 <groupId>org.slf4j</groupId>
298 <artifactId>slf4j-log4j12</artifactId>
299 </exclusion>
300 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700301 </dependency>
302 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700303 <groupId>com.tinkerpop</groupId>
304 <artifactId>frames</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800305 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700306 </dependency>
307 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700308 <groupId>com.tinkerpop.blueprints</groupId>
309 <artifactId>blueprints-core</artifactId>
Jonathan Hartf371e982014-01-15 10:02:50 -0800310 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700311 </dependency>
312 <dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800313 <groupId>com.hazelcast</groupId>
314 <artifactId>hazelcast</artifactId>
315 <version>3.0.2</version>
316 </dependency>
317 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700318 <groupId>net.sf.json-lib</groupId>
319 <artifactId>json-lib</artifactId>
320 <version>2.4</version>
321 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700322 </dependency>
323 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700324 <groupId>org.restlet.jse</groupId>
325 <artifactId>org.restlet</artifactId>
326 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700327 </dependency>
328 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700329 <groupId>org.restlet.jse</groupId>
330 <artifactId>org.restlet.ext.slf4j</artifactId>
331 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700332 </dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800333 <dependency>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -0800334 <groupId>org.codehaus.jackson</groupId>
335 <artifactId>jackson-core-asl</artifactId>
336 <version>1.9.13</version>
337 </dependency>
338 <dependency>
339 <groupId>org.codehaus.jackson</groupId>
340 <artifactId>jackson-mapper-asl</artifactId>
341 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700342 </dependency>
343 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700344 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700345 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700346 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700347 <scope>runtime</scope>
348 </dependency>
349 <!-- Floodlight's dependencies -->
350 <dependency>
351 <groupId>net.sourceforge.cobertura</groupId>
352 <artifactId>cobertura</artifactId>
353 <version>1.9.4.1</version>
354 </dependency>
355 <!--
356 <dependency>
357 <groupId>com.google.guava</groupId>
358 <artifactId>guava</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700359 <version>14.0.1</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700360 </dependency>
361 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700362 <dependency>
363 <groupId>org.slf4j</groupId>
364 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700365 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700366 </dependency>
367 <dependency>
368 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700369 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700370 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700371 </dependency>
372 <dependency>
373 <groupId>org.restlet.jse</groupId>
374 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700375 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700376 </dependency>
377 <dependency>
378 <groupId>org.simpleframework</groupId>
379 <artifactId>simple</artifactId>
380 <version>4.1.21</version>
381 </dependency>
382 <dependency>
Pankaj Berde98478422013-09-10 13:53:26 -0700383 <groupId>io.netty</groupId>
384 <artifactId>netty-all</artifactId>
385 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700386 </dependency>
387 <dependency>
388 <groupId>args4j</groupId>
389 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700390 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700391 </dependency>
392 <dependency>
393 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
394 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700395 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700396 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200397 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700398 <groupId>org.python</groupId>
399 <artifactId>jython-standalone</artifactId>
400 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200401 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200402 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700403 <groupId>org.apache.thrift</groupId>
404 <artifactId>libthrift</artifactId>
405 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200406 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700407 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700408 <groupId>com.google.inject</groupId>
409 <artifactId>guice</artifactId>
410 <version>3.0</version>
411 </dependency>
412 <!-- Dependency for libraries used for testing -->
413 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700414 <groupId>junit</groupId>
415 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700416 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700417 <scope>test</scope>
418 </dependency>
419 <dependency>
420 <groupId>org.easymock</groupId>
421 <artifactId>easymock</artifactId>
422 <version>3.1</version>
423 <scope>test</scope>
424 </dependency>
425 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700426 <groupId>org.powermock</groupId>
427 <artifactId>powermock-module-junit4</artifactId>
428 <version>${powermock.version}</version>
429 <scope>test</scope>
430 </dependency>
431 <dependency>
432 <groupId>org.powermock</groupId>
433 <artifactId>powermock-api-easymock</artifactId>
434 <version>${powermock.version}</version>
435 <scope>test</scope>
436 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700437 <!--
438 <dependency>
439 <groupId>org.objenesis</groupId>
440 <artifactId>objenesis</artifactId>
441 <version>1.2</version>
442 <scope>test</scope>
443 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700444 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700445 <groupId>cglib</groupId>
446 <artifactId>cglib-nodep</artifactId>
447 <version>2.2.2</version>
448 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700449 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700450 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700451 <dependency>
452 <groupId>com.netflix.curator</groupId>
453 <artifactId>curator-framework</artifactId>
454 <version>1.3.5-SNAPSHOT</version>
455 </dependency>
456 <dependency>
457 <groupId>com.netflix.curator</groupId>
458 <artifactId>curator-client</artifactId>
459 <version>1.3.5-SNAPSHOT</version>
460 </dependency>
461 <dependency>
462 <groupId>com.netflix.curator</groupId>
463 <artifactId>curator-recipes</artifactId>
464 <version>1.3.5-SNAPSHOT</version>
465 </dependency>
466 <dependency>
467 <groupId>com.netflix.curator</groupId>
468 <artifactId>curator-x-discovery</artifactId>
469 <version>1.3.5-SNAPSHOT</version>
470 </dependency>
471 <!--
472 <dependency>
473 <groupId>net.floodlightcontroller</groupId>
474 <artifactId>packetstreamer-thrift</artifactId>
475 <version>0.1.0</version>
476 </dependency>
477 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700478 </dependencies>
Pankaj Berde98478422013-09-10 13:53:26 -0700479</project>