|
66 | 66 | <junit.jupiter.version>5.10.1</junit.jupiter.version>
|
67 | 67 | <mockk.version>1.12.4</mockk.version>
|
68 | 68 | <!-- Build -->
|
| 69 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
69 | 70 | <dokka.version>1.9.20</dokka.version>
|
70 | 71 | <jacoco-maven.version>0.8.11</jacoco-maven.version>
|
71 | 72 | <maven-assembly.version>3.7.1</maven-assembly.version>
|
72 | 73 | <maven-clean.version>3.4.1</maven-clean.version>
|
73 | 74 | <maven-compiler.version>3.14.0</maven-compiler.version>
|
74 |
| - <maven-deploy.version>3.1.4</maven-deploy.version> |
75 | 75 | <maven-enforcer.version>3.5.0</maven-enforcer.version>
|
76 | 76 | <maven-gpg.version>3.2.7</maven-gpg.version>
|
77 | 77 | <maven-install.version>3.1.4</maven-install.version>
|
|
420 | 420 | </archive>
|
421 | 421 | </configuration>
|
422 | 422 | </plugin>
|
423 |
| - <plugin> |
424 |
| - <artifactId>maven-source-plugin</artifactId> |
425 |
| - <version>${maven-source.version}</version> |
426 |
| - <executions> |
427 |
| - <execution> |
428 |
| - <id>attach-sources</id> |
429 |
| - <phase>package</phase> |
430 |
| - <goals> |
431 |
| - <goal>jar-no-fork</goal> |
432 |
| - </goals> |
433 |
| - </execution> |
434 |
| - </executions> |
435 |
| - </plugin> |
436 | 423 | <!-- deploy -->
|
437 | 424 | <plugin>
|
438 |
| - <artifactId>maven-deploy-plugin</artifactId> |
439 |
| - <version>${maven-deploy.version}</version> |
| 425 | + <groupId>org.sonatype.central</groupId> |
| 426 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 427 | + <version>${central-publishing-maven-plugin.version}</version> |
| 428 | + <extensions>true</extensions> |
| 429 | + <configuration> |
| 430 | + <publishingServerId>central</publishingServerId> |
| 431 | + </configuration> |
440 | 432 | </plugin>
|
441 | 433 | <plugin>
|
442 | 434 | <!-- just to make sure deployed artifacts are always built (and tested) using JDK 8+ -->
|
|
466 | 458 | <artifactId>maven-release-plugin</artifactId>
|
467 | 459 | <version>${maven-release.version}</version>
|
468 | 460 | <configuration>
|
| 461 | + <!-- prepare goal configuration --> |
469 | 462 | <mavenExecutorId>forked-path</mavenExecutorId>
|
470 |
| - <localCheckout>true</localCheckout> |
471 | 463 | <pushChanges>false</pushChanges>
|
472 |
| - <releaseProfiles>release-sign-artifacts,docs-and-sources</releaseProfiles> |
| 464 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 465 | + <!-- perform goal configuration --> |
| 466 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 467 | + <localCheckout>true</localCheckout> |
| 468 | + <releaseProfiles>sources,sign,docs-and-sources</releaseProfiles> |
473 | 469 | <tagNameFormat>axon-kotlin-@{project.version}</tagNameFormat>
|
474 | 470 | </configuration>
|
475 | 471 | </plugin>
|
|
518 | 514 | </build>
|
519 | 515 | </profile>
|
520 | 516 |
|
| 517 | + <profile> |
| 518 | + <id>sources</id> |
| 519 | + <build> |
| 520 | + <plugins> |
| 521 | + <plugin> |
| 522 | + <artifactId>maven-source-plugin</artifactId> |
| 523 | + <version>${maven-source.version}</version> |
| 524 | + <executions> |
| 525 | + <execution> |
| 526 | + <id>attach-sources</id> |
| 527 | + <phase>package</phase> |
| 528 | + <goals> |
| 529 | + <goal>jar-no-fork</goal> |
| 530 | + </goals> |
| 531 | + </execution> |
| 532 | + </executions> |
| 533 | + </plugin> |
| 534 | + </plugins> |
| 535 | + </build> |
| 536 | + </profile> |
| 537 | + |
521 | 538 | <profile>
|
522 | 539 | <id>docs-and-sources</id>
|
523 | 540 | <build>
|
|
534 | 551 | </profile>
|
535 | 552 |
|
536 | 553 | <profile>
|
537 |
| - <id>release-sign-artifacts</id> |
| 554 | + <id>sign</id> |
538 | 555 | <activation>
|
539 | 556 | <property>
|
540 | 557 | <name>performRelease</name>
|
|
562 | 579 | </profile>
|
563 | 580 | </profiles>
|
564 | 581 |
|
565 |
| - <repositories> |
566 |
| - <repository> |
567 |
| - <id>sonatype</id> |
568 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
569 |
| - <snapshots> |
570 |
| - <enabled>true</enabled> |
571 |
| - <updatePolicy>always</updatePolicy> |
572 |
| - <checksumPolicy>fail</checksumPolicy> |
573 |
| - </snapshots> |
574 |
| - </repository> |
575 |
| - </repositories> |
576 |
| - |
577 | 582 | <pluginRepositories>
|
578 | 583 | <pluginRepository>
|
579 | 584 | <id>jcenter</id>
|
|
582 | 587 | </pluginRepository>
|
583 | 588 | </pluginRepositories>
|
584 | 589 |
|
585 |
| - <!-- deploy and release configuration --> |
586 |
| - <distributionManagement> |
587 |
| - <snapshotRepository> |
588 |
| - <id>sonatype</id> |
589 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
590 |
| - <uniqueVersion>true</uniqueVersion> |
591 |
| - </snapshotRepository> |
592 |
| - <repository> |
593 |
| - <id>sonatype</id> |
594 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
595 |
| - <uniqueVersion>false</uniqueVersion> |
596 |
| - </repository> |
597 |
| - </distributionManagement> |
598 | 590 |
|
599 | 591 | <scm>
|
600 | 592 | <connection>scm:git:git://github.com/AxonFramework/extension-kotlin.git</connection>
|
|
623 | 615 | <role>Lead Developer</role>
|
624 | 616 | </roles>
|
625 | 617 | </developer>
|
626 |
| - <developer> |
627 |
| - <name>Gerard Klijs</name> |
628 |
| - <email>gerard.klijs@axoniq.io</email> |
629 |
| - <organization>AxonIQ</organization> |
630 |
| - <organizationUrl>https://axoniq.io</organizationUrl> |
631 |
| - <roles> |
632 |
| - <role>Developer</role> |
633 |
| - </roles> |
634 |
| - </developer> |
635 | 618 | <developer>
|
636 | 619 | <name>Mitchell Herrijgers</name>
|
637 | 620 | <email>mitchell.herrijgers@axoniq.io</email>
|
|
642 | 625 | </roles>
|
643 | 626 | </developer>
|
644 | 627 | <developer>
|
645 |
| - <name>Stefan Andjelkovic</name> |
646 |
| - <email>stefan.andjelkovic@axoniq.io</email> |
647 |
| - <organization>AxonIQ</organization> |
648 |
| - <organizationUrl>https://axoniq.io</organizationUrl> |
649 |
| - <roles> |
650 |
| - <role>Developer</role> |
651 |
| - </roles> |
| 628 | + <name>Mateusz Nowak</name> |
| 629 | + <email>mateusz.nowak@axoniq.io</email> |
| 630 | + <organization>AxonIQ</organization> |
| 631 | + <organizationUrl>https://axoniq.io</organizationUrl> |
| 632 | + <roles> |
| 633 | + <role>Developer</role> |
| 634 | + </roles> |
652 | 635 | </developer>
|
653 | 636 | <developer>
|
654 | 637 | <name>Simon Zambrovski</name>
|
|
0 commit comments