blob: 41a9b147ee8cd7a3b1778e671e0a0cd19adaae8a [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>
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>
Jonathan Hart2c61a502013-10-18 18:12:26 -0700168 <plugin>
169 <artifactId>maven-assembly-plugin</artifactId>
170 <configuration>
171 <descriptorRefs>
172 <descriptorRef>jar-with-dependencies</descriptorRef>
173 </descriptorRefs>
174 </configuration>
175 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700176 </plugins>
177 </build>
178 <!-- for getting visualization reporting -->
179 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700180 <excludeDefaults>true</excludeDefaults>
181 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700182 <plugins>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700183 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700184 <plugin>
185 <groupId>org.apache.camel</groupId>
186 <artifactId>guice-maven-plugin</artifactId>
187 <version>2.11.0</version>
188 </plugin>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700189 -->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-project-info-reports-plugin</artifactId>
193 <version>2.4</version>
194 <configuration>
195 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
196 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
197 </configuration>
198 <reportSets>
199 <reportSet>
200 <reports>
201 <report>dependencies</report>
HIGUCHI Yuta842b6f72013-10-08 14:19:48 -0700202 <!--report>maven-emma-plugin</report-->
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700203 <report>scm</report>
204 </reports>
205 </reportSet>
206 </reportSets>
207 </plugin>
208 <plugin>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-javadoc-plugin</artifactId>
211 <version>2.9</version>
212 <configuration>
213 <charset>UTF-8</charset>
214 <locale>en</locale>
215 </configuration>
216 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700217 </plugins>
218 </reporting>
219 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700220 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700221 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700222 <groupId>org.apache.cassandra</groupId>
223 <artifactId>apache-cassandra</artifactId>
224 <version>1.2.4</version>
225 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700226 </dependency>
227 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700228 <groupId>com.thinkaurelius.titan</groupId>
229 <artifactId>titan-all</artifactId>
230 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200231 <exclusions>
232 <exclusion>
233 <groupId>org.slf4j</groupId>
234 <artifactId>slf4j-log4j12</artifactId>
235 </exclusion>
236 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700237 </dependency>
238 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700239 <groupId>com.tinkerpop</groupId>
240 <artifactId>frames</artifactId>
241 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700242 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700243 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700244 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700245 <groupId>com.tinkerpop.blueprints</groupId>
246 <artifactId>blueprints-core</artifactId>
247 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700248 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700249 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700250 <dependency>
Pavlin Radoslavov1eee2c82013-10-15 02:30:32 -0700251 <groupId>com.hazelcast</groupId>
252 <artifactId>hazelcast</artifactId>
253 <version>3.0.2</version>
254 </dependency>
255 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700256 <groupId>net.sf.json-lib</groupId>
257 <artifactId>json-lib</artifactId>
258 <version>2.4</version>
259 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700260 </dependency>
261 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700262 <groupId>org.restlet.jse</groupId>
263 <artifactId>org.restlet</artifactId>
264 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700265 </dependency>
266 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700267 <groupId>org.restlet.jse</groupId>
268 <artifactId>org.restlet.ext.slf4j</artifactId>
269 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700270 </dependency>
271 <dependency>
272 <groupId>org.codehaus.jackson</groupId>
273 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700274 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700275 </dependency>
276 <dependency>
277 <groupId>org.codehaus.jackson</groupId>
278 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700279 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700280 </dependency>
281 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700282 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700283 <artifactId>logback-classic</artifactId>
284 <version>1.0.0</version>
285 <scope>runtime</scope>
286 </dependency>
287 <!-- Floodlight's dependencies -->
288 <dependency>
289 <groupId>net.sourceforge.cobertura</groupId>
290 <artifactId>cobertura</artifactId>
291 <version>1.9.4.1</version>
292 </dependency>
293 <!--
294 <dependency>
295 <groupId>com.google.guava</groupId>
296 <artifactId>guava</artifactId>
297 <version>13.0.1</version>
298 </dependency>
299 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700300 <dependency>
301 <groupId>org.slf4j</groupId>
302 <artifactId>slf4j-api</artifactId>
303 <version>1.6.4</version>
304 </dependency>
305 <dependency>
306 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700307 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700308 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700309 </dependency>
310 <dependency>
311 <groupId>org.restlet.jse</groupId>
312 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700313 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700314 </dependency>
315 <dependency>
316 <groupId>org.simpleframework</groupId>
317 <artifactId>simple</artifactId>
318 <version>4.1.21</version>
319 </dependency>
320 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700321 <groupId>io.netty</groupId>
322 <artifactId>netty-all</artifactId>
323 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700324 </dependency>
325 <dependency>
326 <groupId>args4j</groupId>
327 <artifactId>args4j</artifactId>
328 <version>2.0.16</version>
329 </dependency>
330 <dependency>
331 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
332 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700333 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700334 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200335 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700336 <groupId>org.python</groupId>
337 <artifactId>jython-standalone</artifactId>
338 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200339 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200340 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700341 <groupId>org.apache.thrift</groupId>
342 <artifactId>libthrift</artifactId>
343 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200344 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700345 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700346 <groupId>com.google.inject</groupId>
347 <artifactId>guice</artifactId>
348 <version>3.0</version>
349 </dependency>
350 <!-- Dependency for libraries used for testing -->
351 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700352 <groupId>junit</groupId>
353 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700354 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700355 <scope>test</scope>
356 </dependency>
357 <dependency>
358 <groupId>org.easymock</groupId>
359 <artifactId>easymock</artifactId>
Yuta HIGUCHI22c77e32013-10-14 15:47:07 -0700360 <version>3.2</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700361 <scope>test</scope>
362 </dependency>
363 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700364 <groupId>org.powermock</groupId>
365 <artifactId>powermock-module-junit4</artifactId>
366 <version>${powermock.version}</version>
367 <scope>test</scope>
368 </dependency>
369 <dependency>
370 <groupId>org.powermock</groupId>
371 <artifactId>powermock-api-easymock</artifactId>
372 <version>${powermock.version}</version>
373 <scope>test</scope>
374 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700375 <!--
376 <dependency>
377 <groupId>org.objenesis</groupId>
378 <artifactId>objenesis</artifactId>
379 <version>1.2</version>
380 <scope>test</scope>
381 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700382 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700383 <groupId>cglib</groupId>
384 <artifactId>cglib-nodep</artifactId>
385 <version>2.2.2</version>
386 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700387 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700388 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700389 <dependency>
390 <groupId>com.netflix.curator</groupId>
391 <artifactId>curator-framework</artifactId>
392 <version>1.3.5-SNAPSHOT</version>
393 </dependency>
394 <dependency>
395 <groupId>com.netflix.curator</groupId>
396 <artifactId>curator-client</artifactId>
397 <version>1.3.5-SNAPSHOT</version>
398 </dependency>
399 <dependency>
400 <groupId>com.netflix.curator</groupId>
401 <artifactId>curator-recipes</artifactId>
402 <version>1.3.5-SNAPSHOT</version>
403 </dependency>
404 <dependency>
405 <groupId>com.netflix.curator</groupId>
406 <artifactId>curator-x-discovery</artifactId>
407 <version>1.3.5-SNAPSHOT</version>
408 </dependency>
409 <!--
410 <dependency>
411 <groupId>net.floodlightcontroller</groupId>
412 <artifactId>packetstreamer-thrift</artifactId>
413 <version>0.1.0</version>
414 </dependency>
415 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700416 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700417</project>