blob: 4290769627ec65f5a592f3aefa9254ba42b0f5a8 [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 HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700196 <groupId>com.esotericsoftware</groupId>
197 <artifactId>kryo</artifactId>
198 <version>3.0.0</version>
199 </dependency>
200 <dependency>
201 <groupId>com.esotericsoftware</groupId>
202 <artifactId>reflectasm</artifactId>
203 <version>1.10.0</version>
204 <type>bundle</type>
205 </dependency>
206 <dependency>
207 <groupId>org.ow2.asm</groupId>
208 <artifactId>asm</artifactId>
209 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700210 </dependency>
211 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700212 <groupId>com.esotericsoftware</groupId>
213 <artifactId>minlog</artifactId>
214 <version>1.3.0</version>
215 </dependency>
216 <dependency>
217 <groupId>org.objenesis</groupId>
218 <artifactId>objenesis</artifactId>
219 <version>2.1</version>
220 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700221
tom0eb04ca2014-08-25 14:34:51 -0700222 <!-- ONOS related -->
223 <dependency>
224 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700225 <artifactId>onlab-misc</artifactId>
226 <version>${project.version}</version>
227 </dependency>
tom931af4e2014-09-13 12:00:57 -0700228 <dependency>
229 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700230 <artifactId>onlab-nio</artifactId>
231 <version>${project.version}</version>
232 </dependency>
233 <dependency>
234 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700235 <artifactId>onlab-osgi</artifactId>
236 <version>${project.version}</version>
237 </dependency>
238 <dependency>
239 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700240 <artifactId>onlab-junit</artifactId>
241 <version>1.0.0-SNAPSHOT</version>
242 <scope>test</scope>
243 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700244
245 <dependency>
246 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700247 <artifactId>onos-api</artifactId>
248 <version>${project.version}</version>
249 </dependency>
250 <dependency>
251 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700252 <artifactId>onos-api</artifactId>
253 <version>${project.version}</version>
254 <classifier>tests</classifier>
255 <scope>test</scope>
256 </dependency>
257
258 <dependency>
259 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700260 <artifactId>onos-of-api</artifactId>
261 <version>${project.version}</version>
262 </dependency>
tom61359e92014-09-16 15:50:27 -0700263 <dependency>
264 <groupId>org.onlab.onos</groupId>
265 <artifactId>onos-of-api</artifactId>
266 <version>${project.version}</version>
267 <classifier>tests</classifier>
268 <scope>test</scope>
269 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700270 <dependency>
271 <groupId>commons-pool</groupId>
272 <artifactId>commons-pool</artifactId>
273 <version>1.6</version>
274 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700275 </dependencies>
276 </dependencyManagement>
277
278 <dependencies>
279 <dependency>
280 <groupId>junit</groupId>
281 <artifactId>junit</artifactId>
282 </dependency>
283 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700284 <groupId>org.hamcrest</groupId>
285 <artifactId>hamcrest-core</artifactId>
286 </dependency>
287 <dependency>
288 <groupId>org.hamcrest</groupId>
289 <artifactId>hamcrest-library</artifactId>
290 </dependency>
291 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700292 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700293 <artifactId>slf4j-api</artifactId>
294 </dependency>
295 <dependency>
296 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700297 <artifactId>slf4j-jdk14</artifactId>
298 </dependency>
299 </dependencies>
tom09419512014-08-15 11:28:43 -0700300
301 <build>
302 <pluginManagement>
303 <plugins>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-compiler-plugin</artifactId>
307 <version>3.1</version>
308 <configuration>
309 <source>1.7</source>
310 <target>1.7</target>
311 </configuration>
312 </plugin>
313
314 <plugin>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-surefire-plugin</artifactId>
317 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700318 <configuration>
319 <redirectTestOutputToFile>true</redirectTestOutputToFile>
320 <printSummary>true</printSummary>
321 </configuration>
tom09419512014-08-15 11:28:43 -0700322 </plugin>
323
324 <plugin>
325 <groupId>org.apache.maven.plugins</groupId>
326 <artifactId>maven-jar-plugin</artifactId>
327 <version>2.3.1</version>
328 <executions>
329 <execution>
330 <phase>package</phase>
331 <goals>
332 <goal>test-jar</goal>
333 </goals>
334 </execution>
335 </executions>
336 </plugin>
337
338 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700339 <groupId>org.apache.maven.plugins</groupId>
340 <artifactId>maven-resources-plugin</artifactId>
341 <version>2.6</version>
342 </plugin>
343
344 <plugin>
tom09419512014-08-15 11:28:43 -0700345 <groupId>org.apache.felix</groupId>
346 <artifactId>maven-bundle-plugin</artifactId>
347 <version>2.3.7</version>
348 <extensions>true</extensions>
349 </plugin>
350
351 <plugin>
352 <groupId>org.apache.felix</groupId>
353 <artifactId>maven-scr-plugin</artifactId>
354 <version>1.15.0</version>
355 <executions>
356 <execution>
357 <id>generate-scr-srcdescriptor</id>
358 <goals>
359 <goal>scr</goal>
360 </goals>
361 </execution>
362 </executions>
363 <configuration>
364 <supportedProjectTypes>
365 <supportedProjectType>bundle</supportedProjectType>
366 <supportedProjectType>war</supportedProjectType>
367 </supportedProjectTypes>
368 </configuration>
369 </plugin>
370
tom09419512014-08-15 11:28:43 -0700371 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700372 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
373 <plugin>
374 <groupId>org.eclipse.m2e</groupId>
375 <artifactId>lifecycle-mapping</artifactId>
376 <version>1.0.0</version>
377 <configuration>
378 <lifecycleMappingMetadata>
379 <pluginExecutions>
380 <pluginExecution>
381 <pluginExecutionFilter>
382 <groupId>org.jacoco</groupId>
383 <artifactId>
384 jacoco-maven-plugin
385 </artifactId>
386 <versionRange>
387 [0.7.1.201405082137,)
388 </versionRange>
389 <goals>
390 <goal>prepare-agent</goal>
391 </goals>
392 </pluginExecutionFilter>
393 <action>
394 <ignore></ignore>
395 </action>
396 </pluginExecution>
397 </pluginExecutions>
398 </lifecycleMappingMetadata>
399 </configuration>
400 </plugin>
tom09419512014-08-15 11:28:43 -0700401 </plugins>
tom09419512014-08-15 11:28:43 -0700402 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700403
404 <plugins>
405 <plugin>
406 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700407 <artifactId>maven-jar-plugin</artifactId>
408 </plugin>
409
410 <plugin>
411 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700412 <artifactId>maven-checkstyle-plugin</artifactId>
413 <version>2.12.1</version>
414 <dependencies>
415 <dependency>
416 <groupId>org.onlab.tools</groupId>
417 <artifactId>onos-build-conf</artifactId>
418 <version>1.0</version>
419 </dependency>
420 </dependencies>
421 <configuration>
422 <configLocation>onos/checkstyle.xml</configLocation>
423 <suppressionsLocation>onos/suppressions.xml
424 </suppressionsLocation>
425 <failsOnError>false</failsOnError>
426 <logViolationsToConsole>true</logViolationsToConsole>
427 <includeTestSourceDirectory>true
428 </includeTestSourceDirectory>
429 </configuration>
430 <executions>
431 <execution>
432 <id>validate-checkstyle</id>
433 <phase>verify</phase>
434 <goals>
435 <goal>check</goal>
436 </goals>
437 </execution>
438 </executions>
439 </plugin>
440
441 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-pmd-plugin</artifactId>
444 <version>3.2</version>
445 <configuration>
446 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700447 </excludes>
448 <rulesets>
449 <ruleset>onos/pmd.xml</ruleset>
450 </rulesets>
451 </configuration>
452 <executions>
453 <execution>
454 <id>validate-pmd</id>
455 <phase>verify</phase>
456 <goals>
457 <!-- Uncomment this goal to make the build fail on pmd errors -->
458 <!--<goal>check</goal>-->
459 </goals>
460 </execution>
461 </executions>
462 </plugin>
463
464 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700465 <groupId>org.jacoco</groupId>
466 <artifactId>jacoco-maven-plugin</artifactId>
467 <version>0.7.1.201405082137</version>
468 <executions>
469 <execution>
470 <id>default-prepare-agent</id>
471 <goals>
472 <goal>prepare-agent</goal>
473 </goals>
474 </execution>
475 <execution>
476 <id>default-report</id>
477 <phase>prepare-package</phase>
478 <goals>
479 <goal>report</goal>
480 </goals>
481 </execution>
482 </executions>
483 </plugin>
484
485 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-javadoc-plugin</artifactId>
488 <version>2.9.1</version>
489 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700490 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700491 <docfilessubdirs>true</docfilessubdirs>
492 <doctitle>ONOS Java API</doctitle>
493 <groups>
494 <group>
495 <title>Network Model &amp; Services</title>
496 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700497 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700498 </packages>
499 </group>
500 <group>
501 <title>Core Subsystems</title>
502 <packages>
tom093340b2014-10-10 00:15:36 -0700503 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
tom0eb04ca2014-08-25 14:34:51 -0700504 </packages>
505 </group>
506 <group>
507 <title>OpenFlow Providers &amp; Controller
508 </title>
509 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700510 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700511 </packages>
512 </group>
513 <group>
514 <title>Utilities</title>
515 <packages>
tom984d7822014-08-29 12:02:59 -0700516 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700517 </packages>
518 </group>
519 <group>
520 <title>GUI, REST &amp; Command-Line</title>
521 <packages>
522 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
523 </packages>
524 </group>
tom8bb16062014-09-12 14:47:46 -0700525 <group>
526 <title>Sample Applications</title>
527 <packages>
tom093340b2014-10-10 00:15:36 -0700528 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 -0700529 </packages>
530 </group>
tom0eb04ca2014-08-25 14:34:51 -0700531 </groups>
532 </configuration>
533 </plugin>
534
535 </plugins>
tom09419512014-08-15 11:28:43 -0700536 </build>
alshabib522d9872014-08-15 10:35:16 -0700537
tom0eb04ca2014-08-25 14:34:51 -0700538 <reporting>
539 <plugins>
540 <plugin>
541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-checkstyle-plugin</artifactId>
543 <version>2.12.1</version>
544 <configuration>
545 <configLocation>onos/checkstyle.xml</configLocation>
546 </configuration>
547 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700548
549 <plugin>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-pmd-plugin</artifactId>
552 <version>3.2</version>
553 <configuration>
554 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700555 </excludes>
556 <rulesets>
557 <ruleset>onos/pmd.xml</ruleset>
558 </rulesets>
559 </configuration>
560 </plugin>
561
tom0eb04ca2014-08-25 14:34:51 -0700562 </plugins>
563
564 </reporting>
565
alshabib522d9872014-08-15 10:35:16 -0700566</project>