blob: 4a9362510c2240d78a71441196b447f221207280 [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>
32 </repositories>
33 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
yoshi2fd4c7e2013-11-22 15:47:55 -080035 <powermock.version>1.5.1</powermock.version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070036 <restlet.version>2.1-RC1</restlet.version>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -070037 <github.global.server>github</github.global.server>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070038 </properties>
39 <build>
40 <plugins>
41 <plugin>
42 <groupId>org.apache.maven.plugins</groupId>
43 <artifactId>maven-install-plugin</artifactId>
44 <version>2.3.1</version>
45 <executions>
46 </executions>
47 </plugin>
48 <!-- guice maven plugin for dependency injection inside maven -->
49 <plugin>
50 <groupId>org.apache.camel</groupId>
51 <artifactId>guice-maven-plugin</artifactId>
52 <version>2.11.0</version>
53 </plugin>
54 <!-- compile -->
55 <plugin>
56 <groupId>org.apache.maven.plugins</groupId>
57 <artifactId>maven-compiler-plugin</artifactId>
58 <version>2.3.2</version>
59 <configuration>
60 <source>1.6</source>
61 <target>1.6</target>
62 <encoding>UTF-8</encoding>
63 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070064 <executions>
65 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070066 </plugin>
67 <!-- test -->
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-surefire-plugin</artifactId>
71 <version>2.12</version>
72 <configuration>
73 <excludes>
74 <!-- exclude all test cases for now -->
75 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
76 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070077 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070078 <exclude>**/test/*</exclude>
79 <exclude>**/Test*.java</exclude>
80 <exclude>**/*Test.java</exclude>
81 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070082 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070083 </excludes>
84 </configuration>
85 </plugin>
86 <!-- exec:java -->
87 <plugin>
88 <groupId>org.codehaus.mojo</groupId>
89 <artifactId>exec-maven-plugin</artifactId>
90 <version>1.2.1</version>
91 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -070092 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070093 </configuration>
94 <executions>
95 </executions>
96 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +120097 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070098 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>build-helper-maven-plugin</artifactId>
100 <version>1.7</version>
101 <executions>
102 <execution>
103 <id>add-source</id>
104 <phase>generate-sources</phase>
105 <goals>
106 <goal>add-source</goal>
107 </goals>
108 <configuration>
109 <sources>
110 <source>lib/gen-java</source>
111 </sources>
112 </configuration>
113 </execution>
114 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200115 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700116 <plugin>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-javadoc-plugin</artifactId>
119 <version>2.9</version>
120 <configuration>
121 <charset>UTF-8</charset>
122 <locale>en</locale>
123 </configuration>
124 </plugin>
timlindberg8b13e702013-07-17 14:45:50 -0700125 <plugin>
126 <groupId>org.jacoco</groupId>
127 <artifactId>jacoco-maven-plugin</artifactId>
128 <version>0.6.3.201306030806</version>
129 <configuration>
130 <destfile>${basedir}/target/jacoco/jacoco.exec</destfile>
131 <datafile>${basedir}/target/jacoco/jacoco.exec</datafile>
132 </configuration>
133 <executions>
134 <execution>
135 <id>jacoco-initialize</id>
136 <goals>
137 <goal>prepare-agent</goal>
138 </goals>
139 </execution>
140 <execution>
141 <id>jacoco-site</id>
142 <phase>package</phase>
143 <goals>
144 <goal>report</goal>
145 </goals>
146 </execution>
147 </executions>
148 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700149 <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>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700168 </plugins>
169 </build>
170 <!-- for getting visualization reporting -->
171 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700172 <excludeDefaults>true</excludeDefaults>
173 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700174 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700175 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700176 <plugin>
177 <groupId>org.apache.camel</groupId>
178 <artifactId>guice-maven-plugin</artifactId>
179 <version>2.11.0</version>
180 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700181 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-project-info-reports-plugin</artifactId>
185 <version>2.4</version>
186 <configuration>
187 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
188 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
189 </configuration>
190 <reportSets>
191 <reportSet>
192 <reports>
193 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700194 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700195 <report>scm</report>
196 </reports>
197 </reportSet>
198 </reportSets>
199 </plugin>
200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-javadoc-plugin</artifactId>
203 <version>2.9</version>
204 <configuration>
205 <charset>UTF-8</charset>
206 <locale>en</locale>
207 </configuration>
208 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700209 </plugins>
210 </reporting>
211 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700212 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700213 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700214 <groupId>org.apache.cassandra</groupId>
215 <artifactId>apache-cassandra</artifactId>
216 <version>1.2.4</version>
217 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700218 </dependency>
219 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700220 <groupId>com.thinkaurelius.titan</groupId>
221 <artifactId>titan-all</artifactId>
222 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200223 <exclusions>
224 <exclusion>
225 <groupId>org.slf4j</groupId>
226 <artifactId>slf4j-log4j12</artifactId>
227 </exclusion>
228 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700229 </dependency>
230 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700231 <groupId>com.tinkerpop</groupId>
232 <artifactId>frames</artifactId>
233 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700234 </dependency>
235 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700236 <groupId>com.tinkerpop.blueprints</groupId>
237 <artifactId>blueprints-core</artifactId>
yoshi2fd4c7e2013-11-22 15:47:55 -0800238 <version>2.4.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700239 </dependency>
yoshi2fd4c7e2013-11-22 15:47:55 -0800240 <dependency>
241 <groupId>com.hazelcast</groupId>
242 <artifactId>hazelcast</artifactId>
243 <version>3.0.2</version>
244 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700245 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700246 <groupId>net.sf.json-lib</groupId>
247 <artifactId>json-lib</artifactId>
248 <version>2.4</version>
249 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700250 </dependency>
251 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700252 <groupId>org.restlet.jse</groupId>
253 <artifactId>org.restlet</artifactId>
254 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700255 </dependency>
256 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700257 <groupId>org.restlet.jse</groupId>
258 <artifactId>org.restlet.ext.slf4j</artifactId>
259 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700260 </dependency>
261 <dependency>
262 <groupId>org.codehaus.jackson</groupId>
263 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700264 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700265 </dependency>
266 <dependency>
267 <groupId>org.codehaus.jackson</groupId>
268 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700269 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700270 </dependency>
271 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700272 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700273 <artifactId>logback-classic</artifactId>
274 <version>1.0.0</version>
275 <scope>runtime</scope>
276 </dependency>
277 <!-- Floodlight's dependencies -->
278 <dependency>
279 <groupId>net.sourceforge.cobertura</groupId>
280 <artifactId>cobertura</artifactId>
281 <version>1.9.4.1</version>
282 </dependency>
283 <!--
284 <dependency>
285 <groupId>com.google.guava</groupId>
286 <artifactId>guava</artifactId>
287 <version>13.0.1</version>
288 </dependency>
289 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700290 <dependency>
291 <groupId>org.slf4j</groupId>
292 <artifactId>slf4j-api</artifactId>
293 <version>1.6.4</version>
294 </dependency>
295 <dependency>
296 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700297 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700298 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700299 </dependency>
300 <dependency>
301 <groupId>org.restlet.jse</groupId>
302 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700303 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700304 </dependency>
305 <dependency>
306 <groupId>org.simpleframework</groupId>
307 <artifactId>simple</artifactId>
308 <version>4.1.21</version>
309 </dependency>
310 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700311 <groupId>io.netty</groupId>
312 <artifactId>netty-all</artifactId>
313 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700314 </dependency>
315 <dependency>
316 <groupId>args4j</groupId>
317 <artifactId>args4j</artifactId>
318 <version>2.0.16</version>
319 </dependency>
320 <dependency>
321 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
322 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700323 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700324 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200325 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700326 <groupId>org.python</groupId>
327 <artifactId>jython-standalone</artifactId>
328 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200329 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200330 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700331 <groupId>org.apache.thrift</groupId>
332 <artifactId>libthrift</artifactId>
333 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200334 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700335 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700336 <groupId>com.google.inject</groupId>
337 <artifactId>guice</artifactId>
338 <version>3.0</version>
339 </dependency>
340 <!-- Dependency for libraries used for testing -->
341 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700342 <groupId>junit</groupId>
343 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700344 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700345 <scope>test</scope>
346 </dependency>
347 <dependency>
348 <groupId>org.easymock</groupId>
349 <artifactId>easymock</artifactId>
yoshi2fd4c7e2013-11-22 15:47:55 -0800350 <version>3.2</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700351 <scope>test</scope>
352 </dependency>
353 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700354 <groupId>org.powermock</groupId>
355 <artifactId>powermock-module-junit4</artifactId>
356 <version>${powermock.version}</version>
357 <scope>test</scope>
358 </dependency>
359 <dependency>
360 <groupId>org.powermock</groupId>
361 <artifactId>powermock-api-easymock</artifactId>
362 <version>${powermock.version}</version>
363 <scope>test</scope>
364 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700365 <!--
366 <dependency>
367 <groupId>org.objenesis</groupId>
368 <artifactId>objenesis</artifactId>
369 <version>1.2</version>
370 <scope>test</scope>
371 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700372 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700373 <groupId>cglib</groupId>
374 <artifactId>cglib-nodep</artifactId>
375 <version>2.2.2</version>
376 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700377 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700378 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700379 <dependency>
380 <groupId>com.netflix.curator</groupId>
381 <artifactId>curator-framework</artifactId>
382 <version>1.3.5-SNAPSHOT</version>
383 </dependency>
384 <dependency>
385 <groupId>com.netflix.curator</groupId>
386 <artifactId>curator-client</artifactId>
387 <version>1.3.5-SNAPSHOT</version>
388 </dependency>
389 <dependency>
390 <groupId>com.netflix.curator</groupId>
391 <artifactId>curator-recipes</artifactId>
392 <version>1.3.5-SNAPSHOT</version>
393 </dependency>
394 <dependency>
395 <groupId>com.netflix.curator</groupId>
396 <artifactId>curator-x-discovery</artifactId>
397 <version>1.3.5-SNAPSHOT</version>
398 </dependency>
399 <!--
400 <dependency>
401 <groupId>net.floodlightcontroller</groupId>
402 <artifactId>packetstreamer-thrift</artifactId>
403 <version>0.1.0</version>
404 </dependency>
405 -->
yoshi2fd4c7e2013-11-22 15:47:55 -0800406 <dependency>
407 <groupId>com.tinkerpop.blueprints.impls.ramcloud</groupId>
408 <artifactId>blueprints-ramcloud-graph</artifactId>
409 <version>2.4.0</version>
410 <scope>system</scope>
411 <systemPath>${project.basedir}/lib/blueprints-ramcloud-graph-2.4.0.jar</systemPath>
412 </dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700413 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700414</project>