|
69 | 69 | <mockito.version>4.11.0</mockito.version>
|
70 | 70 | <awaitility.version>4.2.0</awaitility.version>
|
71 | 71 | <!-- Plugins -->
|
| 72 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
72 | 73 | <jacoco-maven.version>0.8.11</jacoco-maven.version>
|
73 | 74 | <maven-assembly.version>3.7.1</maven-assembly.version>
|
74 | 75 | <maven-clean-plugin.version>3.4.1</maven-clean-plugin.version>
|
75 | 76 | <maven-compiler.version>3.14.0</maven-compiler.version>
|
76 |
| - <maven-deploy.version>3.1.2</maven-deploy.version> |
77 | 77 | <maven-enforcer.version>3.5.0</maven-enforcer.version>
|
78 | 78 | <maven-failsafe.version>3.5.3</maven-failsafe.version>
|
79 | 79 | <maven-gpg.version>3.2.7</maven-gpg.version>
|
|
326 | 326 | </archive>
|
327 | 327 | </configuration>
|
328 | 328 | </plugin>
|
| 329 | + <!-- deploy --> |
329 | 330 | <plugin>
|
330 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
331 |
| - <version>${maven-javadoc.version}</version> |
332 |
| - <executions> |
333 |
| - <execution> |
334 |
| - <id>attach-javadoc</id> |
335 |
| - <phase>package</phase> |
336 |
| - <goals> |
337 |
| - <goal>jar</goal> |
338 |
| - </goals> |
339 |
| - </execution> |
340 |
| - </executions> |
| 331 | + <groupId>org.sonatype.central</groupId> |
| 332 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 333 | + <version>${central-publishing-maven-plugin.version}</version> |
| 334 | + <extensions>true</extensions> |
341 | 335 | <configuration>
|
342 |
| - <doclint>none</doclint> |
343 |
| - <detectJavaApiLink>false</detectJavaApiLink> |
| 336 | + <excludeArtifacts> |
| 337 | + kafka-axon-example |
| 338 | + </excludeArtifacts> |
| 339 | + <publishingServerId>central</publishingServerId> |
344 | 340 | </configuration>
|
345 | 341 | </plugin>
|
346 |
| - <plugin> |
347 |
| - <artifactId>maven-source-plugin</artifactId> |
348 |
| - <version>${maven-source.version}</version> |
349 |
| - <executions> |
350 |
| - <execution> |
351 |
| - <id>attach-sources</id> |
352 |
| - <phase>package</phase> |
353 |
| - <goals> |
354 |
| - <goal>jar-no-fork</goal> |
355 |
| - </goals> |
356 |
| - </execution> |
357 |
| - </executions> |
358 |
| - </plugin> |
359 |
| - <!-- deploy --> |
360 |
| - <plugin> |
361 |
| - <artifactId>maven-deploy-plugin</artifactId> |
362 |
| - <version>${maven-deploy.version}</version> |
363 |
| - </plugin> |
364 | 342 | <plugin>
|
365 | 343 | <!-- just to make sure deployed artifacts are always built (and tested) using JDK 8+ -->
|
366 | 344 | <artifactId>maven-enforcer-plugin</artifactId>
|
|
389 | 367 | <artifactId>maven-release-plugin</artifactId>
|
390 | 368 | <version>${maven-release.version}</version>
|
391 | 369 | <configuration>
|
| 370 | + <!-- prepare goal configuration --> |
392 | 371 | <mavenExecutorId>forked-path</mavenExecutorId>
|
393 |
| - <localCheckout>true</localCheckout> |
394 | 372 | <pushChanges>false</pushChanges>
|
395 |
| - <releaseProfiles>release-sign-artifacts</releaseProfiles> |
| 373 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 374 | + <!-- perform goal configuration --> |
| 375 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 376 | + <localCheckout>true</localCheckout> |
| 377 | + <releaseProfiles>javadoc,sources,sign</releaseProfiles> |
396 | 378 | <tagNameFormat>axon-kafka-@{project.version}</tagNameFormat>
|
397 | 379 | </configuration>
|
398 | 380 | </plugin>
|
|
526 | 508 | </profile>
|
527 | 509 |
|
528 | 510 | <profile>
|
529 |
| - <id>release-sign-artifacts</id> |
| 511 | + <id>sources</id> |
| 512 | + <build> |
| 513 | + <plugins> |
| 514 | + <plugin> |
| 515 | + <artifactId>maven-source-plugin</artifactId> |
| 516 | + <version>${maven-source.version}</version> |
| 517 | + <executions> |
| 518 | + <execution> |
| 519 | + <id>attach-sources</id> |
| 520 | + <phase>package</phase> |
| 521 | + <goals> |
| 522 | + <goal>jar-no-fork</goal> |
| 523 | + </goals> |
| 524 | + </execution> |
| 525 | + </executions> |
| 526 | + </plugin> |
| 527 | + </plugins> |
| 528 | + </build> |
| 529 | + </profile> |
| 530 | + |
| 531 | + <profile> |
| 532 | + <id>javadoc</id> |
| 533 | + <build> |
| 534 | + <plugins> |
| 535 | + <plugin> |
| 536 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 537 | + <version>${maven-javadoc.version}</version> |
| 538 | + <executions> |
| 539 | + <execution> |
| 540 | + <id>attach-javadoc</id> |
| 541 | + <phase>package</phase> |
| 542 | + <goals> |
| 543 | + <goal>jar</goal> |
| 544 | + </goals> |
| 545 | + </execution> |
| 546 | + </executions> |
| 547 | + <configuration> |
| 548 | + <doclint>none</doclint> |
| 549 | + <detectJavaApiLink>false</detectJavaApiLink> |
| 550 | + <!-- These parameters are in preparation for resolution of this issue: --> |
| 551 | + <!-- https://bugs.openjdk.java.net/browse/JDK-8068562 --> |
| 552 | + <tags> |
| 553 | + <tag> |
| 554 | + <name>apiNote</name> |
| 555 | + <placement>a</placement> |
| 556 | + <head>API Note:</head> |
| 557 | + </tag> |
| 558 | + <tag> |
| 559 | + <name>implSpec</name> |
| 560 | + <placement>a</placement> |
| 561 | + <head>Implementation Requirements:</head> |
| 562 | + </tag> |
| 563 | + <tag> |
| 564 | + <name>implNote</name> |
| 565 | + <placement>a</placement> |
| 566 | + <head>Implementation Note:</head> |
| 567 | + </tag> |
| 568 | + </tags> |
| 569 | + </configuration> |
| 570 | + </plugin> |
| 571 | + </plugins> |
| 572 | + </build> |
| 573 | + </profile> |
| 574 | + |
| 575 | + <profile> |
| 576 | + <id>sign</id> |
530 | 577 | <build>
|
531 | 578 | <plugins>
|
532 | 579 | <plugin>
|
|
548 | 595 | </profile>
|
549 | 596 | </profiles>
|
550 | 597 |
|
551 |
| - <repositories> |
552 |
| - <repository> |
553 |
| - <id>sonatype</id> |
554 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
555 |
| - <snapshots> |
556 |
| - <enabled>true</enabled> |
557 |
| - <updatePolicy>always</updatePolicy> |
558 |
| - <checksumPolicy>fail</checksumPolicy> |
559 |
| - </snapshots> |
560 |
| - </repository> |
561 |
| - </repositories> |
562 |
| - |
563 |
| - <!-- deploy and release configuration --> |
564 |
| - <distributionManagement> |
565 |
| - <snapshotRepository> |
566 |
| - <id>sonatype</id> |
567 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
568 |
| - <uniqueVersion>true</uniqueVersion> |
569 |
| - </snapshotRepository> |
570 |
| - <repository> |
571 |
| - <id>sonatype</id> |
572 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
573 |
| - <uniqueVersion>false</uniqueVersion> |
574 |
| - </repository> |
575 |
| - </distributionManagement> |
576 |
| - |
577 | 598 | <scm>
|
578 | 599 | <connection>scm:git:git://github.com/AxonFramework/extension-kafka.git</connection>
|
579 | 600 | <developerConnection>scm:git:git@github.com:AxonFramework/extension-kafka.git</developerConnection>
|
|
601 | 622 | </roles>
|
602 | 623 | </developer>
|
603 | 624 | <developer>
|
604 |
| - <name>Gerard Klijs</name> |
605 |
| - <email>gerard.klijs@axoniq.io</email> |
| 625 | + <name>Mitchell Herrijgers</name> |
| 626 | + <email>mitchell.herrijgers@axoniq.io</email> |
606 | 627 | <organization>AxonIQ</organization>
|
607 | 628 | <organizationUrl>https://axoniq.io</organizationUrl>
|
608 | 629 | <roles>
|
609 | 630 | <role>Developer</role>
|
610 | 631 | </roles>
|
611 | 632 | </developer>
|
612 | 633 | <developer>
|
613 |
| - <name>Mitchell Herrijgers</name> |
614 |
| - <email>mitchell.herrijgers@axoniq.io</email> |
| 634 | + <name>Mateusz Nowak</name> |
| 635 | + <email>mateusz.nowak@axoniq.io</email> |
615 | 636 | <organization>AxonIQ</organization>
|
616 | 637 | <organizationUrl>https://axoniq.io</organizationUrl>
|
617 | 638 | <roles>
|
|
0 commit comments