alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 2 | <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> |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 6 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 7 | <groupId>org.onlab.onos</groupId> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 8 | <artifactId>onos</artifactId> |
| 9 | <packaging>pom</packaging> |
| 10 | <version>1.0.0-SNAPSHOT</version> |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 11 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 12 | <description>Open Networking Operating System root project</description> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 13 | |
| 14 | <modules> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 15 | <module>tools/build/conf</module> |
| 16 | <module>utils</module> |
tom | e2dc27a | 2014-09-09 12:41:21 -0700 | [diff] [blame] | 17 | <module>core</module> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 18 | <module>web</module> |
| 19 | <module>cli</module> |
| 20 | <module>providers</module> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 21 | <module>of</module> |
tom | 8bb1606 | 2014-09-12 14:47:46 -0700 | [diff] [blame] | 22 | <module>apps</module> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 23 | <module>features</module> |
tom | aa49a1e | 2014-09-12 23:11:46 -0700 | [diff] [blame] | 24 | <module>tools/package/branding</module> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 25 | </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 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 37 | <dependencyManagement> |
| 38 | <dependencies> |
| 39 | <dependency> |
| 40 | <groupId>junit</groupId> |
| 41 | <artifactId>junit</artifactId> |
| 42 | <version>4.11</version> |
| 43 | <scope>test</scope> |
| 44 | </dependency> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 45 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 46 | <dependency> |
| 47 | <groupId>org.slf4j</groupId> |
| 48 | <artifactId>slf4j-api</artifactId> |
| 49 | <version>1.7.6</version> |
| 50 | <scope>provided</scope> |
| 51 | </dependency> |
| 52 | |
| 53 | <dependency> |
| 54 | <groupId>org.slf4j</groupId> |
| 55 | <artifactId>slf4j-jdk14</artifactId> |
| 56 | <version>1.7.6</version> |
| 57 | <scope>test</scope> |
| 58 | </dependency> |
| 59 | |
| 60 | <dependency> |
| 61 | <groupId>com.google.guava</groupId> |
| 62 | <artifactId>guava</artifactId> |
tom | eadbb46 | 2014-09-07 16:10:19 -0700 | [diff] [blame] | 63 | <version>18.0</version> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 64 | </dependency> |
| 65 | |
alshabib | df652ad | 2014-09-09 11:53:19 -0700 | [diff] [blame] | 66 | <dependency> |
| 67 | <groupId>io.netty</groupId> |
| 68 | <artifactId>netty</artifactId> |
| 69 | <version>3.9.0.Final</version> |
| 70 | </dependency> |
| 71 | |
| 72 | |
| 73 | |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 74 | <dependency> |
| 75 | <groupId>com.google.guava</groupId> |
| 76 | <artifactId>guava-testlib</artifactId> |
tom | eadbb46 | 2014-09-07 16:10:19 -0700 | [diff] [blame] | 77 | <version>18.0</version> |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 78 | <scope>test</scope> |
| 79 | </dependency> |
| 80 | |
tom | 6d2a43e | 2014-09-08 01:50:20 -0700 | [diff] [blame] | 81 | <dependency> |
| 82 | <groupId>commons-lang</groupId> |
| 83 | <artifactId>commons-lang</artifactId> |
| 84 | <version>2.6</version> |
| 85 | </dependency> |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 86 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 87 | <!-- Web related --> |
| 88 | <dependency> |
| 89 | <groupId>com.sun.jersey</groupId> |
| 90 | <artifactId>jersey-servlet</artifactId> |
| 91 | <version>1.18.1</version> |
| 92 | <scope>provided</scope> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>com.fasterxml.jackson.core</groupId> |
| 96 | <artifactId>jackson-databind</artifactId> |
| 97 | <version>2.4.2</version> |
| 98 | <scope>provided</scope> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>com.fasterxml.jackson.core</groupId> |
| 102 | <artifactId>jackson-annotations</artifactId> |
| 103 | <version>2.4.2</version> |
| 104 | <scope>provided</scope> |
| 105 | </dependency> |
| 106 | |
| 107 | <!-- OSGi related --> |
| 108 | <dependency> |
| 109 | <groupId>org.osgi</groupId> |
| 110 | <artifactId>org.osgi.core</artifactId> |
| 111 | <version>4.3.1</version> |
| 112 | <scope>provided</scope> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>org.apache.felix</groupId> |
| 116 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 117 | <version>1.9.8</version> |
| 118 | <scope>provided</scope> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>org.apache.karaf.shell</groupId> |
| 122 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 123 | <version>3.0.1</version> |
| 124 | <scope>provided</scope> |
| 125 | </dependency> |
| 126 | |
| 127 | <!-- ONOS related --> |
| 128 | <dependency> |
| 129 | <groupId>org.onlab.onos</groupId> |
tom | 5f38b3a | 2014-08-27 23:50:54 -0700 | [diff] [blame] | 130 | <artifactId>onlab-misc</artifactId> |
| 131 | <version>${project.version}</version> |
| 132 | </dependency> |
| 133 | |
| 134 | <dependency> |
| 135 | <groupId>org.onlab.onos</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 136 | <artifactId>onos-api</artifactId> |
| 137 | <version>${project.version}</version> |
| 138 | </dependency> |
| 139 | <dependency> |
| 140 | <groupId>org.onlab.onos</groupId> |
| 141 | <artifactId>onos-of-api</artifactId> |
| 142 | <version>${project.version}</version> |
| 143 | </dependency> |
| 144 | |
| 145 | </dependencies> |
| 146 | </dependencyManagement> |
| 147 | |
| 148 | <dependencies> |
| 149 | <dependency> |
| 150 | <groupId>junit</groupId> |
| 151 | <artifactId>junit</artifactId> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.slf4j</groupId> |
| 155 | <artifactId>slf4j-jdk14</artifactId> |
| 156 | </dependency> |
| 157 | </dependencies> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 158 | |
| 159 | <build> |
| 160 | <pluginManagement> |
| 161 | <plugins> |
| 162 | <plugin> |
| 163 | <groupId>org.apache.maven.plugins</groupId> |
| 164 | <artifactId>maven-compiler-plugin</artifactId> |
| 165 | <version>3.1</version> |
| 166 | <configuration> |
| 167 | <source>1.7</source> |
| 168 | <target>1.7</target> |
| 169 | </configuration> |
| 170 | </plugin> |
| 171 | |
| 172 | <plugin> |
| 173 | <groupId>org.apache.maven.plugins</groupId> |
| 174 | <artifactId>maven-surefire-plugin</artifactId> |
| 175 | <version>2.17</version> |
tom | 6488812 | 2014-08-27 21:47:46 -0700 | [diff] [blame] | 176 | <configuration> |
| 177 | <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 178 | <printSummary>true</printSummary> |
| 179 | </configuration> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 180 | </plugin> |
| 181 | |
| 182 | <plugin> |
| 183 | <groupId>org.apache.maven.plugins</groupId> |
| 184 | <artifactId>maven-jar-plugin</artifactId> |
| 185 | <version>2.3.1</version> |
| 186 | <executions> |
| 187 | <execution> |
| 188 | <phase>package</phase> |
| 189 | <goals> |
| 190 | <goal>test-jar</goal> |
| 191 | </goals> |
| 192 | </execution> |
| 193 | </executions> |
| 194 | </plugin> |
| 195 | |
| 196 | <plugin> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 197 | <groupId>org.apache.maven.plugins</groupId> |
| 198 | <artifactId>maven-resources-plugin</artifactId> |
| 199 | <version>2.6</version> |
| 200 | </plugin> |
| 201 | |
| 202 | <plugin> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 203 | <groupId>org.apache.felix</groupId> |
| 204 | <artifactId>maven-bundle-plugin</artifactId> |
| 205 | <version>2.3.7</version> |
| 206 | <extensions>true</extensions> |
| 207 | </plugin> |
| 208 | |
| 209 | <plugin> |
| 210 | <groupId>org.apache.felix</groupId> |
| 211 | <artifactId>maven-scr-plugin</artifactId> |
| 212 | <version>1.15.0</version> |
| 213 | <executions> |
| 214 | <execution> |
| 215 | <id>generate-scr-srcdescriptor</id> |
| 216 | <goals> |
| 217 | <goal>scr</goal> |
| 218 | </goals> |
| 219 | </execution> |
| 220 | </executions> |
| 221 | <configuration> |
| 222 | <supportedProjectTypes> |
| 223 | <supportedProjectType>bundle</supportedProjectType> |
| 224 | <supportedProjectType>war</supportedProjectType> |
| 225 | </supportedProjectTypes> |
| 226 | </configuration> |
| 227 | </plugin> |
| 228 | |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 229 | <!-- TODO: add jacoco plugin for unit test coverage; for explicit invocation only --> |
| 230 | <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only --> |
| 231 | <!-- TODO: add sonarqube plugin for code analysis; for explicit invocation only --> |
| 232 | |
| 233 | </plugins> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 234 | </pluginManagement> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 235 | |
| 236 | <plugins> |
| 237 | <plugin> |
| 238 | <groupId>org.apache.maven.plugins</groupId> |
tom | e33cc1a | 2014-08-25 21:59:41 -0700 | [diff] [blame] | 239 | <artifactId>maven-jar-plugin</artifactId> |
| 240 | </plugin> |
| 241 | |
| 242 | <plugin> |
| 243 | <groupId>org.apache.maven.plugins</groupId> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 244 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 245 | <version>2.12.1</version> |
| 246 | <dependencies> |
| 247 | <dependency> |
| 248 | <groupId>org.onlab.tools</groupId> |
| 249 | <artifactId>onos-build-conf</artifactId> |
| 250 | <version>1.0</version> |
| 251 | </dependency> |
| 252 | </dependencies> |
| 253 | <configuration> |
| 254 | <configLocation>onos/checkstyle.xml</configLocation> |
| 255 | <suppressionsLocation>onos/suppressions.xml |
| 256 | </suppressionsLocation> |
| 257 | <failsOnError>false</failsOnError> |
| 258 | <logViolationsToConsole>true</logViolationsToConsole> |
| 259 | <includeTestSourceDirectory>true |
| 260 | </includeTestSourceDirectory> |
| 261 | </configuration> |
| 262 | <executions> |
| 263 | <execution> |
| 264 | <id>validate-checkstyle</id> |
| 265 | <phase>verify</phase> |
| 266 | <goals> |
| 267 | <goal>check</goal> |
| 268 | </goals> |
| 269 | </execution> |
| 270 | </executions> |
| 271 | </plugin> |
| 272 | |
| 273 | <plugin> |
tom | 50a76dd | 2014-09-02 15:18:35 -0700 | [diff] [blame] | 274 | <groupId>org.apache.maven.plugins</groupId> |
| 275 | <artifactId>maven-pmd-plugin</artifactId> |
| 276 | <version>3.2</version> |
| 277 | <configuration> |
| 278 | <excludes> |
| 279 | <exclude>**/datastore/serializers/**</exclude> |
| 280 | <exclude>**/edu/stanford/**</exclude> |
| 281 | <exclude>**/net/floodlightcontroller/**</exclude> |
| 282 | </excludes> |
| 283 | <rulesets> |
| 284 | <ruleset>onos/pmd.xml</ruleset> |
| 285 | </rulesets> |
| 286 | </configuration> |
| 287 | <executions> |
| 288 | <execution> |
| 289 | <id>validate-pmd</id> |
| 290 | <phase>verify</phase> |
| 291 | <goals> |
| 292 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 293 | <!--<goal>check</goal>--> |
| 294 | </goals> |
| 295 | </execution> |
| 296 | </executions> |
| 297 | </plugin> |
| 298 | |
| 299 | <plugin> |
tom | 4f3b18b | 2014-08-28 14:38:47 -0700 | [diff] [blame] | 300 | <groupId>org.jacoco</groupId> |
| 301 | <artifactId>jacoco-maven-plugin</artifactId> |
| 302 | <version>0.7.1.201405082137</version> |
| 303 | <executions> |
| 304 | <execution> |
| 305 | <id>default-prepare-agent</id> |
| 306 | <goals> |
| 307 | <goal>prepare-agent</goal> |
| 308 | </goals> |
| 309 | </execution> |
| 310 | <execution> |
| 311 | <id>default-report</id> |
| 312 | <phase>prepare-package</phase> |
| 313 | <goals> |
| 314 | <goal>report</goal> |
| 315 | </goals> |
| 316 | </execution> |
| 317 | </executions> |
| 318 | </plugin> |
| 319 | |
| 320 | <plugin> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 321 | <groupId>org.apache.maven.plugins</groupId> |
| 322 | <artifactId>maven-javadoc-plugin</artifactId> |
| 323 | <version>2.9.1</version> |
| 324 | <configuration> |
tom | 578ebdc | 2014-09-11 11:12:51 -0700 | [diff] [blame] | 325 | <show>package</show> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 326 | <docfilessubdirs>true</docfilessubdirs> |
| 327 | <doctitle>ONOS Java API</doctitle> |
| 328 | <groups> |
| 329 | <group> |
| 330 | <title>Network Model & Services</title> |
| 331 | <packages> |
tom | 5f38b3a | 2014-08-27 23:50:54 -0700 | [diff] [blame] | 332 | org.onlab.onos:org.onlab.onos.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 333 | </packages> |
| 334 | </group> |
| 335 | <group> |
| 336 | <title>Core Subsystems</title> |
| 337 | <packages> |
tom | 8bf2e6b | 2014-09-10 20:53:54 -0700 | [diff] [blame] | 338 | org.onlab.onos.net.trivial.*:org.onlab.onos.net.*.impl:org.onlab.onos.impl:org.onlab.onos.event.impl |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 339 | </packages> |
| 340 | </group> |
| 341 | <group> |
| 342 | <title>OpenFlow Providers & Controller |
| 343 | </title> |
| 344 | <packages> |
tom | e06f855 | 2014-08-26 16:58:42 -0700 | [diff] [blame] | 345 | org.onlab.onos.provider.of.*:org.onlab.onos.of.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 346 | </packages> |
| 347 | </group> |
| 348 | <group> |
| 349 | <title>Utilities</title> |
| 350 | <packages> |
tom | 984d782 | 2014-08-29 12:02:59 -0700 | [diff] [blame] | 351 | org.onlab.* |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 352 | </packages> |
| 353 | </group> |
| 354 | <group> |
| 355 | <title>GUI, REST & Command-Line</title> |
| 356 | <packages> |
| 357 | org.onlab.onos.gui:org.onlab.onos.rest:org.onlab.onos.cli:org.onlab.onos.gui.*:org.onlab.onos.rest.*:org.onlab.onos.cli.* |
| 358 | </packages> |
| 359 | </group> |
tom | 8bb1606 | 2014-09-12 14:47:46 -0700 | [diff] [blame] | 360 | <group> |
| 361 | <title>Sample Applications</title> |
| 362 | <packages> |
| 363 | org.onlab.onos.tvue |
| 364 | </packages> |
| 365 | </group> |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 366 | </groups> |
| 367 | </configuration> |
| 368 | </plugin> |
| 369 | |
| 370 | </plugins> |
tom | 0941951 | 2014-08-15 11:28:43 -0700 | [diff] [blame] | 371 | </build> |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 372 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 373 | <reporting> |
| 374 | <plugins> |
| 375 | <plugin> |
| 376 | <groupId>org.apache.maven.plugins</groupId> |
| 377 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 378 | <version>2.12.1</version> |
| 379 | <configuration> |
| 380 | <configLocation>onos/checkstyle.xml</configLocation> |
| 381 | </configuration> |
| 382 | </plugin> |
tom | 50a76dd | 2014-09-02 15:18:35 -0700 | [diff] [blame] | 383 | |
| 384 | <plugin> |
| 385 | <groupId>org.apache.maven.plugins</groupId> |
| 386 | <artifactId>maven-pmd-plugin</artifactId> |
| 387 | <version>3.2</version> |
| 388 | <configuration> |
| 389 | <excludes> |
| 390 | <exclude>**/datastore/serializers/**</exclude> |
| 391 | <exclude>**/edu/stanford/**</exclude> |
| 392 | <exclude>**/net/floodlightcontroller/**</exclude> |
| 393 | </excludes> |
| 394 | <rulesets> |
| 395 | <ruleset>onos/pmd.xml</ruleset> |
| 396 | </rulesets> |
| 397 | </configuration> |
| 398 | </plugin> |
| 399 | |
tom | 0eb04ca | 2014-08-25 14:34:51 -0700 | [diff] [blame] | 400 | </plugins> |
| 401 | |
| 402 | </reporting> |
| 403 | |
alshabib | 522d987 | 2014-08-15 10:35:16 -0700 | [diff] [blame] | 404 | </project> |