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