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