blob: f6c4605c10a6c7ddd9e2322157c59cc073615aff [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>
Madan Jampania185d862014-09-30 11:32:31 -070072 <artifactId>netty-all</artifactId>
73 <version>4.0.23.Final</version>
74 </dependency>
75
76 <dependency>
77 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -070078 <artifactId>netty</artifactId>
79 <version>3.9.0.Final</version>
80 </dependency>
81
tomde8d9682014-08-27 01:11:43 -070082 <dependency>
83 <groupId>com.google.guava</groupId>
84 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -070085 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -070086 <scope>test</scope>
87 </dependency>
88
tom6d2a43e2014-09-08 01:50:20 -070089 <dependency>
90 <groupId>commons-lang</groupId>
91 <artifactId>commons-lang</artifactId>
92 <version>2.6</version>
93 </dependency>
tomde8d9682014-08-27 01:11:43 -070094
tom66a7eb22014-09-22 11:58:56 -070095 <dependency>
96 <groupId>org.apache.commons</groupId>
97 <artifactId>commons-lang3</artifactId>
98 <version>3.3.2</version>
99 </dependency>
100
101
tom0eb04ca2014-08-25 14:34:51 -0700102 <!-- Web related -->
103 <dependency>
104 <groupId>com.sun.jersey</groupId>
105 <artifactId>jersey-servlet</artifactId>
106 <version>1.18.1</version>
107 <scope>provided</scope>
108 </dependency>
109 <dependency>
110 <groupId>com.fasterxml.jackson.core</groupId>
111 <artifactId>jackson-databind</artifactId>
112 <version>2.4.2</version>
113 <scope>provided</scope>
114 </dependency>
115 <dependency>
116 <groupId>com.fasterxml.jackson.core</groupId>
117 <artifactId>jackson-annotations</artifactId>
118 <version>2.4.2</version>
119 <scope>provided</scope>
120 </dependency>
121
122 <!-- OSGi related -->
123 <dependency>
124 <groupId>org.osgi</groupId>
125 <artifactId>org.osgi.core</artifactId>
126 <version>4.3.1</version>
127 <scope>provided</scope>
128 </dependency>
129 <dependency>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>org.apache.felix.scr.annotations</artifactId>
132 <version>1.9.8</version>
133 <scope>provided</scope>
134 </dependency>
135 <dependency>
136 <groupId>org.apache.karaf.shell</groupId>
137 <artifactId>org.apache.karaf.shell.console</artifactId>
138 <version>3.0.1</version>
139 <scope>provided</scope>
140 </dependency>
141
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700142 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700143 <groupId>org.livetribe.slp</groupId>
144 <artifactId>livetribe-slp</artifactId>
145 <version>2.2.1</version>
146 </dependency>
147
148 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700149 <groupId>com.hazelcast</groupId>
150 <artifactId>hazelcast</artifactId>
151 <version>3.3</version>
152 </dependency>
153 <dependency>
tomdc66b382014-09-22 17:05:47 -0700154 <groupId>com.eclipsesource.minimal-json</groupId>
155 <artifactId>minimal-json</artifactId>
156 <version>0.9.1</version>
157 </dependency>
158 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700159 <groupId>com.esotericsoftware.kryo</groupId>
160 <artifactId>kryo</artifactId>
161 <version>2.24.0</version>
162 </dependency>
163 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700164 <groupId>com.esotericsoftware</groupId>
165 <artifactId>minlog</artifactId>
166 <version>1.3.0</version>
167 </dependency>
168 <dependency>
169 <groupId>org.objenesis</groupId>
170 <artifactId>objenesis</artifactId>
171 <version>2.1</version>
172 </dependency>
173 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700174 <groupId>de.javakaffee</groupId>
175 <artifactId>kryo-serializers</artifactId>
176 <version>0.27</version>
177 </dependency>
178
tom0eb04ca2014-08-25 14:34:51 -0700179 <!-- ONOS related -->
180 <dependency>
181 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700182 <artifactId>onlab-misc</artifactId>
183 <version>${project.version}</version>
184 </dependency>
tom931af4e2014-09-13 12:00:57 -0700185 <dependency>
186 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700187 <artifactId>onlab-nio</artifactId>
188 <version>${project.version}</version>
189 </dependency>
190 <dependency>
191 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700192 <artifactId>onlab-osgi</artifactId>
193 <version>${project.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700197 <artifactId>onlab-junit</artifactId>
198 <version>1.0.0-SNAPSHOT</version>
199 <scope>test</scope>
200 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700201
202 <dependency>
203 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700204 <artifactId>onos-api</artifactId>
205 <version>${project.version}</version>
206 </dependency>
207 <dependency>
208 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700209 <artifactId>onos-api</artifactId>
210 <version>${project.version}</version>
211 <classifier>tests</classifier>
212 <scope>test</scope>
213 </dependency>
214
215 <dependency>
216 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700217 <artifactId>onos-of-api</artifactId>
218 <version>${project.version}</version>
219 </dependency>
tom61359e92014-09-16 15:50:27 -0700220 <dependency>
221 <groupId>org.onlab.onos</groupId>
222 <artifactId>onos-of-api</artifactId>
223 <version>${project.version}</version>
224 <classifier>tests</classifier>
225 <scope>test</scope>
226 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700227 </dependencies>
228 </dependencyManagement>
229
230 <dependencies>
231 <dependency>
232 <groupId>junit</groupId>
233 <artifactId>junit</artifactId>
234 </dependency>
235 <dependency>
236 <groupId>org.slf4j</groupId>
237 <artifactId>slf4j-jdk14</artifactId>
238 </dependency>
239 </dependencies>
tom09419512014-08-15 11:28:43 -0700240
241 <build>
242 <pluginManagement>
243 <plugins>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-compiler-plugin</artifactId>
247 <version>3.1</version>
248 <configuration>
249 <source>1.7</source>
250 <target>1.7</target>
251 </configuration>
252 </plugin>
253
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-surefire-plugin</artifactId>
257 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700258 <configuration>
259 <redirectTestOutputToFile>true</redirectTestOutputToFile>
260 <printSummary>true</printSummary>
261 </configuration>
tom09419512014-08-15 11:28:43 -0700262 </plugin>
263
264 <plugin>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-jar-plugin</artifactId>
267 <version>2.3.1</version>
268 <executions>
269 <execution>
270 <phase>package</phase>
271 <goals>
272 <goal>test-jar</goal>
273 </goals>
274 </execution>
275 </executions>
276 </plugin>
277
278 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-resources-plugin</artifactId>
281 <version>2.6</version>
282 </plugin>
283
284 <plugin>
tom09419512014-08-15 11:28:43 -0700285 <groupId>org.apache.felix</groupId>
286 <artifactId>maven-bundle-plugin</artifactId>
287 <version>2.3.7</version>
288 <extensions>true</extensions>
289 </plugin>
290
291 <plugin>
292 <groupId>org.apache.felix</groupId>
293 <artifactId>maven-scr-plugin</artifactId>
294 <version>1.15.0</version>
295 <executions>
296 <execution>
297 <id>generate-scr-srcdescriptor</id>
298 <goals>
299 <goal>scr</goal>
300 </goals>
301 </execution>
302 </executions>
303 <configuration>
304 <supportedProjectTypes>
305 <supportedProjectType>bundle</supportedProjectType>
306 <supportedProjectType>war</supportedProjectType>
307 </supportedProjectTypes>
308 </configuration>
309 </plugin>
310
tom09419512014-08-15 11:28:43 -0700311 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
tom09419512014-08-15 11:28:43 -0700312 </plugins>
tom09419512014-08-15 11:28:43 -0700313 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700314
315 <plugins>
316 <plugin>
317 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700318 <artifactId>maven-jar-plugin</artifactId>
319 </plugin>
320
321 <plugin>
322 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700323 <artifactId>maven-checkstyle-plugin</artifactId>
324 <version>2.12.1</version>
325 <dependencies>
326 <dependency>
327 <groupId>org.onlab.tools</groupId>
328 <artifactId>onos-build-conf</artifactId>
329 <version>1.0</version>
330 </dependency>
331 </dependencies>
332 <configuration>
333 <configLocation>onos/checkstyle.xml</configLocation>
334 <suppressionsLocation>onos/suppressions.xml
335 </suppressionsLocation>
336 <failsOnError>false</failsOnError>
337 <logViolationsToConsole>true</logViolationsToConsole>
338 <includeTestSourceDirectory>true
339 </includeTestSourceDirectory>
340 </configuration>
341 <executions>
342 <execution>
343 <id>validate-checkstyle</id>
344 <phase>verify</phase>
345 <goals>
346 <goal>check</goal>
347 </goals>
348 </execution>
349 </executions>
350 </plugin>
351
352 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700353 <groupId>org.apache.maven.plugins</groupId>
354 <artifactId>maven-pmd-plugin</artifactId>
355 <version>3.2</version>
356 <configuration>
357 <excludes>
358 <exclude>**/datastore/serializers/**</exclude>
359 <exclude>**/edu/stanford/**</exclude>
360 <exclude>**/net/floodlightcontroller/**</exclude>
361 </excludes>
362 <rulesets>
363 <ruleset>onos/pmd.xml</ruleset>
364 </rulesets>
365 </configuration>
366 <executions>
367 <execution>
368 <id>validate-pmd</id>
369 <phase>verify</phase>
370 <goals>
371 <!-- Uncomment this goal to make the build fail on pmd errors -->
372 <!--<goal>check</goal>-->
373 </goals>
374 </execution>
375 </executions>
376 </plugin>
377
378 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700379 <groupId>org.jacoco</groupId>
380 <artifactId>jacoco-maven-plugin</artifactId>
381 <version>0.7.1.201405082137</version>
382 <executions>
383 <execution>
384 <id>default-prepare-agent</id>
385 <goals>
386 <goal>prepare-agent</goal>
387 </goals>
388 </execution>
389 <execution>
390 <id>default-report</id>
391 <phase>prepare-package</phase>
392 <goals>
393 <goal>report</goal>
394 </goals>
395 </execution>
396 </executions>
397 </plugin>
398
399 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-javadoc-plugin</artifactId>
402 <version>2.9.1</version>
403 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700404 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700405 <docfilessubdirs>true</docfilessubdirs>
406 <doctitle>ONOS Java API</doctitle>
407 <groups>
408 <group>
409 <title>Network Model &amp; Services</title>
410 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700411 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700412 </packages>
413 </group>
414 <group>
415 <title>Core Subsystems</title>
416 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700417 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.net.trivial.*:org.onlab.onos.net.*.impl:org.onlab.onos.event.impl:org.onlab.onos.store.*
tom0eb04ca2014-08-25 14:34:51 -0700418 </packages>
419 </group>
420 <group>
421 <title>OpenFlow Providers &amp; Controller
422 </title>
423 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700424 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700425 </packages>
426 </group>
427 <group>
428 <title>Utilities</title>
429 <packages>
tom984d7822014-08-29 12:02:59 -0700430 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700431 </packages>
432 </group>
433 <group>
434 <title>GUI, REST &amp; Command-Line</title>
435 <packages>
436 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
437 </packages>
438 </group>
tom8bb16062014-09-12 14:47:46 -0700439 <group>
440 <title>Sample Applications</title>
441 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700442 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700443 </packages>
444 </group>
tom0eb04ca2014-08-25 14:34:51 -0700445 </groups>
446 </configuration>
447 </plugin>
448
449 </plugins>
tom09419512014-08-15 11:28:43 -0700450 </build>
alshabib522d9872014-08-15 10:35:16 -0700451
tom0eb04ca2014-08-25 14:34:51 -0700452 <reporting>
453 <plugins>
454 <plugin>
455 <groupId>org.apache.maven.plugins</groupId>
456 <artifactId>maven-checkstyle-plugin</artifactId>
457 <version>2.12.1</version>
458 <configuration>
459 <configLocation>onos/checkstyle.xml</configLocation>
460 </configuration>
461 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700462
463 <plugin>
464 <groupId>org.apache.maven.plugins</groupId>
465 <artifactId>maven-pmd-plugin</artifactId>
466 <version>3.2</version>
467 <configuration>
468 <excludes>
469 <exclude>**/datastore/serializers/**</exclude>
470 <exclude>**/edu/stanford/**</exclude>
471 <exclude>**/net/floodlightcontroller/**</exclude>
472 </excludes>
473 <rulesets>
474 <ruleset>onos/pmd.xml</ruleset>
475 </rulesets>
476 </configuration>
477 </plugin>
478
tom0eb04ca2014-08-25 14:34:51 -0700479 </plugins>
480
481 </reporting>
482
alshabib522d9872014-08-15 10:35:16 -0700483</project>