blob: 0e226d4436c0fab221e710827593327165ab53f6 [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>
24 <repository>
25 <id>tinkerpop-repository</id>
26 <name>TinkerPop Maven2 Repository</name>
27 <url>http://tinkerpop.com/maven2</url>
Jonathan Hart919f42b2013-06-18 22:13:30 +120028 <snapshots>
29 <enabled>false</enabled>
30 </snapshots>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070031 </repository>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -070032 <!-- In Project repository -->
33 <repository>
34 <id>in-project</id>
35 <name>In Project Repo</name>
36 <url>file://${project.basedir}/repo</url>
37 </repository>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070038 </repositories>
39 <properties>
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHI22c77e32013-10-14 15:47:07 -070041 <powermock.version>1.5.1</powermock.version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070042 <restlet.version>2.1-RC1</restlet.version>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -070043 <github.global.server>github</github.global.server>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070044 </properties>
45 <build>
46 <plugins>
47 <plugin>
48 <groupId>org.apache.maven.plugins</groupId>
49 <artifactId>maven-install-plugin</artifactId>
50 <version>2.3.1</version>
51 <executions>
52 </executions>
53 </plugin>
54 <!-- guice maven plugin for dependency injection inside maven -->
55 <plugin>
56 <groupId>org.apache.camel</groupId>
57 <artifactId>guice-maven-plugin</artifactId>
58 <version>2.11.0</version>
59 </plugin>
60 <!-- compile -->
61 <plugin>
62 <groupId>org.apache.maven.plugins</groupId>
63 <artifactId>maven-compiler-plugin</artifactId>
64 <version>2.3.2</version>
65 <configuration>
66 <source>1.6</source>
67 <target>1.6</target>
68 <encoding>UTF-8</encoding>
69 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070070 <executions>
71 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070072 </plugin>
73 <!-- test -->
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-surefire-plugin</artifactId>
77 <version>2.12</version>
78 <configuration>
79 <excludes>
80 <!-- exclude all test cases for now -->
81 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
82 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070083 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070084 <exclude>**/test/*</exclude>
85 <exclude>**/Test*.java</exclude>
86 <exclude>**/*Test.java</exclude>
87 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070088 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070089 </excludes>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -070090 <argLine>-XX:MaxPermSize=256m</argLine>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070091 </configuration>
92 </plugin>
93 <!-- exec:java -->
94 <plugin>
95 <groupId>org.codehaus.mojo</groupId>
96 <artifactId>exec-maven-plugin</artifactId>
97 <version>1.2.1</version>
98 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -070099 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700100 </configuration>
101 <executions>
102 </executions>
103 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200104 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700105 <groupId>org.codehaus.mojo</groupId>
106 <artifactId>build-helper-maven-plugin</artifactId>
107 <version>1.7</version>
108 <executions>
109 <execution>
110 <id>add-source</id>
111 <phase>generate-sources</phase>
112 <goals>
113 <goal>add-source</goal>
114 </goals>
115 <configuration>
116 <sources>
117 <source>lib/gen-java</source>
118 </sources>
119 </configuration>
120 </execution>
121 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200122 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-javadoc-plugin</artifactId>
126 <version>2.9</version>
127 <configuration>
128 <charset>UTF-8</charset>
129 <locale>en</locale>
130 </configuration>
131 </plugin>
timlindberg8b13e702013-07-17 14:45:50 -0700132 <plugin>
133 <groupId>org.jacoco</groupId>
134 <artifactId>jacoco-maven-plugin</artifactId>
135 <version>0.6.3.201306030806</version>
136 <configuration>
137 <destfile>${basedir}/target/jacoco/jacoco.exec</destfile>
138 <datafile>${basedir}/target/jacoco/jacoco.exec</datafile>
139 </configuration>
140 <executions>
141 <execution>
142 <id>jacoco-initialize</id>
143 <goals>
144 <goal>prepare-agent</goal>
145 </goals>
146 </execution>
147 <execution>
148 <id>jacoco-site</id>
149 <phase>package</phase>
150 <goals>
151 <goal>report</goal>
152 </goals>
153 </execution>
154 </executions>
155 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700156 <plugin>
157 <groupId>com.github.github</groupId>
158 <artifactId>site-maven-plugin</artifactId>
159 <version>0.8</version>
160 <configuration>
161 <message>Creating site for ${project.version}</message>
162 <dryRun>true</dryRun>
163 <repositoryName>ONOS</repositoryName>
164 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
165 </configuration>
166 <executions>
167 <execution>
168 <goals>
169 <goal>site</goal>
170 </goals>
171 <phase>site</phase>
172 </execution>
173 </executions>
174 </plugin>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700175 <plugin>
176 <artifactId>maven-assembly-plugin</artifactId>
177 <configuration>
178 <descriptorRefs>
179 <descriptorRef>jar-with-dependencies</descriptorRef>
180 </descriptorRefs>
181 </configuration>
182 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700183 </plugins>
184 </build>
185 <!-- for getting visualization reporting -->
186 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700187 <excludeDefaults>true</excludeDefaults>
188 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700189 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700190 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700191 <plugin>
192 <groupId>org.apache.camel</groupId>
193 <artifactId>guice-maven-plugin</artifactId>
194 <version>2.11.0</version>
195 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700196 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-project-info-reports-plugin</artifactId>
200 <version>2.4</version>
201 <configuration>
202 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
203 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
204 </configuration>
205 <reportSets>
206 <reportSet>
207 <reports>
208 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700209 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700210 <report>scm</report>
211 </reports>
212 </reportSet>
213 </reportSets>
214 </plugin>
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-javadoc-plugin</artifactId>
218 <version>2.9</version>
219 <configuration>
220 <charset>UTF-8</charset>
221 <locale>en</locale>
222 </configuration>
223 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700224 </plugins>
225 </reporting>
226 <dependencies>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700227 <!--
228 <dependency>
229 <groupId>com.esotericsoftware.kryo</groupId>
230 <artifactId>kryo</artifactId>
231 <version>2.22</version>
232 </dependency>
233 -->
234 <dependency>
235 <groupId>net.onrc.onos</groupId>
236 <artifactId>kryo2</artifactId>
237 <version>2.22</version>
238 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700239 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700240 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700241 <groupId>org.apache.cassandra</groupId>
242 <artifactId>apache-cassandra</artifactId>
243 <version>1.2.4</version>
244 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700245 </dependency>
246 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700247 <groupId>com.thinkaurelius.titan</groupId>
248 <artifactId>titan-all</artifactId>
249 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200250 <exclusions>
251 <exclusion>
252 <groupId>org.slf4j</groupId>
253 <artifactId>slf4j-log4j12</artifactId>
254 </exclusion>
255 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700256 </dependency>
257 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700258 <groupId>com.tinkerpop</groupId>
259 <artifactId>frames</artifactId>
260 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700261 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700262 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700263 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700264 <groupId>com.tinkerpop.blueprints</groupId>
265 <artifactId>blueprints-core</artifactId>
266 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700267 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700268 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700269 <dependency>
Pavlin Radoslavov1eee2c82013-10-15 02:30:32 -0700270 <groupId>com.hazelcast</groupId>
271 <artifactId>hazelcast</artifactId>
272 <version>3.0.2</version>
273 </dependency>
274 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700275 <groupId>net.sf.json-lib</groupId>
276 <artifactId>json-lib</artifactId>
277 <version>2.4</version>
278 <classifier>jdk15</classifier>
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</artifactId>
283 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700284 </dependency>
285 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700286 <groupId>org.restlet.jse</groupId>
287 <artifactId>org.restlet.ext.slf4j</artifactId>
288 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700289 </dependency>
290 <dependency>
291 <groupId>org.codehaus.jackson</groupId>
292 <artifactId>jackson-core-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>
296 <groupId>org.codehaus.jackson</groupId>
297 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700298 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700299 </dependency>
300 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700301 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700302 <artifactId>logback-classic</artifactId>
303 <version>1.0.0</version>
304 <scope>runtime</scope>
305 </dependency>
306 <!-- Floodlight's dependencies -->
307 <dependency>
308 <groupId>net.sourceforge.cobertura</groupId>
309 <artifactId>cobertura</artifactId>
310 <version>1.9.4.1</version>
311 </dependency>
312 <!--
313 <dependency>
314 <groupId>com.google.guava</groupId>
315 <artifactId>guava</artifactId>
316 <version>13.0.1</version>
317 </dependency>
318 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700319 <dependency>
320 <groupId>org.slf4j</groupId>
321 <artifactId>slf4j-api</artifactId>
322 <version>1.6.4</version>
323 </dependency>
324 <dependency>
325 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700326 <artifactId>org.restlet.ext.jackson</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.restlet.jse</groupId>
331 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700332 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700333 </dependency>
334 <dependency>
335 <groupId>org.simpleframework</groupId>
336 <artifactId>simple</artifactId>
337 <version>4.1.21</version>
338 </dependency>
339 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700340 <groupId>io.netty</groupId>
341 <artifactId>netty-all</artifactId>
342 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700343 </dependency>
344 <dependency>
345 <groupId>args4j</groupId>
346 <artifactId>args4j</artifactId>
347 <version>2.0.16</version>
348 </dependency>
349 <dependency>
350 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
351 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700352 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700353 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200354 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700355 <groupId>org.python</groupId>
356 <artifactId>jython-standalone</artifactId>
357 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200358 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200359 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700360 <groupId>org.apache.thrift</groupId>
361 <artifactId>libthrift</artifactId>
362 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200363 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700364 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700365 <groupId>com.google.inject</groupId>
366 <artifactId>guice</artifactId>
367 <version>3.0</version>
368 </dependency>
369 <!-- Dependency for libraries used for testing -->
370 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700371 <groupId>junit</groupId>
372 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700373 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700374 <scope>test</scope>
375 </dependency>
376 <dependency>
377 <groupId>org.easymock</groupId>
378 <artifactId>easymock</artifactId>
HIGUCHI Yutadbd16d92013-10-18 18:08:56 -0700379 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700380 <scope>test</scope>
381 </dependency>
382 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700383 <groupId>org.powermock</groupId>
384 <artifactId>powermock-module-junit4</artifactId>
385 <version>${powermock.version}</version>
386 <scope>test</scope>
387 </dependency>
388 <dependency>
389 <groupId>org.powermock</groupId>
390 <artifactId>powermock-api-easymock</artifactId>
391 <version>${powermock.version}</version>
392 <scope>test</scope>
393 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700394 <!--
395 <dependency>
396 <groupId>org.objenesis</groupId>
397 <artifactId>objenesis</artifactId>
398 <version>1.2</version>
399 <scope>test</scope>
400 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700401 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700402 <groupId>cglib</groupId>
403 <artifactId>cglib-nodep</artifactId>
404 <version>2.2.2</version>
405 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700406 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700407 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700408 <dependency>
409 <groupId>com.netflix.curator</groupId>
410 <artifactId>curator-framework</artifactId>
411 <version>1.3.5-SNAPSHOT</version>
412 </dependency>
413 <dependency>
414 <groupId>com.netflix.curator</groupId>
415 <artifactId>curator-client</artifactId>
416 <version>1.3.5-SNAPSHOT</version>
417 </dependency>
418 <dependency>
419 <groupId>com.netflix.curator</groupId>
420 <artifactId>curator-recipes</artifactId>
421 <version>1.3.5-SNAPSHOT</version>
422 </dependency>
423 <dependency>
424 <groupId>com.netflix.curator</groupId>
425 <artifactId>curator-x-discovery</artifactId>
426 <version>1.3.5-SNAPSHOT</version>
427 </dependency>
428 <!--
429 <dependency>
430 <groupId>net.floodlightcontroller</groupId>
431 <artifactId>packetstreamer-thrift</artifactId>
432 <version>0.1.0</version>
433 </dependency>
434 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700435 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700436</project>