blob: 98d0e6108e79a91bfc7a677a1d96a47d5d090f75 [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>
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -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>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700115 </plugins>
116 </build>
117 <!-- for getting visualization reporting -->
118 <reporting>
119 <plugins>
120 <plugin>
121 <groupId>org.apache.camel</groupId>
122 <artifactId>guice-maven-plugin</artifactId>
123 <version>2.11.0</version>
124 </plugin>
125 </plugins>
126 </reporting>
127 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700128 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700129 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700130 <groupId>org.apache.cassandra</groupId>
131 <artifactId>apache-cassandra</artifactId>
132 <version>1.2.4</version>
133 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700134 </dependency>
135 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700136 <groupId>com.thinkaurelius.titan</groupId>
137 <artifactId>titan-all</artifactId>
138 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200139 <exclusions>
140 <exclusion>
141 <groupId>org.slf4j</groupId>
142 <artifactId>slf4j-log4j12</artifactId>
143 </exclusion>
144 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700145 </dependency>
146 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700147 <groupId>com.tinkerpop</groupId>
148 <artifactId>frames</artifactId>
149 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700150 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700151 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700152 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700153 <groupId>com.tinkerpop.blueprints</groupId>
154 <artifactId>blueprints-core</artifactId>
155 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700156 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700157 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700158 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700159 <groupId>net.sf.json-lib</groupId>
160 <artifactId>json-lib</artifactId>
161 <version>2.4</version>
162 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700163 </dependency>
164 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700165 <groupId>org.restlet.jse</groupId>
166 <artifactId>org.restlet</artifactId>
167 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700168 </dependency>
169 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700170 <groupId>org.restlet.jse</groupId>
171 <artifactId>org.restlet.ext.slf4j</artifactId>
172 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700173 </dependency>
174 <dependency>
175 <groupId>org.codehaus.jackson</groupId>
176 <artifactId>jackson-core-asl</artifactId>
177 <version>1.9.11</version>
178 </dependency>
179 <dependency>
180 <groupId>org.codehaus.jackson</groupId>
181 <artifactId>jackson-mapper-asl</artifactId>
182 <version>1.9.11</version>
183 </dependency>
184 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700185 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700186 <artifactId>logback-classic</artifactId>
187 <version>1.0.0</version>
188 <scope>runtime</scope>
189 </dependency>
190 <!-- Floodlight's dependencies -->
191 <dependency>
192 <groupId>net.sourceforge.cobertura</groupId>
193 <artifactId>cobertura</artifactId>
194 <version>1.9.4.1</version>
195 </dependency>
196 <!--
197 <dependency>
198 <groupId>com.google.guava</groupId>
199 <artifactId>guava</artifactId>
200 <version>13.0.1</version>
201 </dependency>
202 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700203 <dependency>
204 <groupId>org.slf4j</groupId>
205 <artifactId>slf4j-api</artifactId>
206 <version>1.6.4</version>
207 </dependency>
208 <dependency>
209 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700210 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700211 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700212 </dependency>
213 <dependency>
214 <groupId>org.restlet.jse</groupId>
215 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700216 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700217 </dependency>
218 <dependency>
219 <groupId>org.simpleframework</groupId>
220 <artifactId>simple</artifactId>
221 <version>4.1.21</version>
222 </dependency>
223 <dependency>
224 <groupId>org.jboss.netty</groupId>
225 <artifactId>netty</artifactId>
226 <version>3.2.6.Final</version>
227 </dependency>
228 <dependency>
229 <groupId>args4j</groupId>
230 <artifactId>args4j</artifactId>
231 <version>2.0.16</version>
232 </dependency>
233 <dependency>
234 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
235 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700236 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700237 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200238 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700239 <groupId>org.python</groupId>
240 <artifactId>jython-standalone</artifactId>
241 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200242 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200243 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700244 <groupId>org.apache.thrift</groupId>
245 <artifactId>libthrift</artifactId>
246 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200247 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700248 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700249 <groupId>com.google.inject</groupId>
250 <artifactId>guice</artifactId>
251 <version>3.0</version>
252 </dependency>
253 <!-- Dependency for libraries used for testing -->
254 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700255 <groupId>junit</groupId>
256 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700257 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700258 <scope>test</scope>
259 </dependency>
260 <dependency>
261 <groupId>org.easymock</groupId>
262 <artifactId>easymock</artifactId>
263 <version>3.1</version>
264 <scope>test</scope>
265 </dependency>
266 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700267 <groupId>org.powermock</groupId>
268 <artifactId>powermock-module-junit4</artifactId>
269 <version>${powermock.version}</version>
270 <scope>test</scope>
271 </dependency>
272 <dependency>
273 <groupId>org.powermock</groupId>
274 <artifactId>powermock-api-easymock</artifactId>
275 <version>${powermock.version}</version>
276 <scope>test</scope>
277 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700278 <!--
279 <dependency>
280 <groupId>org.objenesis</groupId>
281 <artifactId>objenesis</artifactId>
282 <version>1.2</version>
283 <scope>test</scope>
284 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700285 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700286 <groupId>cglib</groupId>
287 <artifactId>cglib-nodep</artifactId>
288 <version>2.2.2</version>
289 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700290 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700291 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700292 <dependency>
293 <groupId>com.netflix.curator</groupId>
294 <artifactId>curator-framework</artifactId>
295 <version>1.3.5-SNAPSHOT</version>
296 </dependency>
297 <dependency>
298 <groupId>com.netflix.curator</groupId>
299 <artifactId>curator-client</artifactId>
300 <version>1.3.5-SNAPSHOT</version>
301 </dependency>
302 <dependency>
303 <groupId>com.netflix.curator</groupId>
304 <artifactId>curator-recipes</artifactId>
305 <version>1.3.5-SNAPSHOT</version>
306 </dependency>
307 <dependency>
308 <groupId>com.netflix.curator</groupId>
309 <artifactId>curator-x-discovery</artifactId>
310 <version>1.3.5-SNAPSHOT</version>
311 </dependency>
312 <!--
313 <dependency>
314 <groupId>net.floodlightcontroller</groupId>
315 <artifactId>packetstreamer-thrift</artifactId>
316 <version>0.1.0</version>
317 </dependency>
318 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700319 </dependencies>
320</project>