blob: 52fe30acaf19a0169c6a1b70982a3fb5a4264e75 [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>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700124 </plugins>
125 </build>
126 <!-- for getting visualization reporting -->
127 <reporting>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700128 <excludeDefaults>true</excludeDefaults>
129 <outputDirectory>${project.build.directory}/site</outputDirectory>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700130 <plugins>
131 <plugin>
132 <groupId>org.apache.camel</groupId>
133 <artifactId>guice-maven-plugin</artifactId>
134 <version>2.11.0</version>
135 </plugin>
Naoki Shiota1c393ce2013-06-28 22:55:14 -0700136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-project-info-reports-plugin</artifactId>
139 <version>2.4</version>
140 <configuration>
141 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
142 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
143 </configuration>
144 <reportSets>
145 <reportSet>
146 <reports>
147 <report>dependencies</report>
148 <report>scm</report>
149 </reports>
150 </reportSet>
151 </reportSets>
152 </plugin>
153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-javadoc-plugin</artifactId>
156 <version>2.9</version>
157 <configuration>
158 <charset>UTF-8</charset>
159 <locale>en</locale>
160 </configuration>
161 </plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700162 </plugins>
163 </reporting>
164 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700165 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700166 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700167 <groupId>org.apache.cassandra</groupId>
168 <artifactId>apache-cassandra</artifactId>
169 <version>1.2.4</version>
170 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700171 </dependency>
172 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700173 <groupId>com.thinkaurelius.titan</groupId>
174 <artifactId>titan-all</artifactId>
175 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200176 <exclusions>
177 <exclusion>
178 <groupId>org.slf4j</groupId>
179 <artifactId>slf4j-log4j12</artifactId>
180 </exclusion>
181 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700182 </dependency>
183 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700184 <groupId>com.tinkerpop</groupId>
185 <artifactId>frames</artifactId>
186 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700187 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700188 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700189 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700190 <groupId>com.tinkerpop.blueprints</groupId>
191 <artifactId>blueprints-core</artifactId>
192 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700193 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700194 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700195 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700196 <groupId>net.sf.json-lib</groupId>
197 <artifactId>json-lib</artifactId>
198 <version>2.4</version>
199 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700200 </dependency>
201 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700202 <groupId>org.restlet.jse</groupId>
203 <artifactId>org.restlet</artifactId>
204 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700205 </dependency>
206 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700207 <groupId>org.restlet.jse</groupId>
208 <artifactId>org.restlet.ext.slf4j</artifactId>
209 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700210 </dependency>
211 <dependency>
212 <groupId>org.codehaus.jackson</groupId>
213 <artifactId>jackson-core-asl</artifactId>
214 <version>1.9.11</version>
215 </dependency>
216 <dependency>
217 <groupId>org.codehaus.jackson</groupId>
218 <artifactId>jackson-mapper-asl</artifactId>
219 <version>1.9.11</version>
220 </dependency>
221 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700222 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700223 <artifactId>logback-classic</artifactId>
224 <version>1.0.0</version>
225 <scope>runtime</scope>
226 </dependency>
227 <!-- Floodlight's dependencies -->
228 <dependency>
229 <groupId>net.sourceforge.cobertura</groupId>
230 <artifactId>cobertura</artifactId>
231 <version>1.9.4.1</version>
232 </dependency>
233 <!--
234 <dependency>
235 <groupId>com.google.guava</groupId>
236 <artifactId>guava</artifactId>
237 <version>13.0.1</version>
238 </dependency>
239 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700240 <dependency>
241 <groupId>org.slf4j</groupId>
242 <artifactId>slf4j-api</artifactId>
243 <version>1.6.4</version>
244 </dependency>
245 <dependency>
246 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700247 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700248 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700249 </dependency>
250 <dependency>
251 <groupId>org.restlet.jse</groupId>
252 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700253 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700254 </dependency>
255 <dependency>
256 <groupId>org.simpleframework</groupId>
257 <artifactId>simple</artifactId>
258 <version>4.1.21</version>
259 </dependency>
260 <dependency>
261 <groupId>org.jboss.netty</groupId>
262 <artifactId>netty</artifactId>
263 <version>3.2.6.Final</version>
264 </dependency>
265 <dependency>
266 <groupId>args4j</groupId>
267 <artifactId>args4j</artifactId>
268 <version>2.0.16</version>
269 </dependency>
270 <dependency>
271 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
272 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700273 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700274 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200275 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700276 <groupId>org.python</groupId>
277 <artifactId>jython-standalone</artifactId>
278 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200279 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200280 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700281 <groupId>org.apache.thrift</groupId>
282 <artifactId>libthrift</artifactId>
283 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200284 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700285 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700286 <groupId>com.google.inject</groupId>
287 <artifactId>guice</artifactId>
288 <version>3.0</version>
289 </dependency>
290 <!-- Dependency for libraries used for testing -->
291 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700292 <groupId>junit</groupId>
293 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700294 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700295 <scope>test</scope>
296 </dependency>
297 <dependency>
298 <groupId>org.easymock</groupId>
299 <artifactId>easymock</artifactId>
300 <version>3.1</version>
301 <scope>test</scope>
302 </dependency>
303 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700304 <groupId>org.powermock</groupId>
305 <artifactId>powermock-module-junit4</artifactId>
306 <version>${powermock.version}</version>
307 <scope>test</scope>
308 </dependency>
309 <dependency>
310 <groupId>org.powermock</groupId>
311 <artifactId>powermock-api-easymock</artifactId>
312 <version>${powermock.version}</version>
313 <scope>test</scope>
314 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700315 <!--
316 <dependency>
317 <groupId>org.objenesis</groupId>
318 <artifactId>objenesis</artifactId>
319 <version>1.2</version>
320 <scope>test</scope>
321 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700322 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700323 <groupId>cglib</groupId>
324 <artifactId>cglib-nodep</artifactId>
325 <version>2.2.2</version>
326 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700327 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700328 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700329 <dependency>
330 <groupId>com.netflix.curator</groupId>
331 <artifactId>curator-framework</artifactId>
332 <version>1.3.5-SNAPSHOT</version>
333 </dependency>
334 <dependency>
335 <groupId>com.netflix.curator</groupId>
336 <artifactId>curator-client</artifactId>
337 <version>1.3.5-SNAPSHOT</version>
338 </dependency>
339 <dependency>
340 <groupId>com.netflix.curator</groupId>
341 <artifactId>curator-recipes</artifactId>
342 <version>1.3.5-SNAPSHOT</version>
343 </dependency>
344 <dependency>
345 <groupId>com.netflix.curator</groupId>
346 <artifactId>curator-x-discovery</artifactId>
347 <version>1.3.5-SNAPSHOT</version>
348 </dependency>
349 <!--
350 <dependency>
351 <groupId>net.floodlightcontroller</groupId>
352 <artifactId>packetstreamer-thrift</artifactId>
353 <version>0.1.0</version>
354 </dependency>
355 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700356 </dependencies>
357</project>