blob: cb00f32295241780b46ef4cd6fb003ab7822d80f [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>
72 <artifactId>slf4j-jdk14</artifactId>
73 <version>1.7.6</version>
74 <scope>test</scope>
75 </dependency>
76
77 <dependency>
78 <groupId>com.google.guava</groupId>
79 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -070080 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -070081 </dependency>
82
alshabibdf652ad2014-09-09 11:53:19 -070083 <dependency>
84 <groupId>io.netty</groupId>
Madan Jampania185d862014-09-30 11:32:31 -070085 <artifactId>netty-all</artifactId>
86 <version>4.0.23.Final</version>
87 </dependency>
88
89 <dependency>
90 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -070091 <artifactId>netty</artifactId>
92 <version>3.9.0.Final</version>
93 </dependency>
94
tomde8d9682014-08-27 01:11:43 -070095 <dependency>
96 <groupId>com.google.guava</groupId>
97 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -070098 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -070099 <scope>test</scope>
100 </dependency>
101
tom6d2a43e2014-09-08 01:50:20 -0700102 <dependency>
103 <groupId>commons-lang</groupId>
104 <artifactId>commons-lang</artifactId>
105 <version>2.6</version>
106 </dependency>
tomde8d9682014-08-27 01:11:43 -0700107
tom66a7eb22014-09-22 11:58:56 -0700108 <dependency>
109 <groupId>org.apache.commons</groupId>
110 <artifactId>commons-lang3</artifactId>
111 <version>3.3.2</version>
112 </dependency>
113
Brian O'Connorf3d06162014-10-02 15:54:12 -0700114 <dependency>
115 <groupId>org.codehaus.jackson</groupId>
116 <artifactId>jackson-core-asl</artifactId>
117 <version>1.9.13</version>
118 </dependency>
119 <dependency>
120 <groupId>org.codehaus.jackson</groupId>
121 <artifactId>jackson-mapper-asl</artifactId>
122 <version>1.9.13</version>
123 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700124
tom66a7eb22014-09-22 11:58:56 -0700125
tom0eb04ca2014-08-25 14:34:51 -0700126 <!-- Web related -->
127 <dependency>
128 <groupId>com.sun.jersey</groupId>
129 <artifactId>jersey-servlet</artifactId>
130 <version>1.18.1</version>
131 <scope>provided</scope>
132 </dependency>
133 <dependency>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-databind</artifactId>
136 <version>2.4.2</version>
137 <scope>provided</scope>
138 </dependency>
139 <dependency>
140 <groupId>com.fasterxml.jackson.core</groupId>
141 <artifactId>jackson-annotations</artifactId>
142 <version>2.4.2</version>
143 <scope>provided</scope>
144 </dependency>
145
146 <!-- OSGi related -->
147 <dependency>
148 <groupId>org.osgi</groupId>
149 <artifactId>org.osgi.core</artifactId>
150 <version>4.3.1</version>
151 <scope>provided</scope>
152 </dependency>
153 <dependency>
154 <groupId>org.apache.felix</groupId>
155 <artifactId>org.apache.felix.scr.annotations</artifactId>
156 <version>1.9.8</version>
157 <scope>provided</scope>
158 </dependency>
159 <dependency>
160 <groupId>org.apache.karaf.shell</groupId>
161 <artifactId>org.apache.karaf.shell.console</artifactId>
162 <version>3.0.1</version>
163 <scope>provided</scope>
164 </dependency>
165
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700166 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700167 <groupId>org.livetribe.slp</groupId>
168 <artifactId>livetribe-slp</artifactId>
169 <version>2.2.1</version>
170 </dependency>
171
172 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700173 <groupId>com.hazelcast</groupId>
174 <artifactId>hazelcast</artifactId>
175 <version>3.3</version>
176 </dependency>
177 <dependency>
tomdc66b382014-09-22 17:05:47 -0700178 <groupId>com.eclipsesource.minimal-json</groupId>
179 <artifactId>minimal-json</artifactId>
180 <version>0.9.1</version>
181 </dependency>
182 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700183 <groupId>com.esotericsoftware.kryo</groupId>
184 <artifactId>kryo</artifactId>
185 <version>2.24.0</version>
186 </dependency>
187 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700188 <groupId>com.esotericsoftware</groupId>
189 <artifactId>minlog</artifactId>
190 <version>1.3.0</version>
191 </dependency>
192 <dependency>
193 <groupId>org.objenesis</groupId>
194 <artifactId>objenesis</artifactId>
195 <version>2.1</version>
196 </dependency>
197 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700198 <groupId>de.javakaffee</groupId>
199 <artifactId>kryo-serializers</artifactId>
200 <version>0.27</version>
201 </dependency>
202
tom0eb04ca2014-08-25 14:34:51 -0700203 <!-- ONOS related -->
204 <dependency>
205 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700206 <artifactId>onlab-misc</artifactId>
207 <version>${project.version}</version>
208 </dependency>
tom931af4e2014-09-13 12:00:57 -0700209 <dependency>
210 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700211 <artifactId>onlab-nio</artifactId>
212 <version>${project.version}</version>
213 </dependency>
214 <dependency>
215 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700216 <artifactId>onlab-osgi</artifactId>
217 <version>${project.version}</version>
218 </dependency>
219 <dependency>
220 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700221 <artifactId>onlab-junit</artifactId>
222 <version>1.0.0-SNAPSHOT</version>
223 <scope>test</scope>
224 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700225
226 <dependency>
227 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700228 <artifactId>onos-api</artifactId>
229 <version>${project.version}</version>
230 </dependency>
231 <dependency>
232 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700233 <artifactId>onos-api</artifactId>
234 <version>${project.version}</version>
235 <classifier>tests</classifier>
236 <scope>test</scope>
237 </dependency>
238
239 <dependency>
240 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700241 <artifactId>onos-of-api</artifactId>
242 <version>${project.version}</version>
243 </dependency>
tom61359e92014-09-16 15:50:27 -0700244 <dependency>
245 <groupId>org.onlab.onos</groupId>
246 <artifactId>onos-of-api</artifactId>
247 <version>${project.version}</version>
248 <classifier>tests</classifier>
249 <scope>test</scope>
250 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700251 <dependency>
252 <groupId>commons-pool</groupId>
253 <artifactId>commons-pool</artifactId>
254 <version>1.6</version>
255 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700256 </dependencies>
257 </dependencyManagement>
258
259 <dependencies>
260 <dependency>
261 <groupId>junit</groupId>
262 <artifactId>junit</artifactId>
263 </dependency>
264 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700265 <groupId>org.hamcrest</groupId>
266 <artifactId>hamcrest-core</artifactId>
267 </dependency>
268 <dependency>
269 <groupId>org.hamcrest</groupId>
270 <artifactId>hamcrest-library</artifactId>
271 </dependency>
272 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700273 <groupId>org.slf4j</groupId>
274 <artifactId>slf4j-jdk14</artifactId>
275 </dependency>
276 </dependencies>
tom09419512014-08-15 11:28:43 -0700277
278 <build>
279 <pluginManagement>
280 <plugins>
281 <plugin>
282 <groupId>org.apache.maven.plugins</groupId>
283 <artifactId>maven-compiler-plugin</artifactId>
284 <version>3.1</version>
285 <configuration>
286 <source>1.7</source>
287 <target>1.7</target>
288 </configuration>
289 </plugin>
290
291 <plugin>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-surefire-plugin</artifactId>
294 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700295 <configuration>
296 <redirectTestOutputToFile>true</redirectTestOutputToFile>
297 <printSummary>true</printSummary>
298 </configuration>
tom09419512014-08-15 11:28:43 -0700299 </plugin>
300
301 <plugin>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-jar-plugin</artifactId>
304 <version>2.3.1</version>
305 <executions>
306 <execution>
307 <phase>package</phase>
308 <goals>
309 <goal>test-jar</goal>
310 </goals>
311 </execution>
312 </executions>
313 </plugin>
314
315 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-resources-plugin</artifactId>
318 <version>2.6</version>
319 </plugin>
320
321 <plugin>
tom09419512014-08-15 11:28:43 -0700322 <groupId>org.apache.felix</groupId>
323 <artifactId>maven-bundle-plugin</artifactId>
324 <version>2.3.7</version>
325 <extensions>true</extensions>
326 </plugin>
327
328 <plugin>
329 <groupId>org.apache.felix</groupId>
330 <artifactId>maven-scr-plugin</artifactId>
331 <version>1.15.0</version>
332 <executions>
333 <execution>
334 <id>generate-scr-srcdescriptor</id>
335 <goals>
336 <goal>scr</goal>
337 </goals>
338 </execution>
339 </executions>
340 <configuration>
341 <supportedProjectTypes>
342 <supportedProjectType>bundle</supportedProjectType>
343 <supportedProjectType>war</supportedProjectType>
344 </supportedProjectTypes>
345 </configuration>
346 </plugin>
347
tom09419512014-08-15 11:28:43 -0700348 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700349 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
350 <plugin>
351 <groupId>org.eclipse.m2e</groupId>
352 <artifactId>lifecycle-mapping</artifactId>
353 <version>1.0.0</version>
354 <configuration>
355 <lifecycleMappingMetadata>
356 <pluginExecutions>
357 <pluginExecution>
358 <pluginExecutionFilter>
359 <groupId>org.jacoco</groupId>
360 <artifactId>
361 jacoco-maven-plugin
362 </artifactId>
363 <versionRange>
364 [0.7.1.201405082137,)
365 </versionRange>
366 <goals>
367 <goal>prepare-agent</goal>
368 </goals>
369 </pluginExecutionFilter>
370 <action>
371 <ignore></ignore>
372 </action>
373 </pluginExecution>
374 </pluginExecutions>
375 </lifecycleMappingMetadata>
376 </configuration>
377 </plugin>
tom09419512014-08-15 11:28:43 -0700378 </plugins>
tom09419512014-08-15 11:28:43 -0700379 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700380
381 <plugins>
382 <plugin>
383 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700384 <artifactId>maven-jar-plugin</artifactId>
385 </plugin>
386
387 <plugin>
388 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700389 <artifactId>maven-checkstyle-plugin</artifactId>
390 <version>2.12.1</version>
391 <dependencies>
392 <dependency>
393 <groupId>org.onlab.tools</groupId>
394 <artifactId>onos-build-conf</artifactId>
395 <version>1.0</version>
396 </dependency>
397 </dependencies>
398 <configuration>
399 <configLocation>onos/checkstyle.xml</configLocation>
400 <suppressionsLocation>onos/suppressions.xml
401 </suppressionsLocation>
402 <failsOnError>false</failsOnError>
403 <logViolationsToConsole>true</logViolationsToConsole>
404 <includeTestSourceDirectory>true
405 </includeTestSourceDirectory>
406 </configuration>
407 <executions>
408 <execution>
409 <id>validate-checkstyle</id>
410 <phase>verify</phase>
411 <goals>
412 <goal>check</goal>
413 </goals>
414 </execution>
415 </executions>
416 </plugin>
417
418 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700419 <groupId>org.apache.maven.plugins</groupId>
420 <artifactId>maven-pmd-plugin</artifactId>
421 <version>3.2</version>
422 <configuration>
423 <excludes>
424 <exclude>**/datastore/serializers/**</exclude>
425 <exclude>**/edu/stanford/**</exclude>
426 <exclude>**/net/floodlightcontroller/**</exclude>
427 </excludes>
428 <rulesets>
429 <ruleset>onos/pmd.xml</ruleset>
430 </rulesets>
431 </configuration>
432 <executions>
433 <execution>
434 <id>validate-pmd</id>
435 <phase>verify</phase>
436 <goals>
437 <!-- Uncomment this goal to make the build fail on pmd errors -->
438 <!--<goal>check</goal>-->
439 </goals>
440 </execution>
441 </executions>
442 </plugin>
443
444 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700445 <groupId>org.jacoco</groupId>
446 <artifactId>jacoco-maven-plugin</artifactId>
447 <version>0.7.1.201405082137</version>
448 <executions>
449 <execution>
450 <id>default-prepare-agent</id>
451 <goals>
452 <goal>prepare-agent</goal>
453 </goals>
454 </execution>
455 <execution>
456 <id>default-report</id>
457 <phase>prepare-package</phase>
458 <goals>
459 <goal>report</goal>
460 </goals>
461 </execution>
462 </executions>
463 </plugin>
464
465 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-javadoc-plugin</artifactId>
468 <version>2.9.1</version>
469 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700470 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700471 <docfilessubdirs>true</docfilessubdirs>
472 <doctitle>ONOS Java API</doctitle>
473 <groups>
474 <group>
475 <title>Network Model &amp; Services</title>
476 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700477 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700478 </packages>
479 </group>
480 <group>
481 <title>Core Subsystems</title>
482 <packages>
tomea961ff2014-10-01 12:45:15 -0700483 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.*
tom0eb04ca2014-08-25 14:34:51 -0700484 </packages>
485 </group>
486 <group>
487 <title>OpenFlow Providers &amp; Controller
488 </title>
489 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700490 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700491 </packages>
492 </group>
493 <group>
494 <title>Utilities</title>
495 <packages>
tom984d7822014-08-29 12:02:59 -0700496 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700497 </packages>
498 </group>
499 <group>
500 <title>GUI, REST &amp; Command-Line</title>
501 <packages>
502 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
503 </packages>
504 </group>
tom8bb16062014-09-12 14:47:46 -0700505 <group>
506 <title>Sample Applications</title>
507 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700508 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700509 </packages>
510 </group>
tom0eb04ca2014-08-25 14:34:51 -0700511 </groups>
512 </configuration>
513 </plugin>
514
515 </plugins>
tom09419512014-08-15 11:28:43 -0700516 </build>
alshabib522d9872014-08-15 10:35:16 -0700517
tom0eb04ca2014-08-25 14:34:51 -0700518 <reporting>
519 <plugins>
520 <plugin>
521 <groupId>org.apache.maven.plugins</groupId>
522 <artifactId>maven-checkstyle-plugin</artifactId>
523 <version>2.12.1</version>
524 <configuration>
525 <configLocation>onos/checkstyle.xml</configLocation>
526 </configuration>
527 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700528
529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-pmd-plugin</artifactId>
532 <version>3.2</version>
533 <configuration>
534 <excludes>
535 <exclude>**/datastore/serializers/**</exclude>
536 <exclude>**/edu/stanford/**</exclude>
537 <exclude>**/net/floodlightcontroller/**</exclude>
538 </excludes>
539 <rulesets>
540 <ruleset>onos/pmd.xml</ruleset>
541 </rulesets>
542 </configuration>
543 </plugin>
544
tom0eb04ca2014-08-25 14:34:51 -0700545 </plugins>
546
547 </reporting>
548
alshabib522d9872014-08-15 10:35:16 -0700549</project>