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