blob: 71e8192e1361fb57e3e9eb5351eea2fd38c14c2f [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>
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>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700235 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700236 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700237 <groupId>com.tinkerpop.blueprints</groupId>
238 <artifactId>blueprints-core</artifactId>
239 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700240 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700241 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700242 <dependency>
Pavlin Radoslavov1eee2c82013-10-15 02:30:32 -0700243 <groupId>com.hazelcast</groupId>
244 <artifactId>hazelcast</artifactId>
245 <version>3.0.2</version>
246 </dependency>
247 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700248 <groupId>net.sf.json-lib</groupId>
249 <artifactId>json-lib</artifactId>
250 <version>2.4</version>
251 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700252 </dependency>
253 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700254 <groupId>org.restlet.jse</groupId>
255 <artifactId>org.restlet</artifactId>
256 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700257 </dependency>
258 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700259 <groupId>org.restlet.jse</groupId>
260 <artifactId>org.restlet.ext.slf4j</artifactId>
261 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700262 </dependency>
263 <dependency>
264 <groupId>org.codehaus.jackson</groupId>
265 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700266 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700267 </dependency>
268 <dependency>
269 <groupId>org.codehaus.jackson</groupId>
270 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700271 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700272 </dependency>
273 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700274 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700275 <artifactId>logback-classic</artifactId>
276 <version>1.0.0</version>
277 <scope>runtime</scope>
278 </dependency>
279 <!-- Floodlight's dependencies -->
280 <dependency>
281 <groupId>net.sourceforge.cobertura</groupId>
282 <artifactId>cobertura</artifactId>
283 <version>1.9.4.1</version>
284 </dependency>
285 <!--
286 <dependency>
287 <groupId>com.google.guava</groupId>
288 <artifactId>guava</artifactId>
289 <version>13.0.1</version>
290 </dependency>
291 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700292 <dependency>
293 <groupId>org.slf4j</groupId>
294 <artifactId>slf4j-api</artifactId>
295 <version>1.6.4</version>
296 </dependency>
297 <dependency>
298 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700299 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700300 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700301 </dependency>
302 <dependency>
303 <groupId>org.restlet.jse</groupId>
304 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700305 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700306 </dependency>
307 <dependency>
308 <groupId>org.simpleframework</groupId>
309 <artifactId>simple</artifactId>
310 <version>4.1.21</version>
311 </dependency>
312 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700313 <groupId>io.netty</groupId>
314 <artifactId>netty-all</artifactId>
315 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700316 </dependency>
317 <dependency>
318 <groupId>args4j</groupId>
319 <artifactId>args4j</artifactId>
320 <version>2.0.16</version>
321 </dependency>
322 <dependency>
323 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
324 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700325 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700326 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200327 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700328 <groupId>org.python</groupId>
329 <artifactId>jython-standalone</artifactId>
330 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200331 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200332 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700333 <groupId>org.apache.thrift</groupId>
334 <artifactId>libthrift</artifactId>
335 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200336 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700337 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700338 <groupId>com.google.inject</groupId>
339 <artifactId>guice</artifactId>
340 <version>3.0</version>
341 </dependency>
342 <!-- Dependency for libraries used for testing -->
343 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700344 <groupId>junit</groupId>
345 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700346 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>org.easymock</groupId>
351 <artifactId>easymock</artifactId>
Yuta HIGUCHI22c77e32013-10-14 15:47:07 -0700352 <version>3.2</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700353 <scope>test</scope>
354 </dependency>
355 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700356 <groupId>org.powermock</groupId>
357 <artifactId>powermock-module-junit4</artifactId>
358 <version>${powermock.version}</version>
359 <scope>test</scope>
360 </dependency>
361 <dependency>
362 <groupId>org.powermock</groupId>
363 <artifactId>powermock-api-easymock</artifactId>
364 <version>${powermock.version}</version>
365 <scope>test</scope>
366 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700367 <!--
368 <dependency>
369 <groupId>org.objenesis</groupId>
370 <artifactId>objenesis</artifactId>
371 <version>1.2</version>
372 <scope>test</scope>
373 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700374 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700375 <groupId>cglib</groupId>
376 <artifactId>cglib-nodep</artifactId>
377 <version>2.2.2</version>
378 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700379 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700380 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700381 <dependency>
382 <groupId>com.netflix.curator</groupId>
383 <artifactId>curator-framework</artifactId>
384 <version>1.3.5-SNAPSHOT</version>
385 </dependency>
386 <dependency>
387 <groupId>com.netflix.curator</groupId>
388 <artifactId>curator-client</artifactId>
389 <version>1.3.5-SNAPSHOT</version>
390 </dependency>
391 <dependency>
392 <groupId>com.netflix.curator</groupId>
393 <artifactId>curator-recipes</artifactId>
394 <version>1.3.5-SNAPSHOT</version>
395 </dependency>
396 <dependency>
397 <groupId>com.netflix.curator</groupId>
398 <artifactId>curator-x-discovery</artifactId>
399 <version>1.3.5-SNAPSHOT</version>
400 </dependency>
401 <!--
402 <dependency>
403 <groupId>net.floodlightcontroller</groupId>
404 <artifactId>packetstreamer-thrift</artifactId>
405 <version>0.1.0</version>
406 </dependency>
407 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700408 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700409</project>