blob: 0bfa83bb289bc710bd10a90e372be821faea8513 [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>
155 </plugin>
156
157 <plugin>
158 <groupId>org.apache.maven.plugins</groupId>
159 <artifactId>maven-jar-plugin</artifactId>
160 <version>2.3.1</version>
161 <executions>
162 <execution>
163 <phase>package</phase>
164 <goals>
165 <goal>test-jar</goal>
166 </goals>
167 </execution>
168 </executions>
169 </plugin>
170
171 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-resources-plugin</artifactId>
174 <version>2.6</version>
175 </plugin>
176
177 <plugin>
tom09419512014-08-15 11:28:43 -0700178 <groupId>org.apache.felix</groupId>
179 <artifactId>maven-bundle-plugin</artifactId>
180 <version>2.3.7</version>
181 <extensions>true</extensions>
182 </plugin>
183
184 <plugin>
185 <groupId>org.apache.felix</groupId>
186 <artifactId>maven-scr-plugin</artifactId>
187 <version>1.15.0</version>
188 <executions>
189 <execution>
190 <id>generate-scr-srcdescriptor</id>
191 <goals>
192 <goal>scr</goal>
193 </goals>
194 </execution>
195 </executions>
196 <configuration>
197 <supportedProjectTypes>
198 <supportedProjectType>bundle</supportedProjectType>
199 <supportedProjectType>war</supportedProjectType>
200 </supportedProjectTypes>
201 </configuration>
202 </plugin>
203
tom09419512014-08-15 11:28:43 -0700204 <!-- TODO: add jacoco plugin for unit test coverage; for explicit invocation only -->
205 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
206 <!-- TODO: add sonarqube plugin for code analysis; for explicit invocation only -->
207
208 </plugins>
tom09419512014-08-15 11:28:43 -0700209 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700210
211 <plugins>
212 <plugin>
213 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700214 <artifactId>maven-jar-plugin</artifactId>
215 </plugin>
216
217 <plugin>
218 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700219 <artifactId>maven-checkstyle-plugin</artifactId>
220 <version>2.12.1</version>
221 <dependencies>
222 <dependency>
223 <groupId>org.onlab.tools</groupId>
224 <artifactId>onos-build-conf</artifactId>
225 <version>1.0</version>
226 </dependency>
227 </dependencies>
228 <configuration>
229 <configLocation>onos/checkstyle.xml</configLocation>
230 <suppressionsLocation>onos/suppressions.xml
231 </suppressionsLocation>
232 <failsOnError>false</failsOnError>
233 <logViolationsToConsole>true</logViolationsToConsole>
234 <includeTestSourceDirectory>true
235 </includeTestSourceDirectory>
236 </configuration>
237 <executions>
238 <execution>
239 <id>validate-checkstyle</id>
240 <phase>verify</phase>
241 <goals>
242 <goal>check</goal>
243 </goals>
244 </execution>
245 </executions>
246 </plugin>
247
248 <plugin>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-javadoc-plugin</artifactId>
251 <version>2.9.1</version>
252 <configuration>
253 <docfilessubdirs>true</docfilessubdirs>
254 <doctitle>ONOS Java API</doctitle>
255 <groups>
256 <group>
257 <title>Network Model &amp; Services</title>
258 <packages>
tom9ccd7812014-08-25 22:43:19 -0700259 org.onlab.onos.*
tom0eb04ca2014-08-25 14:34:51 -0700260 </packages>
261 </group>
262 <group>
263 <title>Core Subsystems</title>
264 <packages>
tomb1260e42014-08-26 18:39:57 -0700265 org.onlab.onos.net.trivial.impl:org.onlab.onos.net.*.impl
tom0eb04ca2014-08-25 14:34:51 -0700266 </packages>
267 </group>
268 <group>
269 <title>OpenFlow Providers &amp; Controller
270 </title>
271 <packages>
tome06f8552014-08-26 16:58:42 -0700272 org.onlab.onos.provider.of.*:org.onlab.onos.of.*
tom0eb04ca2014-08-25 14:34:51 -0700273 </packages>
274 </group>
275 <group>
276 <title>Utilities</title>
277 <packages>
278 org.onlab.util:org.onlab.util.*
279 </packages>
280 </group>
281 <group>
282 <title>GUI, REST &amp; Command-Line</title>
283 <packages>
284 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
285 </packages>
286 </group>
287 </groups>
288 </configuration>
289 </plugin>
290
291 </plugins>
tom09419512014-08-15 11:28:43 -0700292 </build>
alshabib522d9872014-08-15 10:35:16 -0700293
tom0eb04ca2014-08-25 14:34:51 -0700294
295 <reporting>
296 <plugins>
297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-checkstyle-plugin</artifactId>
300 <version>2.12.1</version>
301 <configuration>
302 <configLocation>onos/checkstyle.xml</configLocation>
303 </configuration>
304 </plugin>
305 </plugins>
306
307 </reporting>
308
alshabib522d9872014-08-15 10:35:16 -0700309</project>