blob: f39e7c2d19c14089a0c182d46ec60432e581d147 [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>
28 </repository>
29 </repositories>
30 <properties>
31 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -070032 <powermock.version>1.5</powermock.version>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070033 <restlet.version>2.1-RC1</restlet.version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070034 </properties>
35 <build>
36 <plugins>
37 <plugin>
38 <groupId>org.apache.maven.plugins</groupId>
39 <artifactId>maven-install-plugin</artifactId>
40 <version>2.3.1</version>
41 <executions>
42 </executions>
43 </plugin>
44 <!-- guice maven plugin for dependency injection inside maven -->
45 <plugin>
46 <groupId>org.apache.camel</groupId>
47 <artifactId>guice-maven-plugin</artifactId>
48 <version>2.11.0</version>
49 </plugin>
50 <!-- compile -->
51 <plugin>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-compiler-plugin</artifactId>
54 <version>2.3.2</version>
55 <configuration>
56 <source>1.6</source>
57 <target>1.6</target>
58 <encoding>UTF-8</encoding>
59 </configuration>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070060 <executions>
61 </executions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070062 </plugin>
63 <!-- test -->
64 <plugin>
65 <groupId>org.apache.maven.plugins</groupId>
66 <artifactId>maven-surefire-plugin</artifactId>
67 <version>2.12</version>
68 <configuration>
69 <excludes>
70 <!-- exclude all test cases for now -->
71 <!-- <exclude>**/storage/tests/StorageTest.java</exclude> -->
72 <!-- <exclude>**/test/*</exclude> -->
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070073 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070074 <exclude>**/test/*</exclude>
75 <exclude>**/Test*.java</exclude>
76 <exclude>**/*Test.java</exclude>
77 <exclude>**/*TestCase.java</exclude>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -070078 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070079 </excludes>
80 </configuration>
81 </plugin>
82 <!-- exec:java -->
83 <plugin>
84 <groupId>org.codehaus.mojo</groupId>
85 <artifactId>exec-maven-plugin</artifactId>
86 <version>1.2.1</version>
87 <configuration>
88 <mainClass>net.floodlightcontroller.core.Main</mainClass>
89 </configuration>
90 <executions>
91 </executions>
92 </plugin>
Jonathan Hart72f72f62013-06-12 09:54:19 +120093 <!--<plugin>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -070094 <groupId>org.codehaus.mojo</groupId>
95 <artifactId>build-helper-maven-plugin</artifactId>
96 <version>1.7</version>
97 <executions>
98 <execution>
99 <id>add-source</id>
100 <phase>generate-sources</phase>
101 <goals>
102 <goal>add-source</goal>
103 </goals>
104 <configuration>
105 <sources>
106 <source>lib/gen-java</source>
107 </sources>
108 </configuration>
109 </execution>
110 </executions>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200111 </plugin>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700112 </plugins>
113 </build>
114 <!-- for getting visualization reporting -->
115 <reporting>
116 <plugins>
117 <plugin>
118 <groupId>org.apache.camel</groupId>
119 <artifactId>guice-maven-plugin</artifactId>
120 <version>2.11.0</version>
121 </plugin>
122 </plugins>
123 </reporting>
124 <dependencies>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700125 <!-- ONOS's direct dependencies -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700126 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700127 <groupId>org.apache.cassandra</groupId>
128 <artifactId>apache-cassandra</artifactId>
129 <version>1.2.4</version>
130 <type>pom</type>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700131 </dependency>
132 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700133 <groupId>com.thinkaurelius.titan</groupId>
134 <artifactId>titan-all</artifactId>
135 <version>0.2.1</version>
Jonathan Hart28182492013-06-13 15:22:03 +1200136 <exclusions>
137 <exclusion>
138 <groupId>org.slf4j</groupId>
139 <artifactId>slf4j-log4j12</artifactId>
140 </exclusion>
141 </exclusions>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700142 </dependency>
143 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700144 <groupId>com.tinkerpop</groupId>
145 <artifactId>frames</artifactId>
146 <version>2.3.1</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700147 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700148 <!--
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700149 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700150 <groupId>com.tinkerpop.blueprints</groupId>
151 <artifactId>blueprints-core</artifactId>
152 <version>2.3.0</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700153 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700154 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700155 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700156 <groupId>net.sf.json-lib</groupId>
157 <artifactId>json-lib</artifactId>
158 <version>2.4</version>
159 <classifier>jdk15</classifier>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700160 </dependency>
161 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700162 <groupId>org.restlet.jse</groupId>
163 <artifactId>org.restlet</artifactId>
164 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700165 </dependency>
166 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700167 <groupId>org.restlet.jse</groupId>
168 <artifactId>org.restlet.ext.slf4j</artifactId>
169 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700170 </dependency>
171 <dependency>
172 <groupId>org.codehaus.jackson</groupId>
173 <artifactId>jackson-core-asl</artifactId>
174 <version>1.9.11</version>
175 </dependency>
176 <dependency>
177 <groupId>org.codehaus.jackson</groupId>
178 <artifactId>jackson-mapper-asl</artifactId>
179 <version>1.9.11</version>
180 </dependency>
181 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700182 <groupId>ch.qos.logback</groupId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700183 <artifactId>logback-classic</artifactId>
184 <version>1.0.0</version>
185 <scope>runtime</scope>
186 </dependency>
187 <!-- Floodlight's dependencies -->
188 <dependency>
189 <groupId>net.sourceforge.cobertura</groupId>
190 <artifactId>cobertura</artifactId>
191 <version>1.9.4.1</version>
192 </dependency>
193 <!--
194 <dependency>
195 <groupId>com.google.guava</groupId>
196 <artifactId>guava</artifactId>
197 <version>13.0.1</version>
198 </dependency>
199 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700200 <dependency>
201 <groupId>org.slf4j</groupId>
202 <artifactId>slf4j-api</artifactId>
203 <version>1.6.4</version>
204 </dependency>
205 <dependency>
206 <groupId>org.restlet.jse</groupId>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700207 <artifactId>org.restlet.ext.jackson</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700208 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700209 </dependency>
210 <dependency>
211 <groupId>org.restlet.jse</groupId>
212 <artifactId>org.restlet.ext.simple</artifactId>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700213 <version>${restlet.version}</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700214 </dependency>
215 <dependency>
216 <groupId>org.simpleframework</groupId>
217 <artifactId>simple</artifactId>
218 <version>4.1.21</version>
219 </dependency>
220 <dependency>
221 <groupId>org.jboss.netty</groupId>
222 <artifactId>netty</artifactId>
223 <version>3.2.6.Final</version>
224 </dependency>
225 <dependency>
226 <groupId>args4j</groupId>
227 <artifactId>args4j</artifactId>
228 <version>2.0.16</version>
229 </dependency>
230 <dependency>
231 <groupId>com.googlecode.concurrentlinkedhashmap</groupId>
232 <artifactId>concurrentlinkedhashmap-lru</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700233 <version>1.3</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700234 </dependency>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200235 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700236 <groupId>org.python</groupId>
237 <artifactId>jython-standalone</artifactId>
238 <version>2.5.2</version>
Jonathan Harta37f9c32013-06-12 09:13:58 +1200239 </dependency>-->
Jonathan Hart72f72f62013-06-12 09:54:19 +1200240 <!--<dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700241 <groupId>org.apache.thrift</groupId>
242 <artifactId>libthrift</artifactId>
243 <version>0.7.0</version>
Jonathan Hart72f72f62013-06-12 09:54:19 +1200244 </dependency>-->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700245 <dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700246 <groupId>com.google.inject</groupId>
247 <artifactId>guice</artifactId>
248 <version>3.0</version>
249 </dependency>
250 <!-- Dependency for libraries used for testing -->
251 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700252 <groupId>junit</groupId>
253 <artifactId>junit</artifactId>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700254 <version>4.11</version>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700255 <scope>test</scope>
256 </dependency>
257 <dependency>
258 <groupId>org.easymock</groupId>
259 <artifactId>easymock</artifactId>
260 <version>3.1</version>
261 <scope>test</scope>
262 </dependency>
263 <dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700264 <groupId>org.powermock</groupId>
265 <artifactId>powermock-module-junit4</artifactId>
266 <version>${powermock.version}</version>
267 <scope>test</scope>
268 </dependency>
269 <dependency>
270 <groupId>org.powermock</groupId>
271 <artifactId>powermock-api-easymock</artifactId>
272 <version>${powermock.version}</version>
273 <scope>test</scope>
274 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700275 <!--
276 <dependency>
277 <groupId>org.objenesis</groupId>
278 <artifactId>objenesis</artifactId>
279 <version>1.2</version>
280 <scope>test</scope>
281 </dependency>
HIGUCHI Yutae4b07222013-06-08 02:17:30 -0700282 <dependency>
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700283 <groupId>cglib</groupId>
284 <artifactId>cglib-nodep</artifactId>
285 <version>2.2.2</version>
286 </dependency>
HIGUCHI Yuta9f5c5a72013-06-11 13:21:43 -0700287 -->
HIGUCHI Yuta1ec484a2013-06-06 15:34:01 -0700288 <!-- dependency to locally modified version -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700289 <dependency>
290 <groupId>com.netflix.curator</groupId>
291 <artifactId>curator-framework</artifactId>
292 <version>1.3.5-SNAPSHOT</version>
293 </dependency>
294 <dependency>
295 <groupId>com.netflix.curator</groupId>
296 <artifactId>curator-client</artifactId>
297 <version>1.3.5-SNAPSHOT</version>
298 </dependency>
299 <dependency>
300 <groupId>com.netflix.curator</groupId>
301 <artifactId>curator-recipes</artifactId>
302 <version>1.3.5-SNAPSHOT</version>
303 </dependency>
304 <dependency>
305 <groupId>com.netflix.curator</groupId>
306 <artifactId>curator-x-discovery</artifactId>
307 <version>1.3.5-SNAPSHOT</version>
308 </dependency>
309 <!--
310 <dependency>
311 <groupId>net.floodlightcontroller</groupId>
312 <artifactId>packetstreamer-thrift</artifactId>
313 <version>0.1.0</version>
314 </dependency>
315 -->
HIGUCHI Yutae7aa9252013-06-06 14:54:21 -0700316 </dependencies>
317</project>