blob: 4899f34a59018b2e0e1fada968530c144c637eab [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>
HIGUCHI Yutab84741c2013-08-05 23:05:40 +090083 <argLine>-XX:MaxPermSize=512m</argLine>
84 <reuseFork>false</reuseFork>
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 Yutae7aa9252013-06-06 14:54:21 -0700150 </plugins>
151 </build>
152 <!-- for getting visualization reporting -->
153 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700154 <excludeDefaults>true</excludeDefaults>
155 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700156 <plugins>
157 <plugin>
158 <groupId>org.apache.camel</groupId>
159 <artifactId>guice-maven-plugin</artifactId>
160 <version>2.11.0</version>
161 </plugin>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-project-info-reports-plugin</artifactId>
165 <version>2.4</version>
166 <configuration>
167 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
168 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
169 </configuration>
170 <reportSets>
171 <reportSet>
172 <reports>
173 <report>dependencies</report>
timlindberg8b13e702013-07-17 14:45:50 -0700174 <report>maven-emma-plugin</report>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700175 <report>scm</report>
176 </reports>
177 </reportSet>
178 </reportSets>
179 </plugin>
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-javadoc-plugin</artifactId>
183 <version>2.9</version>
184 <configuration>
185 <charset>UTF-8</charset>
186 <locale>en</locale>
187 </configuration>
188 </plugin>
HIGUCHI Yutab84741c2013-08-05 23:05:40 +0900189 <plugin>
190 <groupId>org.codehaus.mojo</groupId>
191 <artifactId>cobertura-maven-plugin</artifactId>
192 <version>2.5.2</version>
193 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700194 </plugins>
195 </reporting>
196 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700197 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700198 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700199 <groupId>org.apache.cassandra</groupId>
200 <artifactId>apache-cassandra</artifactId>
201 <version>1.2.4</version>
202 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700203 </dependency>
204 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700205 <groupId>com.thinkaurelius.titan</groupId>
206 <artifactId>titan-all</artifactId>
207 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200208 <exclusions>
209 <exclusion>
210 <groupId>org.slf4j</groupId>
211 <artifactId>slf4j-log4j12</artifactId>
212 </exclusion>
213 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700214 </dependency>
215 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700216 <groupId>com.tinkerpop</groupId>
217 <artifactId>frames</artifactId>
218 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700219 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700220 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700221 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700222 <groupId>com.tinkerpop.blueprints</groupId>
223 <artifactId>blueprints-core</artifactId>
224 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700225 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700226 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700227 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700228 <groupId>net.sf.json-lib</groupId>
229 <artifactId>json-lib</artifactId>
230 <version>2.4</version>
231 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700232 </dependency>
233 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700234 <groupId>org.restlet.jse</groupId>
235 <artifactId>org.restlet</artifactId>
236 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700237 </dependency>
238 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700239 <groupId>org.restlet.jse</groupId>
240 <artifactId>org.restlet.ext.slf4j</artifactId>
241 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700242 </dependency>
243 <dependency>
244 <groupId>org.codehaus.jackson</groupId>
245 <artifactId>jackson-core-asl</artifactId>
246 <version>1.9.11</version>
247 </dependency>
248 <dependency>
249 <groupId>org.codehaus.jackson</groupId>
250 <artifactId>jackson-mapper-asl</artifactId>
251 <version>1.9.11</version>
252 </dependency>
253 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700254 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700255 <artifactId>logback-classic</artifactId>
256 <version>1.0.0</version>
257 <scope>runtime</scope>
258 </dependency>
259 <!-- Floodlight's dependencies -->
260 <dependency>
261 <groupId>net.sourceforge.cobertura</groupId>
262 <artifactId>cobertura</artifactId>
263 <version>1.9.4.1</version>
264 </dependency>
265 <!--
266 <dependency>
267 <groupId>com.google.guava</groupId>
268 <artifactId>guava</artifactId>
269 <version>13.0.1</version>
270 </dependency>
271 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700272 <dependency>
273 <groupId>org.slf4j</groupId>
274 <artifactId>slf4j-api</artifactId>
275 <version>1.6.4</version>
276 </dependency>
277 <dependency>
278 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700279 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700280 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700281 </dependency>
282 <dependency>
283 <groupId>org.restlet.jse</groupId>
284 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700285 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700286 </dependency>
287 <dependency>
288 <groupId>org.simpleframework</groupId>
289 <artifactId>simple</artifactId>
290 <version>4.1.21</version>
291 </dependency>
292 <dependency>
293 <groupId>org.jboss.netty</groupId>
294 <artifactId>netty</artifactId>
295 <version>3.2.6.Final</version>
296 </dependency>
297 <dependency>
298 <groupId>args4j</groupId>
299 <artifactId>args4j</artifactId>
300 <version>2.0.16</version>
301 </dependency>
302 <dependency>
303 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
304 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700305 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700306 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200307 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700308 <groupId>org.python</groupId>
309 <artifactId>jython-standalone</artifactId>
310 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200311 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200312 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700313 <groupId>org.apache.thrift</groupId>
314 <artifactId>libthrift</artifactId>
315 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200316 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700317 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700318 <groupId>com.google.inject</groupId>
319 <artifactId>guice</artifactId>
320 <version>3.0</version>
321 </dependency>
322 <!-- Dependency for libraries used for testing -->
323 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700324 <groupId>junit</groupId>
325 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700326 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700327 <scope>test</scope>
328 </dependency>
329 <dependency>
330 <groupId>org.easymock</groupId>
331 <artifactId>easymock</artifactId>
332 <version>3.1</version>
333 <scope>test</scope>
334 </dependency>
335 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700336 <groupId>org.powermock</groupId>
337 <artifactId>powermock-module-junit4</artifactId>
338 <version>${powermock.version}</version>
339 <scope>test</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.powermock</groupId>
343 <artifactId>powermock-api-easymock</artifactId>
344 <version>${powermock.version}</version>
345 <scope>test</scope>
346 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700347 <!--
348 <dependency>
349 <groupId>org.objenesis</groupId>
350 <artifactId>objenesis</artifactId>
351 <version>1.2</version>
352 <scope>test</scope>
353 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700354 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700355 <groupId>cglib</groupId>
356 <artifactId>cglib-nodep</artifactId>
357 <version>2.2.2</version>
358 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700359 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700360 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700361 <dependency>
362 <groupId>com.netflix.curator</groupId>
363 <artifactId>curator-framework</artifactId>
364 <version>1.3.5-SNAPSHOT</version>
365 </dependency>
366 <dependency>
367 <groupId>com.netflix.curator</groupId>
368 <artifactId>curator-client</artifactId>
369 <version>1.3.5-SNAPSHOT</version>
370 </dependency>
371 <dependency>
372 <groupId>com.netflix.curator</groupId>
373 <artifactId>curator-recipes</artifactId>
374 <version>1.3.5-SNAPSHOT</version>
375 </dependency>
376 <dependency>
377 <groupId>com.netflix.curator</groupId>
378 <artifactId>curator-x-discovery</artifactId>
379 <version>1.3.5-SNAPSHOT</version>
380 </dependency>
381 <!--
382 <dependency>
383 <groupId>net.floodlightcontroller</groupId>
384 <artifactId>packetstreamer-thrift</artifactId>
385 <version>0.1.0</version>
386 </dependency>
387 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700388 </dependencies>
389</project>