blob: 08def135b5c6f44afcc62384167bde7fc8d17a5d [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>
Brian O'Connorf3d06162014-10-02 15:54:12 -070051 <groupId>org.hamcrest</groupId>
52 <artifactId>hamcrest-core</artifactId>
53 <version>1.3</version>
54 <scope>test</scope>
55 </dependency>
56 <dependency>
57 <groupId>org.hamcrest</groupId>
58 <artifactId>hamcrest-library</artifactId>
59 <version>1.3</version>
60 <scope>test</scope>
61 </dependency>
62
63 <dependency>
tom0eb04ca2014-08-25 14:34:51 -070064 <groupId>org.slf4j</groupId>
65 <artifactId>slf4j-api</artifactId>
66 <version>1.7.6</version>
67 <scope>provided</scope>
68 </dependency>
69
70 <dependency>
71 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -070072 <artifactId>slf4j-core</artifactId>
73 <version>1.7.6</version>
74 <scope>test</scope>
75 </dependency>
76
77 <dependency>
78 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -070079 <artifactId>slf4j-jdk14</artifactId>
80 <version>1.7.6</version>
81 <scope>test</scope>
82 </dependency>
83
84 <dependency>
85 <groupId>com.google.guava</groupId>
86 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -070087 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -070088 </dependency>
89
alshabibdf652ad2014-09-09 11:53:19 -070090 <dependency>
91 <groupId>io.netty</groupId>
Madan Jampania185d862014-09-30 11:32:31 -070092 <artifactId>netty-all</artifactId>
93 <version>4.0.23.Final</version>
94 </dependency>
95
96 <dependency>
97 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -070098 <artifactId>netty</artifactId>
99 <version>3.9.0.Final</version>
100 </dependency>
101
tomde8d9682014-08-27 01:11:43 -0700102 <dependency>
103 <groupId>com.google.guava</groupId>
104 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700105 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700106 <scope>test</scope>
107 </dependency>
108
tom6d2a43e2014-09-08 01:50:20 -0700109 <dependency>
110 <groupId>commons-lang</groupId>
111 <artifactId>commons-lang</artifactId>
112 <version>2.6</version>
113 </dependency>
tomde8d9682014-08-27 01:11:43 -0700114
tom66a7eb22014-09-22 11:58:56 -0700115 <dependency>
116 <groupId>org.apache.commons</groupId>
117 <artifactId>commons-lang3</artifactId>
118 <version>3.3.2</version>
119 </dependency>
120
Brian O'Connorf3d06162014-10-02 15:54:12 -0700121 <dependency>
122 <groupId>org.codehaus.jackson</groupId>
123 <artifactId>jackson-core-asl</artifactId>
124 <version>1.9.13</version>
125 </dependency>
126 <dependency>
127 <groupId>org.codehaus.jackson</groupId>
128 <artifactId>jackson-mapper-asl</artifactId>
129 <version>1.9.13</version>
130 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700131
Jonathan Hartb4758a92014-09-24 10:46:45 -0700132 <dependency>
133 <groupId>org.easymock</groupId>
134 <artifactId>easymock</artifactId>
135 <version>3.2</version>
136 <scope>test</scope>
137 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700138
tom0eb04ca2014-08-25 14:34:51 -0700139 <!-- Web related -->
140 <dependency>
141 <groupId>com.sun.jersey</groupId>
142 <artifactId>jersey-servlet</artifactId>
143 <version>1.18.1</version>
144 <scope>provided</scope>
145 </dependency>
146 <dependency>
147 <groupId>com.fasterxml.jackson.core</groupId>
148 <artifactId>jackson-databind</artifactId>
149 <version>2.4.2</version>
150 <scope>provided</scope>
151 </dependency>
152 <dependency>
153 <groupId>com.fasterxml.jackson.core</groupId>
154 <artifactId>jackson-annotations</artifactId>
155 <version>2.4.2</version>
156 <scope>provided</scope>
157 </dependency>
158
159 <!-- OSGi related -->
160 <dependency>
161 <groupId>org.osgi</groupId>
162 <artifactId>org.osgi.core</artifactId>
163 <version>4.3.1</version>
164 <scope>provided</scope>
165 </dependency>
166 <dependency>
tomc16656f2014-10-15 18:30:31 -0700167 <groupId>org.osgi</groupId>
168 <artifactId>org.osgi.compendium</artifactId>
169 <version>4.3.1</version>
170 <scope>provided</scope>
171 </dependency>
172 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700173 <groupId>org.apache.felix</groupId>
174 <artifactId>org.apache.felix.scr.annotations</artifactId>
175 <version>1.9.8</version>
176 <scope>provided</scope>
177 </dependency>
178 <dependency>
179 <groupId>org.apache.karaf.shell</groupId>
180 <artifactId>org.apache.karaf.shell.console</artifactId>
181 <version>3.0.1</version>
182 <scope>provided</scope>
183 </dependency>
184
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700185 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700186 <groupId>org.livetribe.slp</groupId>
187 <artifactId>livetribe-slp</artifactId>
188 <version>2.2.1</version>
189 </dependency>
190
191 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700192 <groupId>com.hazelcast</groupId>
193 <artifactId>hazelcast</artifactId>
194 <version>3.3</version>
195 </dependency>
196 <dependency>
tomdc66b382014-09-22 17:05:47 -0700197 <groupId>com.eclipsesource.minimal-json</groupId>
198 <artifactId>minimal-json</artifactId>
199 <version>0.9.1</version>
200 </dependency>
201 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700202 <groupId>com.esotericsoftware</groupId>
203 <artifactId>kryo</artifactId>
204 <version>3.0.0</version>
205 </dependency>
206 <dependency>
207 <groupId>com.esotericsoftware</groupId>
208 <artifactId>reflectasm</artifactId>
209 <version>1.10.0</version>
210 <type>bundle</type>
211 </dependency>
212 <dependency>
213 <groupId>org.ow2.asm</groupId>
214 <artifactId>asm</artifactId>
215 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700216 </dependency>
217 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700218 <groupId>com.esotericsoftware</groupId>
219 <artifactId>minlog</artifactId>
220 <version>1.3.0</version>
221 </dependency>
222 <dependency>
223 <groupId>org.objenesis</groupId>
224 <artifactId>objenesis</artifactId>
225 <version>2.1</version>
226 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700227
tom0eb04ca2014-08-25 14:34:51 -0700228 <!-- ONOS related -->
229 <dependency>
230 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700231 <artifactId>onlab-misc</artifactId>
232 <version>${project.version}</version>
233 </dependency>
tom931af4e2014-09-13 12:00:57 -0700234 <dependency>
235 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700236 <artifactId>onlab-nio</artifactId>
237 <version>${project.version}</version>
238 </dependency>
239 <dependency>
240 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700241 <artifactId>onlab-osgi</artifactId>
242 <version>${project.version}</version>
243 </dependency>
244 <dependency>
245 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700246 <artifactId>onlab-junit</artifactId>
247 <version>1.0.0-SNAPSHOT</version>
248 <scope>test</scope>
249 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700250
251 <dependency>
252 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700253 <artifactId>onos-api</artifactId>
254 <version>${project.version}</version>
255 </dependency>
256 <dependency>
257 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700258 <artifactId>onos-api</artifactId>
259 <version>${project.version}</version>
260 <classifier>tests</classifier>
261 <scope>test</scope>
262 </dependency>
263
264 <dependency>
265 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700266 <artifactId>onos-of-api</artifactId>
267 <version>${project.version}</version>
268 </dependency>
tom61359e92014-09-16 15:50:27 -0700269 <dependency>
270 <groupId>org.onlab.onos</groupId>
271 <artifactId>onos-of-api</artifactId>
272 <version>${project.version}</version>
273 <classifier>tests</classifier>
274 <scope>test</scope>
275 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700276 <dependency>
277 <groupId>commons-pool</groupId>
278 <artifactId>commons-pool</artifactId>
279 <version>1.6</version>
280 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700281 </dependencies>
282 </dependencyManagement>
283
284 <dependencies>
285 <dependency>
286 <groupId>junit</groupId>
287 <artifactId>junit</artifactId>
288 </dependency>
289 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700290 <groupId>org.hamcrest</groupId>
291 <artifactId>hamcrest-core</artifactId>
292 </dependency>
293 <dependency>
294 <groupId>org.hamcrest</groupId>
295 <artifactId>hamcrest-library</artifactId>
296 </dependency>
297 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700298 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700299 <artifactId>slf4j-api</artifactId>
300 </dependency>
301 <dependency>
302 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700303 <artifactId>slf4j-jdk14</artifactId>
304 </dependency>
305 </dependencies>
tom09419512014-08-15 11:28:43 -0700306
307 <build>
308 <pluginManagement>
309 <plugins>
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700313 <!-- TODO: update once following issue is fixed. -->
314 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
315 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700316 <configuration>
317 <source>1.7</source>
318 <target>1.7</target>
319 </configuration>
320 </plugin>
321
322 <plugin>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-surefire-plugin</artifactId>
325 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700326 <configuration>
327 <redirectTestOutputToFile>true</redirectTestOutputToFile>
328 <printSummary>true</printSummary>
329 </configuration>
tom09419512014-08-15 11:28:43 -0700330 </plugin>
331
332 <plugin>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-jar-plugin</artifactId>
335 <version>2.3.1</version>
336 <executions>
337 <execution>
338 <phase>package</phase>
339 <goals>
340 <goal>test-jar</goal>
341 </goals>
342 </execution>
343 </executions>
344 </plugin>
345
346 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-resources-plugin</artifactId>
349 <version>2.6</version>
350 </plugin>
351
352 <plugin>
tom09419512014-08-15 11:28:43 -0700353 <groupId>org.apache.felix</groupId>
354 <artifactId>maven-bundle-plugin</artifactId>
355 <version>2.3.7</version>
356 <extensions>true</extensions>
357 </plugin>
358
359 <plugin>
360 <groupId>org.apache.felix</groupId>
361 <artifactId>maven-scr-plugin</artifactId>
362 <version>1.15.0</version>
363 <executions>
364 <execution>
365 <id>generate-scr-srcdescriptor</id>
366 <goals>
367 <goal>scr</goal>
368 </goals>
369 </execution>
370 </executions>
371 <configuration>
372 <supportedProjectTypes>
373 <supportedProjectType>bundle</supportedProjectType>
374 <supportedProjectType>war</supportedProjectType>
375 </supportedProjectTypes>
376 </configuration>
377 </plugin>
378
tom09419512014-08-15 11:28:43 -0700379 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700380 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
381 <plugin>
382 <groupId>org.eclipse.m2e</groupId>
383 <artifactId>lifecycle-mapping</artifactId>
384 <version>1.0.0</version>
385 <configuration>
386 <lifecycleMappingMetadata>
387 <pluginExecutions>
388 <pluginExecution>
389 <pluginExecutionFilter>
390 <groupId>org.jacoco</groupId>
391 <artifactId>
392 jacoco-maven-plugin
393 </artifactId>
394 <versionRange>
395 [0.7.1.201405082137,)
396 </versionRange>
397 <goals>
398 <goal>prepare-agent</goal>
399 </goals>
400 </pluginExecutionFilter>
401 <action>
402 <ignore></ignore>
403 </action>
404 </pluginExecution>
405 </pluginExecutions>
406 </lifecycleMappingMetadata>
407 </configuration>
408 </plugin>
tom09419512014-08-15 11:28:43 -0700409 </plugins>
tom09419512014-08-15 11:28:43 -0700410 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700411
412 <plugins>
413 <plugin>
414 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700415 <artifactId>maven-jar-plugin</artifactId>
416 </plugin>
417
418 <plugin>
419 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700420 <artifactId>maven-checkstyle-plugin</artifactId>
421 <version>2.12.1</version>
422 <dependencies>
423 <dependency>
424 <groupId>org.onlab.tools</groupId>
425 <artifactId>onos-build-conf</artifactId>
426 <version>1.0</version>
427 </dependency>
428 </dependencies>
429 <configuration>
430 <configLocation>onos/checkstyle.xml</configLocation>
431 <suppressionsLocation>onos/suppressions.xml
432 </suppressionsLocation>
433 <failsOnError>false</failsOnError>
434 <logViolationsToConsole>true</logViolationsToConsole>
435 <includeTestSourceDirectory>true
436 </includeTestSourceDirectory>
437 </configuration>
438 <executions>
439 <execution>
440 <id>validate-checkstyle</id>
441 <phase>verify</phase>
442 <goals>
443 <goal>check</goal>
444 </goals>
445 </execution>
446 </executions>
447 </plugin>
448
449 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700450 <groupId>org.apache.maven.plugins</groupId>
451 <artifactId>maven-pmd-plugin</artifactId>
452 <version>3.2</version>
453 <configuration>
454 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700455 </excludes>
456 <rulesets>
457 <ruleset>onos/pmd.xml</ruleset>
458 </rulesets>
459 </configuration>
460 <executions>
461 <execution>
462 <id>validate-pmd</id>
463 <phase>verify</phase>
464 <goals>
465 <!-- Uncomment this goal to make the build fail on pmd errors -->
466 <!--<goal>check</goal>-->
467 </goals>
468 </execution>
469 </executions>
470 </plugin>
471
472 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700473 <groupId>org.jacoco</groupId>
474 <artifactId>jacoco-maven-plugin</artifactId>
475 <version>0.7.1.201405082137</version>
476 <executions>
477 <execution>
478 <id>default-prepare-agent</id>
479 <goals>
480 <goal>prepare-agent</goal>
481 </goals>
482 </execution>
483 <execution>
484 <id>default-report</id>
485 <phase>prepare-package</phase>
486 <goals>
487 <goal>report</goal>
488 </goals>
489 </execution>
490 </executions>
491 </plugin>
492
493 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-javadoc-plugin</artifactId>
496 <version>2.9.1</version>
497 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700498 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700499 <docfilessubdirs>true</docfilessubdirs>
500 <doctitle>ONOS Java API</doctitle>
501 <groups>
502 <group>
503 <title>Network Model &amp; Services</title>
504 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700505 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700506 </packages>
507 </group>
508 <group>
509 <title>Core Subsystems</title>
510 <packages>
Yuta HIGUCHI80912e62014-10-12 00:15:47 -0700511 org.onlab.onos.impl: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.store.trivial.*:org.onlab.onos.net.*.impl:org.onlab.onos.event.impl:org.onlab.onos.store.*:org.onlab.onos.net.intent.impl:org.onlab.onos.net.proxyarp.impl:org.onlab.onos.mastership.impl
tom0eb04ca2014-08-25 14:34:51 -0700512 </packages>
513 </group>
514 <group>
515 <title>OpenFlow Providers &amp; Controller
516 </title>
517 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700518 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700519 </packages>
520 </group>
521 <group>
522 <title>Utilities</title>
523 <packages>
tom984d7822014-08-29 12:02:59 -0700524 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700525 </packages>
526 </group>
527 <group>
528 <title>GUI, REST &amp; Command-Line</title>
529 <packages>
530 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
531 </packages>
532 </group>
tom8bb16062014-09-12 14:47:46 -0700533 <group>
534 <title>Sample Applications</title>
535 <packages>
tom093340b2014-10-10 00:15:36 -0700536 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.ifwd:org.onlab.onos.mobility:org.onlab.onos.proxyarp:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700537 </packages>
538 </group>
tom0eb04ca2014-08-25 14:34:51 -0700539 </groups>
540 </configuration>
541 </plugin>
542
543 </plugins>
tom09419512014-08-15 11:28:43 -0700544 </build>
alshabib522d9872014-08-15 10:35:16 -0700545
tom0eb04ca2014-08-25 14:34:51 -0700546 <reporting>
547 <plugins>
548 <plugin>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-checkstyle-plugin</artifactId>
551 <version>2.12.1</version>
552 <configuration>
553 <configLocation>onos/checkstyle.xml</configLocation>
554 </configuration>
555 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700556
557 <plugin>
558 <groupId>org.apache.maven.plugins</groupId>
559 <artifactId>maven-pmd-plugin</artifactId>
560 <version>3.2</version>
561 <configuration>
562 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700563 </excludes>
564 <rulesets>
565 <ruleset>onos/pmd.xml</ruleset>
566 </rulesets>
567 </configuration>
568 </plugin>
569
tom0eb04ca2014-08-25 14:34:51 -0700570 </plugins>
571
572 </reporting>
573
alshabib522d9872014-08-15 10:35:16 -0700574</project>