blob: 56bbd744a639f67624f28eeb89117a10434f3258 [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>
tom0eb04ca2014-08-25 14:34:51 -0700251 </dependencies>
252 </dependencyManagement>
253
254 <dependencies>
255 <dependency>
256 <groupId>junit</groupId>
257 <artifactId>junit</artifactId>
258 </dependency>
259 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700260 <groupId>org.hamcrest</groupId>
261 <artifactId>hamcrest-core</artifactId>
262 </dependency>
263 <dependency>
264 <groupId>org.hamcrest</groupId>
265 <artifactId>hamcrest-library</artifactId>
266 </dependency>
267 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-jdk14</artifactId>
270 </dependency>
271 </dependencies>
tom09419512014-08-15 11:28:43 -0700272
273 <build>
274 <pluginManagement>
275 <plugins>
276 <plugin>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-compiler-plugin</artifactId>
279 <version>3.1</version>
280 <configuration>
281 <source>1.7</source>
282 <target>1.7</target>
283 </configuration>
284 </plugin>
285
286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-surefire-plugin</artifactId>
289 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700290 <configuration>
291 <redirectTestOutputToFile>true</redirectTestOutputToFile>
292 <printSummary>true</printSummary>
293 </configuration>
tom09419512014-08-15 11:28:43 -0700294 </plugin>
295
296 <plugin>
297 <groupId>org.apache.maven.plugins</groupId>
298 <artifactId>maven-jar-plugin</artifactId>
299 <version>2.3.1</version>
300 <executions>
301 <execution>
302 <phase>package</phase>
303 <goals>
304 <goal>test-jar</goal>
305 </goals>
306 </execution>
307 </executions>
308 </plugin>
309
310 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-resources-plugin</artifactId>
313 <version>2.6</version>
314 </plugin>
315
316 <plugin>
tom09419512014-08-15 11:28:43 -0700317 <groupId>org.apache.felix</groupId>
318 <artifactId>maven-bundle-plugin</artifactId>
319 <version>2.3.7</version>
320 <extensions>true</extensions>
321 </plugin>
322
323 <plugin>
324 <groupId>org.apache.felix</groupId>
325 <artifactId>maven-scr-plugin</artifactId>
326 <version>1.15.0</version>
327 <executions>
328 <execution>
329 <id>generate-scr-srcdescriptor</id>
330 <goals>
331 <goal>scr</goal>
332 </goals>
333 </execution>
334 </executions>
335 <configuration>
336 <supportedProjectTypes>
337 <supportedProjectType>bundle</supportedProjectType>
338 <supportedProjectType>war</supportedProjectType>
339 </supportedProjectTypes>
340 </configuration>
341 </plugin>
342
tom09419512014-08-15 11:28:43 -0700343 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700344 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
345 <plugin>
346 <groupId>org.eclipse.m2e</groupId>
347 <artifactId>lifecycle-mapping</artifactId>
348 <version>1.0.0</version>
349 <configuration>
350 <lifecycleMappingMetadata>
351 <pluginExecutions>
352 <pluginExecution>
353 <pluginExecutionFilter>
354 <groupId>org.jacoco</groupId>
355 <artifactId>
356 jacoco-maven-plugin
357 </artifactId>
358 <versionRange>
359 [0.7.1.201405082137,)
360 </versionRange>
361 <goals>
362 <goal>prepare-agent</goal>
363 </goals>
364 </pluginExecutionFilter>
365 <action>
366 <ignore></ignore>
367 </action>
368 </pluginExecution>
369 </pluginExecutions>
370 </lifecycleMappingMetadata>
371 </configuration>
372 </plugin>
tom09419512014-08-15 11:28:43 -0700373 </plugins>
tom09419512014-08-15 11:28:43 -0700374 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700375
376 <plugins>
377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700379 <artifactId>maven-jar-plugin</artifactId>
380 </plugin>
381
382 <plugin>
383 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700384 <artifactId>maven-checkstyle-plugin</artifactId>
385 <version>2.12.1</version>
386 <dependencies>
387 <dependency>
388 <groupId>org.onlab.tools</groupId>
389 <artifactId>onos-build-conf</artifactId>
390 <version>1.0</version>
391 </dependency>
392 </dependencies>
393 <configuration>
394 <configLocation>onos/checkstyle.xml</configLocation>
395 <suppressionsLocation>onos/suppressions.xml
396 </suppressionsLocation>
397 <failsOnError>false</failsOnError>
398 <logViolationsToConsole>true</logViolationsToConsole>
399 <includeTestSourceDirectory>true
400 </includeTestSourceDirectory>
401 </configuration>
402 <executions>
403 <execution>
404 <id>validate-checkstyle</id>
405 <phase>verify</phase>
406 <goals>
407 <goal>check</goal>
408 </goals>
409 </execution>
410 </executions>
411 </plugin>
412
413 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-pmd-plugin</artifactId>
416 <version>3.2</version>
417 <configuration>
418 <excludes>
419 <exclude>**/datastore/serializers/**</exclude>
420 <exclude>**/edu/stanford/**</exclude>
421 <exclude>**/net/floodlightcontroller/**</exclude>
422 </excludes>
423 <rulesets>
424 <ruleset>onos/pmd.xml</ruleset>
425 </rulesets>
426 </configuration>
427 <executions>
428 <execution>
429 <id>validate-pmd</id>
430 <phase>verify</phase>
431 <goals>
432 <!-- Uncomment this goal to make the build fail on pmd errors -->
433 <!--<goal>check</goal>-->
434 </goals>
435 </execution>
436 </executions>
437 </plugin>
438
439 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700440 <groupId>org.jacoco</groupId>
441 <artifactId>jacoco-maven-plugin</artifactId>
442 <version>0.7.1.201405082137</version>
443 <executions>
444 <execution>
445 <id>default-prepare-agent</id>
446 <goals>
447 <goal>prepare-agent</goal>
448 </goals>
449 </execution>
450 <execution>
451 <id>default-report</id>
452 <phase>prepare-package</phase>
453 <goals>
454 <goal>report</goal>
455 </goals>
456 </execution>
457 </executions>
458 </plugin>
459
460 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700461 <groupId>org.apache.maven.plugins</groupId>
462 <artifactId>maven-javadoc-plugin</artifactId>
463 <version>2.9.1</version>
464 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700465 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700466 <docfilessubdirs>true</docfilessubdirs>
467 <doctitle>ONOS Java API</doctitle>
468 <groups>
469 <group>
470 <title>Network Model &amp; Services</title>
471 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700472 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700473 </packages>
474 </group>
475 <group>
476 <title>Core Subsystems</title>
477 <packages>
tomea961ff2014-10-01 12:45:15 -0700478 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 -0700479 </packages>
480 </group>
481 <group>
482 <title>OpenFlow Providers &amp; Controller
483 </title>
484 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700485 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700486 </packages>
487 </group>
488 <group>
489 <title>Utilities</title>
490 <packages>
tom984d7822014-08-29 12:02:59 -0700491 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700492 </packages>
493 </group>
494 <group>
495 <title>GUI, REST &amp; Command-Line</title>
496 <packages>
497 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
498 </packages>
499 </group>
tom8bb16062014-09-12 14:47:46 -0700500 <group>
501 <title>Sample Applications</title>
502 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700503 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700504 </packages>
505 </group>
tom0eb04ca2014-08-25 14:34:51 -0700506 </groups>
507 </configuration>
508 </plugin>
509
510 </plugins>
tom09419512014-08-15 11:28:43 -0700511 </build>
alshabib522d9872014-08-15 10:35:16 -0700512
tom0eb04ca2014-08-25 14:34:51 -0700513 <reporting>
514 <plugins>
515 <plugin>
516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-checkstyle-plugin</artifactId>
518 <version>2.12.1</version>
519 <configuration>
520 <configLocation>onos/checkstyle.xml</configLocation>
521 </configuration>
522 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700523
524 <plugin>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-pmd-plugin</artifactId>
527 <version>3.2</version>
528 <configuration>
529 <excludes>
530 <exclude>**/datastore/serializers/**</exclude>
531 <exclude>**/edu/stanford/**</exclude>
532 <exclude>**/net/floodlightcontroller/**</exclude>
533 </excludes>
534 <rulesets>
535 <ruleset>onos/pmd.xml</ruleset>
536 </rulesets>
537 </configuration>
538 </plugin>
539
tom0eb04ca2014-08-25 14:34:51 -0700540 </plugins>
541
542 </reporting>
543
alshabib522d9872014-08-15 10:35:16 -0700544</project>