blob: 8248c6887c196d75b9e1aa749a08cd20956552a8 [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
tom66a7eb22014-09-22 11:58:56 -0700132
tom0eb04ca2014-08-25 14:34:51 -0700133 <!-- Web related -->
134 <dependency>
135 <groupId>com.sun.jersey</groupId>
136 <artifactId>jersey-servlet</artifactId>
137 <version>1.18.1</version>
138 <scope>provided</scope>
139 </dependency>
140 <dependency>
141 <groupId>com.fasterxml.jackson.core</groupId>
142 <artifactId>jackson-databind</artifactId>
143 <version>2.4.2</version>
144 <scope>provided</scope>
145 </dependency>
146 <dependency>
147 <groupId>com.fasterxml.jackson.core</groupId>
148 <artifactId>jackson-annotations</artifactId>
149 <version>2.4.2</version>
150 <scope>provided</scope>
151 </dependency>
152
153 <!-- OSGi related -->
154 <dependency>
155 <groupId>org.osgi</groupId>
156 <artifactId>org.osgi.core</artifactId>
157 <version>4.3.1</version>
158 <scope>provided</scope>
159 </dependency>
160 <dependency>
161 <groupId>org.apache.felix</groupId>
162 <artifactId>org.apache.felix.scr.annotations</artifactId>
163 <version>1.9.8</version>
164 <scope>provided</scope>
165 </dependency>
166 <dependency>
167 <groupId>org.apache.karaf.shell</groupId>
168 <artifactId>org.apache.karaf.shell.console</artifactId>
169 <version>3.0.1</version>
170 <scope>provided</scope>
171 </dependency>
172
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700173 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700174 <groupId>org.livetribe.slp</groupId>
175 <artifactId>livetribe-slp</artifactId>
176 <version>2.2.1</version>
177 </dependency>
178
179 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700180 <groupId>com.hazelcast</groupId>
181 <artifactId>hazelcast</artifactId>
182 <version>3.3</version>
183 </dependency>
184 <dependency>
tomdc66b382014-09-22 17:05:47 -0700185 <groupId>com.eclipsesource.minimal-json</groupId>
186 <artifactId>minimal-json</artifactId>
187 <version>0.9.1</version>
188 </dependency>
189 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700190 <groupId>com.esotericsoftware.kryo</groupId>
191 <artifactId>kryo</artifactId>
192 <version>2.24.0</version>
193 </dependency>
194 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700195 <groupId>com.esotericsoftware</groupId>
196 <artifactId>minlog</artifactId>
197 <version>1.3.0</version>
198 </dependency>
199 <dependency>
200 <groupId>org.objenesis</groupId>
201 <artifactId>objenesis</artifactId>
202 <version>2.1</version>
203 </dependency>
204 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700205 <groupId>de.javakaffee</groupId>
206 <artifactId>kryo-serializers</artifactId>
207 <version>0.27</version>
208 </dependency>
209
tom0eb04ca2014-08-25 14:34:51 -0700210 <!-- ONOS related -->
211 <dependency>
212 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700213 <artifactId>onlab-misc</artifactId>
214 <version>${project.version}</version>
215 </dependency>
tom931af4e2014-09-13 12:00:57 -0700216 <dependency>
217 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700218 <artifactId>onlab-nio</artifactId>
219 <version>${project.version}</version>
220 </dependency>
221 <dependency>
222 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700223 <artifactId>onlab-osgi</artifactId>
224 <version>${project.version}</version>
225 </dependency>
226 <dependency>
227 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700228 <artifactId>onlab-junit</artifactId>
229 <version>1.0.0-SNAPSHOT</version>
230 <scope>test</scope>
231 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700232
233 <dependency>
234 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700235 <artifactId>onos-api</artifactId>
236 <version>${project.version}</version>
237 </dependency>
238 <dependency>
239 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700240 <artifactId>onos-api</artifactId>
241 <version>${project.version}</version>
242 <classifier>tests</classifier>
243 <scope>test</scope>
244 </dependency>
245
246 <dependency>
247 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700248 <artifactId>onos-of-api</artifactId>
249 <version>${project.version}</version>
250 </dependency>
tom61359e92014-09-16 15:50:27 -0700251 <dependency>
252 <groupId>org.onlab.onos</groupId>
253 <artifactId>onos-of-api</artifactId>
254 <version>${project.version}</version>
255 <classifier>tests</classifier>
256 <scope>test</scope>
257 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700258 <dependency>
259 <groupId>commons-pool</groupId>
260 <artifactId>commons-pool</artifactId>
261 <version>1.6</version>
262 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700263 </dependencies>
264 </dependencyManagement>
265
266 <dependencies>
267 <dependency>
268 <groupId>junit</groupId>
269 <artifactId>junit</artifactId>
270 </dependency>
271 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700272 <groupId>org.hamcrest</groupId>
273 <artifactId>hamcrest-core</artifactId>
274 </dependency>
275 <dependency>
276 <groupId>org.hamcrest</groupId>
277 <artifactId>hamcrest-library</artifactId>
278 </dependency>
279 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700280 <groupId>org.slf4j</groupId>
281 <artifactId>slf4j-jdk14</artifactId>
282 </dependency>
283 </dependencies>
tom09419512014-08-15 11:28:43 -0700284
285 <build>
286 <pluginManagement>
287 <plugins>
288 <plugin>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-compiler-plugin</artifactId>
291 <version>3.1</version>
292 <configuration>
293 <source>1.7</source>
294 <target>1.7</target>
295 </configuration>
296 </plugin>
297
298 <plugin>
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-surefire-plugin</artifactId>
301 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700302 <configuration>
303 <redirectTestOutputToFile>true</redirectTestOutputToFile>
304 <printSummary>true</printSummary>
305 </configuration>
tom09419512014-08-15 11:28:43 -0700306 </plugin>
307
308 <plugin>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-jar-plugin</artifactId>
311 <version>2.3.1</version>
312 <executions>
313 <execution>
314 <phase>package</phase>
315 <goals>
316 <goal>test-jar</goal>
317 </goals>
318 </execution>
319 </executions>
320 </plugin>
321
322 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-resources-plugin</artifactId>
325 <version>2.6</version>
326 </plugin>
327
328 <plugin>
tom09419512014-08-15 11:28:43 -0700329 <groupId>org.apache.felix</groupId>
330 <artifactId>maven-bundle-plugin</artifactId>
331 <version>2.3.7</version>
332 <extensions>true</extensions>
333 </plugin>
334
335 <plugin>
336 <groupId>org.apache.felix</groupId>
337 <artifactId>maven-scr-plugin</artifactId>
338 <version>1.15.0</version>
339 <executions>
340 <execution>
341 <id>generate-scr-srcdescriptor</id>
342 <goals>
343 <goal>scr</goal>
344 </goals>
345 </execution>
346 </executions>
347 <configuration>
348 <supportedProjectTypes>
349 <supportedProjectType>bundle</supportedProjectType>
350 <supportedProjectType>war</supportedProjectType>
351 </supportedProjectTypes>
352 </configuration>
353 </plugin>
354
tom09419512014-08-15 11:28:43 -0700355 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700356 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
357 <plugin>
358 <groupId>org.eclipse.m2e</groupId>
359 <artifactId>lifecycle-mapping</artifactId>
360 <version>1.0.0</version>
361 <configuration>
362 <lifecycleMappingMetadata>
363 <pluginExecutions>
364 <pluginExecution>
365 <pluginExecutionFilter>
366 <groupId>org.jacoco</groupId>
367 <artifactId>
368 jacoco-maven-plugin
369 </artifactId>
370 <versionRange>
371 [0.7.1.201405082137,)
372 </versionRange>
373 <goals>
374 <goal>prepare-agent</goal>
375 </goals>
376 </pluginExecutionFilter>
377 <action>
378 <ignore></ignore>
379 </action>
380 </pluginExecution>
381 </pluginExecutions>
382 </lifecycleMappingMetadata>
383 </configuration>
384 </plugin>
tom09419512014-08-15 11:28:43 -0700385 </plugins>
tom09419512014-08-15 11:28:43 -0700386 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700387
388 <plugins>
389 <plugin>
390 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700391 <artifactId>maven-jar-plugin</artifactId>
392 </plugin>
393
394 <plugin>
395 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700396 <artifactId>maven-checkstyle-plugin</artifactId>
397 <version>2.12.1</version>
398 <dependencies>
399 <dependency>
400 <groupId>org.onlab.tools</groupId>
401 <artifactId>onos-build-conf</artifactId>
402 <version>1.0</version>
403 </dependency>
404 </dependencies>
405 <configuration>
406 <configLocation>onos/checkstyle.xml</configLocation>
407 <suppressionsLocation>onos/suppressions.xml
408 </suppressionsLocation>
409 <failsOnError>false</failsOnError>
410 <logViolationsToConsole>true</logViolationsToConsole>
411 <includeTestSourceDirectory>true
412 </includeTestSourceDirectory>
413 </configuration>
414 <executions>
415 <execution>
416 <id>validate-checkstyle</id>
417 <phase>verify</phase>
418 <goals>
419 <goal>check</goal>
420 </goals>
421 </execution>
422 </executions>
423 </plugin>
424
425 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700426 <groupId>org.apache.maven.plugins</groupId>
427 <artifactId>maven-pmd-plugin</artifactId>
428 <version>3.2</version>
429 <configuration>
430 <excludes>
431 <exclude>**/datastore/serializers/**</exclude>
432 <exclude>**/edu/stanford/**</exclude>
433 <exclude>**/net/floodlightcontroller/**</exclude>
434 </excludes>
435 <rulesets>
436 <ruleset>onos/pmd.xml</ruleset>
437 </rulesets>
438 </configuration>
439 <executions>
440 <execution>
441 <id>validate-pmd</id>
442 <phase>verify</phase>
443 <goals>
444 <!-- Uncomment this goal to make the build fail on pmd errors -->
445 <!--<goal>check</goal>-->
446 </goals>
447 </execution>
448 </executions>
449 </plugin>
450
451 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700452 <groupId>org.jacoco</groupId>
453 <artifactId>jacoco-maven-plugin</artifactId>
454 <version>0.7.1.201405082137</version>
455 <executions>
456 <execution>
457 <id>default-prepare-agent</id>
458 <goals>
459 <goal>prepare-agent</goal>
460 </goals>
461 </execution>
462 <execution>
463 <id>default-report</id>
464 <phase>prepare-package</phase>
465 <goals>
466 <goal>report</goal>
467 </goals>
468 </execution>
469 </executions>
470 </plugin>
471
472 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-javadoc-plugin</artifactId>
475 <version>2.9.1</version>
476 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700477 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700478 <docfilessubdirs>true</docfilessubdirs>
479 <doctitle>ONOS Java API</doctitle>
480 <groups>
481 <group>
482 <title>Network Model &amp; Services</title>
483 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700484 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700485 </packages>
486 </group>
487 <group>
488 <title>Core Subsystems</title>
489 <packages>
toma1d16b62014-10-02 23:45:11 -0700490 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 -0700491 </packages>
492 </group>
493 <group>
494 <title>OpenFlow Providers &amp; Controller
495 </title>
496 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700497 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700498 </packages>
499 </group>
500 <group>
501 <title>Utilities</title>
502 <packages>
tom984d7822014-08-29 12:02:59 -0700503 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700504 </packages>
505 </group>
506 <group>
507 <title>GUI, REST &amp; Command-Line</title>
508 <packages>
509 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
510 </packages>
511 </group>
tom8bb16062014-09-12 14:47:46 -0700512 <group>
513 <title>Sample Applications</title>
514 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700515 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700516 </packages>
517 </group>
tom0eb04ca2014-08-25 14:34:51 -0700518 </groups>
519 </configuration>
520 </plugin>
521
522 </plugins>
tom09419512014-08-15 11:28:43 -0700523 </build>
alshabib522d9872014-08-15 10:35:16 -0700524
tom0eb04ca2014-08-25 14:34:51 -0700525 <reporting>
526 <plugins>
527 <plugin>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-checkstyle-plugin</artifactId>
530 <version>2.12.1</version>
531 <configuration>
532 <configLocation>onos/checkstyle.xml</configLocation>
533 </configuration>
534 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700535
536 <plugin>
537 <groupId>org.apache.maven.plugins</groupId>
538 <artifactId>maven-pmd-plugin</artifactId>
539 <version>3.2</version>
540 <configuration>
541 <excludes>
542 <exclude>**/datastore/serializers/**</exclude>
543 <exclude>**/edu/stanford/**</exclude>
544 <exclude>**/net/floodlightcontroller/**</exclude>
545 </excludes>
546 <rulesets>
547 <ruleset>onos/pmd.xml</ruleset>
548 </rulesets>
549 </configuration>
550 </plugin>
551
tom0eb04ca2014-08-25 14:34:51 -0700552 </plugins>
553
554 </reporting>
555
alshabib522d9872014-08-15 10:35:16 -0700556</project>