blob: a8730a5a82783afc0e90143383eb70a27d392720 [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>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -070024 <!-- In Project repository -->
25 <repository>
26 <id>in-project</id>
27 <name>In Project Repo</name>
28 <url>file://${project.basedir}/repo</url>
29 </repository>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070030 </repositories>
31 <properties>
32 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHI22c77e32013-10-14 15:47:07 -070033 <powermock.version>1.5.1</powermock.version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070034 <restlet.version>2.1-RC1</restlet.version>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -070035 <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>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -070082 <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>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700148 <plugin>
149 <groupId>com.github.github</groupId>
150 <artifactId>site-maven-plugin</artifactId>
151 <version>0.8</version>
152 <configuration>
153 <message>Creating site for ${project.version}</message>
154 <dryRun>true</dryRun>
155 <repositoryName>ONOS</repositoryName>
156 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
157 </configuration>
158 <executions>
159 <execution>
160 <goals>
161 <goal>site</goal>
162 </goals>
163 <phase>site</phase>
164 </execution>
165 </executions>
166 </plugin>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700167 <plugin>
168 <artifactId>maven-assembly-plugin</artifactId>
169 <configuration>
170 <descriptorRefs>
171 <descriptorRef>jar-with-dependencies</descriptorRef>
172 </descriptorRefs>
173 </configuration>
174 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700175 </plugins>
176 </build>
177 <!-- for getting visualization reporting -->
178 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700179 <excludeDefaults>true</excludeDefaults>
180 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700181 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700182 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700183 <plugin>
184 <groupId>org.apache.camel</groupId>
185 <artifactId>guice-maven-plugin</artifactId>
186 <version>2.11.0</version>
187 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700188 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-project-info-reports-plugin</artifactId>
192 <version>2.4</version>
193 <configuration>
194 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
195 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
196 </configuration>
197 <reportSets>
198 <reportSet>
199 <reports>
200 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700201 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700202 <report>scm</report>
203 </reports>
204 </reportSet>
205 </reportSets>
206 </plugin>
207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-javadoc-plugin</artifactId>
210 <version>2.9</version>
211 <configuration>
212 <charset>UTF-8</charset>
213 <locale>en</locale>
214 </configuration>
215 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700216 </plugins>
217 </reporting>
218 <dependencies>
Yuta HIGUCHI5548a492013-10-24 00:39:23 -0700219 <!--
220 <dependency>
221 <groupId>com.esotericsoftware.kryo</groupId>
222 <artifactId>kryo</artifactId>
223 <version>2.22</version>
224 </dependency>
225 -->
226 <dependency>
227 <groupId>net.onrc.onos</groupId>
228 <artifactId>kryo2</artifactId>
229 <version>2.22</version>
230 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700231 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700232 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700233 <groupId>org.apache.cassandra</groupId>
234 <artifactId>apache-cassandra</artifactId>
235 <version>1.2.4</version>
236 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700237 </dependency>
238 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700239 <groupId>com.thinkaurelius.titan</groupId>
240 <artifactId>titan-all</artifactId>
241 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200242 <exclusions>
243 <exclusion>
244 <groupId>org.slf4j</groupId>
245 <artifactId>slf4j-log4j12</artifactId>
246 </exclusion>
247 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700248 </dependency>
249 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700250 <groupId>com.tinkerpop</groupId>
251 <artifactId>frames</artifactId>
252 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700253 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700254 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700255 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700256 <groupId>com.tinkerpop.blueprints</groupId>
257 <artifactId>blueprints-core</artifactId>
258 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700259 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700260 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700261 <dependency>
Pavlin Radoslavov1eee2c82013-10-15 02:30:32 -0700262 <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>
282 <dependency>
283 <groupId>org.codehaus.jackson</groupId>
284 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700285 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700286 </dependency>
287 <dependency>
288 <groupId>org.codehaus.jackson</groupId>
289 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700290 <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>
295 <version>1.0.0</version>
296 <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>
308 <version>13.0.1</version>
309 </dependency>
310 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700311 <dependency>
312 <groupId>org.slf4j</groupId>
313 <artifactId>slf4j-api</artifactId>
314 <version>1.6.4</version>
315 </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 Berde85c58f92013-10-03 18:26:08 -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>
339 <version>2.0.16</version>
340 </dependency>
341 <dependency>
342 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
343 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700344 <version>1.3</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>
HIGUCHI Yutadbd16d92013-10-18 18:08:56 -0700371 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700372 <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 Berde85c58f92013-10-03 18:26:08 -0700428</project>