|
12 | 12 | <url>https://github.com/vikadata/vika.java</url> |
13 | 13 |
|
14 | 14 | <properties> |
15 | | - <revision>1.0.1</revision> |
| 15 | + <revision>1.0.2-SNAPSHOT</revision> |
16 | 16 | <java.version>1.8</java.version> |
17 | 17 | <maven.compiler.source>${java.version}</maven.compiler.source> |
18 | 18 | <maven.compiler.target>${java.version}</maven.compiler.target> |
|
463 | 463 | <id>local-release</id> |
464 | 464 | <properties> |
465 | 465 | <maven.test.skip>true</maven.test.skip> |
| 466 | + <!--using local variable--> |
| 467 | + <gpg.executable>gpg</gpg.executable> |
| 468 | + <!--suppress UnresolvedMavenProperty --> |
| 469 | + <gpg.keyname>${GPG_KEY_NAME}</gpg.keyname> |
| 470 | + <!--suppress UnresolvedMavenProperty --> |
| 471 | + <gpg.passphrase>${GPG_PASSPHRASE}</gpg.passphrase> |
466 | 472 | </properties> |
467 | 473 | <build> |
468 | 474 | <plugins> |
469 | 475 | <plugin> |
470 | | - <groupId>org.jacoco</groupId> |
471 | | - <artifactId>jacoco-maven-plugin</artifactId> |
| 476 | + <groupId>org.apache.maven.plugins</groupId> |
| 477 | + <artifactId>maven-source-plugin</artifactId> |
472 | 478 | <executions> |
473 | | - <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as |
474 | | - VM argument when Maven the Surefire plugin is executed. --> |
475 | 479 | <execution> |
476 | | - <id>pre-unit-test</id> |
| 480 | + <id>attach-sources</id> |
477 | 481 | <goals> |
478 | | - <goal>prepare-agent</goal> |
| 482 | + <goal>jar-no-fork</goal> |
479 | 483 | </goals> |
480 | 484 | </execution> |
481 | | - <!-- Ensures that the code coverage report for unit tests is created after unit tests have |
482 | | - been run. --> |
| 485 | + </executions> |
| 486 | + </plugin> |
| 487 | + <plugin> |
| 488 | + <groupId>org.apache.maven.plugins</groupId> |
| 489 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 490 | + <executions> |
483 | 491 | <execution> |
484 | | - <id>post-unit-test</id> |
485 | | - <phase>test</phase> |
| 492 | + <id>attach-javadocs</id> |
486 | 493 | <goals> |
487 | | - <goal>report</goal> |
| 494 | + <goal>jar</goal> |
488 | 495 | </goals> |
489 | 496 | </execution> |
490 | 497 | </executions> |
491 | 498 | </plugin> |
492 | | - <plugin> |
493 | | - <groupId>org.eluder.coveralls</groupId> |
494 | | - <artifactId>coveralls-maven-plugin</artifactId> |
495 | | - </plugin> |
496 | 499 | <plugin> |
497 | 500 | <groupId>org.apache.maven.plugins</groupId> |
498 | 501 | <artifactId>maven-deploy-plugin</artifactId> |
|
503 | 506 | <plugin> |
504 | 507 | <groupId>org.apache.maven.plugins</groupId> |
505 | 508 | <artifactId>maven-gpg-plugin</artifactId> |
506 | | - <version>1.6</version> |
| 509 | + <version>${maven-gpg-plugin.version}</version> |
507 | 510 | <executions> |
508 | 511 | <execution> |
509 | 512 | <id>sign-artifacts</id> |
|
517 | 520 | <plugin> |
518 | 521 | <groupId>org.sonatype.plugins</groupId> |
519 | 522 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 523 | + <extensions>true</extensions> |
520 | 524 | <executions> |
521 | 525 | <execution> |
522 | 526 | <id>deploy-to-sonatype</id> |
|
529 | 533 | <configuration> |
530 | 534 | <serverId>sonatype-release</serverId> |
531 | 535 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 536 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
532 | 537 | </configuration> |
533 | 538 | </plugin> |
534 | 539 | </plugins> |
|
541 | 546 | </properties> |
542 | 547 | <build> |
543 | 548 | <plugins> |
544 | | - <plugin> |
545 | | - <groupId>org.jacoco</groupId> |
546 | | - <artifactId>jacoco-maven-plugin</artifactId> |
547 | | - <executions> |
548 | | - <!-- Prepares the property pointing to the JaCoCo runtime agent which is passed as |
549 | | - VM argument when Maven the Surefire plugin is executed. --> |
550 | | - <execution> |
551 | | - <id>pre-unit-test</id> |
552 | | - <goals> |
553 | | - <goal>prepare-agent</goal> |
554 | | - </goals> |
555 | | - </execution> |
556 | | - <!-- Ensures that the code coverage report for unit tests is created after unit tests have |
557 | | - been run. --> |
558 | | - <execution> |
559 | | - <id>post-unit-test</id> |
560 | | - <phase>test</phase> |
561 | | - <goals> |
562 | | - <goal>report</goal> |
563 | | - </goals> |
564 | | - </execution> |
565 | | - </executions> |
566 | | - </plugin> |
567 | | - <plugin> |
568 | | - <groupId>org.eluder.coveralls</groupId> |
569 | | - <artifactId>coveralls-maven-plugin</artifactId> |
570 | | - </plugin> |
571 | 549 | <plugin> |
572 | 550 | <groupId>org.apache.maven.plugins</groupId> |
573 | 551 | <artifactId>maven-deploy-plugin</artifactId> |
|
578 | 556 | <plugin> |
579 | 557 | <groupId>org.sonatype.plugins</groupId> |
580 | 558 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 559 | + <extensions>true</extensions> |
581 | 560 | <executions> |
582 | 561 | <execution> |
583 | 562 | <id>deploy-to-sonatype</id> |
|
590 | 569 | <configuration> |
591 | 570 | <serverId>sonatype-release</serverId> |
592 | 571 | <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 572 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
593 | 573 | </configuration> |
594 | 574 | </plugin> |
595 | 575 | </plugins> |
|
0 commit comments