blob: 4210599ebc353197e57d8a9b97bc5744d3a241c6 [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
76
77
tomde8d9682014-08-27 01:11:43 -070078 <dependency>
79 <groupId>com.google.guava</groupId>
80 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -070081 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -070082 <scope>test</scope>
83 </dependency>
84
tom6d2a43e2014-09-08 01:50:20 -070085 <dependency>
86 <groupId>commons-lang</groupId>
87 <artifactId>commons-lang</artifactId>
88 <version>2.6</version>
89 </dependency>
tomde8d9682014-08-27 01:11:43 -070090
tom0eb04ca2014-08-25 14:34:51 -070091 <!-- Web related -->
92 <dependency>
93 <groupId>com.sun.jersey</groupId>
94 <artifactId>jersey-servlet</artifactId>
95 <version>1.18.1</version>
96 <scope>provided</scope>
97 </dependency>
98 <dependency>
99 <groupId>com.fasterxml.jackson.core</groupId>
100 <artifactId>jackson-databind</artifactId>
101 <version>2.4.2</version>
102 <scope>provided</scope>
103 </dependency>
104 <dependency>
105 <groupId>com.fasterxml.jackson.core</groupId>
106 <artifactId>jackson-annotations</artifactId>
107 <version>2.4.2</version>
108 <scope>provided</scope>
109 </dependency>
110
111 <!-- OSGi related -->
112 <dependency>
113 <groupId>org.osgi</groupId>
114 <artifactId>org.osgi.core</artifactId>
115 <version>4.3.1</version>
116 <scope>provided</scope>
117 </dependency>
118 <dependency>
119 <groupId>org.apache.felix</groupId>
120 <artifactId>org.apache.felix.scr.annotations</artifactId>
121 <version>1.9.8</version>
122 <scope>provided</scope>
123 </dependency>
124 <dependency>
125 <groupId>org.apache.karaf.shell</groupId>
126 <artifactId>org.apache.karaf.shell.console</artifactId>
127 <version>3.0.1</version>
128 <scope>provided</scope>
129 </dependency>
130
131 <!-- ONOS related -->
132 <dependency>
133 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700134 <artifactId>onlab-misc</artifactId>
135 <version>${project.version}</version>
136 </dependency>
tom931af4e2014-09-13 12:00:57 -0700137 <dependency>
138 <groupId>org.onlab.onos</groupId>
139 <artifactId>onlab-junit</artifactId>
140 <version>1.0.0-SNAPSHOT</version>
141 <scope>test</scope>
142 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700143
144 <dependency>
145 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700146 <artifactId>onos-api</artifactId>
147 <version>${project.version}</version>
148 </dependency>
149 <dependency>
150 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700151 <artifactId>onos-api</artifactId>
152 <version>${project.version}</version>
153 <classifier>tests</classifier>
154 <scope>test</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700159 <artifactId>onos-of-api</artifactId>
160 <version>${project.version}</version>
161 </dependency>
tom61359e92014-09-16 15:50:27 -0700162 <dependency>
163 <groupId>org.onlab.onos</groupId>
164 <artifactId>onos-of-api</artifactId>
165 <version>${project.version}</version>
166 <classifier>tests</classifier>
167 <scope>test</scope>
168 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700169 </dependencies>
170 </dependencyManagement>
171
172 <dependencies>
173 <dependency>
174 <groupId>junit</groupId>
175 <artifactId>junit</artifactId>
176 </dependency>
177 <dependency>
178 <groupId>org.slf4j</groupId>
179 <artifactId>slf4j-jdk14</artifactId>
180 </dependency>
181 </dependencies>
tom09419512014-08-15 11:28:43 -0700182
183 <build>
184 <pluginManagement>
185 <plugins>
186 <plugin>
187 <groupId>org.apache.maven.plugins</groupId>
188 <artifactId>maven-compiler-plugin</artifactId>
189 <version>3.1</version>
190 <configuration>
191 <source>1.7</source>
192 <target>1.7</target>
193 </configuration>
194 </plugin>
195
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700200 <configuration>
201 <redirectTestOutputToFile>true</redirectTestOutputToFile>
202 <printSummary>true</printSummary>
203 </configuration>
tom09419512014-08-15 11:28:43 -0700204 </plugin>
205
206 <plugin>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-jar-plugin</artifactId>
209 <version>2.3.1</version>
210 <executions>
211 <execution>
212 <phase>package</phase>
213 <goals>
214 <goal>test-jar</goal>
215 </goals>
216 </execution>
217 </executions>
218 </plugin>
219
220 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-resources-plugin</artifactId>
223 <version>2.6</version>
224 </plugin>
225
226 <plugin>
tom09419512014-08-15 11:28:43 -0700227 <groupId>org.apache.felix</groupId>
228 <artifactId>maven-bundle-plugin</artifactId>
229 <version>2.3.7</version>
230 <extensions>true</extensions>
231 </plugin>
232
233 <plugin>
234 <groupId>org.apache.felix</groupId>
235 <artifactId>maven-scr-plugin</artifactId>
236 <version>1.15.0</version>
237 <executions>
238 <execution>
239 <id>generate-scr-srcdescriptor</id>
240 <goals>
241 <goal>scr</goal>
242 </goals>
243 </execution>
244 </executions>
245 <configuration>
246 <supportedProjectTypes>
247 <supportedProjectType>bundle</supportedProjectType>
248 <supportedProjectType>war</supportedProjectType>
249 </supportedProjectTypes>
250 </configuration>
251 </plugin>
252
tom09419512014-08-15 11:28:43 -0700253 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
tom09419512014-08-15 11:28:43 -0700254 </plugins>
tom09419512014-08-15 11:28:43 -0700255 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700256
257 <plugins>
258 <plugin>
259 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700260 <artifactId>maven-jar-plugin</artifactId>
261 </plugin>
262
263 <plugin>
264 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700265 <artifactId>maven-checkstyle-plugin</artifactId>
266 <version>2.12.1</version>
267 <dependencies>
268 <dependency>
269 <groupId>org.onlab.tools</groupId>
270 <artifactId>onos-build-conf</artifactId>
271 <version>1.0</version>
272 </dependency>
273 </dependencies>
274 <configuration>
275 <configLocation>onos/checkstyle.xml</configLocation>
276 <suppressionsLocation>onos/suppressions.xml
277 </suppressionsLocation>
278 <failsOnError>false</failsOnError>
279 <logViolationsToConsole>true</logViolationsToConsole>
280 <includeTestSourceDirectory>true
281 </includeTestSourceDirectory>
282 </configuration>
283 <executions>
284 <execution>
285 <id>validate-checkstyle</id>
286 <phase>verify</phase>
287 <goals>
288 <goal>check</goal>
289 </goals>
290 </execution>
291 </executions>
292 </plugin>
293
294 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-pmd-plugin</artifactId>
297 <version>3.2</version>
298 <configuration>
299 <excludes>
300 <exclude>**/datastore/serializers/**</exclude>
301 <exclude>**/edu/stanford/**</exclude>
302 <exclude>**/net/floodlightcontroller/**</exclude>
303 </excludes>
304 <rulesets>
305 <ruleset>onos/pmd.xml</ruleset>
306 </rulesets>
307 </configuration>
308 <executions>
309 <execution>
310 <id>validate-pmd</id>
311 <phase>verify</phase>
312 <goals>
313 <!-- Uncomment this goal to make the build fail on pmd errors -->
314 <!--<goal>check</goal>-->
315 </goals>
316 </execution>
317 </executions>
318 </plugin>
319
320 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700321 <groupId>org.jacoco</groupId>
322 <artifactId>jacoco-maven-plugin</artifactId>
323 <version>0.7.1.201405082137</version>
324 <executions>
325 <execution>
326 <id>default-prepare-agent</id>
327 <goals>
328 <goal>prepare-agent</goal>
329 </goals>
330 </execution>
331 <execution>
332 <id>default-report</id>
333 <phase>prepare-package</phase>
334 <goals>
335 <goal>report</goal>
336 </goals>
337 </execution>
338 </executions>
339 </plugin>
340
341 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-javadoc-plugin</artifactId>
344 <version>2.9.1</version>
345 <configuration>
tom578ebdc2014-09-11 11:12:51 -0700346 <show>package</show>
tom0eb04ca2014-08-25 14:34:51 -0700347 <docfilessubdirs>true</docfilessubdirs>
348 <doctitle>ONOS Java API</doctitle>
349 <groups>
350 <group>
351 <title>Network Model &amp; Services</title>
352 <packages>
tom202175a2014-09-19 19:00:11 -0700353 org.onlab.onos:org.onlab.onos.*:
tom0eb04ca2014-08-25 14:34:51 -0700354 </packages>
355 </group>
356 <group>
357 <title>Core Subsystems</title>
358 <packages>
tom202175a2014-09-19 19:00:11 -0700359 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 -0700360 </packages>
361 </group>
362 <group>
363 <title>OpenFlow Providers &amp; Controller
364 </title>
365 <packages>
tom9c94c5b2014-09-17 13:14:42 -0700366 org.onlab.onos.provider.of.*:org.onlab.onos.openflow.*
tom0eb04ca2014-08-25 14:34:51 -0700367 </packages>
368 </group>
369 <group>
370 <title>Utilities</title>
371 <packages>
tom984d7822014-08-29 12:02:59 -0700372 org.onlab.*
tom0eb04ca2014-08-25 14:34:51 -0700373 </packages>
374 </group>
375 <group>
376 <title>GUI, REST &amp; Command-Line</title>
377 <packages>
378 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
379 </packages>
380 </group>
tom8bb16062014-09-12 14:47:46 -0700381 <group>
382 <title>Sample Applications</title>
383 <packages>
tomc370ebd2014-09-16 01:25:21 -0700384 org.onlab.onos.tvue:org.onlab.onos.fwd
tom8bb16062014-09-12 14:47:46 -0700385 </packages>
386 </group>
tom0eb04ca2014-08-25 14:34:51 -0700387 </groups>
388 </configuration>
389 </plugin>
390
391 </plugins>
tom09419512014-08-15 11:28:43 -0700392 </build>
alshabib522d9872014-08-15 10:35:16 -0700393
tom0eb04ca2014-08-25 14:34:51 -0700394 <reporting>
395 <plugins>
396 <plugin>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-checkstyle-plugin</artifactId>
399 <version>2.12.1</version>
400 <configuration>
401 <configLocation>onos/checkstyle.xml</configLocation>
402 </configuration>
403 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700404
405 <plugin>
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-pmd-plugin</artifactId>
408 <version>3.2</version>
409 <configuration>
410 <excludes>
411 <exclude>**/datastore/serializers/**</exclude>
412 <exclude>**/edu/stanford/**</exclude>
413 <exclude>**/net/floodlightcontroller/**</exclude>
414 </excludes>
415 <rulesets>
416 <ruleset>onos/pmd.xml</ruleset>
417 </rulesets>
418 </configuration>
419 </plugin>
420
tom0eb04ca2014-08-25 14:34:51 -0700421 </plugins>
422
423 </reporting>
424
alshabib522d9872014-08-15 10:35:16 -0700425</project>