|
15 | 15 | ~ limitations under the License. |
16 | 16 | --> |
17 | 17 |
|
18 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
19 | 20 |
|
20 | 21 | <groupId>org.axonframework.extensions.spring-aot</groupId> |
21 | 22 | <artifactId>axon-spring-aot</artifactId> |
|
59 | 60 | <mockito.version>5.18.0</mockito.version> |
60 | 61 | <netty.version>4.2.1.Final</netty.version> |
61 | 62 | <!-- Build / Plugin --> |
| 63 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
62 | 64 | <jacoco-maven.version>0.8.13</jacoco-maven.version> |
63 | 65 | <maven-assembly.version>3.7.1</maven-assembly.version> |
64 | 66 | <maven-clean.version>3.4.1</maven-clean.version> |
65 | 67 | <maven-compiler.version>3.14.0</maven-compiler.version> |
66 | | - <maven-deploy.version>3.1.4</maven-deploy.version> |
67 | 68 | <maven-gpg.version>3.2.7</maven-gpg.version> |
68 | 69 | <maven-install.version>3.1.4</maven-install.version> |
69 | 70 | <maven-jar.version>3.4.2</maven-jar.version> |
|
268 | 269 | </archive> |
269 | 270 | </configuration> |
270 | 271 | </plugin> |
| 272 | + <!-- deploy --> |
271 | 273 | <plugin> |
272 | | - <artifactId>maven-javadoc-plugin</artifactId> |
273 | | - <version>${maven-javadoc.version}</version> |
274 | | - <executions> |
275 | | - <execution> |
276 | | - <id>attach-javadoc</id> |
277 | | - <phase>package</phase> |
278 | | - <goals> |
279 | | - <goal>jar</goal> |
280 | | - </goals> |
281 | | - </execution> |
282 | | - </executions> |
| 274 | + <groupId>org.sonatype.central</groupId> |
| 275 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 276 | + <version>${central-publishing-maven-plugin.version}</version> |
| 277 | + <extensions>true</extensions> |
283 | 278 | <configuration> |
284 | | - <doclint>none</doclint> |
| 279 | + <publishingServerId>central</publishingServerId> |
285 | 280 | </configuration> |
286 | 281 | </plugin> |
287 | | - <plugin> |
288 | | - <artifactId>maven-source-plugin</artifactId> |
289 | | - <version>${maven-source.version}</version> |
290 | | - <executions> |
291 | | - <execution> |
292 | | - <id>attach-sources</id> |
293 | | - <phase>package</phase> |
294 | | - <goals> |
295 | | - <goal>jar-no-fork</goal> |
296 | | - </goals> |
297 | | - </execution> |
298 | | - </executions> |
299 | | - </plugin> |
300 | | - <!-- deploy --> |
301 | | - <plugin> |
302 | | - <artifactId>maven-deploy-plugin</artifactId> |
303 | | - <version>${maven-deploy.version}</version> |
304 | | - </plugin> |
305 | 282 | <plugin> |
306 | 283 | <artifactId>maven-release-plugin</artifactId> |
307 | 284 | <version>${maven-release.version}</version> |
308 | 285 | <configuration> |
309 | 286 | <!-- prepare goal configuration --> |
310 | 287 | <mavenExecutorId>forked-path</mavenExecutorId> |
311 | 288 | <pushChanges>false</pushChanges> |
| 289 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
312 | 290 | <!-- perform goal configuration --> |
313 | 291 | <mavenExecutorId>forked-path</mavenExecutorId> |
314 | 292 | <localCheckout>true</localCheckout> |
315 | | - <releaseProfiles>release-sign-artifacts</releaseProfiles> |
| 293 | + <releaseProfiles>javadoc,sources,sign</releaseProfiles> |
| 294 | + <tagNameFormat>axon-spring-aot-@{project.version}</tagNameFormat> |
316 | 295 | </configuration> |
317 | 296 | </plugin> |
318 | 297 | <plugin> |
|
355 | 334 | </profile> |
356 | 335 |
|
357 | 336 | <profile> |
358 | | - <id>release-sign-artifacts</id> |
| 337 | + <id>sources</id> |
| 338 | + <build> |
| 339 | + <plugins> |
| 340 | + <plugin> |
| 341 | + <artifactId>maven-source-plugin</artifactId> |
| 342 | + <version>${maven-source.version}</version> |
| 343 | + <executions> |
| 344 | + <execution> |
| 345 | + <id>attach-sources</id> |
| 346 | + <phase>package</phase> |
| 347 | + <goals> |
| 348 | + <goal>jar-no-fork</goal> |
| 349 | + </goals> |
| 350 | + </execution> |
| 351 | + </executions> |
| 352 | + </plugin> |
| 353 | + </plugins> |
| 354 | + </build> |
| 355 | + </profile> |
| 356 | + |
| 357 | + <profile> |
| 358 | + <id>javadoc</id> |
| 359 | + <build> |
| 360 | + <plugins> |
| 361 | + <plugin> |
| 362 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 363 | + <version>${maven-javadoc.version}</version> |
| 364 | + <executions> |
| 365 | + <execution> |
| 366 | + <id>attach-javadoc</id> |
| 367 | + <phase>package</phase> |
| 368 | + <goals> |
| 369 | + <goal>jar</goal> |
| 370 | + </goals> |
| 371 | + </execution> |
| 372 | + </executions> |
| 373 | + <configuration> |
| 374 | + <doclint>none</doclint> |
| 375 | + <!-- These parameters are in preparation for resolution of this issue: --> |
| 376 | + <!-- https://bugs.openjdk.java.net/browse/JDK-8068562 --> |
| 377 | + <tags> |
| 378 | + <tag> |
| 379 | + <name>apiNote</name> |
| 380 | + <placement>a</placement> |
| 381 | + <head>API Note:</head> |
| 382 | + </tag> |
| 383 | + <tag> |
| 384 | + <name>implSpec</name> |
| 385 | + <placement>a</placement> |
| 386 | + <head>Implementation Requirements:</head> |
| 387 | + </tag> |
| 388 | + <tag> |
| 389 | + <name>implNote</name> |
| 390 | + <placement>a</placement> |
| 391 | + <head>Implementation Note:</head> |
| 392 | + </tag> |
| 393 | + </tags> |
| 394 | + </configuration> |
| 395 | + </plugin> |
| 396 | + </plugins> |
| 397 | + </build> |
| 398 | + </profile> |
| 399 | + |
| 400 | + <profile> |
| 401 | + <id>sign</id> |
359 | 402 | <build> |
360 | 403 | <plugins> |
361 | 404 | <plugin> |
|
377 | 420 | </profile> |
378 | 421 | </profiles> |
379 | 422 |
|
380 | | - <!-- Deploy and release configuration --> |
381 | | - <distributionManagement> |
382 | | - <snapshotRepository> |
383 | | - <id>sonatype</id> |
384 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
385 | | - <uniqueVersion>true</uniqueVersion> |
386 | | - </snapshotRepository> |
387 | | - <repository> |
388 | | - <id>sonatype</id> |
389 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
390 | | - <uniqueVersion>false</uniqueVersion> |
391 | | - </repository> |
392 | | - </distributionManagement> |
393 | | - |
394 | 423 | <scm> |
395 | 424 | <connection>scm:git:git://github.com/AxonFramework/extension-spring-aot.git</connection> |
396 | 425 | <developerConnection>scm:git:git@github.com:AxonFramework/extension-spring-aot.git</developerConnection> |
|
418 | 447 | </roles> |
419 | 448 | </developer> |
420 | 449 | <developer> |
421 | | - <name>Gerard Klijs</name> |
422 | | - <email>gerard.klijs@axoniq.io</email> |
| 450 | + <name>Mitchell Herrijgers</name> |
| 451 | + <email>mitchell.herrijgers@axoniq.io</email> |
423 | 452 | <organization>AxonIQ</organization> |
424 | 453 | <organizationUrl>https://axoniq.io</organizationUrl> |
425 | 454 | <roles> |
426 | 455 | <role>Developer</role> |
427 | 456 | </roles> |
428 | 457 | </developer> |
429 | 458 | <developer> |
430 | | - <name>Mitchell Herrijgers</name> |
431 | | - <email>mitchell.herrijgers@axoniq.io</email> |
| 459 | + <name>Mateusz Nowak</name> |
| 460 | + <email>mateusz.nowak@axoniq.io</email> |
432 | 461 | <organization>AxonIQ</organization> |
433 | 462 | <organizationUrl>https://axoniq.io</organizationUrl> |
434 | 463 | <roles> |
|
0 commit comments