blob: 002ba6004d2d736d2c315ba4c04a478b2b3b446b [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>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700169 <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>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700184 <!--
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>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700190 -->
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>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700203 <!--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>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700221 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700222 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700223 <groupId>org.apache.cassandra</groupId>
224 <artifactId>apache-cassandra</artifactId>
225 <version>1.2.4</version>
226 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700227 </dependency>
228 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700229 <groupId>com.thinkaurelius.titan</groupId>
230 <artifactId>titan-all</artifactId>
231 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200232 <exclusions>
233 <exclusion>
234 <groupId>org.slf4j</groupId>
235 <artifactId>slf4j-log4j12</artifactId>
236 </exclusion>
237 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700238 </dependency>
239 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700240 <groupId>com.tinkerpop</groupId>
241 <artifactId>frames</artifactId>
242 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700243 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700244 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700245 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700246 <groupId>com.tinkerpop.blueprints</groupId>
247 <artifactId>blueprints-core</artifactId>
248 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700249 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700250 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700251 <dependency>
Pavlin Radoslavov1eee2c82013-10-15 02:30:32 -0700252 <groupId>com.hazelcast</groupId>
253 <artifactId>hazelcast</artifactId>
254 <version>3.0.2</version>
255 </dependency>
256 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700257 <groupId>net.sf.json-lib</groupId>
258 <artifactId>json-lib</artifactId>
259 <version>2.4</version>
260 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700261 </dependency>
262 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700263 <groupId>org.restlet.jse</groupId>
264 <artifactId>org.restlet</artifactId>
265 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700266 </dependency>
267 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700268 <groupId>org.restlet.jse</groupId>
269 <artifactId>org.restlet.ext.slf4j</artifactId>
270 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700271 </dependency>
272 <dependency>
273 <groupId>org.codehaus.jackson</groupId>
274 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700275 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700276 </dependency>
277 <dependency>
278 <groupId>org.codehaus.jackson</groupId>
279 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700280 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700281 </dependency>
282 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700283 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700284 <artifactId>logback-classic</artifactId>
285 <version>1.0.0</version>
286 <scope>runtime</scope>
287 </dependency>
288 <!-- Floodlight's dependencies -->
289 <dependency>
290 <groupId>net.sourceforge.cobertura</groupId>
291 <artifactId>cobertura</artifactId>
292 <version>1.9.4.1</version>
293 </dependency>
294 <!--
295 <dependency>
296 <groupId>com.google.guava</groupId>
297 <artifactId>guava</artifactId>
298 <version>13.0.1</version>
299 </dependency>
300 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700301 <dependency>
302 <groupId>org.slf4j</groupId>
303 <artifactId>slf4j-api</artifactId>
304 <version>1.6.4</version>
305 </dependency>
306 <dependency>
307 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700308 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700309 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700310 </dependency>
311 <dependency>
312 <groupId>org.restlet.jse</groupId>
313 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700314 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700315 </dependency>
316 <dependency>
317 <groupId>org.simpleframework</groupId>
318 <artifactId>simple</artifactId>
319 <version>4.1.21</version>
320 </dependency>
321 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700322 <groupId>io.netty</groupId>
323 <artifactId>netty-all</artifactId>
324 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700325 </dependency>
326 <dependency>
327 <groupId>args4j</groupId>
328 <artifactId>args4j</artifactId>
329 <version>2.0.16</version>
330 </dependency>
331 <dependency>
332 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
333 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700334 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700335 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200336 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700337 <groupId>org.python</groupId>
338 <artifactId>jython-standalone</artifactId>
339 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200340 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200341 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700342 <groupId>org.apache.thrift</groupId>
343 <artifactId>libthrift</artifactId>
344 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200345 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700346 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700347 <groupId>com.google.inject</groupId>
348 <artifactId>guice</artifactId>
349 <version>3.0</version>
350 </dependency>
351 <!-- Dependency for libraries used for testing -->
352 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700353 <groupId>junit</groupId>
354 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700355 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700356 <scope>test</scope>
357 </dependency>
358 <dependency>
359 <groupId>org.easymock</groupId>
360 <artifactId>easymock</artifactId>
HIGUCHI Yutadbd16d92013-10-18 18:08:56 -0700361 <version>3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700362 <scope>test</scope>
363 </dependency>
364 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700365 <groupId>org.powermock</groupId>
366 <artifactId>powermock-module-junit4</artifactId>
367 <version>${powermock.version}</version>
368 <scope>test</scope>
369 </dependency>
370 <dependency>
371 <groupId>org.powermock</groupId>
372 <artifactId>powermock-api-easymock</artifactId>
373 <version>${powermock.version}</version>
374 <scope>test</scope>
375 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700376 <!--
377 <dependency>
378 <groupId>org.objenesis</groupId>
379 <artifactId>objenesis</artifactId>
380 <version>1.2</version>
381 <scope>test</scope>
382 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700383 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700384 <groupId>cglib</groupId>
385 <artifactId>cglib-nodep</artifactId>
386 <version>2.2.2</version>
387 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700388 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700389 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700390 <dependency>
391 <groupId>com.netflix.curator</groupId>
392 <artifactId>curator-framework</artifactId>
393 <version>1.3.5-SNAPSHOT</version>
394 </dependency>
395 <dependency>
396 <groupId>com.netflix.curator</groupId>
397 <artifactId>curator-client</artifactId>
398 <version>1.3.5-SNAPSHOT</version>
399 </dependency>
400 <dependency>
401 <groupId>com.netflix.curator</groupId>
402 <artifactId>curator-recipes</artifactId>
403 <version>1.3.5-SNAPSHOT</version>
404 </dependency>
405 <dependency>
406 <groupId>com.netflix.curator</groupId>
407 <artifactId>curator-x-discovery</artifactId>
408 <version>1.3.5-SNAPSHOT</version>
409 </dependency>
410 <!--
411 <dependency>
412 <groupId>net.floodlightcontroller</groupId>
413 <artifactId>packetstreamer-thrift</artifactId>
414 <version>0.1.0</version>
415 </dependency>
416 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700417 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700418</project>