|
69 | 69 | <javax-jaxb-api.version>2.3.1</javax-jaxb-api.version> |
70 | 70 | <junit-jupiter.version>5.10.1</junit-jupiter.version> |
71 | 71 | <mockito.version>4.11.0</mockito.version> |
72 | | - |
| 72 | + <!-- Build / Plugin --> |
| 73 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
73 | 74 | <jacoco-maven.version>0.8.11</jacoco-maven.version> |
74 | 75 | <maven-assembly.version>3.7.1</maven-assembly.version> |
75 | 76 | <maven-clean.version>3.4.1</maven-clean.version> |
76 | 77 | <maven-compiler.version>3.14.0</maven-compiler.version> |
77 | | - <maven-deploy.version>3.1.2</maven-deploy.version> |
78 | 78 | <maven-enforcer.version>3.5.0</maven-enforcer.version> |
79 | 79 | <maven-gpg.version>3.2.7</maven-gpg.version> |
80 | 80 | <maven-install.version>3.1.4</maven-install.version> |
|
301 | 301 | </archive> |
302 | 302 | </configuration> |
303 | 303 | </plugin> |
| 304 | + <!-- deploy --> |
304 | 305 | <plugin> |
305 | | - <artifactId>maven-javadoc-plugin</artifactId> |
306 | | - <version>${maven-javadoc.version}</version> |
307 | | - <executions> |
308 | | - <execution> |
309 | | - <id>attach-javadoc</id> |
310 | | - <phase>package</phase> |
311 | | - <goals> |
312 | | - <goal>jar</goal> |
313 | | - </goals> |
314 | | - </execution> |
315 | | - </executions> |
| 306 | + <groupId>org.sonatype.central</groupId> |
| 307 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 308 | + <version>${central-publishing-maven-plugin.version}</version> |
| 309 | + <extensions>true</extensions> |
316 | 310 | <configuration> |
317 | | - <doclint>none</doclint> |
| 311 | + <publishingServerId>central</publishingServerId> |
318 | 312 | </configuration> |
319 | 313 | </plugin> |
320 | | - <plugin> |
321 | | - <artifactId>maven-source-plugin</artifactId> |
322 | | - <version>${maven-source.version}</version> |
323 | | - <executions> |
324 | | - <execution> |
325 | | - <id>attach-sources</id> |
326 | | - <phase>package</phase> |
327 | | - <goals> |
328 | | - <goal>jar-no-fork</goal> |
329 | | - </goals> |
330 | | - </execution> |
331 | | - </executions> |
332 | | - </plugin> |
333 | | - <!-- deploy --> |
334 | | - <plugin> |
335 | | - <artifactId>maven-deploy-plugin</artifactId> |
336 | | - <version>${maven-deploy.version}</version> |
337 | | - </plugin> |
338 | 314 | <plugin> |
339 | 315 | <!-- just to make sure deployed artifacts are always built (and tested) using JDK 8+ --> |
340 | 316 | <artifactId>maven-enforcer-plugin</artifactId> |
|
363 | 339 | <artifactId>maven-release-plugin</artifactId> |
364 | 340 | <version>${maven-release.version}</version> |
365 | 341 | <configuration> |
| 342 | + <!-- prepare goal configuration --> |
366 | 343 | <mavenExecutorId>forked-path</mavenExecutorId> |
367 | | - <localCheckout>true</localCheckout> |
368 | 344 | <pushChanges>false</pushChanges> |
369 | | - <releaseProfiles>release-sign-artifacts</releaseProfiles> |
| 345 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 346 | + <!-- perform goal configuration --> |
| 347 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 348 | + <localCheckout>true</localCheckout> |
| 349 | + <releaseProfiles>javadoc,sources,sign</releaseProfiles> |
370 | 350 | <tagNameFormat>axon-springcloud-@{project.version}</tagNameFormat> |
371 | 351 | </configuration> |
372 | 352 | </plugin> |
|
434 | 414 | </profile> |
435 | 415 |
|
436 | 416 | <profile> |
437 | | - <id>release-sign-artifacts</id> |
| 417 | + <id>sources</id> |
| 418 | + <build> |
| 419 | + <plugins> |
| 420 | + <plugin> |
| 421 | + <artifactId>maven-source-plugin</artifactId> |
| 422 | + <version>${maven-source.version}</version> |
| 423 | + <executions> |
| 424 | + <execution> |
| 425 | + <id>attach-sources</id> |
| 426 | + <phase>package</phase> |
| 427 | + <goals> |
| 428 | + <goal>jar-no-fork</goal> |
| 429 | + </goals> |
| 430 | + </execution> |
| 431 | + </executions> |
| 432 | + </plugin> |
| 433 | + </plugins> |
| 434 | + </build> |
| 435 | + </profile> |
| 436 | + |
| 437 | + <profile> |
| 438 | + <id>javadoc</id> |
| 439 | + <build> |
| 440 | + <plugins> |
| 441 | + <plugin> |
| 442 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 443 | + <version>${maven-javadoc.version}</version> |
| 444 | + <executions> |
| 445 | + <execution> |
| 446 | + <id>attach-javadoc</id> |
| 447 | + <phase>package</phase> |
| 448 | + <goals> |
| 449 | + <goal>jar</goal> |
| 450 | + </goals> |
| 451 | + </execution> |
| 452 | + </executions> |
| 453 | + <configuration> |
| 454 | + <doclint>none</doclint> |
| 455 | + <!-- These parameters are in preparation for resolution of this issue: --> |
| 456 | + <!-- https://bugs.openjdk.java.net/browse/JDK-8068562 --> |
| 457 | + <tags> |
| 458 | + <tag> |
| 459 | + <name>apiNote</name> |
| 460 | + <placement>a</placement> |
| 461 | + <head>API Note:</head> |
| 462 | + </tag> |
| 463 | + <tag> |
| 464 | + <name>implSpec</name> |
| 465 | + <placement>a</placement> |
| 466 | + <head>Implementation Requirements:</head> |
| 467 | + </tag> |
| 468 | + <tag> |
| 469 | + <name>implNote</name> |
| 470 | + <placement>a</placement> |
| 471 | + <head>Implementation Note:</head> |
| 472 | + </tag> |
| 473 | + </tags> |
| 474 | + </configuration> |
| 475 | + </plugin> |
| 476 | + </plugins> |
| 477 | + </build> |
| 478 | + </profile> |
| 479 | + |
| 480 | + <profile> |
| 481 | + <id>sign</id> |
438 | 482 | <activation> |
439 | 483 | <property> |
440 | 484 | <name>performRelease</name> |
|
462 | 506 | </profile> |
463 | 507 | </profiles> |
464 | 508 |
|
465 | | - <repositories> |
466 | | - <repository> |
467 | | - <id>sonatype</id> |
468 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
469 | | - <snapshots> |
470 | | - <enabled>true</enabled> |
471 | | - <updatePolicy>always</updatePolicy> |
472 | | - <checksumPolicy>fail</checksumPolicy> |
473 | | - </snapshots> |
474 | | - </repository> |
475 | | - </repositories> |
476 | | - |
477 | | - <!-- deploy and release configuration --> |
478 | | - <distributionManagement> |
479 | | - <snapshotRepository> |
480 | | - <id>sonatype</id> |
481 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
482 | | - <uniqueVersion>true</uniqueVersion> |
483 | | - </snapshotRepository> |
484 | | - <repository> |
485 | | - <id>sonatype</id> |
486 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
487 | | - <uniqueVersion>false</uniqueVersion> |
488 | | - </repository> |
489 | | - </distributionManagement> |
490 | | - |
491 | 509 | <scm> |
492 | 510 | <connection>scm:git:git://github.com/AxonFramework/extension-springcloud.git</connection> |
493 | 511 | < developerConnection>scm:git: [email protected]:AxonFramework/extension-springcloud.git</ developerConnection> |
|
515 | 533 | </roles> |
516 | 534 | </developer> |
517 | 535 | <developer> |
518 | | - <name>Gerard Klijs</name> |
519 | | - <email>gerard.klijs@axoniq.io</email> |
| 536 | + <name>Mitchell Herrijgers</name> |
| 537 | + <email>mitchell.herrijgers@axoniq.io</email> |
520 | 538 | <organization>AxonIQ</organization> |
521 | 539 | <organizationUrl>https://axoniq.io</organizationUrl> |
522 | 540 | <roles> |
523 | 541 | <role>Developer</role> |
524 | 542 | </roles> |
525 | 543 | </developer> |
526 | 544 | <developer> |
527 | | - <name>Mitchell Herrijgers</name> |
528 | | - <email>mitchell.herrijgers@axoniq.io</email> |
| 545 | + <name>Mateusz Nowak</name> |
| 546 | + <email>mateusz.nowak@axoniq.io</email> |
529 | 547 | <organization>AxonIQ</organization> |
530 | 548 | <organizationUrl>https://axoniq.io</organizationUrl> |
531 | 549 | <roles> |
|
0 commit comments