blob: 5283db4194923b09e02d446b1db9d802872d6987 [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
64 <!-- Web related -->
65 <dependency>
66 <groupId>com.sun.jersey</groupId>
67 <artifactId>jersey-servlet</artifactId>
68 <version>1.18.1</version>
69 <scope>provided</scope>
70 </dependency>
71 <dependency>
72 <groupId>com.fasterxml.jackson.core</groupId>
73 <artifactId>jackson-databind</artifactId>
74 <version>2.4.2</version>
75 <scope>provided</scope>
76 </dependency>
77 <dependency>
78 <groupId>com.fasterxml.jackson.core</groupId>
79 <artifactId>jackson-annotations</artifactId>
80 <version>2.4.2</version>
81 <scope>provided</scope>
82 </dependency>
83
84 <!-- OSGi related -->
85 <dependency>
86 <groupId>org.osgi</groupId>
87 <artifactId>org.osgi.core</artifactId>
88 <version>4.3.1</version>
89 <scope>provided</scope>
90 </dependency>
91 <dependency>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>org.apache.felix.scr.annotations</artifactId>
94 <version>1.9.8</version>
95 <scope>provided</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.apache.karaf.shell</groupId>
99 <artifactId>org.apache.karaf.shell.console</artifactId>
100 <version>3.0.1</version>
101 <scope>provided</scope>
102 </dependency>
103
104 <!-- ONOS related -->
105 <dependency>
106 <groupId>org.onlab.onos</groupId>
107 <artifactId>onos-api</artifactId>
108 <version>${project.version}</version>
109 </dependency>
110 <dependency>
111 <groupId>org.onlab.onos</groupId>
112 <artifactId>onos-of-api</artifactId>
113 <version>${project.version}</version>
114 </dependency>
115
116 </dependencies>
117 </dependencyManagement>
118
119 <dependencies>
120 <dependency>
121 <groupId>junit</groupId>
122 <artifactId>junit</artifactId>
123 </dependency>
124 <dependency>
125 <groupId>org.slf4j</groupId>
126 <artifactId>slf4j-jdk14</artifactId>
127 </dependency>
128 </dependencies>
tom09419512014-08-15 11:28:43 -0700129
130 <build>
131 <pluginManagement>
132 <plugins>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-compiler-plugin</artifactId>
136 <version>3.1</version>
137 <configuration>
138 <source>1.7</source>
139 <target>1.7</target>
140 </configuration>
141 </plugin>
142
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-surefire-plugin</artifactId>
146 <version>2.17</version>
147 </plugin>
148
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-jar-plugin</artifactId>
152 <version>2.3.1</version>
153 <executions>
154 <execution>
155 <phase>package</phase>
156 <goals>
157 <goal>test-jar</goal>
158 </goals>
159 </execution>
160 </executions>
161 </plugin>
162
163 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-resources-plugin</artifactId>
166 <version>2.6</version>
167 </plugin>
168
169 <plugin>
tom09419512014-08-15 11:28:43 -0700170 <groupId>org.apache.felix</groupId>
171 <artifactId>maven-bundle-plugin</artifactId>
172 <version>2.3.7</version>
173 <extensions>true</extensions>
174 </plugin>
175
176 <plugin>
177 <groupId>org.apache.felix</groupId>
178 <artifactId>maven-scr-plugin</artifactId>
179 <version>1.15.0</version>
180 <executions>
181 <execution>
182 <id>generate-scr-srcdescriptor</id>
183 <goals>
184 <goal>scr</goal>
185 </goals>
186 </execution>
187 </executions>
188 <configuration>
189 <supportedProjectTypes>
190 <supportedProjectType>bundle</supportedProjectType>
191 <supportedProjectType>war</supportedProjectType>
192 </supportedProjectTypes>
193 </configuration>
194 </plugin>
195
tom09419512014-08-15 11:28:43 -0700196 <!-- TODO: add jacoco plugin for unit test coverage; for explicit invocation only -->
197 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
198 <!-- TODO: add sonarqube plugin for code analysis; for explicit invocation only -->
199
200 </plugins>
tom09419512014-08-15 11:28:43 -0700201 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700202
203 <plugins>
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700206 <artifactId>maven-jar-plugin</artifactId>
207 </plugin>
208
209 <plugin>
210 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700211 <artifactId>maven-checkstyle-plugin</artifactId>
212 <version>2.12.1</version>
213 <dependencies>
214 <dependency>
215 <groupId>org.onlab.tools</groupId>
216 <artifactId>onos-build-conf</artifactId>
217 <version>1.0</version>
218 </dependency>
219 </dependencies>
220 <configuration>
221 <configLocation>onos/checkstyle.xml</configLocation>
222 <suppressionsLocation>onos/suppressions.xml
223 </suppressionsLocation>
224 <failsOnError>false</failsOnError>
225 <logViolationsToConsole>true</logViolationsToConsole>
226 <includeTestSourceDirectory>true
227 </includeTestSourceDirectory>
228 </configuration>
229 <executions>
230 <execution>
231 <id>validate-checkstyle</id>
232 <phase>verify</phase>
233 <goals>
234 <goal>check</goal>
235 </goals>
236 </execution>
237 </executions>
238 </plugin>
239
240 <plugin>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-javadoc-plugin</artifactId>
243 <version>2.9.1</version>
244 <configuration>
245 <docfilessubdirs>true</docfilessubdirs>
246 <doctitle>ONOS Java API</doctitle>
247 <groups>
248 <group>
249 <title>Network Model &amp; Services</title>
250 <packages>
251 org.onlab.onos.net:org.onlab.onos.net.*
252 </packages>
253 </group>
254 <group>
255 <title>Core Subsystems</title>
256 <packages>
257 org.onlab.onos.net.impl:org.onlab.onos.net.*.impl
258 </packages>
259 </group>
260 <group>
261 <title>OpenFlow Providers &amp; Controller
262 </title>
263 <packages>
264 org.onlab.onos.provider.of:org.onlab.onos.provider.of.*:org.onlab.onos.of.*
265 </packages>
266 </group>
267 <group>
268 <title>Utilities</title>
269 <packages>
270 org.onlab.util:org.onlab.util.*
271 </packages>
272 </group>
273 <group>
274 <title>GUI, REST &amp; Command-Line</title>
275 <packages>
276 org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.*
277 </packages>
278 </group>
279 </groups>
280 </configuration>
281 </plugin>
282
283 </plugins>
tom09419512014-08-15 11:28:43 -0700284 </build>
alshabib522d9872014-08-15 10:35:16 -0700285
tom0eb04ca2014-08-25 14:34:51 -0700286
287 <reporting>
288 <plugins>
289 <plugin>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-checkstyle-plugin</artifactId>
292 <version>2.12.1</version>
293 <configuration>
294 <configLocation>onos/checkstyle.xml</configLocation>
295 </configuration>
296 </plugin>
297 </plugins>
298
299 </reporting>
300
alshabib522d9872014-08-15 10:35:16 -0700301</project>