blob: 61e6452f7c655e9111098d001def1d473ea69844 [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>
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>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800148 <!--
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800149 <plugin>
150 <groupId>com.github.github</groupId>
151 <artifactId>site-maven-plugin</artifactId>
152 <version>0.8</version>
153 <configuration>
154 <message>Creating site for ${project.version}</message>
155 <dryRun>true</dryRun>
156 <repositoryName>ONOS</repositoryName>
157 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
158 </configuration>
159 <executions>
160 <execution>
161 <goals>
162 <goal>site</goal>
163 </goals>
164 <phase>site</phase>
165 </execution>
166 </executions>
167 </plugin>
Pavlin Radoslavova463e462013-12-13 15:18:50 -0800168 -->
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800169 <plugin>
170 <artifactId>maven-assembly-plugin</artifactId>
171 <configuration>
172 <descriptorRefs>
173 <descriptorRef>jar-with-dependencies</descriptorRef>
174 </descriptorRefs>
175 </configuration>
176 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700177 </plugins>
178 </build>
179 <!-- for getting visualization reporting -->
180 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700181 <excludeDefaults>true</excludeDefaults>
182 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700183 <plugins>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800184 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700185 <plugin>
186 <groupId>org.apache.camel</groupId>
187 <artifactId>guice-maven-plugin</artifactId>
188 <version>2.11.0</version>
189 </plugin>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800190 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700191 <plugin>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-project-info-reports-plugin</artifactId>
194 <version>2.4</version>
195 <configuration>
196 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
197 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
198 </configuration>
199 <reportSets>
200 <reportSet>
201 <reports>
202 <report>dependencies</report>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800203 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700204 <report>scm</report>
205 </reports>
206 </reportSet>
207 </reportSets>
208 </plugin>
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
211 <artifactId>maven-javadoc-plugin</artifactId>
212 <version>2.9</version>
213 <configuration>
214 <charset>UTF-8</charset>
215 <locale>en</locale>
216 </configuration>
217 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700218 </plugins>
219 </reporting>
220 <dependencies>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800221 <!--
222 <dependency>
223 <groupId>com.esotericsoftware.kryo</groupId>
224 <artifactId>kryo</artifactId>
225 <version>2.22</version>
226 </dependency>
227 -->
228 <dependency>
229 <groupId>net.onrc.onos</groupId>
230 <artifactId>kryo2</artifactId>
231 <version>2.22</version>
232 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700233 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700234 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700235 <groupId>org.apache.cassandra</groupId>
236 <artifactId>apache-cassandra</artifactId>
237 <version>1.2.4</version>
238 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700239 </dependency>
240 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700241 <groupId>com.thinkaurelius.titan</groupId>
242 <artifactId>titan-all</artifactId>
243 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200244 <exclusions>
245 <exclusion>
246 <groupId>org.slf4j</groupId>
247 <artifactId>slf4j-log4j12</artifactId>
248 </exclusion>
249 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700250 </dependency>
251 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700252 <groupId>com.tinkerpop</groupId>
253 <artifactId>frames</artifactId>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800254 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700255 </dependency>
256 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700257 <groupId>com.tinkerpop.blueprints</groupId>
258 <artifactId>blueprints-core</artifactId>
Pankaj Berde0ecc3922013-12-09 17:16:42 -0800259 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700260 </dependency>
261 <dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800262 <groupId>com.hazelcast</groupId>
263 <artifactId>hazelcast</artifactId>
264 <version>3.0.2</version>
265 </dependency>
266 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700267 <groupId>net.sf.json-lib</groupId>
268 <artifactId>json-lib</artifactId>
269 <version>2.4</version>
270 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700271 </dependency>
272 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700273 <groupId>org.restlet.jse</groupId>
274 <artifactId>org.restlet</artifactId>
275 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700276 </dependency>
277 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700278 <groupId>org.restlet.jse</groupId>
279 <artifactId>org.restlet.ext.slf4j</artifactId>
280 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700281 </dependency>
Pankaj Berdec8275ea2013-11-26 14:02:23 -0800282 <dependency>
Pankaj Berde37d6d4d2013-12-03 10:12:56 -0800283 <groupId>org.codehaus.jackson</groupId>
284 <artifactId>jackson-core-asl</artifactId>
285 <version>1.9.13</version>
286 </dependency>
287 <dependency>
288 <groupId>org.codehaus.jackson</groupId>
289 <artifactId>jackson-mapper-asl</artifactId>
290 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700291 </dependency>
292 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700293 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700294 <artifactId>logback-classic</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700295 <version>1.0.13</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700296 <scope>runtime</scope>
297 </dependency>
298 <!-- Floodlight's dependencies -->
299 <dependency>
300 <groupId>net.sourceforge.cobertura</groupId>
301 <artifactId>cobertura</artifactId>
302 <version>1.9.4.1</version>
303 </dependency>
304 <!--
305 <dependency>
306 <groupId>com.google.guava</groupId>
307 <artifactId>guava</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700308 <version>14.0.1</version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700309 </dependency>
310 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700311 <dependency>
312 <groupId>org.slf4j</groupId>
313 <artifactId>slf4j-api</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700314 <version>1.7.5</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700315 </dependency>
316 <dependency>
317 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700318 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700319 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700320 </dependency>
321 <dependency>
322 <groupId>org.restlet.jse</groupId>
323 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700324 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700325 </dependency>
326 <dependency>
327 <groupId>org.simpleframework</groupId>
328 <artifactId>simple</artifactId>
329 <version>4.1.21</version>
330 </dependency>
331 <dependency>
Pankaj Berde98478422013-09-10 13:53:26 -0700332 <groupId>io.netty</groupId>
333 <artifactId>netty-all</artifactId>
334 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700335 </dependency>
336 <dependency>
337 <groupId>args4j</groupId>
338 <artifactId>args4j</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700339 <version>2.0.25</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700340 </dependency>
341 <dependency>
342 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
343 <artifactId>concurrentlinkedhashmap-lru</artifactId>
Pankaj Berde98478422013-09-10 13:53:26 -0700344 <version>1.4</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700345 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200346 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700347 <groupId>org.python</groupId>
348 <artifactId>jython-standalone</artifactId>
349 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200350 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200351 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700352 <groupId>org.apache.thrift</groupId>
353 <artifactId>libthrift</artifactId>
354 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200355 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700356 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700357 <groupId>com.google.inject</groupId>
358 <artifactId>guice</artifactId>
359 <version>3.0</version>
360 </dependency>
361 <!-- Dependency for libraries used for testing -->
362 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700363 <groupId>junit</groupId>
364 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700365 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700366 <scope>test</scope>
367 </dependency>
368 <dependency>
369 <groupId>org.easymock</groupId>
370 <artifactId>easymock</artifactId>
371 <version>3.1</version>
372 <scope>test</scope>
373 </dependency>
374 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700375 <groupId>org.powermock</groupId>
376 <artifactId>powermock-module-junit4</artifactId>
377 <version>${powermock.version}</version>
378 <scope>test</scope>
379 </dependency>
380 <dependency>
381 <groupId>org.powermock</groupId>
382 <artifactId>powermock-api-easymock</artifactId>
383 <version>${powermock.version}</version>
384 <scope>test</scope>
385 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700386 <!--
387 <dependency>
388 <groupId>org.objenesis</groupId>
389 <artifactId>objenesis</artifactId>
390 <version>1.2</version>
391 <scope>test</scope>
392 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700393 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700394 <groupId>cglib</groupId>
395 <artifactId>cglib-nodep</artifactId>
396 <version>2.2.2</version>
397 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700398 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700399 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700400 <dependency>
401 <groupId>com.netflix.curator</groupId>
402 <artifactId>curator-framework</artifactId>
403 <version>1.3.5-SNAPSHOT</version>
404 </dependency>
405 <dependency>
406 <groupId>com.netflix.curator</groupId>
407 <artifactId>curator-client</artifactId>
408 <version>1.3.5-SNAPSHOT</version>
409 </dependency>
410 <dependency>
411 <groupId>com.netflix.curator</groupId>
412 <artifactId>curator-recipes</artifactId>
413 <version>1.3.5-SNAPSHOT</version>
414 </dependency>
415 <dependency>
416 <groupId>com.netflix.curator</groupId>
417 <artifactId>curator-x-discovery</artifactId>
418 <version>1.3.5-SNAPSHOT</version>
419 </dependency>
420 <!--
421 <dependency>
422 <groupId>net.floodlightcontroller</groupId>
423 <artifactId>packetstreamer-thrift</artifactId>
424 <version>0.1.0</version>
425 </dependency>
426 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700427 </dependencies>
Pankaj Berde98478422013-09-10 13:53:26 -0700428</project>