blob: 26e555ed8602a3943b2fdf61da1cbc0b2e0eb005 [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>
137 <groupId>com.hazelcast</groupId>
138 <artifactId>hazelcast</artifactId>
139 <version>3.3</version>
140 </dependency>
141 <dependency>
tomdc66b382014-09-22 17:05:47 -0700142 <groupId>com.eclipsesource.minimal-json</groupId>
143 <artifactId>minimal-json</artifactId>
144 <version>0.9.1</version>
145 </dependency>
146 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700147 <groupId>com.esotericsoftware.kryo</groupId>
148 <artifactId>kryo</artifactId>
149 <version>2.24.0</version>
150 </dependency>
151 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700152 <groupId>com.esotericsoftware</groupId>
153 <artifactId>minlog</artifactId>
154 <version>1.3.0</version>
155 </dependency>
156 <dependency>
157 <groupId>org.objenesis</groupId>
158 <artifactId>objenesis</artifactId>
159 <version>2.1</version>
160 </dependency>
161 <dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700162 <groupId>de.javakaffee</groupId>
163 <artifactId>kryo-serializers</artifactId>
164 <version>0.27</version>
165 </dependency>
166
tom0eb04ca2014-08-25 14:34:51 -0700167 <!-- ONOS related -->
168 <dependency>
169 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700170 <artifactId>onlab-misc</artifactId>
171 <version>${project.version}</version>
172 </dependency>
tom931af4e2014-09-13 12:00:57 -0700173 <dependency>
174 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700175 <artifactId>onlab-nio</artifactId>
176 <version>${project.version}</version>
177 </dependency>
178 <dependency>
179 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700180 <artifactId>onlab-osgi</artifactId>
181 <version>${project.version}</version>
182 </dependency>
183 <dependency>
184 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700185 <artifactId>onlab-junit</artifactId>
186 <version>1.0.0-SNAPSHOT</version>
187 <scope>test</scope>
188 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700189
190 <dependency>
191 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700192 <artifactId>onos-api</artifactId>
193 <version>${project.version}</version>
194 </dependency>
195 <dependency>
196 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700197 <artifactId>onos-api</artifactId>
198 <version>${project.version}</version>
199 <classifier>tests</classifier>
200 <scope>test</scope>
201 </dependency>
202
203 <dependency>
204 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700205 <artifactId>onos-of-api</artifactId>
206 <version>${project.version}</version>
207 </dependency>
tom61359e92014-09-16 15:50:27 -0700208 <dependency>
209 <groupId>org.onlab.onos</groupId>
210 <artifactId>onos-of-api</artifactId>
211 <version>${project.version}</version>
212 <classifier>tests</classifier>
213 <scope>test</scope>
214 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700215 </dependencies>
216 </dependencyManagement>
217
218 <dependencies>
219 <dependency>
220 <groupId>junit</groupId>
221 <artifactId>junit</artifactId>
222 </dependency>
223 <dependency>
224 <groupId>org.slf4j</groupId>
225 <artifactId>slf4j-jdk14</artifactId>
226 </dependency>
227 </dependencies>
tom09419512014-08-15 11:28:43 -0700228
229 <build>
230 <pluginManagement>
231 <plugins>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-compiler-plugin</artifactId>
235 <version>3.1</version>
236 <configuration>
237 <source>1.7</source>
238 <target>1.7</target>
239 </configuration>
240 </plugin>
241
242 <plugin>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-surefire-plugin</artifactId>
245 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700246 <configuration>
247 <redirectTestOutputToFile>true</redirectTestOutputToFile>
248 <printSummary>true</printSummary>
249 </configuration>
tom09419512014-08-15 11:28:43 -0700250 </plugin>
251
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-jar-plugin</artifactId>
255 <version>2.3.1</version>
256 <executions>
257 <execution>
258 <phase>package</phase>
259 <goals>
260 <goal>test-jar</goal>
261 </goals>
262 </execution>
263 </executions>
264 </plugin>
265
266 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700267 <groupId>org.apache.maven.plugins</groupId>
268 <artifactId>maven-resources-plugin</artifactId>
269 <version>2.6</version>
270 </plugin>
271
272 <plugin>
tom09419512014-08-15 11:28:43 -0700273 <groupId>org.apache.felix</groupId>
274 <artifactId>maven-bundle-plugin</artifactId>
275 <version>2.3.7</version>
276 <extensions>true</extensions>
277 </plugin>
278
279 <plugin>
280 <groupId>org.apache.felix</groupId>
281 <artifactId>maven-scr-plugin</artifactId>
282 <version>1.15.0</version>
283 <executions>
284 <execution>
285 <id>generate-scr-srcdescriptor</id>
286 <goals>
287 <goal>scr</goal>
288 </goals>
289 </execution>
290 </executions>
291 <configuration>
292 <supportedProjectTypes>
293 <supportedProjectType>bundle</supportedProjectType>
294 <supportedProjectType>war</supportedProjectType>
295 </supportedProjectTypes>
296 </configuration>
297 </plugin>
298
tom09419512014-08-15 11:28:43 -0700299 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
tom09419512014-08-15 11:28:43 -0700300 </plugins>
tom09419512014-08-15 11:28:43 -0700301 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700302
303 <plugins>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700306 <artifactId>maven-jar-plugin</artifactId>
307 </plugin>
308
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700311 <artifactId>maven-checkstyle-plugin</artifactId>
312 <version>2.12.1</version>
313 <dependencies>
314 <dependency>
315 <groupId>org.onlab.tools</groupId>
316 <artifactId>onos-build-conf</artifactId>
317 <version>1.0</version>
318 </dependency>
319 </dependencies>
320 <configuration>
321 <configLocation>onos/checkstyle.xml</configLocation>
322 <suppressionsLocation>onos/suppressions.xml
323 </suppressionsLocation>
324 <failsOnError>false</failsOnError>
325 <logViolationsToConsole>true</logViolationsToConsole>
326 <includeTestSourceDirectory>true
327 </includeTestSourceDirectory>
328 </configuration>
329 <executions>
330 <execution>
331 <id>validate-checkstyle</id>
332 <phase>verify</phase>
333 <goals>
334 <goal>check</goal>
335 </goals>
336 </execution>
337 </executions>
338 </plugin>
339
340 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-pmd-plugin</artifactId>
343 <version>3.2</version>
344 <configuration>
345 <excludes>
346 <exclude>**/datastore/serializers/**</exclude>
347 <exclude>**/edu/stanford/**</exclude>
348 <exclude>**/net/floodlightcontroller/**</exclude>
349 </excludes>
350 <rulesets>
351 <ruleset>onos/pmd.xml</ruleset>
352 </rulesets>
353 </configuration>
354 <executions>
355 <execution>
356 <id>validate-pmd</id>
357 <phase>verify</phase>
358 <goals>
359 <!-- Uncomment this goal to make the build fail on pmd errors -->
360 <!--<goal>check</goal>-->
361 </goals>
362 </execution>
363 </executions>
364 </plugin>
365
366 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700367 <groupId>org.jacoco</groupId>
368 <artifactId>jacoco-maven-plugin</artifactId>
369 <version>0.7.1.201405082137</version>
370 <executions>
371 <execution>
372 <id>default-prepare-agent</id>
373 <goals>
374 <goal>prepare-agent</goal>
375 </goals>
376 </execution>
377 <execution>
378 <id>default-report</id>
379 <phase>prepare-package</phase>
380 <goals>
381 <goal>report</goal>
382 </goals>
383 </execution>
384 </executions>
385 </plugin>
386
387 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-javadoc-plugin</artifactId>
390 <version>2.9.1</version>
391 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700392 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700393 <docfilessubdirs>true</docfilessubdirs>
394 <doctitle>ONOS Java API</doctitle>
395 <groups>
396 <group>
397 <title>Network Model &amp; Services</title>
398 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700399 org.onlab.onos:org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700400 </packages>
401 </group>
402 <group>
403 <title>Core Subsystems</title>
404 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700405 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 -0700406 </packages>
407 </group>
408 <group>
409 <title>OpenFlow Providers &amp; Controller
410 </title>
411 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700412 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700413 </packages>
414 </group>
415 <group>
416 <title>Utilities</title>
417 <packages>
tom984d7822014-08-29 12:02:59 -0700418 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700419 </packages>
420 </group>
421 <group>
422 <title>GUI, REST &amp; Command-Line</title>
423 <packages>
424 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
425 </packages>
426 </group>
tom8bb16062014-09-12 14:47:46 -0700427 <group>
428 <title>Sample Applications</title>
429 <packages>
tom5d4e73c2014-09-24 18:38:24 -0700430 org.onlab.onos.tvue:org.onlab.onos.fwd:org.onlab.onos.foo
tom8bb16062014-09-12 14:47:46 -0700431 </packages>
432 </group>
tom0eb04ca2014-08-25 14:34:51 -0700433 </groups>
434 </configuration>
435 </plugin>
436
437 </plugins>
tom09419512014-08-15 11:28:43 -0700438 </build>
alshabib522d9872014-08-15 10:35:16 -0700439
tom0eb04ca2014-08-25 14:34:51 -0700440 <reporting>
441 <plugins>
442 <plugin>
443 <groupId>org.apache.maven.plugins</groupId>
444 <artifactId>maven-checkstyle-plugin</artifactId>
445 <version>2.12.1</version>
446 <configuration>
447 <configLocation>onos/checkstyle.xml</configLocation>
448 </configuration>
449 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700450
451 <plugin>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-pmd-plugin</artifactId>
454 <version>3.2</version>
455 <configuration>
456 <excludes>
457 <exclude>**/datastore/serializers/**</exclude>
458 <exclude>**/edu/stanford/**</exclude>
459 <exclude>**/net/floodlightcontroller/**</exclude>
460 </excludes>
461 <rulesets>
462 <ruleset>onos/pmd.xml</ruleset>
463 </rulesets>
464 </configuration>
465 </plugin>
466
tom0eb04ca2014-08-25 14:34:51 -0700467 </plugins>
468
469 </reporting>
470
alshabib522d9872014-08-15 10:35:16 -0700471</project>