blob: 1cc5d3be543c0fbb965395c8d442185a7dd65799 [file] [log] [blame]
alshabib522d9872014-08-15 10:35:16 -07001<?xml version="1.0" encoding="UTF-8"?>
tom09419512014-08-15 11:28:43 -07002<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
alshabib522d9872014-08-15 10:35:16 -07006
tom0eb04ca2014-08-25 14:34:51 -07007 <groupId>org.onlab.onos</groupId>
tom09419512014-08-15 11:28:43 -07008 <artifactId>onos</artifactId>
9 <packaging>pom</packaging>
10 <version>1.0.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070011
tom0eb04ca2014-08-25 14:34:51 -070012 <description>Open Networking Operating System root project</description>
tom09419512014-08-15 11:28:43 -070013
14 <modules>
tom0eb04ca2014-08-25 14:34:51 -070015 <module>tools/build/conf</module>
16 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070017 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070018 <module>web</module>
19 <module>cli</module>
20 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070021 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070022 <module>apps</module>
tom09419512014-08-15 11:28:43 -070023 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070024 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070025 </modules>
26
27 <url>http://onlab.us/</url>
28
29 <licenses>
30 <license>
31 <!-- TODO: Is this really our license scheme? -->
32 <name>Apache License, Version 2.0</name>
33 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
34 </license>
35 </licenses>
36
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070037 <properties>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 </properties>
40
tom0eb04ca2014-08-25 14:34:51 -070041 <dependencyManagement>
42 <dependencies>
43 <dependency>
44 <groupId>junit</groupId>
45 <artifactId>junit</artifactId>
46 <version>4.11</version>
47 <scope>test</scope>
48 </dependency>
tom09419512014-08-15 11:28:43 -070049
tom0eb04ca2014-08-25 14:34:51 -070050 <dependency>
51 <groupId>org.slf4j</groupId>
52 <artifactId>slf4j-api</artifactId>
53 <version>1.7.6</version>
54 <scope>provided</scope>
55 </dependency>
56
57 <dependency>
58 <groupId>org.slf4j</groupId>
59 <artifactId>slf4j-jdk14</artifactId>
60 <version>1.7.6</version>
61 <scope>test</scope>
62 </dependency>
63
64 <dependency>
65 <groupId>com.google.guava</groupId>
66 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -070067 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -070068 </dependency>
69
alshabibdf652ad2014-09-09 11:53:19 -070070 <dependency>
71 <groupId>io.netty</groupId>
72 <artifactId>netty</artifactId>
73 <version>3.9.0.Final</version>
74 </dependency>
75
tomde8d9682014-08-27 01:11:43 -070076 <dependency>
77 <groupId>com.google.guava</groupId>
78 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -070079 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -070080 <scope>test</scope>
81 </dependency>
82
tom6d2a43e2014-09-08 01:50:20 -070083 <dependency>
84 <groupId>commons-lang</groupId>
85 <artifactId>commons-lang</artifactId>
86 <version>2.6</version>
87 </dependency>
tomde8d9682014-08-27 01:11:43 -070088
tom66a7eb22014-09-22 11:58:56 -070089 <dependency>
90 <groupId>org.apache.commons</groupId>
91 <artifactId>commons-lang3</artifactId>
92 <version>3.3.2</version>
93 </dependency>
94
95
tom0eb04ca2014-08-25 14:34:51 -070096 <!-- Web related -->
97 <dependency>
98 <groupId>com.sun.jersey</groupId>
99 <artifactId>jersey-servlet</artifactId>
100 <version>1.18.1</version>
101 <scope>provided</scope>
102 </dependency>
103 <dependency>
104 <groupId>com.fasterxml.jackson.core</groupId>
105 <artifactId>jackson-databind</artifactId>
106 <version>2.4.2</version>
107 <scope>provided</scope>
108 </dependency>
109 <dependency>
110 <groupId>com.fasterxml.jackson.core</groupId>
111 <artifactId>jackson-annotations</artifactId>
112 <version>2.4.2</version>
113 <scope>provided</scope>
114 </dependency>
115
116 <!-- OSGi related -->
117 <dependency>
118 <groupId>org.osgi</groupId>
119 <artifactId>org.osgi.core</artifactId>
120 <version>4.3.1</version>
121 <scope>provided</scope>
122 </dependency>
123 <dependency>
124 <groupId>org.apache.felix</groupId>
125 <artifactId>org.apache.felix.scr.annotations</artifactId>
126 <version>1.9.8</version>
127 <scope>provided</scope>
128 </dependency>
129 <dependency>
130 <groupId>org.apache.karaf.shell</groupId>
131 <artifactId>org.apache.karaf.shell.console</artifactId>
132 <version>3.0.1</version>
133 <scope>provided</scope>
134 </dependency>
135
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700136 <dependency>
137 <groupId>com.hazelcast</groupId>
138 <artifactId>hazelcast</artifactId>
139 <version>3.3</version>
140 </dependency>
141 <dependency>
tomdc66b382014-09-22 17:05:47 -0700142 <groupId>com.eclipsesource.minimal-json</groupId>
143 <artifactId>minimal-json</artifactId>
144 <version>0.9.1</version>
145 </dependency>
146 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700147 <groupId>com.esotericsoftware.kryo</groupId>
148 <artifactId>kryo</artifactId>
149 <version>2.24.0</version>
150 </dependency>
151 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700152 <groupId>com.esotericsoftware</groupId>
153 <artifactId>minlog</artifactId>
154 <version>1.3.0</version>
155 </dependency>
156 <dependency>
157 <groupId>org.objenesis</groupId>
158 <artifactId>objenesis</artifactId>
159 <version>2.1</version>
160 </dependency>
161 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700162 <groupId>de.javakaffee</groupId>
163 <artifactId>kryo-serializers</artifactId>
164 <version>0.27</version>
165 </dependency>
166
tom0eb04ca2014-08-25 14:34:51 -0700167 <!-- ONOS related -->
168 <dependency>
169 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700170 <artifactId>onlab-misc</artifactId>
171 <version>${project.version}</version>
172 </dependency>
tom931af4e2014-09-13 12:00:57 -0700173 <dependency>
174 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700175 <artifactId>onlab-osgi</artifactId>
176 <version>${project.version}</version>
177 </dependency>
178 <dependency>
179 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700180 <artifactId>onlab-junit</artifactId>
181 <version>1.0.0-SNAPSHOT</version>
182 <scope>test</scope>
183 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700184
185 <dependency>
186 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700187 <artifactId>onos-api</artifactId>
188 <version>${project.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700192 <artifactId>onos-api</artifactId>
193 <version>${project.version}</version>
194 <classifier>tests</classifier>
195 <scope>test</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700200 <artifactId>onos-of-api</artifactId>
201 <version>${project.version}</version>
202 </dependency>
tom61359e92014-09-16 15:50:27 -0700203 <dependency>
204 <groupId>org.onlab.onos</groupId>
205 <artifactId>onos-of-api</artifactId>
206 <version>${project.version}</version>
207 <classifier>tests</classifier>
208 <scope>test</scope>
209 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700210 </dependencies>
211 </dependencyManagement>
212
213 <dependencies>
214 <dependency>
215 <groupId>junit</groupId>
216 <artifactId>junit</artifactId>
217 </dependency>
218 <dependency>
219 <groupId>org.slf4j</groupId>
220 <artifactId>slf4j-jdk14</artifactId>
221 </dependency>
222 </dependencies>
tom09419512014-08-15 11:28:43 -0700223
224 <build>
225 <pluginManagement>
226 <plugins>
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-compiler-plugin</artifactId>
230 <version>3.1</version>
231 <configuration>
232 <source>1.7</source>
233 <target>1.7</target>
234 </configuration>
235 </plugin>
236
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-surefire-plugin</artifactId>
240 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700241 <configuration>
242 <redirectTestOutputToFile>true</redirectTestOutputToFile>
243 <printSummary>true</printSummary>
244 </configuration>
tom09419512014-08-15 11:28:43 -0700245 </plugin>
246
247 <plugin>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-jar-plugin</artifactId>
250 <version>2.3.1</version>
251 <executions>
252 <execution>
253 <phase>package</phase>
254 <goals>
255 <goal>test-jar</goal>
256 </goals>
257 </execution>
258 </executions>
259 </plugin>
260
261 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-resources-plugin</artifactId>
264 <version>2.6</version>
265 </plugin>
266
267 <plugin>
tom09419512014-08-15 11:28:43 -0700268 <groupId>org.apache.felix</groupId>
269 <artifactId>maven-bundle-plugin</artifactId>
270 <version>2.3.7</version>
271 <extensions>true</extensions>
272 </plugin>
273
274 <plugin>
275 <groupId>org.apache.felix</groupId>
276 <artifactId>maven-scr-plugin</artifactId>
277 <version>1.15.0</version>
278 <executions>
279 <execution>
280 <id>generate-scr-srcdescriptor</id>
281 <goals>
282 <goal>scr</goal>
283 </goals>
284 </execution>
285 </executions>
286 <configuration>
287 <supportedProjectTypes>
288 <supportedProjectType>bundle</supportedProjectType>
289 <supportedProjectType>war</supportedProjectType>
290 </supportedProjectTypes>
291 </configuration>
292 </plugin>
293
tom09419512014-08-15 11:28:43 -0700294 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
tom09419512014-08-15 11:28:43 -0700295 </plugins>
tom09419512014-08-15 11:28:43 -0700296 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700297
298 <plugins>
299 <plugin>
300 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700301 <artifactId>maven-jar-plugin</artifactId>
302 </plugin>
303
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700306 <artifactId>maven-checkstyle-plugin</artifactId>
307 <version>2.12.1</version>
308 <dependencies>
309 <dependency>
310 <groupId>org.onlab.tools</groupId>
311 <artifactId>onos-build-conf</artifactId>
312 <version>1.0</version>
313 </dependency>
314 </dependencies>
315 <configuration>
316 <configLocation>onos/checkstyle.xml</configLocation>
317 <suppressionsLocation>onos/suppressions.xml
318 </suppressionsLocation>
319 <failsOnError>false</failsOnError>
320 <logViolationsToConsole>true</logViolationsToConsole>
321 <includeTestSourceDirectory>true
322 </includeTestSourceDirectory>
323 </configuration>
324 <executions>
325 <execution>
326 <id>validate-checkstyle</id>
327 <phase>verify</phase>
328 <goals>
329 <goal>check</goal>
330 </goals>
331 </execution>
332 </executions>
333 </plugin>
334
335 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-pmd-plugin</artifactId>
338 <version>3.2</version>
339 <configuration>
340 <excludes>
341 <exclude>**/datastore/serializers/**</exclude>
342 <exclude>**/edu/stanford/**</exclude>
343 <exclude>**/net/floodlightcontroller/**</exclude>
344 </excludes>
345 <rulesets>
346 <ruleset>onos/pmd.xml</ruleset>
347 </rulesets>
348 </configuration>
349 <executions>
350 <execution>
351 <id>validate-pmd</id>
352 <phase>verify</phase>
353 <goals>
354 <!-- Uncomment this goal to make the build fail on pmd errors -->
355 <!--<goal>check</goal>-->
356 </goals>
357 </execution>
358 </executions>
359 </plugin>
360
361 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700362 <groupId>org.jacoco</groupId>
363 <artifactId>jacoco-maven-plugin</artifactId>
364 <version>0.7.1.201405082137</version>
365 <executions>
366 <execution>
367 <id>default-prepare-agent</id>
368 <goals>
369 <goal>prepare-agent</goal>
370 </goals>
371 </execution>
372 <execution>
373 <id>default-report</id>
374 <phase>prepare-package</phase>
375 <goals>
376 <goal>report</goal>
377 </goals>
378 </execution>
379 </executions>
380 </plugin>
381
382 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-javadoc-plugin</artifactId>
385 <version>2.9.1</version>
386 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700387 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700388 <docfilessubdirs>true</docfilessubdirs>
389 <doctitle>ONOS Java API</doctitle>
390 <groups>
391 <group>
392 <title>Network Model &amp; Services</title>
393 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700394 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700395 </packages>
396 </group>
397 <group>
398 <title>Core Subsystems</title>
399 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700400 org.onlab.onos.cluster.impl:org.onlab.onos.net.device.impl:org.onlab.onos.net.link.impl:org.onlab.onos.net.host.impl:org.onlab.onos.net.topology.impl:org.onlab.onos.net.packet.impl:org.onlab.onos.net.flow.impl:org.onlab.onos.net.trivial.*:org.onlab.onos.net.*.impl:org.onlab.onos.event.impl:org.onlab.onos.store.*
tom0eb04ca2014-08-25 14:34:51 -0700401 </packages>
402 </group>
403 <group>
404 <title>OpenFlow Providers &amp; Controller
405 </title>
406 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700407 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700408 </packages>
409 </group>
410 <group>
411 <title>Utilities</title>
412 <packages>
tom984d7822014-08-29 12:02:59 -0700413 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700414 </packages>
415 </group>
416 <group>
417 <title>GUI, REST &amp; Command-Line</title>
418 <packages>
419 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
420 </packages>
421 </group>
tom8bb16062014-09-12 14:47:46 -0700422 <group>
423 <title>Sample Applications</title>
424 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700425 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700426 </packages>
427 </group>
tom0eb04ca2014-08-25 14:34:51 -0700428 </groups>
429 </configuration>
430 </plugin>
431
432 </plugins>
tom09419512014-08-15 11:28:43 -0700433 </build>
alshabib522d9872014-08-15 10:35:16 -0700434
tom0eb04ca2014-08-25 14:34:51 -0700435 <reporting>
436 <plugins>
437 <plugin>
438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-checkstyle-plugin</artifactId>
440 <version>2.12.1</version>
441 <configuration>
442 <configLocation>onos/checkstyle.xml</configLocation>
443 </configuration>
444 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700445
446 <plugin>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-pmd-plugin</artifactId>
449 <version>3.2</version>
450 <configuration>
451 <excludes>
452 <exclude>**/datastore/serializers/**</exclude>
453 <exclude>**/edu/stanford/**</exclude>
454 <exclude>**/net/floodlightcontroller/**</exclude>
455 </excludes>
456 <rulesets>
457 <ruleset>onos/pmd.xml</ruleset>
458 </rulesets>
459 </configuration>
460 </plugin>
461
tom0eb04ca2014-08-25 14:34:51 -0700462 </plugins>
463
464 </reporting>
465
alshabib522d9872014-08-15 10:35:16 -0700466</project>