blob: 9ff1197279088ec689960a99cbca847ccdf9337e [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>
17 <module>net</module>
18 <module>web</module>
19 <module>cli</module>
20 <module>providers</module>
tom09419512014-08-15 11:28:43 -070021 <module>of</module>
tom09419512014-08-15 11:28:43 -070022 <module>features</module>
23 </modules>
24
25 <url>http://onlab.us/</url>
26
27 <licenses>
28 <license>
29 <!-- TODO: Is this really our license scheme? -->
30 <name>Apache License, Version 2.0</name>
31 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
32 </license>
33 </licenses>
34
tom0eb04ca2014-08-25 14:34:51 -070035 <dependencyManagement>
36 <dependencies>
37 <dependency>
38 <groupId>junit</groupId>
39 <artifactId>junit</artifactId>
40 <version>4.11</version>
41 <scope>test</scope>
42 </dependency>
tom09419512014-08-15 11:28:43 -070043
tom0eb04ca2014-08-25 14:34:51 -070044 <dependency>
45 <groupId>org.slf4j</groupId>
46 <artifactId>slf4j-api</artifactId>
47 <version>1.7.6</version>
48 <scope>provided</scope>
49 </dependency>
50
51 <dependency>
52 <groupId>org.slf4j</groupId>
53 <artifactId>slf4j-jdk14</artifactId>
54 <version>1.7.6</version>
55 <scope>test</scope>
56 </dependency>
57
58 <dependency>
59 <groupId>com.google.guava</groupId>
60 <artifactId>guava</artifactId>
61 <version>17.0</version>
62 </dependency>
63
tomde8d9682014-08-27 01:11:43 -070064 <dependency>
65 <groupId>com.google.guava</groupId>
66 <artifactId>guava-testlib</artifactId>
67 <version>17.0</version>
68 <scope>test</scope>
69 </dependency>
70
71
tom0eb04ca2014-08-25 14:34:51 -070072 <!-- Web related -->
73 <dependency>
74 <groupId>com.sun.jersey</groupId>
75 <artifactId>jersey-servlet</artifactId>
76 <version>1.18.1</version>
77 <scope>provided</scope>
78 </dependency>
79 <dependency>
80 <groupId>com.fasterxml.jackson.core</groupId>
81 <artifactId>jackson-databind</artifactId>
82 <version>2.4.2</version>
83 <scope>provided</scope>
84 </dependency>
85 <dependency>
86 <groupId>com.fasterxml.jackson.core</groupId>
87 <artifactId>jackson-annotations</artifactId>
88 <version>2.4.2</version>
89 <scope>provided</scope>
90 </dependency>
91
92 <!-- OSGi related -->
93 <dependency>
94 <groupId>org.osgi</groupId>
95 <artifactId>org.osgi.core</artifactId>
96 <version>4.3.1</version>
97 <scope>provided</scope>
98 </dependency>
99 <dependency>
100 <groupId>org.apache.felix</groupId>
101 <artifactId>org.apache.felix.scr.annotations</artifactId>
102 <version>1.9.8</version>
103 <scope>provided</scope>
104 </dependency>
105 <dependency>
106 <groupId>org.apache.karaf.shell</groupId>
107 <artifactId>org.apache.karaf.shell.console</artifactId>
108 <version>3.0.1</version>
109 <scope>provided</scope>
110 </dependency>
111
112 <!-- ONOS related -->
113 <dependency>
114 <groupId>org.onlab.onos</groupId>
115 <artifactId>onos-api</artifactId>
116 <version>${project.version}</version>
117 </dependency>
118 <dependency>
119 <groupId>org.onlab.onos</groupId>
120 <artifactId>onos-of-api</artifactId>
121 <version>${project.version}</version>
122 </dependency>
123
124 </dependencies>
125 </dependencyManagement>
126
127 <dependencies>
128 <dependency>
129 <groupId>junit</groupId>
130 <artifactId>junit</artifactId>
131 </dependency>
132 <dependency>
133 <groupId>org.slf4j</groupId>
134 <artifactId>slf4j-jdk14</artifactId>
135 </dependency>
136 </dependencies>
tom09419512014-08-15 11:28:43 -0700137
138 <build>
139 <pluginManagement>
140 <plugins>
141 <plugin>
142 <groupId>org.apache.maven.plugins</groupId>
143 <artifactId>maven-compiler-plugin</artifactId>
144 <version>3.1</version>
145 <configuration>
146 <source>1.7</source>
147 <target>1.7</target>
148 </configuration>
149 </plugin>
150
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-surefire-plugin</artifactId>
154 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700155 <configuration>
156 <redirectTestOutputToFile>true</redirectTestOutputToFile>
157 <printSummary>true</printSummary>
158 </configuration>
tom09419512014-08-15 11:28:43 -0700159 </plugin>
160
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-jar-plugin</artifactId>
164 <version>2.3.1</version>
165 <executions>
166 <execution>
167 <phase>package</phase>
168 <goals>
169 <goal>test-jar</goal>
170 </goals>
171 </execution>
172 </executions>
173 </plugin>
174
175 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-resources-plugin</artifactId>
178 <version>2.6</version>
179 </plugin>
180
181 <plugin>
tom09419512014-08-15 11:28:43 -0700182 <groupId>org.apache.felix</groupId>
183 <artifactId>maven-bundle-plugin</artifactId>
184 <version>2.3.7</version>
185 <extensions>true</extensions>
186 </plugin>
187
188 <plugin>
189 <groupId>org.apache.felix</groupId>
190 <artifactId>maven-scr-plugin</artifactId>
191 <version>1.15.0</version>
192 <executions>
193 <execution>
194 <id>generate-scr-srcdescriptor</id>
195 <goals>
196 <goal>scr</goal>
197 </goals>
198 </execution>
199 </executions>
200 <configuration>
201 <supportedProjectTypes>
202 <supportedProjectType>bundle</supportedProjectType>
203 <supportedProjectType>war</supportedProjectType>
204 </supportedProjectTypes>
205 </configuration>
206 </plugin>
207
tom09419512014-08-15 11:28:43 -0700208 <!-- TODO: add jacoco plugin for unit test coverage; for explicit invocation only -->
209 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
210 <!-- TODO: add sonarqube plugin for code analysis; for explicit invocation only -->
211
212 </plugins>
tom09419512014-08-15 11:28:43 -0700213 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700214
215 <plugins>
216 <plugin>
217 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700218 <artifactId>maven-jar-plugin</artifactId>
219 </plugin>
220
221 <plugin>
222 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700223 <artifactId>maven-checkstyle-plugin</artifactId>
224 <version>2.12.1</version>
225 <dependencies>
226 <dependency>
227 <groupId>org.onlab.tools</groupId>
228 <artifactId>onos-build-conf</artifactId>
229 <version>1.0</version>
230 </dependency>
231 </dependencies>
232 <configuration>
233 <configLocation>onos/checkstyle.xml</configLocation>
234 <suppressionsLocation>onos/suppressions.xml
235 </suppressionsLocation>
236 <failsOnError>false</failsOnError>
237 <logViolationsToConsole>true</logViolationsToConsole>
238 <includeTestSourceDirectory>true
239 </includeTestSourceDirectory>
240 </configuration>
241 <executions>
242 <execution>
243 <id>validate-checkstyle</id>
244 <phase>verify</phase>
245 <goals>
246 <goal>check</goal>
247 </goals>
248 </execution>
249 </executions>
250 </plugin>
251
252 <plugin>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-javadoc-plugin</artifactId>
255 <version>2.9.1</version>
256 <configuration>
257 <docfilessubdirs>true</docfilessubdirs>
258 <doctitle>ONOS Java API</doctitle>
259 <groups>
260 <group>
261 <title>Network Model &amp; Services</title>
262 <packages>
tom9ccd7812014-08-25 22:43:19 -0700263 org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700264 </packages>
265 </group>
266 <group>
267 <title>Core Subsystems</title>
268 <packages>
tomb1260e42014-08-26 18:39:57 -0700269 org.onlab.onos.net.trivial.impl:org.onlab.onos.net.*.impl
tom0eb04ca2014-08-25 14:34:51 -0700270 </packages>
271 </group>
272 <group>
273 <title>OpenFlow Providers &amp; Controller
274 </title>
275 <packages>
tome06f8552014-08-26 16:58:42 -0700276 org.onlab.onos.provider.of.*:org.onlab.onos.of.*
tom0eb04ca2014-08-25 14:34:51 -0700277 </packages>
278 </group>
279 <group>
280 <title>Utilities</title>
281 <packages>
282 org.onlab.util:org.onlab.util.*
283 </packages>
284 </group>
285 <group>
286 <title>GUI, REST &amp; Command-Line</title>
287 <packages>
288 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
289 </packages>
290 </group>
291 </groups>
292 </configuration>
293 </plugin>
294
295 </plugins>
tom09419512014-08-15 11:28:43 -0700296 </build>
alshabib522d9872014-08-15 10:35:16 -0700297
tom0eb04ca2014-08-25 14:34:51 -0700298
299 <reporting>
300 <plugins>
301 <plugin>
302 <groupId>org.apache.maven.plugins</groupId>
303 <artifactId>maven-checkstyle-plugin</artifactId>
304 <version>2.12.1</version>
305 <configuration>
306 <configLocation>onos/checkstyle.xml</configLocation>
307 </configuration>
308 </plugin>
309 </plugins>
310
311 </reporting>
312
alshabib522d9872014-08-15 10:35:16 -0700313</project>