blob: 1d52337c8d496c863015eeb52ea4e911c6eb0ee3 [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>
Yuta HIGUCHI22c77e32013-10-14 15:47:07 -070035 <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>
HIGUCHI Yuta71c96dd2013-10-20 17:15:56 -070084 <argLine>-XX:MaxPermSize=256m</argLine>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070085 </configuration>
86 </plugin>
87 <!-- exec:java -->
88 <plugin>
89 <groupId>org.codehaus.mojo</groupId>
90 <artifactId>exec-maven-plugin</artifactId>
91 <version>1.2.1</version>
92 <configuration>
HIGUCHI Yuta49cf4d22013-06-17 12:15:17 -070093 <mainClass>net.onrc.onos.ofcontroller.core.Main</mainClass>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070094 </configuration>
95 <executions>
96 </executions>
97 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +120098 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070099 <groupId>org.codehaus.mojo</groupId>
100 <artifactId>build-helper-maven-plugin</artifactId>
101 <version>1.7</version>
102 <executions>
103 <execution>
104 <id>add-source</id>
105 <phase>generate-sources</phase>
106 <goals>
107 <goal>add-source</goal>
108 </goals>
109 <configuration>
110 <sources>
111 <source>lib/gen-java</source>
112 </sources>
113 </configuration>
114 </execution>
115 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200116 </plugin>-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-javadoc-plugin</artifactId>
120 <version>2.9</version>
121 <configuration>
122 <charset>UTF-8</charset>
123 <locale>en</locale>
124 </configuration>
125 </plugin>
timlindberg8b13e702013-07-17 14:45:50 -0700126 <plugin>
127 <groupId>org.jacoco</groupId>
128 <artifactId>jacoco-maven-plugin</artifactId>
129 <version>0.6.3.201306030806</version>
130 <configuration>
131 <destfile>${basedir}/target/jacoco/jacoco.exec</destfile>
132 <datafile>${basedir}/target/jacoco/jacoco.exec</datafile>
133 </configuration>
134 <executions>
135 <execution>
136 <id>jacoco-initialize</id>
137 <goals>
138 <goal>prepare-agent</goal>
139 </goals>
140 </execution>
141 <execution>
142 <id>jacoco-site</id>
143 <phase>package</phase>
144 <goals>
145 <goal>report</goal>
146 </goals>
147 </execution>
148 </executions>
149 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700150 <plugin>
151 <groupId>com.github.github</groupId>
152 <artifactId>site-maven-plugin</artifactId>
153 <version>0.8</version>
154 <configuration>
155 <message>Creating site for ${project.version}</message>
156 <dryRun>true</dryRun>
157 <repositoryName>ONOS</repositoryName>
158 <repositoryOwner>OPENNETWORKINGLAB</repositoryOwner>
159 </configuration>
160 <executions>
161 <execution>
162 <goals>
163 <goal>site</goal>
164 </goals>
165 <phase>site</phase>
166 </execution>
167 </executions>
168 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700169 </plugins>
170 </build>
171 <!-- for getting visualization reporting -->
172 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700173 <excludeDefaults>true</excludeDefaults>
174 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700175 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700176 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700177 <plugin>
178 <groupId>org.apache.camel</groupId>
179 <artifactId>guice-maven-plugin</artifactId>
180 <version>2.11.0</version>
181 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700182 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-project-info-reports-plugin</artifactId>
186 <version>2.4</version>
187 <configuration>
188 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
189 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
190 </configuration>
191 <reportSets>
192 <reportSet>
193 <reports>
194 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700195 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700196 <report>scm</report>
197 </reports>
198 </reportSet>
199 </reportSets>
200 </plugin>
201 <plugin>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-javadoc-plugin</artifactId>
204 <version>2.9</version>
205 <configuration>
206 <charset>UTF-8</charset>
207 <locale>en</locale>
208 </configuration>
209 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700210 </plugins>
211 </reporting>
212 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700213 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700214 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700215 <groupId>org.apache.cassandra</groupId>
216 <artifactId>apache-cassandra</artifactId>
217 <version>1.2.4</version>
218 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700219 </dependency>
220 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700221 <groupId>com.thinkaurelius.titan</groupId>
222 <artifactId>titan-all</artifactId>
223 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200224 <exclusions>
225 <exclusion>
226 <groupId>org.slf4j</groupId>
227 <artifactId>slf4j-log4j12</artifactId>
228 </exclusion>
229 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700230 </dependency>
231 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700232 <groupId>com.tinkerpop</groupId>
233 <artifactId>frames</artifactId>
234 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700235 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700236 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700237 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700238 <groupId>com.tinkerpop.blueprints</groupId>
239 <artifactId>blueprints-core</artifactId>
240 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700241 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700242 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700243 <dependency>
Pavlin Radoslavov1eee2c82013-10-15 02:30:32 -0700244 <groupId>com.hazelcast</groupId>
245 <artifactId>hazelcast</artifactId>
246 <version>3.0.2</version>
247 </dependency>
248 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700249 <groupId>net.sf.json-lib</groupId>
250 <artifactId>json-lib</artifactId>
251 <version>2.4</version>
252 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700253 </dependency>
254 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700255 <groupId>org.restlet.jse</groupId>
256 <artifactId>org.restlet</artifactId>
257 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700258 </dependency>
259 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700260 <groupId>org.restlet.jse</groupId>
261 <artifactId>org.restlet.ext.slf4j</artifactId>
262 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700263 </dependency>
264 <dependency>
265 <groupId>org.codehaus.jackson</groupId>
266 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700267 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700268 </dependency>
269 <dependency>
270 <groupId>org.codehaus.jackson</groupId>
271 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700272 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700273 </dependency>
274 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700275 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700276 <artifactId>logback-classic</artifactId>
277 <version>1.0.0</version>
278 <scope>runtime</scope>
279 </dependency>
280 <!-- Floodlight's dependencies -->
281 <dependency>
282 <groupId>net.sourceforge.cobertura</groupId>
283 <artifactId>cobertura</artifactId>
284 <version>1.9.4.1</version>
285 </dependency>
286 <!--
287 <dependency>
288 <groupId>com.google.guava</groupId>
289 <artifactId>guava</artifactId>
290 <version>13.0.1</version>
291 </dependency>
292 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700293 <dependency>
294 <groupId>org.slf4j</groupId>
295 <artifactId>slf4j-api</artifactId>
296 <version>1.6.4</version>
297 </dependency>
298 <dependency>
299 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700300 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700301 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700302 </dependency>
303 <dependency>
304 <groupId>org.restlet.jse</groupId>
305 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700306 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700307 </dependency>
308 <dependency>
309 <groupId>org.simpleframework</groupId>
310 <artifactId>simple</artifactId>
311 <version>4.1.21</version>
312 </dependency>
313 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700314 <groupId>io.netty</groupId>
315 <artifactId>netty-all</artifactId>
316 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700317 </dependency>
318 <dependency>
319 <groupId>args4j</groupId>
320 <artifactId>args4j</artifactId>
321 <version>2.0.16</version>
322 </dependency>
323 <dependency>
324 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
325 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700326 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700327 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200328 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700329 <groupId>org.python</groupId>
330 <artifactId>jython-standalone</artifactId>
331 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200332 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200333 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700334 <groupId>org.apache.thrift</groupId>
335 <artifactId>libthrift</artifactId>
336 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200337 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700338 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700339 <groupId>com.google.inject</groupId>
340 <artifactId>guice</artifactId>
341 <version>3.0</version>
342 </dependency>
343 <!-- Dependency for libraries used for testing -->
344 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700345 <groupId>junit</groupId>
346 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700347 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700348 <scope>test</scope>
349 </dependency>
350 <dependency>
351 <groupId>org.easymock</groupId>
352 <artifactId>easymock</artifactId>
Yuta HIGUCHI22c77e32013-10-14 15:47:07 -0700353 <version>3.2</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700354 <scope>test</scope>
355 </dependency>
356 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700357 <groupId>org.powermock</groupId>
358 <artifactId>powermock-module-junit4</artifactId>
359 <version>${powermock.version}</version>
360 <scope>test</scope>
361 </dependency>
362 <dependency>
363 <groupId>org.powermock</groupId>
364 <artifactId>powermock-api-easymock</artifactId>
365 <version>${powermock.version}</version>
366 <scope>test</scope>
367 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700368 <!--
369 <dependency>
370 <groupId>org.objenesis</groupId>
371 <artifactId>objenesis</artifactId>
372 <version>1.2</version>
373 <scope>test</scope>
374 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700375 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700376 <groupId>cglib</groupId>
377 <artifactId>cglib-nodep</artifactId>
378 <version>2.2.2</version>
379 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700380 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700381 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700382 <dependency>
383 <groupId>com.netflix.curator</groupId>
384 <artifactId>curator-framework</artifactId>
385 <version>1.3.5-SNAPSHOT</version>
386 </dependency>
387 <dependency>
388 <groupId>com.netflix.curator</groupId>
389 <artifactId>curator-client</artifactId>
390 <version>1.3.5-SNAPSHOT</version>
391 </dependency>
392 <dependency>
393 <groupId>com.netflix.curator</groupId>
394 <artifactId>curator-recipes</artifactId>
395 <version>1.3.5-SNAPSHOT</version>
396 </dependency>
397 <dependency>
398 <groupId>com.netflix.curator</groupId>
399 <artifactId>curator-x-discovery</artifactId>
400 <version>1.3.5-SNAPSHOT</version>
401 </dependency>
402 <!--
403 <dependency>
404 <groupId>net.floodlightcontroller</groupId>
405 <artifactId>packetstreamer-thrift</artifactId>
406 <version>0.1.0</version>
407 </dependency>
408 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700409 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700410</project>