blob: 3e9dc4c02b9e40648a7b4790bccaa826803a8a56 [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>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -070035 <powermock.version>1.5</powermock.version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070036 <restlet.version>2.1-RC1</restlet.version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070037 </properties>
38 <build>
39 <plugins>
40 <plugin>
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-install-plugin</artifactId>
43 <version>2.3.1</version>
44 <executions>
45 </executions>
46 </plugin>
47 <!-- guice maven plugin for dependency injection inside maven -->
48 <plugin>
49 <groupId>org.apache.camel</groupId>
50 <artifactId>guice-maven-plugin</artifactId>
51 <version>2.11.0</version>
52 </plugin>
53 <!-- compile -->
54 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-compiler-plugin</artifactId>
57 <version>2.3.2</version>
58 <configuration>
59 <source>1.6</source>
60 <target>1.6</target>
61 <encoding>UTF-8</encoding>
62 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070063 <executions>
64 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070065 </plugin>
66 <!-- test -->
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-surefire-plugin</artifactId>
70 <version>2.12</version>
71 <configuration>
72 <excludes>
73 <!-- exclude all test cases for now -->
74 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
75 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070076 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070077 <exclude>**/test/*</exclude>
78 <exclude>**/Test*.java</exclude>
79 <exclude>**/*Test.java</exclude>
80 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070081 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070082 </excludes>
83 </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 Yutae7aa9252013-06-06 14:54:21 -0700148 </plugins>
149 </build>
150 <!-- for getting visualization reporting -->
151 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700152 <excludeDefaults>true</excludeDefaults>
153 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700154 <plugins>
155 <plugin>
156 <groupId>org.apache.camel</groupId>
157 <artifactId>guice-maven-plugin</artifactId>
158 <version>2.11.0</version>
159 </plugin>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-project-info-reports-plugin</artifactId>
163 <version>2.4</version>
164 <configuration>
165 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
166 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
167 </configuration>
168 <reportSets>
169 <reportSet>
170 <reports>
171 <report>dependencies</report>
timlindberg8b13e702013-07-17 14:45:50 -0700172 <report>maven-emma-plugin</report>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700173 <report>scm</report>
174 </reports>
175 </reportSet>
176 </reportSets>
177 </plugin>
178 <plugin>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-javadoc-plugin</artifactId>
181 <version>2.9</version>
182 <configuration>
183 <charset>UTF-8</charset>
184 <locale>en</locale>
185 </configuration>
186 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700187 </plugins>
188 </reporting>
189 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700190 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700191 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700192 <groupId>org.apache.cassandra</groupId>
193 <artifactId>apache-cassandra</artifactId>
194 <version>1.2.4</version>
195 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700196 </dependency>
197 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700198 <groupId>com.thinkaurelius.titan</groupId>
199 <artifactId>titan-all</artifactId>
200 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200201 <exclusions>
202 <exclusion>
203 <groupId>org.slf4j</groupId>
204 <artifactId>slf4j-log4j12</artifactId>
205 </exclusion>
206 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700207 </dependency>
208 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700209 <groupId>com.tinkerpop</groupId>
210 <artifactId>frames</artifactId>
211 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700212 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700213 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700214 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700215 <groupId>com.tinkerpop.blueprints</groupId>
216 <artifactId>blueprints-core</artifactId>
217 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700218 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700219 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700220 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700221 <groupId>net.sf.json-lib</groupId>
222 <artifactId>json-lib</artifactId>
223 <version>2.4</version>
224 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700225 </dependency>
226 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700227 <groupId>org.restlet.jse</groupId>
228 <artifactId>org.restlet</artifactId>
229 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700230 </dependency>
231 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700232 <groupId>org.restlet.jse</groupId>
233 <artifactId>org.restlet.ext.slf4j</artifactId>
234 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700235 </dependency>
236 <dependency>
237 <groupId>org.codehaus.jackson</groupId>
238 <artifactId>jackson-core-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700239 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700240 </dependency>
241 <dependency>
242 <groupId>org.codehaus.jackson</groupId>
243 <artifactId>jackson-mapper-asl</artifactId>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700244 <version>1.9.13</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700245 </dependency>
246 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700247 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700248 <artifactId>logback-classic</artifactId>
249 <version>1.0.0</version>
250 <scope>runtime</scope>
251 </dependency>
252 <!-- Floodlight's dependencies -->
253 <dependency>
254 <groupId>net.sourceforge.cobertura</groupId>
255 <artifactId>cobertura</artifactId>
256 <version>1.9.4.1</version>
257 </dependency>
258 <!--
259 <dependency>
260 <groupId>com.google.guava</groupId>
261 <artifactId>guava</artifactId>
262 <version>13.0.1</version>
263 </dependency>
264 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700265 <dependency>
266 <groupId>org.slf4j</groupId>
267 <artifactId>slf4j-api</artifactId>
268 <version>1.6.4</version>
269 </dependency>
270 <dependency>
271 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700272 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700273 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700274 </dependency>
275 <dependency>
276 <groupId>org.restlet.jse</groupId>
277 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700278 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700279 </dependency>
280 <dependency>
281 <groupId>org.simpleframework</groupId>
282 <artifactId>simple</artifactId>
283 <version>4.1.21</version>
284 </dependency>
285 <dependency>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700286 <groupId>io.netty</groupId>
287 <artifactId>netty-all</artifactId>
288 <version>4.0.8.Final</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700289 </dependency>
290 <dependency>
291 <groupId>args4j</groupId>
292 <artifactId>args4j</artifactId>
293 <version>2.0.16</version>
294 </dependency>
295 <dependency>
296 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
297 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700298 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700299 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200300 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700301 <groupId>org.python</groupId>
302 <artifactId>jython-standalone</artifactId>
303 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200304 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200305 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700306 <groupId>org.apache.thrift</groupId>
307 <artifactId>libthrift</artifactId>
308 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200309 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700310 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700311 <groupId>com.google.inject</groupId>
312 <artifactId>guice</artifactId>
313 <version>3.0</version>
314 </dependency>
315 <!-- Dependency for libraries used for testing -->
316 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700317 <groupId>junit</groupId>
318 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700319 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700320 <scope>test</scope>
321 </dependency>
322 <dependency>
323 <groupId>org.easymock</groupId>
324 <artifactId>easymock</artifactId>
325 <version>3.1</version>
326 <scope>test</scope>
327 </dependency>
328 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700329 <groupId>org.powermock</groupId>
330 <artifactId>powermock-module-junit4</artifactId>
331 <version>${powermock.version}</version>
332 <scope>test</scope>
333 </dependency>
334 <dependency>
335 <groupId>org.powermock</groupId>
336 <artifactId>powermock-api-easymock</artifactId>
337 <version>${powermock.version}</version>
338 <scope>test</scope>
339 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700340 <!--
341 <dependency>
342 <groupId>org.objenesis</groupId>
343 <artifactId>objenesis</artifactId>
344 <version>1.2</version>
345 <scope>test</scope>
346 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700347 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700348 <groupId>cglib</groupId>
349 <artifactId>cglib-nodep</artifactId>
350 <version>2.2.2</version>
351 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700352 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700353 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700354 <dependency>
355 <groupId>com.netflix.curator</groupId>
356 <artifactId>curator-framework</artifactId>
357 <version>1.3.5-SNAPSHOT</version>
358 </dependency>
359 <dependency>
360 <groupId>com.netflix.curator</groupId>
361 <artifactId>curator-client</artifactId>
362 <version>1.3.5-SNAPSHOT</version>
363 </dependency>
364 <dependency>
365 <groupId>com.netflix.curator</groupId>
366 <artifactId>curator-recipes</artifactId>
367 <version>1.3.5-SNAPSHOT</version>
368 </dependency>
369 <dependency>
370 <groupId>com.netflix.curator</groupId>
371 <artifactId>curator-x-discovery</artifactId>
372 <version>1.3.5-SNAPSHOT</version>
373 </dependency>
374 <!--
375 <dependency>
376 <groupId>net.floodlightcontroller</groupId>
377 <artifactId>packetstreamer-thrift</artifactId>
378 <version>0.1.0</version>
379 </dependency>
380 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700381 </dependencies>
Pankaj Berde85c58f92013-10-03 18:26:08 -0700382</project>