|
40 | 40 | <tag>HEAD</tag> |
41 | 41 | </scm> |
42 | 42 |
|
| 43 | + <distributionManagement> |
| 44 | + <snapshotRepository> |
| 45 | + <id>ossrh</id> |
| 46 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 47 | + </snapshotRepository> |
| 48 | + </distributionManagement> |
| 49 | + |
43 | 50 | <issueManagement> |
44 | 51 | <system>Github</system> |
45 | 52 | <url>https://github.com/CurrencyFair/OneSignal-Java-SDK/issues</url> |
|
78 | 85 | <maven-project-info-reports-plugin.version>2.9</maven-project-info-reports-plugin.version> |
79 | 86 | <maven-site-plugin.version>3.6</maven-site-plugin.version> |
80 | 87 | <maven-jxr-plugin.version>2.5</maven-jxr-plugin.version> |
| 88 | + <nexus-staging-maven-plugin.version>1.6.7</nexus-staging-maven-plugin.version> |
| 89 | + <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
81 | 90 | </properties> |
82 | 91 |
|
83 | 92 | <dependencyManagement> |
|
306 | 315 | </configuration> |
307 | 316 | </plugin> |
308 | 317 |
|
309 | | - <plugin> |
310 | | - <groupId>org.apache.maven.plugins</groupId> |
311 | | - <artifactId>maven-source-plugin</artifactId> |
312 | | - <version>${maven-source-plugin.version}</version> |
313 | | - <executions> |
314 | | - <execution> |
315 | | - <id>attach-sources</id> |
316 | | - <phase>verify</phase> |
317 | | - <goals> |
318 | | - <goal>jar-no-fork</goal> |
319 | | - </goals> |
320 | | - </execution> |
321 | | - </executions> |
322 | | - </plugin> |
323 | | - |
324 | 318 | <plugin> |
325 | 319 | <groupId>org.apache.maven.plugins</groupId> |
326 | 320 | <artifactId>maven-resources-plugin</artifactId> |
|
331 | 325 | </configuration> |
332 | 326 | </plugin> |
333 | 327 |
|
334 | | - <plugin> |
335 | | - <groupId>org.apache.maven.plugins</groupId> |
336 | | - <artifactId>maven-javadoc-plugin</artifactId> |
337 | | - <version>${maven-javadoc-plugin.version}</version> |
338 | | - <configuration> |
339 | | - <show>private</show> |
340 | | - </configuration> |
341 | | - <executions> |
342 | | - <execution> |
343 | | - <id>attach-javadoc</id> |
344 | | - <goals> |
345 | | - <goal>jar</goal> |
346 | | - </goals> |
347 | | - <phase>package</phase> |
348 | | - </execution> |
349 | | - </executions> |
350 | | - </plugin> |
351 | | - |
352 | 328 | <plugin> |
353 | 329 | <groupId>org.codehaus.mojo</groupId> |
354 | 330 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
|
427 | 403 | <artifactId>maven-assembly-plugin</artifactId> |
428 | 404 | <version>${maven-assembly-plugin.version}</version> |
429 | 405 | </plugin> |
| 406 | + |
| 407 | + <plugin> |
| 408 | + <groupId>org.sonatype.plugins</groupId> |
| 409 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 410 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 411 | + <extensions>true</extensions> |
| 412 | + <configuration> |
| 413 | + <serverId>ossrh</serverId> |
| 414 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 415 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 416 | + </configuration> |
| 417 | + </plugin> |
430 | 418 | </plugins> |
431 | 419 | </build> |
432 | 420 |
|
|
446 | 434 | </plugins> |
447 | 435 | </reporting> |
448 | 436 |
|
| 437 | + <profiles> |
| 438 | + <profile> |
| 439 | + <id>sign</id> |
| 440 | + <build> |
| 441 | + <plugins> |
| 442 | + <plugin> |
| 443 | + <groupId>org.apache.maven.plugins</groupId> |
| 444 | + <artifactId>maven-gpg-plugin</artifactId> |
| 445 | + <version>${maven-gpg-plugin.version}</version> |
| 446 | + <executions> |
| 447 | + <execution> |
| 448 | + <id>sign-artifacts</id> |
| 449 | + <phase>verify</phase> |
| 450 | + <goals> |
| 451 | + <goal>sign</goal> |
| 452 | + </goals> |
| 453 | + </execution> |
| 454 | + </executions> |
| 455 | + </plugin> |
| 456 | + </plugins> |
| 457 | + </build> |
| 458 | + </profile> |
| 459 | + |
| 460 | + <profile> |
| 461 | + <id>build-extras</id> |
| 462 | + <activation> |
| 463 | + <activeByDefault>true</activeByDefault> |
| 464 | + </activation> |
| 465 | + <build> |
| 466 | + <plugins> |
| 467 | + <plugin> |
| 468 | + <groupId>org.apache.maven.plugins</groupId> |
| 469 | + <artifactId>maven-source-plugin</artifactId> |
| 470 | + <version>${maven-source-plugin.version}</version> |
| 471 | + <executions> |
| 472 | + <execution> |
| 473 | + <id>attach-sources</id> |
| 474 | + <goals> |
| 475 | + <goal>jar-no-fork</goal> |
| 476 | + </goals> |
| 477 | + </execution> |
| 478 | + </executions> |
| 479 | + </plugin> |
| 480 | + <plugin> |
| 481 | + <groupId>org.apache.maven.plugins</groupId> |
| 482 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 483 | + <version>${maven-javadoc-plugin.version}</version> |
| 484 | + <executions> |
| 485 | + <execution> |
| 486 | + <id>attach-javadocs</id> |
| 487 | + <goals> |
| 488 | + <goal>jar</goal> |
| 489 | + </goals> |
| 490 | + </execution> |
| 491 | + </executions> |
| 492 | + </plugin> |
| 493 | + </plugins> |
| 494 | + </build> |
| 495 | + </profile> |
| 496 | + </profiles> |
| 497 | + |
449 | 498 | </project> |
0 commit comments