Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2014 Open Networking Laboratory |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
| 22 | <prerequisites> |
| 23 | <maven>3.0.1</maven> |
| 24 | </prerequisites> |
| 25 | |
| 26 | <parent> |
| 27 | <groupId>org.onosproject</groupId> |
| 28 | <artifactId>onos-base</artifactId> |
| 29 | <version>1</version> |
| 30 | <relativePath>tools/build/pom.xml</relativePath> |
| 31 | </parent> |
| 32 | |
Brian O'Connor | 1cda931 | 2015-09-04 20:19:16 -0700 | [diff] [blame] | 33 | <groupId>org.onosproject</groupId> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 34 | <artifactId>onos</artifactId> |
| 35 | <packaging>pom</packaging> |
Brian O'Connor | f967ad6 | 2015-09-18 15:19:54 -0700 | [diff] [blame] | 36 | <version>1.4.0-SNAPSHOT</version> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 37 | |
| 38 | <name>${project.artifactId}</name> |
| 39 | <description>Open Network Operating System root project</description> |
| 40 | |
| 41 | <modules> |
| 42 | <module>utils</module> |
| 43 | <module>core</module> |
| 44 | <module>web</module> |
| 45 | <module>cli</module> |
| 46 | |
| 47 | <module>openflow</module> |
| 48 | <module>ovsdb</module> |
| 49 | <module>pcep</module> |
| 50 | |
| 51 | <module>providers</module> |
| 52 | <module>drivers</module> |
| 53 | |
| 54 | <module>apps</module> |
| 55 | <module>incubator</module> |
| 56 | <module>features</module> |
| 57 | |
| 58 | <module>tools/package/archetypes</module> |
| 59 | <module>tools/package/branding</module> |
| 60 | </modules> |
| 61 | |
| 62 | <url>http://onosproject.org/</url> |
| 63 | |
| 64 | <scm> |
| 65 | <connection>scm:git:https://gerrit.onosproject.org/onos</connection> |
| 66 | <developerConnection>scm:git:https://gerrit.onosproject.org/onos |
| 67 | </developerConnection> |
| 68 | <url>http://gerrit.onosproject.org/</url> |
| 69 | </scm> |
| 70 | |
| 71 | <licenses> |
| 72 | <license> |
| 73 | <name>Apache License, Version 2.0</name> |
| 74 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 75 | </license> |
| 76 | </licenses> |
| 77 | |
| 78 | <properties> |
| 79 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
HIGUCHI Yuta | 94a9eed | 2015-09-25 15:20:04 -0700 | [diff] [blame] | 80 | <onos-build-conf.version>1.0</onos-build-conf.version> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 81 | <netty4.version>4.0.23.Final</netty4.version> |
Brian O'Connor | e79b025 | 2015-09-04 15:55:03 -0700 | [diff] [blame] | 82 | <copycat.version>0.5.0.onos</copycat.version> |
Brian O'Connor | 0ecdb32 | 2015-09-03 15:37:50 -0700 | [diff] [blame] | 83 | <openflowj.version>0.9.0.onos</openflowj.version> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 84 | <karaf.version>3.0.3</karaf.version> |
| 85 | <jersey.version>1.19</jersey.version> |
| 86 | </properties> |
| 87 | |
| 88 | <distributionManagement> |
| 89 | <snapshotRepository> |
| 90 | <id>ossrh</id> |
| 91 | <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 92 | </snapshotRepository> |
| 93 | </distributionManagement> |
| 94 | |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 95 | <dependencyManagement> |
| 96 | <dependencies> |
| 97 | <dependency> |
| 98 | <groupId>junit</groupId> |
| 99 | <artifactId>junit</artifactId> |
| 100 | <version>4.11</version> |
| 101 | <scope>test</scope> |
| 102 | </dependency> |
| 103 | |
| 104 | <dependency> |
| 105 | <groupId>org.hamcrest</groupId> |
| 106 | <artifactId>hamcrest-core</artifactId> |
| 107 | <version>1.3</version> |
| 108 | <scope>test</scope> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.hamcrest</groupId> |
| 112 | <artifactId>hamcrest-library</artifactId> |
| 113 | <version>1.3</version> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | |
| 117 | <dependency> |
| 118 | <groupId>org.slf4j</groupId> |
| 119 | <artifactId>slf4j-api</artifactId> |
| 120 | <version>1.7.6</version> |
| 121 | <scope>provided</scope> |
| 122 | </dependency> |
| 123 | |
| 124 | <dependency> |
| 125 | <groupId>org.slf4j</groupId> |
| 126 | <artifactId>slf4j-core</artifactId> |
| 127 | <version>1.7.6</version> |
| 128 | <scope>test</scope> |
| 129 | </dependency> |
| 130 | |
| 131 | <dependency> |
| 132 | <groupId>org.slf4j</groupId> |
| 133 | <artifactId>slf4j-jdk14</artifactId> |
| 134 | <version>1.7.6</version> |
| 135 | <scope>test</scope> |
| 136 | </dependency> |
| 137 | |
| 138 | <dependency> |
| 139 | <groupId>com.google.guava</groupId> |
| 140 | <artifactId>guava</artifactId> |
| 141 | <version>18.0</version> |
| 142 | </dependency> |
| 143 | |
| 144 | <dependency> |
| 145 | <groupId>io.netty</groupId> |
| 146 | <artifactId>netty</artifactId> |
| 147 | <version>3.9.0.Final</version> |
| 148 | </dependency> |
| 149 | |
| 150 | <dependency> |
| 151 | <groupId>com.google.guava</groupId> |
| 152 | <artifactId>guava-testlib</artifactId> |
| 153 | <version>18.0</version> |
| 154 | <scope>test</scope> |
| 155 | </dependency> |
| 156 | |
| 157 | <dependency> |
| 158 | <groupId>com.googlecode.concurrent-trees</groupId> |
| 159 | <artifactId>concurrent-trees</artifactId> |
| 160 | <version>2.4.0</version> |
| 161 | </dependency> |
| 162 | |
| 163 | <dependency> |
| 164 | <groupId>commons-lang</groupId> |
| 165 | <artifactId>commons-lang</artifactId> |
| 166 | <version>2.6</version> |
| 167 | </dependency> |
| 168 | |
| 169 | <dependency> |
| 170 | <groupId>org.apache.commons</groupId> |
| 171 | <artifactId>commons-lang3</artifactId> |
| 172 | <version>3.3.2</version> |
| 173 | </dependency> |
| 174 | |
| 175 | <dependency> |
| 176 | <groupId>commons-configuration</groupId> |
| 177 | <artifactId>commons-configuration</artifactId> |
| 178 | <version>1.10</version> |
| 179 | </dependency> |
| 180 | |
| 181 | <dependency> |
| 182 | <groupId>commons-collections</groupId> |
| 183 | <artifactId>commons-collections</artifactId> |
| 184 | <version>3.2.1</version> |
| 185 | </dependency> |
| 186 | |
| 187 | <dependency> |
| 188 | <groupId>org.codehaus.jackson</groupId> |
| 189 | <artifactId>jackson-core-asl</artifactId> |
| 190 | <version>1.9.13</version> |
| 191 | </dependency> |
| 192 | <dependency> |
| 193 | <groupId>org.codehaus.jackson</groupId> |
| 194 | <artifactId>jackson-mapper-asl</artifactId> |
| 195 | <version>1.9.13</version> |
| 196 | </dependency> |
| 197 | |
| 198 | <dependency> |
| 199 | <groupId>org.easymock</groupId> |
| 200 | <artifactId>easymock</artifactId> |
| 201 | <version>3.2</version> |
| 202 | <scope>test</scope> |
| 203 | </dependency> |
| 204 | |
| 205 | <!-- Web related --> |
| 206 | <dependency> |
| 207 | <groupId>com.sun.jersey</groupId> |
| 208 | <artifactId>jersey-servlet</artifactId> |
| 209 | <version>${jersey.version}</version> |
| 210 | <scope>provided</scope> |
| 211 | </dependency> |
| 212 | <dependency> |
| 213 | <groupId>com.sun.jersey.contribs</groupId> |
| 214 | <artifactId>jersey-multipart</artifactId> |
| 215 | <version>${jersey.version}</version> |
| 216 | <scope>provided</scope> |
| 217 | </dependency> |
| 218 | <dependency> |
| 219 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 220 | <artifactId>jersey-test-framework-core</artifactId> |
| 221 | <version>${jersey.version}</version> |
| 222 | <scope>test</scope> |
| 223 | </dependency> |
| 224 | <dependency> |
| 225 | <groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 226 | <artifactId>jersey-test-framework-grizzly2</artifactId> |
| 227 | <version>${jersey.version}</version> |
| 228 | <scope>test</scope> |
| 229 | </dependency> |
| 230 | <dependency> |
| 231 | <groupId>com.fasterxml.jackson.core</groupId> |
| 232 | <artifactId>jackson-databind</artifactId> |
| 233 | <version>2.4.2</version> |
| 234 | <scope>provided</scope> |
| 235 | </dependency> |
| 236 | <dependency> |
| 237 | <groupId>com.fasterxml.jackson.core</groupId> |
| 238 | <artifactId>jackson-annotations</artifactId> |
| 239 | <version>2.4.2</version> |
| 240 | <scope>provided</scope> |
| 241 | </dependency> |
| 242 | |
| 243 | <!-- OSGi related --> |
| 244 | <dependency> |
| 245 | <groupId>org.osgi</groupId> |
| 246 | <artifactId>org.osgi.core</artifactId> |
| 247 | <version>4.3.1</version> |
| 248 | <scope>provided</scope> |
| 249 | </dependency> |
| 250 | <dependency> |
| 251 | <groupId>org.osgi</groupId> |
| 252 | <artifactId>org.osgi.compendium</artifactId> |
| 253 | <version>4.3.1</version> |
| 254 | <scope>provided</scope> |
| 255 | </dependency> |
| 256 | <dependency> |
| 257 | <groupId>org.apache.felix</groupId> |
| 258 | <artifactId>org.apache.felix.scr.annotations</artifactId> |
| 259 | <version>1.9.8</version> |
| 260 | <scope>provided</scope> |
| 261 | </dependency> |
| 262 | |
| 263 | <dependency> |
| 264 | <groupId>org.apache.karaf.features</groupId> |
| 265 | <artifactId>org.apache.karaf.features.core</artifactId> |
| 266 | <version>${karaf.version}</version> |
| 267 | <scope>provided</scope> |
| 268 | </dependency> |
| 269 | <dependency> |
| 270 | <groupId>org.apache.karaf.system</groupId> |
| 271 | <artifactId>org.apache.karaf.system.core</artifactId> |
| 272 | <version>${karaf.version}</version> |
| 273 | <scope>provided</scope> |
| 274 | </dependency> |
| 275 | <dependency> |
| 276 | <groupId>org.apache.karaf.shell</groupId> |
| 277 | <artifactId>org.apache.karaf.shell.console</artifactId> |
| 278 | <version>${karaf.version}</version> |
| 279 | <scope>provided</scope> |
| 280 | </dependency> |
| 281 | |
| 282 | <dependency> |
| 283 | <groupId>org.livetribe.slp</groupId> |
| 284 | <artifactId>livetribe-slp</artifactId> |
| 285 | <version>2.2.1</version> |
| 286 | </dependency> |
| 287 | |
| 288 | <dependency> |
| 289 | <groupId>com.eclipsesource.minimal-json</groupId> |
| 290 | <artifactId>minimal-json</artifactId> |
| 291 | <version>0.9.1</version> |
| 292 | </dependency> |
| 293 | <dependency> |
| 294 | <groupId>com.esotericsoftware</groupId> |
| 295 | <artifactId>kryo</artifactId> |
| 296 | <version>3.0.0</version> |
| 297 | </dependency> |
| 298 | <dependency> |
| 299 | <groupId>com.esotericsoftware</groupId> |
| 300 | <artifactId>reflectasm</artifactId> |
| 301 | <version>1.10.0</version> |
| 302 | <type>bundle</type> |
| 303 | </dependency> |
| 304 | <dependency> |
| 305 | <groupId>org.ow2.asm</groupId> |
| 306 | <artifactId>asm</artifactId> |
| 307 | <version>4.2</version> |
| 308 | </dependency> |
| 309 | <dependency> |
| 310 | <groupId>com.esotericsoftware</groupId> |
| 311 | <artifactId>minlog</artifactId> |
| 312 | <version>1.3.0</version> |
| 313 | </dependency> |
| 314 | <dependency> |
| 315 | <groupId>org.objenesis</groupId> |
| 316 | <artifactId>objenesis</artifactId> |
| 317 | <version>2.1</version> |
| 318 | </dependency> |
| 319 | |
| 320 | <!-- ONOS related --> |
| 321 | <dependency> |
| 322 | <groupId>org.onosproject</groupId> |
| 323 | <artifactId>onlab-misc</artifactId> |
| 324 | <version>${project.version}</version> |
| 325 | </dependency> |
| 326 | <dependency> |
| 327 | <groupId>org.onosproject</groupId> |
| 328 | <artifactId>onlab-nio</artifactId> |
| 329 | <version>${project.version}</version> |
| 330 | </dependency> |
| 331 | <dependency> |
| 332 | <groupId>org.onosproject</groupId> |
| 333 | <artifactId>onlab-osgi</artifactId> |
| 334 | <version>${project.version}</version> |
| 335 | </dependency> |
| 336 | <dependency> |
| 337 | <groupId>org.onosproject</groupId> |
| 338 | <artifactId>onlab-osgi</artifactId> |
| 339 | <version>${project.version}</version> |
| 340 | <classifier>tests</classifier> |
| 341 | <scope>test</scope> |
| 342 | </dependency> |
| 343 | <dependency> |
| 344 | <groupId>org.onosproject</groupId> |
| 345 | <artifactId>onlab-junit</artifactId> |
| 346 | <version>${project.version}</version> |
| 347 | <scope>test</scope> |
| 348 | </dependency> |
| 349 | |
| 350 | <dependency> |
| 351 | <groupId>org.onosproject</groupId> |
| 352 | <artifactId>onos-api</artifactId> |
| 353 | <version>${project.version}</version> |
| 354 | </dependency> |
| 355 | <dependency> |
| 356 | <groupId>org.onosproject</groupId> |
| 357 | <artifactId>onos-api</artifactId> |
| 358 | <version>${project.version}</version> |
| 359 | <classifier>tests</classifier> |
| 360 | <scope>test</scope> |
| 361 | </dependency> |
| 362 | |
| 363 | <dependency> |
| 364 | <groupId>org.onosproject</groupId> |
| 365 | <artifactId>onos-incubator-api</artifactId> |
| 366 | <version>${project.version}</version> |
| 367 | </dependency> |
| 368 | |
| 369 | <dependency> |
| 370 | <groupId>org.onosproject</groupId> |
| 371 | <artifactId>onos-core-common</artifactId> |
| 372 | <version>${project.version}</version> |
| 373 | </dependency> |
| 374 | <dependency> |
| 375 | <groupId>org.onosproject</groupId> |
| 376 | <artifactId>onos-core-common</artifactId> |
| 377 | <version>${project.version}</version> |
| 378 | <classifier>tests</classifier> |
| 379 | <scope>test</scope> |
| 380 | </dependency> |
| 381 | |
| 382 | <dependency> |
| 383 | <groupId>org.onosproject</groupId> |
| 384 | <artifactId>onos-of-api</artifactId> |
| 385 | <version>${project.version}</version> |
| 386 | </dependency> |
| 387 | <dependency> |
| 388 | <groupId>org.onosproject</groupId> |
| 389 | <artifactId>onos-ovsdb-rfc</artifactId> |
| 390 | <version>${project.version}</version> |
| 391 | </dependency> |
| 392 | <dependency> |
| 393 | <groupId>org.onosproject</groupId> |
| 394 | <artifactId>onos-ovsdb-api</artifactId> |
| 395 | <version>${project.version}</version> |
| 396 | </dependency> |
| 397 | <dependency> |
| 398 | <groupId>org.onosproject</groupId> |
Phanendra Manda | 5e89587 | 2015-08-26 20:11:58 +0530 | [diff] [blame] | 399 | <artifactId>onos-app-pcep-api</artifactId> |
| 400 | <version>${project.version}</version> |
| 401 | </dependency> |
| 402 | <dependency> |
| 403 | <groupId>org.onosproject</groupId> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 404 | <artifactId>onos-pcepio</artifactId> |
| 405 | <version>${project.version}</version> |
| 406 | </dependency> |
| 407 | |
| 408 | <dependency> |
| 409 | <groupId>org.onosproject</groupId> |
| 410 | <artifactId>onos-pcep-controller-api</artifactId> |
| 411 | <version>${project.version}</version> |
| 412 | </dependency> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 413 | <dependency> |
| 414 | <groupId>org.onosproject</groupId> |
| 415 | <artifactId>onlab-thirdparty</artifactId> |
| 416 | <version>${project.version}</version> |
| 417 | </dependency> |
| 418 | |
| 419 | <dependency> |
| 420 | <groupId>org.onosproject</groupId> |
| 421 | <artifactId>onos-of-api</artifactId> |
| 422 | <version>${project.version}</version> |
| 423 | <classifier>tests</classifier> |
| 424 | <scope>test</scope> |
| 425 | </dependency> |
| 426 | <dependency> |
Phanendra Manda | 5e89587 | 2015-08-26 20:11:58 +0530 | [diff] [blame] | 427 | <groupId>org.onosproject</groupId> |
| 428 | <artifactId>onos-pcep-controller-api</artifactId> |
| 429 | <version>${project.version}</version> |
| 430 | <classifier>tests</classifier> |
| 431 | <scope>test</scope> |
| 432 | </dependency> |
| 433 | <dependency> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 434 | <groupId>commons-pool</groupId> |
| 435 | <artifactId>commons-pool</artifactId> |
| 436 | <version>1.6</version> |
| 437 | </dependency> |
| 438 | <dependency> |
| 439 | <groupId>io.netty</groupId> |
| 440 | <artifactId>netty-common</artifactId> |
| 441 | <version>${netty4.version}</version> |
| 442 | </dependency> |
| 443 | <dependency> |
| 444 | <groupId>io.netty</groupId> |
| 445 | <artifactId>netty-buffer</artifactId> |
| 446 | <version>${netty4.version}</version> |
| 447 | </dependency> |
| 448 | <dependency> |
| 449 | <groupId>io.netty</groupId> |
| 450 | <artifactId>netty-transport</artifactId> |
| 451 | <version>${netty4.version}</version> |
| 452 | </dependency> |
| 453 | <dependency> |
| 454 | <groupId>io.netty</groupId> |
| 455 | <artifactId>netty-handler</artifactId> |
| 456 | <version>${netty4.version}</version> |
| 457 | </dependency> |
| 458 | <dependency> |
| 459 | <groupId>io.netty</groupId> |
| 460 | <artifactId>netty-codec</artifactId> |
| 461 | <version>${netty4.version}</version> |
| 462 | </dependency> |
| 463 | <dependency> |
| 464 | <groupId>io.netty</groupId> |
| 465 | <artifactId>netty-transport-native-epoll</artifactId> |
| 466 | <version>${netty4.version}</version> |
| 467 | <classifier>${os.detected.classifier}</classifier> |
| 468 | </dependency> |
| 469 | <dependency> |
| 470 | <groupId>joda-time</groupId> |
| 471 | <artifactId>joda-time</artifactId> |
| 472 | <version>2.5</version> |
| 473 | </dependency> |
| 474 | </dependencies> |
| 475 | </dependencyManagement> |
| 476 | |
| 477 | <dependencies> |
| 478 | <dependency> |
| 479 | <groupId>junit</groupId> |
| 480 | <artifactId>junit</artifactId> |
| 481 | </dependency> |
| 482 | <dependency> |
| 483 | <groupId>org.hamcrest</groupId> |
| 484 | <artifactId>hamcrest-core</artifactId> |
| 485 | </dependency> |
| 486 | <dependency> |
| 487 | <groupId>org.hamcrest</groupId> |
| 488 | <artifactId>hamcrest-library</artifactId> |
| 489 | </dependency> |
| 490 | <dependency> |
| 491 | <groupId>org.slf4j</groupId> |
| 492 | <artifactId>slf4j-api</artifactId> |
| 493 | </dependency> |
| 494 | <dependency> |
| 495 | <groupId>org.slf4j</groupId> |
| 496 | <artifactId>slf4j-jdk14</artifactId> |
| 497 | </dependency> |
| 498 | </dependencies> |
| 499 | |
| 500 | <build> |
| 501 | <pluginManagement> |
| 502 | <plugins> |
| 503 | <plugin> |
| 504 | <groupId>org.apache.maven.plugins</groupId> |
| 505 | <artifactId>maven-compiler-plugin</artifactId> |
| 506 | <!-- TODO: update once following issue is fixed. --> |
| 507 | <!-- https://jira.codehaus.org/browse/MCOMPILER-205 --> |
| 508 | <version>2.5.1</version> |
| 509 | <configuration> |
| 510 | <source>1.8</source> |
| 511 | <target>1.8</target> |
| 512 | </configuration> |
| 513 | </plugin> |
| 514 | |
| 515 | <plugin> |
| 516 | <groupId>org.apache.maven.plugins</groupId> |
| 517 | <artifactId>maven-surefire-plugin</artifactId> |
| 518 | <version>2.18.1</version> |
| 519 | <configuration> |
| 520 | <redirectTestOutputToFile>true |
| 521 | </redirectTestOutputToFile> |
| 522 | <printSummary>true</printSummary> |
| 523 | <excludedGroups>org.onlab.junit.IntegrationTest |
| 524 | </excludedGroups> |
| 525 | <rerunFailingTestsCount>1</rerunFailingTestsCount> |
| 526 | </configuration> |
| 527 | </plugin> |
| 528 | |
| 529 | <plugin> |
| 530 | <groupId>org.apache.maven.plugins</groupId> |
| 531 | <artifactId>maven-jar-plugin</artifactId> |
| 532 | <version>2.3.1</version> |
| 533 | <executions> |
| 534 | <execution> |
| 535 | <phase>package</phase> |
| 536 | <goals> |
| 537 | <goal>test-jar</goal> |
| 538 | </goals> |
| 539 | </execution> |
| 540 | </executions> |
| 541 | </plugin> |
| 542 | |
| 543 | <plugin> |
| 544 | <groupId>org.apache.maven.plugins</groupId> |
| 545 | <artifactId>maven-resources-plugin</artifactId> |
| 546 | <version>2.6</version> |
| 547 | </plugin> |
| 548 | |
| 549 | <plugin> |
| 550 | <groupId>org.apache.felix</groupId> |
| 551 | <artifactId>maven-bundle-plugin</artifactId> |
| 552 | <version>2.5.3</version> |
| 553 | <extensions>true</extensions> |
| 554 | <!-- |
| 555 | Drop following dependency when the below bug fix is published |
| 556 | https://issues.apache.org/jira/browse/FELIX-4556 |
| 557 | --> |
| 558 | <dependencies> |
| 559 | <dependency> |
| 560 | <groupId>biz.aQute.bnd</groupId> |
| 561 | <artifactId>bndlib</artifactId> |
| 562 | <version>2.4.0</version> |
| 563 | </dependency> |
| 564 | </dependencies> |
| 565 | </plugin> |
| 566 | |
| 567 | <plugin> |
| 568 | <groupId>org.apache.maven.plugins</groupId> |
| 569 | <artifactId>maven-shade-plugin</artifactId> |
| 570 | <version>2.3</version> |
| 571 | </plugin> |
| 572 | |
| 573 | <plugin> |
| 574 | <groupId>org.apache.felix</groupId> |
| 575 | <artifactId>maven-scr-plugin</artifactId> |
| 576 | <version>1.20.0</version> |
| 577 | <executions> |
| 578 | <execution> |
| 579 | <id>generate-scr-srcdescriptor</id> |
| 580 | <goals> |
| 581 | <goal>scr</goal> |
| 582 | </goals> |
| 583 | </execution> |
| 584 | </executions> |
| 585 | <configuration> |
| 586 | <supportedProjectTypes> |
| 587 | <supportedProjectType>bundle</supportedProjectType> |
| 588 | <supportedProjectType>war</supportedProjectType> |
| 589 | </supportedProjectTypes> |
| 590 | </configuration> |
| 591 | </plugin> |
| 592 | <plugin> |
| 593 | <groupId>org.codehaus.mojo</groupId> |
| 594 | <artifactId>findbugs-maven-plugin</artifactId> |
HIGUCHI Yuta | 8aa8611 | 2015-09-22 15:05:35 -0700 | [diff] [blame] | 595 | <version>3.0.1</version> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 596 | <dependencies> |
| 597 | <dependency> |
| 598 | <groupId>org.onosproject</groupId> |
| 599 | <artifactId>onos-build-conf</artifactId> |
HIGUCHI Yuta | 94a9eed | 2015-09-25 15:20:04 -0700 | [diff] [blame] | 600 | <version>${onos-build-conf.version}</version> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 601 | </dependency> |
| 602 | </dependencies> |
| 603 | <configuration> |
| 604 | <effort>Max</effort> |
| 605 | <excludeFilterFile>onos/findbugs-suppressions.xml |
| 606 | </excludeFilterFile> |
| 607 | </configuration> |
| 608 | </plugin> |
| 609 | |
| 610 | <!-- This version needs to be updated manually when changes are made to onos-maven-plugin --> |
| 611 | <plugin> |
| 612 | <groupId>org.onosproject</groupId> |
| 613 | <artifactId>onos-maven-plugin</artifactId> |
| 614 | <version>1.5</version> |
| 615 | <executions> |
| 616 | <execution> |
| 617 | <id>cfg</id> |
| 618 | <phase>generate-resources</phase> |
| 619 | <goals> |
| 620 | <goal>cfg</goal> |
| 621 | </goals> |
| 622 | </execution> |
| 623 | <execution> |
| 624 | <id>swagger</id> |
| 625 | <phase>generate-sources</phase> |
| 626 | <goals> |
| 627 | <goal>swagger</goal> |
| 628 | </goals> |
| 629 | </execution> |
| 630 | <execution> |
| 631 | <id>app</id> |
| 632 | <phase>package</phase> |
| 633 | <goals> |
| 634 | <goal>app</goal> |
| 635 | </goals> |
| 636 | </execution> |
| 637 | </executions> |
| 638 | </plugin> |
| 639 | </plugins> |
| 640 | </pluginManagement> |
| 641 | |
| 642 | <plugins> |
| 643 | <plugin> |
| 644 | <groupId>org.apache.maven.plugins</groupId> |
| 645 | <artifactId>maven-jar-plugin</artifactId> |
| 646 | </plugin> |
| 647 | |
| 648 | <plugin> |
| 649 | <groupId>org.apache.maven.plugins</groupId> |
| 650 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 651 | <version>2.13</version> |
| 652 | <dependencies> |
| 653 | <dependency> |
| 654 | <groupId>org.onosproject</groupId> |
| 655 | <artifactId>onos-build-conf</artifactId> |
HIGUCHI Yuta | 94a9eed | 2015-09-25 15:20:04 -0700 | [diff] [blame] | 656 | <version>${onos-build-conf.version}</version> |
Brian O'Connor | 354cab9 | 2015-08-27 11:55:27 -0700 | [diff] [blame] | 657 | </dependency> |
| 658 | <!-- For Java 8 lambda support--> |
| 659 | <dependency> |
| 660 | <groupId>com.puppycrawl.tools</groupId> |
| 661 | <artifactId>checkstyle</artifactId> |
| 662 | <version>5.9</version> |
| 663 | </dependency> |
| 664 | </dependencies> |
| 665 | <configuration> |
| 666 | <!-- begin: workaround for unexpected NullPointerException on Eclipse --> |
| 667 | <sourceDirectory>${project.build.sourceDirectory} |
| 668 | </sourceDirectory> |
| 669 | <testSourceDirectory>${project.build.testSourceDirectory} |
| 670 | </testSourceDirectory> |
| 671 | <!-- end: workaround for unexpected NullPointerException on Eclipse --> |
| 672 | <configLocation>onos/checkstyle.xml</configLocation> |
| 673 | <suppressionsLocation>onos/suppressions.xml |
| 674 | </suppressionsLocation> |
| 675 | <failsOnError>false</failsOnError> |
| 676 | <logViolationsToConsole>true</logViolationsToConsole> |
| 677 | <includeTestSourceDirectory>true |
| 678 | </includeTestSourceDirectory> |
| 679 | </configuration> |
| 680 | <executions> |
| 681 | <execution> |
| 682 | <id>validate-checkstyle</id> |
| 683 | <phase>verify</phase> |
| 684 | <goals> |
| 685 | <goal>check</goal> |
| 686 | </goals> |
| 687 | </execution> |
| 688 | </executions> |
| 689 | </plugin> |
| 690 | |
| 691 | <plugin> |
| 692 | <groupId>org.apache.maven.plugins</groupId> |
| 693 | <artifactId>maven-pmd-plugin</artifactId> |
| 694 | <version>3.2</version> |
| 695 | <configuration> |
| 696 | <excludes> |
| 697 | </excludes> |
| 698 | <rulesets> |
| 699 | <ruleset>onos/pmd.xml</ruleset> |
| 700 | </rulesets> |
| 701 | </configuration> |
| 702 | <executions> |
| 703 | <execution> |
| 704 | <id>validate-pmd</id> |
| 705 | <phase>verify</phase> |
| 706 | <goals> |
| 707 | <!-- Uncomment this goal to make the build fail on pmd errors --> |
| 708 | <!--<goal>check</goal>--> |
| 709 | </goals> |
| 710 | </execution> |
| 711 | </executions> |
| 712 | </plugin> |
| 713 | |
| 714 | <plugin> |
| 715 | <groupId>org.jacoco</groupId> |
| 716 | <artifactId>jacoco-maven-plugin</artifactId> |
| 717 | <version>0.7.2.201409121644</version> |
| 718 | <executions> |
| 719 | <execution> |
| 720 | <id>default-prepare-agent</id> |
| 721 | <goals> |
| 722 | <goal>prepare-agent</goal> |
| 723 | </goals> |
| 724 | </execution> |
| 725 | <execution> |
| 726 | <id>default-report</id> |
| 727 | <phase>prepare-package</phase> |
| 728 | <goals> |
| 729 | <goal>report</goal> |
| 730 | </goals> |
| 731 | </execution> |
| 732 | </executions> |
| 733 | </plugin> |
| 734 | </plugins> |
| 735 | </build> |
| 736 | |
| 737 | <reporting> |
| 738 | <plugins> |
| 739 | <plugin> |
| 740 | <groupId>org.apache.maven.plugins</groupId> |
| 741 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 742 | <version>2.12.1</version> |
| 743 | <configuration> |
| 744 | <configLocation>onos/checkstyle.xml</configLocation> |
| 745 | </configuration> |
| 746 | </plugin> |
| 747 | |
| 748 | <plugin> |
| 749 | <groupId>org.apache.maven.plugins</groupId> |
| 750 | <artifactId>maven-pmd-plugin</artifactId> |
| 751 | <version>3.2</version> |
| 752 | <configuration> |
| 753 | <excludes> |
| 754 | </excludes> |
| 755 | <rulesets> |
| 756 | <ruleset>onos/pmd.xml</ruleset> |
| 757 | </rulesets> |
| 758 | </configuration> |
| 759 | </plugin> |
| 760 | </plugins> |
| 761 | </reporting> |
| 762 | </project> |