blob: f537f558e0ec7347d6beff1bfc61d0058c9da201 [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>
293 <artifactId>slf4j-jdk14</artifactId>
294 </dependency>
295 </dependencies>
tom09419512014-08-15 11:28:43 -0700296
297 <build>
298 <pluginManagement>
299 <plugins>
300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-compiler-plugin</artifactId>
303 <version>3.1</version>
304 <configuration>
305 <source>1.7</source>
306 <target>1.7</target>
307 </configuration>
308 </plugin>
309
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-surefire-plugin</artifactId>
313 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700314 <configuration>
315 <redirectTestOutputToFile>true</redirectTestOutputToFile>
316 <printSummary>true</printSummary>
317 </configuration>
tom09419512014-08-15 11:28:43 -0700318 </plugin>
319
320 <plugin>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-jar-plugin</artifactId>
323 <version>2.3.1</version>
324 <executions>
325 <execution>
326 <phase>package</phase>
327 <goals>
328 <goal>test-jar</goal>
329 </goals>
330 </execution>
331 </executions>
332 </plugin>
333
334 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-resources-plugin</artifactId>
337 <version>2.6</version>
338 </plugin>
339
340 <plugin>
tom09419512014-08-15 11:28:43 -0700341 <groupId>org.apache.felix</groupId>
342 <artifactId>maven-bundle-plugin</artifactId>
343 <version>2.3.7</version>
344 <extensions>true</extensions>
345 </plugin>
346
347 <plugin>
348 <groupId>org.apache.felix</groupId>
349 <artifactId>maven-scr-plugin</artifactId>
350 <version>1.15.0</version>
351 <executions>
352 <execution>
353 <id>generate-scr-srcdescriptor</id>
354 <goals>
355 <goal>scr</goal>
356 </goals>
357 </execution>
358 </executions>
359 <configuration>
360 <supportedProjectTypes>
361 <supportedProjectType>bundle</supportedProjectType>
362 <supportedProjectType>war</supportedProjectType>
363 </supportedProjectTypes>
364 </configuration>
365 </plugin>
366
tom09419512014-08-15 11:28:43 -0700367 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700368 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
369 <plugin>
370 <groupId>org.eclipse.m2e</groupId>
371 <artifactId>lifecycle-mapping</artifactId>
372 <version>1.0.0</version>
373 <configuration>
374 <lifecycleMappingMetadata>
375 <pluginExecutions>
376 <pluginExecution>
377 <pluginExecutionFilter>
378 <groupId>org.jacoco</groupId>
379 <artifactId>
380 jacoco-maven-plugin
381 </artifactId>
382 <versionRange>
383 [0.7.1.201405082137,)
384 </versionRange>
385 <goals>
386 <goal>prepare-agent</goal>
387 </goals>
388 </pluginExecutionFilter>
389 <action>
390 <ignore></ignore>
391 </action>
392 </pluginExecution>
393 </pluginExecutions>
394 </lifecycleMappingMetadata>
395 </configuration>
396 </plugin>
tom09419512014-08-15 11:28:43 -0700397 </plugins>
tom09419512014-08-15 11:28:43 -0700398 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700399
400 <plugins>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700403 <artifactId>maven-jar-plugin</artifactId>
404 </plugin>
405
406 <plugin>
407 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700408 <artifactId>maven-checkstyle-plugin</artifactId>
409 <version>2.12.1</version>
410 <dependencies>
411 <dependency>
412 <groupId>org.onlab.tools</groupId>
413 <artifactId>onos-build-conf</artifactId>
414 <version>1.0</version>
415 </dependency>
416 </dependencies>
417 <configuration>
418 <configLocation>onos/checkstyle.xml</configLocation>
419 <suppressionsLocation>onos/suppressions.xml
420 </suppressionsLocation>
421 <failsOnError>false</failsOnError>
422 <logViolationsToConsole>true</logViolationsToConsole>
423 <includeTestSourceDirectory>true
424 </includeTestSourceDirectory>
425 </configuration>
426 <executions>
427 <execution>
428 <id>validate-checkstyle</id>
429 <phase>verify</phase>
430 <goals>
431 <goal>check</goal>
432 </goals>
433 </execution>
434 </executions>
435 </plugin>
436
437 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-pmd-plugin</artifactId>
440 <version>3.2</version>
441 <configuration>
442 <excludes>
443 <exclude>**/datastore/serializers/**</exclude>
444 <exclude>**/edu/stanford/**</exclude>
445 <exclude>**/net/floodlightcontroller/**</exclude>
446 </excludes>
447 <rulesets>
448 <ruleset>onos/pmd.xml</ruleset>
449 </rulesets>
450 </configuration>
451 <executions>
452 <execution>
453 <id>validate-pmd</id>
454 <phase>verify</phase>
455 <goals>
456 <!-- Uncomment this goal to make the build fail on pmd errors -->
457 <!--<goal>check</goal>-->
458 </goals>
459 </execution>
460 </executions>
461 </plugin>
462
463 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700464 <groupId>org.jacoco</groupId>
465 <artifactId>jacoco-maven-plugin</artifactId>
466 <version>0.7.1.201405082137</version>
467 <executions>
468 <execution>
469 <id>default-prepare-agent</id>
470 <goals>
471 <goal>prepare-agent</goal>
472 </goals>
473 </execution>
474 <execution>
475 <id>default-report</id>
476 <phase>prepare-package</phase>
477 <goals>
478 <goal>report</goal>
479 </goals>
480 </execution>
481 </executions>
482 </plugin>
483
484 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-javadoc-plugin</artifactId>
487 <version>2.9.1</version>
488 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700489 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700490 <docfilessubdirs>true</docfilessubdirs>
491 <doctitle>ONOS Java API</doctitle>
492 <groups>
493 <group>
494 <title>Network Model &amp; Services</title>
495 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700496 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700497 </packages>
498 </group>
499 <group>
500 <title>Core Subsystems</title>
501 <packages>
tom093340b2014-10-10 00:15:36 -0700502 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 -0700503 </packages>
504 </group>
505 <group>
506 <title>OpenFlow Providers &amp; Controller
507 </title>
508 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700509 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700510 </packages>
511 </group>
512 <group>
513 <title>Utilities</title>
514 <packages>
tom984d7822014-08-29 12:02:59 -0700515 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700516 </packages>
517 </group>
518 <group>
519 <title>GUI, REST &amp; Command-Line</title>
520 <packages>
521 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
522 </packages>
523 </group>
tom8bb16062014-09-12 14:47:46 -0700524 <group>
525 <title>Sample Applications</title>
526 <packages>
tom093340b2014-10-10 00:15:36 -0700527 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 -0700528 </packages>
529 </group>
tom0eb04ca2014-08-25 14:34:51 -0700530 </groups>
531 </configuration>
532 </plugin>
533
534 </plugins>
tom09419512014-08-15 11:28:43 -0700535 </build>
alshabib522d9872014-08-15 10:35:16 -0700536
tom0eb04ca2014-08-25 14:34:51 -0700537 <reporting>
538 <plugins>
539 <plugin>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-checkstyle-plugin</artifactId>
542 <version>2.12.1</version>
543 <configuration>
544 <configLocation>onos/checkstyle.xml</configLocation>
545 </configuration>
546 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700547
548 <plugin>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-pmd-plugin</artifactId>
551 <version>3.2</version>
552 <configuration>
553 <excludes>
554 <exclude>**/datastore/serializers/**</exclude>
555 <exclude>**/edu/stanford/**</exclude>
556 <exclude>**/net/floodlightcontroller/**</exclude>
557 </excludes>
558 <rulesets>
559 <ruleset>onos/pmd.xml</ruleset>
560 </rulesets>
561 </configuration>
562 </plugin>
563
tom0eb04ca2014-08-25 14:34:51 -0700564 </plugins>
565
566 </reporting>
567
alshabib522d9872014-08-15 10:35:16 -0700568</project>