blob: 3c2140fcf2b6c525acb56a87253cad53b4b3ecde [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>
51 <groupId>org.slf4j</groupId>
52 <artifactId>slf4j-api</artifactId>
53 <version>1.7.6</version>
54 <scope>provided</scope>
55 </dependency>
56
57 <dependency>
58 <groupId>org.slf4j</groupId>
59 <artifactId>slf4j-jdk14</artifactId>
60 <version>1.7.6</version>
61 <scope>test</scope>
62 </dependency>
63
64 <dependency>
65 <groupId>com.google.guava</groupId>
66 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -070067 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -070068 </dependency>
69
alshabibdf652ad2014-09-09 11:53:19 -070070 <dependency>
71 <groupId>io.netty</groupId>
72 <artifactId>netty</artifactId>
73 <version>3.9.0.Final</version>
74 </dependency>
75
tomde8d9682014-08-27 01:11:43 -070076 <dependency>
77 <groupId>com.google.guava</groupId>
78 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -070079 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -070080 <scope>test</scope>
81 </dependency>
82
tom6d2a43e2014-09-08 01:50:20 -070083 <dependency>
84 <groupId>commons-lang</groupId>
85 <artifactId>commons-lang</artifactId>
86 <version>2.6</version>
87 </dependency>
tomde8d9682014-08-27 01:11:43 -070088
tom66a7eb22014-09-22 11:58:56 -070089 <dependency>
90 <groupId>org.apache.commons</groupId>
91 <artifactId>commons-lang3</artifactId>
92 <version>3.3.2</version>
93 </dependency>
94
Jonathan Hart74f9c3b2014-09-29 20:03:50 -070095 <dependency>
96 <groupId>org.codehaus.jackson</groupId>
97 <artifactId>jackson-core-asl</artifactId>
98 <version>1.9.13</version>
99 </dependency>
100 <dependency>
101 <groupId>org.codehaus.jackson</groupId>
102 <artifactId>jackson-mapper-asl</artifactId>
103 <version>1.9.13</version>
104 </dependency>
105
tom66a7eb22014-09-22 11:58:56 -0700106
tom0eb04ca2014-08-25 14:34:51 -0700107 <!-- Web related -->
108 <dependency>
109 <groupId>com.sun.jersey</groupId>
110 <artifactId>jersey-servlet</artifactId>
111 <version>1.18.1</version>
112 <scope>provided</scope>
113 </dependency>
114 <dependency>
115 <groupId>com.fasterxml.jackson.core</groupId>
116 <artifactId>jackson-databind</artifactId>
117 <version>2.4.2</version>
118 <scope>provided</scope>
119 </dependency>
120 <dependency>
121 <groupId>com.fasterxml.jackson.core</groupId>
122 <artifactId>jackson-annotations</artifactId>
123 <version>2.4.2</version>
124 <scope>provided</scope>
125 </dependency>
126
127 <!-- OSGi related -->
128 <dependency>
129 <groupId>org.osgi</groupId>
130 <artifactId>org.osgi.core</artifactId>
131 <version>4.3.1</version>
132 <scope>provided</scope>
133 </dependency>
134 <dependency>
135 <groupId>org.apache.felix</groupId>
136 <artifactId>org.apache.felix.scr.annotations</artifactId>
137 <version>1.9.8</version>
138 <scope>provided</scope>
139 </dependency>
140 <dependency>
141 <groupId>org.apache.karaf.shell</groupId>
142 <artifactId>org.apache.karaf.shell.console</artifactId>
143 <version>3.0.1</version>
144 <scope>provided</scope>
145 </dependency>
146
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700147 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700148 <groupId>org.livetribe.slp</groupId>
149 <artifactId>livetribe-slp</artifactId>
150 <version>2.2.1</version>
151 </dependency>
152
153 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700154 <groupId>com.hazelcast</groupId>
155 <artifactId>hazelcast</artifactId>
156 <version>3.3</version>
157 </dependency>
158 <dependency>
tomdc66b382014-09-22 17:05:47 -0700159 <groupId>com.eclipsesource.minimal-json</groupId>
160 <artifactId>minimal-json</artifactId>
161 <version>0.9.1</version>
162 </dependency>
163 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700164 <groupId>com.esotericsoftware.kryo</groupId>
165 <artifactId>kryo</artifactId>
166 <version>2.24.0</version>
167 </dependency>
168 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700169 <groupId>com.esotericsoftware</groupId>
170 <artifactId>minlog</artifactId>
171 <version>1.3.0</version>
172 </dependency>
173 <dependency>
174 <groupId>org.objenesis</groupId>
175 <artifactId>objenesis</artifactId>
176 <version>2.1</version>
177 </dependency>
178 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700179 <groupId>de.javakaffee</groupId>
180 <artifactId>kryo-serializers</artifactId>
181 <version>0.27</version>
182 </dependency>
183
tom0eb04ca2014-08-25 14:34:51 -0700184 <!-- ONOS related -->
185 <dependency>
186 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700187 <artifactId>onlab-misc</artifactId>
188 <version>${project.version}</version>
189 </dependency>
tom931af4e2014-09-13 12:00:57 -0700190 <dependency>
191 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700192 <artifactId>onlab-nio</artifactId>
193 <version>${project.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700197 <artifactId>onlab-osgi</artifactId>
198 <version>${project.version}</version>
199 </dependency>
200 <dependency>
201 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700202 <artifactId>onlab-junit</artifactId>
203 <version>1.0.0-SNAPSHOT</version>
204 <scope>test</scope>
205 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700206
207 <dependency>
208 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700209 <artifactId>onos-api</artifactId>
210 <version>${project.version}</version>
211 </dependency>
212 <dependency>
213 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700214 <artifactId>onos-api</artifactId>
215 <version>${project.version}</version>
216 <classifier>tests</classifier>
217 <scope>test</scope>
218 </dependency>
219
220 <dependency>
221 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700222 <artifactId>onos-of-api</artifactId>
223 <version>${project.version}</version>
224 </dependency>
tom61359e92014-09-16 15:50:27 -0700225 <dependency>
226 <groupId>org.onlab.onos</groupId>
227 <artifactId>onos-of-api</artifactId>
228 <version>${project.version}</version>
229 <classifier>tests</classifier>
230 <scope>test</scope>
231 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700232 </dependencies>
233 </dependencyManagement>
234
235 <dependencies>
236 <dependency>
237 <groupId>junit</groupId>
238 <artifactId>junit</artifactId>
239 </dependency>
240 <dependency>
241 <groupId>org.slf4j</groupId>
242 <artifactId>slf4j-jdk14</artifactId>
243 </dependency>
244 </dependencies>
tom09419512014-08-15 11:28:43 -0700245
246 <build>
247 <pluginManagement>
248 <plugins>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-compiler-plugin</artifactId>
252 <version>3.1</version>
253 <configuration>
254 <source>1.7</source>
255 <target>1.7</target>
256 </configuration>
257 </plugin>
258
259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-surefire-plugin</artifactId>
262 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700263 <configuration>
264 <redirectTestOutputToFile>true</redirectTestOutputToFile>
265 <printSummary>true</printSummary>
266 </configuration>
tom09419512014-08-15 11:28:43 -0700267 </plugin>
268
269 <plugin>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-jar-plugin</artifactId>
272 <version>2.3.1</version>
273 <executions>
274 <execution>
275 <phase>package</phase>
276 <goals>
277 <goal>test-jar</goal>
278 </goals>
279 </execution>
280 </executions>
281 </plugin>
282
283 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-resources-plugin</artifactId>
286 <version>2.6</version>
287 </plugin>
288
289 <plugin>
tom09419512014-08-15 11:28:43 -0700290 <groupId>org.apache.felix</groupId>
291 <artifactId>maven-bundle-plugin</artifactId>
292 <version>2.3.7</version>
293 <extensions>true</extensions>
294 </plugin>
295
296 <plugin>
297 <groupId>org.apache.felix</groupId>
298 <artifactId>maven-scr-plugin</artifactId>
299 <version>1.15.0</version>
300 <executions>
301 <execution>
302 <id>generate-scr-srcdescriptor</id>
303 <goals>
304 <goal>scr</goal>
305 </goals>
306 </execution>
307 </executions>
308 <configuration>
309 <supportedProjectTypes>
310 <supportedProjectType>bundle</supportedProjectType>
311 <supportedProjectType>war</supportedProjectType>
312 </supportedProjectTypes>
313 </configuration>
314 </plugin>
315
tom09419512014-08-15 11:28:43 -0700316 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
tom09419512014-08-15 11:28:43 -0700317 </plugins>
tom09419512014-08-15 11:28:43 -0700318 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700319
320 <plugins>
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700323 <artifactId>maven-jar-plugin</artifactId>
324 </plugin>
325
326 <plugin>
327 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700328 <artifactId>maven-checkstyle-plugin</artifactId>
329 <version>2.12.1</version>
330 <dependencies>
331 <dependency>
332 <groupId>org.onlab.tools</groupId>
333 <artifactId>onos-build-conf</artifactId>
334 <version>1.0</version>
335 </dependency>
336 </dependencies>
337 <configuration>
338 <configLocation>onos/checkstyle.xml</configLocation>
339 <suppressionsLocation>onos/suppressions.xml
340 </suppressionsLocation>
341 <failsOnError>false</failsOnError>
342 <logViolationsToConsole>true</logViolationsToConsole>
343 <includeTestSourceDirectory>true
344 </includeTestSourceDirectory>
345 </configuration>
346 <executions>
347 <execution>
348 <id>validate-checkstyle</id>
349 <phase>verify</phase>
350 <goals>
351 <goal>check</goal>
352 </goals>
353 </execution>
354 </executions>
355 </plugin>
356
357 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700358 <groupId>org.apache.maven.plugins</groupId>
359 <artifactId>maven-pmd-plugin</artifactId>
360 <version>3.2</version>
361 <configuration>
362 <excludes>
363 <exclude>**/datastore/serializers/**</exclude>
364 <exclude>**/edu/stanford/**</exclude>
365 <exclude>**/net/floodlightcontroller/**</exclude>
366 </excludes>
367 <rulesets>
368 <ruleset>onos/pmd.xml</ruleset>
369 </rulesets>
370 </configuration>
371 <executions>
372 <execution>
373 <id>validate-pmd</id>
374 <phase>verify</phase>
375 <goals>
376 <!-- Uncomment this goal to make the build fail on pmd errors -->
377 <!--<goal>check</goal>-->
378 </goals>
379 </execution>
380 </executions>
381 </plugin>
382
383 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700384 <groupId>org.jacoco</groupId>
385 <artifactId>jacoco-maven-plugin</artifactId>
386 <version>0.7.1.201405082137</version>
387 <executions>
388 <execution>
389 <id>default-prepare-agent</id>
390 <goals>
391 <goal>prepare-agent</goal>
392 </goals>
393 </execution>
394 <execution>
395 <id>default-report</id>
396 <phase>prepare-package</phase>
397 <goals>
398 <goal>report</goal>
399 </goals>
400 </execution>
401 </executions>
402 </plugin>
403
404 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-javadoc-plugin</artifactId>
407 <version>2.9.1</version>
408 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700409 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700410 <docfilessubdirs>true</docfilessubdirs>
411 <doctitle>ONOS Java API</doctitle>
412 <groups>
413 <group>
414 <title>Network Model &amp; Services</title>
415 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700416 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700417 </packages>
418 </group>
419 <group>
420 <title>Core Subsystems</title>
421 <packages>
tomea961ff2014-10-01 12:45:15 -0700422 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 -0700423 </packages>
424 </group>
425 <group>
426 <title>OpenFlow Providers &amp; Controller
427 </title>
428 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700429 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700430 </packages>
431 </group>
432 <group>
433 <title>Utilities</title>
434 <packages>
tom984d7822014-08-29 12:02:59 -0700435 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700436 </packages>
437 </group>
438 <group>
439 <title>GUI, REST &amp; Command-Line</title>
440 <packages>
441 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
442 </packages>
443 </group>
tom8bb16062014-09-12 14:47:46 -0700444 <group>
445 <title>Sample Applications</title>
446 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700447 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700448 </packages>
449 </group>
tom0eb04ca2014-08-25 14:34:51 -0700450 </groups>
451 </configuration>
452 </plugin>
453
454 </plugins>
tom09419512014-08-15 11:28:43 -0700455 </build>
alshabib522d9872014-08-15 10:35:16 -0700456
tom0eb04ca2014-08-25 14:34:51 -0700457 <reporting>
458 <plugins>
459 <plugin>
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-checkstyle-plugin</artifactId>
462 <version>2.12.1</version>
463 <configuration>
464 <configLocation>onos/checkstyle.xml</configLocation>
465 </configuration>
466 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700467
468 <plugin>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-pmd-plugin</artifactId>
471 <version>3.2</version>
472 <configuration>
473 <excludes>
474 <exclude>**/datastore/serializers/**</exclude>
475 <exclude>**/edu/stanford/**</exclude>
476 <exclude>**/net/floodlightcontroller/**</exclude>
477 </excludes>
478 <rulesets>
479 <ruleset>onos/pmd.xml</ruleset>
480 </rulesets>
481 </configuration>
482 </plugin>
483
tom0eb04ca2014-08-25 14:34:51 -0700484 </plugins>
485
486 </reporting>
487
alshabib522d9872014-08-15 10:35:16 -0700488</project>