blob: 0e519104dc1e1ab3e3448a3a5006d4a6659f4c7d [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>
175 <artifactId>onlab-junit</artifactId>
176 <version>1.0.0-SNAPSHOT</version>
177 <scope>test</scope>
178 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700179
180 <dependency>
181 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700182 <artifactId>onos-api</artifactId>
183 <version>${project.version}</version>
184 </dependency>
185 <dependency>
186 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700187 <artifactId>onos-api</artifactId>
188 <version>${project.version}</version>
189 <classifier>tests</classifier>
190 <scope>test</scope>
191 </dependency>
192
193 <dependency>
194 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700195 <artifactId>onos-of-api</artifactId>
196 <version>${project.version}</version>
197 </dependency>
tom61359e92014-09-16 15:50:27 -0700198 <dependency>
199 <groupId>org.onlab.onos</groupId>
200 <artifactId>onos-of-api</artifactId>
201 <version>${project.version}</version>
202 <classifier>tests</classifier>
203 <scope>test</scope>
204 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700205 </dependencies>
206 </dependencyManagement>
207
208 <dependencies>
209 <dependency>
210 <groupId>junit</groupId>
211 <artifactId>junit</artifactId>
212 </dependency>
213 <dependency>
214 <groupId>org.slf4j</groupId>
215 <artifactId>slf4j-jdk14</artifactId>
216 </dependency>
217 </dependencies>
tom09419512014-08-15 11:28:43 -0700218
219 <build>
220 <pluginManagement>
221 <plugins>
222 <plugin>
223 <groupId>org.apache.maven.plugins</groupId>
224 <artifactId>maven-compiler-plugin</artifactId>
225 <version>3.1</version>
226 <configuration>
227 <source>1.7</source>
228 <target>1.7</target>
229 </configuration>
230 </plugin>
231
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-surefire-plugin</artifactId>
235 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700236 <configuration>
237 <redirectTestOutputToFile>true</redirectTestOutputToFile>
238 <printSummary>true</printSummary>
239 </configuration>
tom09419512014-08-15 11:28:43 -0700240 </plugin>
241
242 <plugin>
243 <groupId>org.apache.maven.plugins</groupId>
244 <artifactId>maven-jar-plugin</artifactId>
245 <version>2.3.1</version>
246 <executions>
247 <execution>
248 <phase>package</phase>
249 <goals>
250 <goal>test-jar</goal>
251 </goals>
252 </execution>
253 </executions>
254 </plugin>
255
256 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700257 <groupId>org.apache.maven.plugins</groupId>
258 <artifactId>maven-resources-plugin</artifactId>
259 <version>2.6</version>
260 </plugin>
261
262 <plugin>
tom09419512014-08-15 11:28:43 -0700263 <groupId>org.apache.felix</groupId>
264 <artifactId>maven-bundle-plugin</artifactId>
265 <version>2.3.7</version>
266 <extensions>true</extensions>
267 </plugin>
268
269 <plugin>
270 <groupId>org.apache.felix</groupId>
271 <artifactId>maven-scr-plugin</artifactId>
272 <version>1.15.0</version>
273 <executions>
274 <execution>
275 <id>generate-scr-srcdescriptor</id>
276 <goals>
277 <goal>scr</goal>
278 </goals>
279 </execution>
280 </executions>
281 <configuration>
282 <supportedProjectTypes>
283 <supportedProjectType>bundle</supportedProjectType>
284 <supportedProjectType>war</supportedProjectType>
285 </supportedProjectTypes>
286 </configuration>
287 </plugin>
288
tom09419512014-08-15 11:28:43 -0700289 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
tom09419512014-08-15 11:28:43 -0700290 </plugins>
tom09419512014-08-15 11:28:43 -0700291 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700292
293 <plugins>
294 <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700296 <artifactId>maven-jar-plugin</artifactId>
297 </plugin>
298
299 <plugin>
300 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700301 <artifactId>maven-checkstyle-plugin</artifactId>
302 <version>2.12.1</version>
303 <dependencies>
304 <dependency>
305 <groupId>org.onlab.tools</groupId>
306 <artifactId>onos-build-conf</artifactId>
307 <version>1.0</version>
308 </dependency>
309 </dependencies>
310 <configuration>
311 <configLocation>onos/checkstyle.xml</configLocation>
312 <suppressionsLocation>onos/suppressions.xml
313 </suppressionsLocation>
314 <failsOnError>false</failsOnError>
315 <logViolationsToConsole>true</logViolationsToConsole>
316 <includeTestSourceDirectory>true
317 </includeTestSourceDirectory>
318 </configuration>
319 <executions>
320 <execution>
321 <id>validate-checkstyle</id>
322 <phase>verify</phase>
323 <goals>
324 <goal>check</goal>
325 </goals>
326 </execution>
327 </executions>
328 </plugin>
329
330 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-pmd-plugin</artifactId>
333 <version>3.2</version>
334 <configuration>
335 <excludes>
336 <exclude>**/datastore/serializers/**</exclude>
337 <exclude>**/edu/stanford/**</exclude>
338 <exclude>**/net/floodlightcontroller/**</exclude>
339 </excludes>
340 <rulesets>
341 <ruleset>onos/pmd.xml</ruleset>
342 </rulesets>
343 </configuration>
344 <executions>
345 <execution>
346 <id>validate-pmd</id>
347 <phase>verify</phase>
348 <goals>
349 <!-- Uncomment this goal to make the build fail on pmd errors -->
350 <!--<goal>check</goal>-->
351 </goals>
352 </execution>
353 </executions>
354 </plugin>
355
356 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700357 <groupId>org.jacoco</groupId>
358 <artifactId>jacoco-maven-plugin</artifactId>
359 <version>0.7.1.201405082137</version>
360 <executions>
361 <execution>
362 <id>default-prepare-agent</id>
363 <goals>
364 <goal>prepare-agent</goal>
365 </goals>
366 </execution>
367 <execution>
368 <id>default-report</id>
369 <phase>prepare-package</phase>
370 <goals>
371 <goal>report</goal>
372 </goals>
373 </execution>
374 </executions>
375 </plugin>
376
377 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-javadoc-plugin</artifactId>
380 <version>2.9.1</version>
381 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700382 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700383 <docfilessubdirs>true</docfilessubdirs>
384 <doctitle>ONOS Java API</doctitle>
385 <groups>
386 <group>
387 <title>Network Model &amp; Services</title>
388 <packages>
tom202175a2014-09-19 19:00:11 -0700389 org.onlab.onos:org.onlab.onos.*:
tom0eb04ca2014-08-25 14:34:51 -0700390 </packages>
391 </group>
392 <group>
393 <title>Core Subsystems</title>
394 <packages>
tom202175a2014-09-19 19:00:11 -0700395 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.impl:org.onlab.onos.event.impl:org.onlab.onos.store.*
tom0eb04ca2014-08-25 14:34:51 -0700396 </packages>
397 </group>
398 <group>
399 <title>OpenFlow Providers &amp; Controller
400 </title>
401 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700402 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700403 </packages>
404 </group>
405 <group>
406 <title>Utilities</title>
407 <packages>
tom984d7822014-08-29 12:02:59 -0700408 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700409 </packages>
410 </group>
411 <group>
412 <title>GUI, REST &amp; Command-Line</title>
413 <packages>
414 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
415 </packages>
416 </group>
tom8bb16062014-09-12 14:47:46 -0700417 <group>
418 <title>Sample Applications</title>
419 <packages>
tomc370ebd2014-09-16 01:25:21 -0700420 org.onlab.onos.tvue:org.onlab.onos.fwd
tom8bb16062014-09-12 14:47:46 -0700421 </packages>
422 </group>
tom0eb04ca2014-08-25 14:34:51 -0700423 </groups>
424 </configuration>
425 </plugin>
426
427 </plugins>
tom09419512014-08-15 11:28:43 -0700428 </build>
alshabib522d9872014-08-15 10:35:16 -0700429
tom0eb04ca2014-08-25 14:34:51 -0700430 <reporting>
431 <plugins>
432 <plugin>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-checkstyle-plugin</artifactId>
435 <version>2.12.1</version>
436 <configuration>
437 <configLocation>onos/checkstyle.xml</configLocation>
438 </configuration>
439 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700440
441 <plugin>
442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-pmd-plugin</artifactId>
444 <version>3.2</version>
445 <configuration>
446 <excludes>
447 <exclude>**/datastore/serializers/**</exclude>
448 <exclude>**/edu/stanford/**</exclude>
449 <exclude>**/net/floodlightcontroller/**</exclude>
450 </excludes>
451 <rulesets>
452 <ruleset>onos/pmd.xml</ruleset>
453 </rulesets>
454 </configuration>
455 </plugin>
456
tom0eb04ca2014-08-25 14:34:51 -0700457 </plugins>
458
459 </reporting>
460
alshabib522d9872014-08-15 10:35:16 -0700461</project>