blob: b98a9e5b970c2edce7ecf0322f6881ee99016b02 [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
95
tom0eb04ca2014-08-25 14:34:51 -070096 <!-- Web related -->
97 <dependency>
98 <groupId>com.sun.jersey</groupId>
99 <artifactId>jersey-servlet</artifactId>
100 <version>1.18.1</version>
101 <scope>provided</scope>
102 </dependency>
103 <dependency>
104 <groupId>com.fasterxml.jackson.core</groupId>
105 <artifactId>jackson-databind</artifactId>
106 <version>2.4.2</version>
107 <scope>provided</scope>
108 </dependency>
109 <dependency>
110 <groupId>com.fasterxml.jackson.core</groupId>
111 <artifactId>jackson-annotations</artifactId>
112 <version>2.4.2</version>
113 <scope>provided</scope>
114 </dependency>
115
116 <!-- OSGi related -->
117 <dependency>
118 <groupId>org.osgi</groupId>
119 <artifactId>org.osgi.core</artifactId>
120 <version>4.3.1</version>
121 <scope>provided</scope>
122 </dependency>
123 <dependency>
124 <groupId>org.apache.felix</groupId>
125 <artifactId>org.apache.felix.scr.annotations</artifactId>
126 <version>1.9.8</version>
127 <scope>provided</scope>
128 </dependency>
129 <dependency>
130 <groupId>org.apache.karaf.shell</groupId>
131 <artifactId>org.apache.karaf.shell.console</artifactId>
132 <version>3.0.1</version>
133 <scope>provided</scope>
134 </dependency>
135
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700136 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700137 <groupId>org.livetribe.slp</groupId>
138 <artifactId>livetribe-slp</artifactId>
139 <version>2.2.1</version>
140 </dependency>
141
142 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700143 <groupId>com.hazelcast</groupId>
144 <artifactId>hazelcast</artifactId>
145 <version>3.3</version>
146 </dependency>
147 <dependency>
tomdc66b382014-09-22 17:05:47 -0700148 <groupId>com.eclipsesource.minimal-json</groupId>
149 <artifactId>minimal-json</artifactId>
150 <version>0.9.1</version>
151 </dependency>
152 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700153 <groupId>com.esotericsoftware.kryo</groupId>
154 <artifactId>kryo</artifactId>
155 <version>2.24.0</version>
156 </dependency>
157 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700158 <groupId>com.esotericsoftware</groupId>
159 <artifactId>minlog</artifactId>
160 <version>1.3.0</version>
161 </dependency>
162 <dependency>
163 <groupId>org.objenesis</groupId>
164 <artifactId>objenesis</artifactId>
165 <version>2.1</version>
166 </dependency>
167 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700168 <groupId>de.javakaffee</groupId>
169 <artifactId>kryo-serializers</artifactId>
170 <version>0.27</version>
171 </dependency>
172
tom0eb04ca2014-08-25 14:34:51 -0700173 <!-- ONOS related -->
174 <dependency>
175 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700176 <artifactId>onlab-misc</artifactId>
177 <version>${project.version}</version>
178 </dependency>
tom931af4e2014-09-13 12:00:57 -0700179 <dependency>
180 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700181 <artifactId>onlab-nio</artifactId>
182 <version>${project.version}</version>
183 </dependency>
184 <dependency>
185 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700186 <artifactId>onlab-osgi</artifactId>
187 <version>${project.version}</version>
188 </dependency>
189 <dependency>
190 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700191 <artifactId>onlab-junit</artifactId>
192 <version>1.0.0-SNAPSHOT</version>
193 <scope>test</scope>
194 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700195
196 <dependency>
197 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700198 <artifactId>onos-api</artifactId>
199 <version>${project.version}</version>
200 </dependency>
201 <dependency>
202 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700203 <artifactId>onos-api</artifactId>
204 <version>${project.version}</version>
205 <classifier>tests</classifier>
206 <scope>test</scope>
207 </dependency>
208
209 <dependency>
210 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700211 <artifactId>onos-of-api</artifactId>
212 <version>${project.version}</version>
213 </dependency>
tom61359e92014-09-16 15:50:27 -0700214 <dependency>
215 <groupId>org.onlab.onos</groupId>
216 <artifactId>onos-of-api</artifactId>
217 <version>${project.version}</version>
218 <classifier>tests</classifier>
219 <scope>test</scope>
220 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700221 </dependencies>
222 </dependencyManagement>
223
224 <dependencies>
225 <dependency>
226 <groupId>junit</groupId>
227 <artifactId>junit</artifactId>
228 </dependency>
229 <dependency>
230 <groupId>org.slf4j</groupId>
231 <artifactId>slf4j-jdk14</artifactId>
232 </dependency>
233 </dependencies>
tom09419512014-08-15 11:28:43 -0700234
235 <build>
236 <pluginManagement>
237 <plugins>
238 <plugin>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-compiler-plugin</artifactId>
241 <version>3.1</version>
242 <configuration>
243 <source>1.7</source>
244 <target>1.7</target>
245 </configuration>
246 </plugin>
247
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-surefire-plugin</artifactId>
251 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700252 <configuration>
253 <redirectTestOutputToFile>true</redirectTestOutputToFile>
254 <printSummary>true</printSummary>
255 </configuration>
tom09419512014-08-15 11:28:43 -0700256 </plugin>
257
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-jar-plugin</artifactId>
261 <version>2.3.1</version>
262 <executions>
263 <execution>
264 <phase>package</phase>
265 <goals>
266 <goal>test-jar</goal>
267 </goals>
268 </execution>
269 </executions>
270 </plugin>
271
272 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-resources-plugin</artifactId>
275 <version>2.6</version>
276 </plugin>
277
278 <plugin>
tom09419512014-08-15 11:28:43 -0700279 <groupId>org.apache.felix</groupId>
280 <artifactId>maven-bundle-plugin</artifactId>
281 <version>2.3.7</version>
282 <extensions>true</extensions>
283 </plugin>
284
285 <plugin>
286 <groupId>org.apache.felix</groupId>
287 <artifactId>maven-scr-plugin</artifactId>
288 <version>1.15.0</version>
289 <executions>
290 <execution>
291 <id>generate-scr-srcdescriptor</id>
292 <goals>
293 <goal>scr</goal>
294 </goals>
295 </execution>
296 </executions>
297 <configuration>
298 <supportedProjectTypes>
299 <supportedProjectType>bundle</supportedProjectType>
300 <supportedProjectType>war</supportedProjectType>
301 </supportedProjectTypes>
302 </configuration>
303 </plugin>
304
tom09419512014-08-15 11:28:43 -0700305 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
tom09419512014-08-15 11:28:43 -0700306 </plugins>
tom09419512014-08-15 11:28:43 -0700307 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700308
309 <plugins>
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700312 <artifactId>maven-jar-plugin</artifactId>
313 </plugin>
314
315 <plugin>
316 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700317 <artifactId>maven-checkstyle-plugin</artifactId>
318 <version>2.12.1</version>
319 <dependencies>
320 <dependency>
321 <groupId>org.onlab.tools</groupId>
322 <artifactId>onos-build-conf</artifactId>
323 <version>1.0</version>
324 </dependency>
325 </dependencies>
326 <configuration>
327 <configLocation>onos/checkstyle.xml</configLocation>
328 <suppressionsLocation>onos/suppressions.xml
329 </suppressionsLocation>
330 <failsOnError>false</failsOnError>
331 <logViolationsToConsole>true</logViolationsToConsole>
332 <includeTestSourceDirectory>true
333 </includeTestSourceDirectory>
334 </configuration>
335 <executions>
336 <execution>
337 <id>validate-checkstyle</id>
338 <phase>verify</phase>
339 <goals>
340 <goal>check</goal>
341 </goals>
342 </execution>
343 </executions>
344 </plugin>
345
346 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700347 <groupId>org.apache.maven.plugins</groupId>
348 <artifactId>maven-pmd-plugin</artifactId>
349 <version>3.2</version>
350 <configuration>
351 <excludes>
352 <exclude>**/datastore/serializers/**</exclude>
353 <exclude>**/edu/stanford/**</exclude>
354 <exclude>**/net/floodlightcontroller/**</exclude>
355 </excludes>
356 <rulesets>
357 <ruleset>onos/pmd.xml</ruleset>
358 </rulesets>
359 </configuration>
360 <executions>
361 <execution>
362 <id>validate-pmd</id>
363 <phase>verify</phase>
364 <goals>
365 <!-- Uncomment this goal to make the build fail on pmd errors -->
366 <!--<goal>check</goal>-->
367 </goals>
368 </execution>
369 </executions>
370 </plugin>
371
372 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700373 <groupId>org.jacoco</groupId>
374 <artifactId>jacoco-maven-plugin</artifactId>
375 <version>0.7.1.201405082137</version>
376 <executions>
377 <execution>
378 <id>default-prepare-agent</id>
379 <goals>
380 <goal>prepare-agent</goal>
381 </goals>
382 </execution>
383 <execution>
384 <id>default-report</id>
385 <phase>prepare-package</phase>
386 <goals>
387 <goal>report</goal>
388 </goals>
389 </execution>
390 </executions>
391 </plugin>
392
393 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-javadoc-plugin</artifactId>
396 <version>2.9.1</version>
397 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700398 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700399 <docfilessubdirs>true</docfilessubdirs>
400 <doctitle>ONOS Java API</doctitle>
401 <groups>
402 <group>
403 <title>Network Model &amp; Services</title>
404 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700405 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700406 </packages>
407 </group>
408 <group>
409 <title>Core Subsystems</title>
410 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700411 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 -0700412 </packages>
413 </group>
414 <group>
415 <title>OpenFlow Providers &amp; Controller
416 </title>
417 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700418 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700419 </packages>
420 </group>
421 <group>
422 <title>Utilities</title>
423 <packages>
tom984d7822014-08-29 12:02:59 -0700424 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700425 </packages>
426 </group>
427 <group>
428 <title>GUI, REST &amp; Command-Line</title>
429 <packages>
430 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
431 </packages>
432 </group>
tom8bb16062014-09-12 14:47:46 -0700433 <group>
434 <title>Sample Applications</title>
435 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700436 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700437 </packages>
438 </group>
tom0eb04ca2014-08-25 14:34:51 -0700439 </groups>
440 </configuration>
441 </plugin>
442
443 </plugins>
tom09419512014-08-15 11:28:43 -0700444 </build>
alshabib522d9872014-08-15 10:35:16 -0700445
tom0eb04ca2014-08-25 14:34:51 -0700446 <reporting>
447 <plugins>
448 <plugin>
449 <groupId>org.apache.maven.plugins</groupId>
450 <artifactId>maven-checkstyle-plugin</artifactId>
451 <version>2.12.1</version>
452 <configuration>
453 <configLocation>onos/checkstyle.xml</configLocation>
454 </configuration>
455 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700456
457 <plugin>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-pmd-plugin</artifactId>
460 <version>3.2</version>
461 <configuration>
462 <excludes>
463 <exclude>**/datastore/serializers/**</exclude>
464 <exclude>**/edu/stanford/**</exclude>
465 <exclude>**/net/floodlightcontroller/**</exclude>
466 </excludes>
467 <rulesets>
468 <ruleset>onos/pmd.xml</ruleset>
469 </rulesets>
470 </configuration>
471 </plugin>
472
tom0eb04ca2014-08-25 14:34:51 -0700473 </plugins>
474
475 </reporting>
476
alshabib522d9872014-08-15 10:35:16 -0700477</project>