blob: ad4ddcb214885b004f6b685c4631f0ce7a42dde9 [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>
167 <groupId>org.apache.felix</groupId>
168 <artifactId>org.apache.felix.scr.annotations</artifactId>
169 <version>1.9.8</version>
170 <scope>provided</scope>
171 </dependency>
172 <dependency>
173 <groupId>org.apache.karaf.shell</groupId>
174 <artifactId>org.apache.karaf.shell.console</artifactId>
175 <version>3.0.1</version>
176 <scope>provided</scope>
177 </dependency>
178
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700179 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700180 <groupId>org.livetribe.slp</groupId>
181 <artifactId>livetribe-slp</artifactId>
182 <version>2.2.1</version>
183 </dependency>
184
185 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700186 <groupId>com.hazelcast</groupId>
187 <artifactId>hazelcast</artifactId>
188 <version>3.3</version>
189 </dependency>
190 <dependency>
tomdc66b382014-09-22 17:05:47 -0700191 <groupId>com.eclipsesource.minimal-json</groupId>
192 <artifactId>minimal-json</artifactId>
193 <version>0.9.1</version>
194 </dependency>
195 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700196 <groupId>com.esotericsoftware.kryo</groupId>
197 <artifactId>kryo</artifactId>
198 <version>2.24.0</version>
199 </dependency>
200 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700201 <groupId>com.esotericsoftware</groupId>
202 <artifactId>minlog</artifactId>
203 <version>1.3.0</version>
204 </dependency>
205 <dependency>
206 <groupId>org.objenesis</groupId>
207 <artifactId>objenesis</artifactId>
208 <version>2.1</version>
209 </dependency>
210 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700211 <groupId>de.javakaffee</groupId>
212 <artifactId>kryo-serializers</artifactId>
213 <version>0.27</version>
214 </dependency>
215
tom0eb04ca2014-08-25 14:34:51 -0700216 <!-- ONOS related -->
217 <dependency>
218 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700219 <artifactId>onlab-misc</artifactId>
220 <version>${project.version}</version>
221 </dependency>
tom931af4e2014-09-13 12:00:57 -0700222 <dependency>
223 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700224 <artifactId>onlab-nio</artifactId>
225 <version>${project.version}</version>
226 </dependency>
227 <dependency>
228 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700229 <artifactId>onlab-osgi</artifactId>
230 <version>${project.version}</version>
231 </dependency>
232 <dependency>
233 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700234 <artifactId>onlab-junit</artifactId>
235 <version>1.0.0-SNAPSHOT</version>
236 <scope>test</scope>
237 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700238
239 <dependency>
240 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700241 <artifactId>onos-api</artifactId>
242 <version>${project.version}</version>
243 </dependency>
244 <dependency>
245 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700246 <artifactId>onos-api</artifactId>
247 <version>${project.version}</version>
248 <classifier>tests</classifier>
249 <scope>test</scope>
250 </dependency>
251
252 <dependency>
253 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700254 <artifactId>onos-of-api</artifactId>
255 <version>${project.version}</version>
256 </dependency>
tom61359e92014-09-16 15:50:27 -0700257 <dependency>
258 <groupId>org.onlab.onos</groupId>
259 <artifactId>onos-of-api</artifactId>
260 <version>${project.version}</version>
261 <classifier>tests</classifier>
262 <scope>test</scope>
263 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700264 <dependency>
265 <groupId>commons-pool</groupId>
266 <artifactId>commons-pool</artifactId>
267 <version>1.6</version>
268 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700269 </dependencies>
270 </dependencyManagement>
271
272 <dependencies>
273 <dependency>
274 <groupId>junit</groupId>
275 <artifactId>junit</artifactId>
276 </dependency>
277 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700278 <groupId>org.hamcrest</groupId>
279 <artifactId>hamcrest-core</artifactId>
280 </dependency>
281 <dependency>
282 <groupId>org.hamcrest</groupId>
283 <artifactId>hamcrest-library</artifactId>
284 </dependency>
285 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700286 <groupId>org.slf4j</groupId>
287 <artifactId>slf4j-jdk14</artifactId>
288 </dependency>
289 </dependencies>
tom09419512014-08-15 11:28:43 -0700290
291 <build>
292 <pluginManagement>
293 <plugins>
294 <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-compiler-plugin</artifactId>
297 <version>3.1</version>
298 <configuration>
299 <source>1.7</source>
300 <target>1.7</target>
301 </configuration>
302 </plugin>
303
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-surefire-plugin</artifactId>
307 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700308 <configuration>
309 <redirectTestOutputToFile>true</redirectTestOutputToFile>
310 <printSummary>true</printSummary>
311 </configuration>
tom09419512014-08-15 11:28:43 -0700312 </plugin>
313
314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-jar-plugin</artifactId>
317 <version>2.3.1</version>
318 <executions>
319 <execution>
320 <phase>package</phase>
321 <goals>
322 <goal>test-jar</goal>
323 </goals>
324 </execution>
325 </executions>
326 </plugin>
327
328 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700329 <groupId>org.apache.maven.plugins</groupId>
330 <artifactId>maven-resources-plugin</artifactId>
331 <version>2.6</version>
332 </plugin>
333
334 <plugin>
tom09419512014-08-15 11:28:43 -0700335 <groupId>org.apache.felix</groupId>
336 <artifactId>maven-bundle-plugin</artifactId>
337 <version>2.3.7</version>
338 <extensions>true</extensions>
339 </plugin>
340
341 <plugin>
342 <groupId>org.apache.felix</groupId>
343 <artifactId>maven-scr-plugin</artifactId>
344 <version>1.15.0</version>
345 <executions>
346 <execution>
347 <id>generate-scr-srcdescriptor</id>
348 <goals>
349 <goal>scr</goal>
350 </goals>
351 </execution>
352 </executions>
353 <configuration>
354 <supportedProjectTypes>
355 <supportedProjectType>bundle</supportedProjectType>
356 <supportedProjectType>war</supportedProjectType>
357 </supportedProjectTypes>
358 </configuration>
359 </plugin>
360
tom09419512014-08-15 11:28:43 -0700361 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700362 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
363 <plugin>
364 <groupId>org.eclipse.m2e</groupId>
365 <artifactId>lifecycle-mapping</artifactId>
366 <version>1.0.0</version>
367 <configuration>
368 <lifecycleMappingMetadata>
369 <pluginExecutions>
370 <pluginExecution>
371 <pluginExecutionFilter>
372 <groupId>org.jacoco</groupId>
373 <artifactId>
374 jacoco-maven-plugin
375 </artifactId>
376 <versionRange>
377 [0.7.1.201405082137,)
378 </versionRange>
379 <goals>
380 <goal>prepare-agent</goal>
381 </goals>
382 </pluginExecutionFilter>
383 <action>
384 <ignore></ignore>
385 </action>
386 </pluginExecution>
387 </pluginExecutions>
388 </lifecycleMappingMetadata>
389 </configuration>
390 </plugin>
tom09419512014-08-15 11:28:43 -0700391 </plugins>
tom09419512014-08-15 11:28:43 -0700392 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700393
394 <plugins>
395 <plugin>
396 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700397 <artifactId>maven-jar-plugin</artifactId>
398 </plugin>
399
400 <plugin>
401 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700402 <artifactId>maven-checkstyle-plugin</artifactId>
403 <version>2.12.1</version>
404 <dependencies>
405 <dependency>
406 <groupId>org.onlab.tools</groupId>
407 <artifactId>onos-build-conf</artifactId>
408 <version>1.0</version>
409 </dependency>
410 </dependencies>
411 <configuration>
412 <configLocation>onos/checkstyle.xml</configLocation>
413 <suppressionsLocation>onos/suppressions.xml
414 </suppressionsLocation>
415 <failsOnError>false</failsOnError>
416 <logViolationsToConsole>true</logViolationsToConsole>
417 <includeTestSourceDirectory>true
418 </includeTestSourceDirectory>
419 </configuration>
420 <executions>
421 <execution>
422 <id>validate-checkstyle</id>
423 <phase>verify</phase>
424 <goals>
425 <goal>check</goal>
426 </goals>
427 </execution>
428 </executions>
429 </plugin>
430
431 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-pmd-plugin</artifactId>
434 <version>3.2</version>
435 <configuration>
436 <excludes>
437 <exclude>**/datastore/serializers/**</exclude>
438 <exclude>**/edu/stanford/**</exclude>
439 <exclude>**/net/floodlightcontroller/**</exclude>
440 </excludes>
441 <rulesets>
442 <ruleset>onos/pmd.xml</ruleset>
443 </rulesets>
444 </configuration>
445 <executions>
446 <execution>
447 <id>validate-pmd</id>
448 <phase>verify</phase>
449 <goals>
450 <!-- Uncomment this goal to make the build fail on pmd errors -->
451 <!--<goal>check</goal>-->
452 </goals>
453 </execution>
454 </executions>
455 </plugin>
456
457 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700458 <groupId>org.jacoco</groupId>
459 <artifactId>jacoco-maven-plugin</artifactId>
460 <version>0.7.1.201405082137</version>
461 <executions>
462 <execution>
463 <id>default-prepare-agent</id>
464 <goals>
465 <goal>prepare-agent</goal>
466 </goals>
467 </execution>
468 <execution>
469 <id>default-report</id>
470 <phase>prepare-package</phase>
471 <goals>
472 <goal>report</goal>
473 </goals>
474 </execution>
475 </executions>
476 </plugin>
477
478 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-javadoc-plugin</artifactId>
481 <version>2.9.1</version>
482 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700483 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700484 <docfilessubdirs>true</docfilessubdirs>
485 <doctitle>ONOS Java API</doctitle>
486 <groups>
487 <group>
488 <title>Network Model &amp; Services</title>
489 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700490 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700491 </packages>
492 </group>
493 <group>
494 <title>Core Subsystems</title>
495 <packages>
toma1d16b62014-10-02 23:45:11 -0700496 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
tom0eb04ca2014-08-25 14:34:51 -0700497 </packages>
498 </group>
499 <group>
500 <title>OpenFlow Providers &amp; Controller
501 </title>
502 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700503 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700504 </packages>
505 </group>
506 <group>
507 <title>Utilities</title>
508 <packages>
tom984d7822014-08-29 12:02:59 -0700509 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700510 </packages>
511 </group>
512 <group>
513 <title>GUI, REST &amp; Command-Line</title>
514 <packages>
515 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
516 </packages>
517 </group>
tom8bb16062014-09-12 14:47:46 -0700518 <group>
519 <title>Sample Applications</title>
520 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700521 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700522 </packages>
523 </group>
tom0eb04ca2014-08-25 14:34:51 -0700524 </groups>
525 </configuration>
526 </plugin>
527
528 </plugins>
tom09419512014-08-15 11:28:43 -0700529 </build>
alshabib522d9872014-08-15 10:35:16 -0700530
tom0eb04ca2014-08-25 14:34:51 -0700531 <reporting>
532 <plugins>
533 <plugin>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-checkstyle-plugin</artifactId>
536 <version>2.12.1</version>
537 <configuration>
538 <configLocation>onos/checkstyle.xml</configLocation>
539 </configuration>
540 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700541
542 <plugin>
543 <groupId>org.apache.maven.plugins</groupId>
544 <artifactId>maven-pmd-plugin</artifactId>
545 <version>3.2</version>
546 <configuration>
547 <excludes>
548 <exclude>**/datastore/serializers/**</exclude>
549 <exclude>**/edu/stanford/**</exclude>
550 <exclude>**/net/floodlightcontroller/**</exclude>
551 </excludes>
552 <rulesets>
553 <ruleset>onos/pmd.xml</ruleset>
554 </rulesets>
555 </configuration>
556 </plugin>
557
tom0eb04ca2014-08-25 14:34:51 -0700558 </plugins>
559
560 </reporting>
561
alshabib522d9872014-08-15 10:35:16 -0700562</project>