|
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.15.2</mockito.version> |
60 | 61 | <netty.version>4.1.117.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.12</jacoco-maven.version> |
63 | 65 | <maven-assembly.version>3.7.1</maven-assembly.version> |
64 | 66 | <maven-clean.version>3.4.0</maven-clean.version> |
65 | 67 | <maven-compiler.version>3.13.0</maven-compiler.version> |
66 | | - <maven-deploy.version>3.1.3</maven-deploy.version> |
67 | 68 | <maven-gpg.version>3.2.7</maven-gpg.version> |
68 | 69 | <maven-install.version>3.1.3</maven-install.version> |
69 | 70 | <maven-jar.version>3.4.2</maven-jar.version> |
|
256 | 257 | </archive> |
257 | 258 | </configuration> |
258 | 259 | </plugin> |
| 260 | + <!-- deploy --> |
259 | 261 | <plugin> |
260 | | - <artifactId>maven-javadoc-plugin</artifactId> |
261 | | - <version>${maven-javadoc.version}</version> |
262 | | - <executions> |
263 | | - <execution> |
264 | | - <id>attach-javadoc</id> |
265 | | - <phase>package</phase> |
266 | | - <goals> |
267 | | - <goal>jar</goal> |
268 | | - </goals> |
269 | | - </execution> |
270 | | - </executions> |
| 262 | + <groupId>org.sonatype.central</groupId> |
| 263 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 264 | + <version>${central-publishing-maven-plugin.version}</version> |
| 265 | + <extensions>true</extensions> |
271 | 266 | <configuration> |
272 | | - <doclint>none</doclint> |
| 267 | + <publishingServerId>central</publishingServerId> |
273 | 268 | </configuration> |
274 | 269 | </plugin> |
275 | | - <plugin> |
276 | | - <artifactId>maven-source-plugin</artifactId> |
277 | | - <version>${maven-source.version}</version> |
278 | | - <executions> |
279 | | - <execution> |
280 | | - <id>attach-sources</id> |
281 | | - <phase>package</phase> |
282 | | - <goals> |
283 | | - <goal>jar-no-fork</goal> |
284 | | - </goals> |
285 | | - </execution> |
286 | | - </executions> |
287 | | - </plugin> |
288 | | - <!-- deploy --> |
289 | | - <plugin> |
290 | | - <artifactId>maven-deploy-plugin</artifactId> |
291 | | - <version>${maven-deploy.version}</version> |
292 | | - </plugin> |
293 | 270 | <plugin> |
294 | 271 | <artifactId>maven-release-plugin</artifactId> |
295 | 272 | <version>${maven-release.version}</version> |
296 | 273 | <configuration> |
297 | 274 | <!-- prepare goal configuration --> |
298 | 275 | <mavenExecutorId>forked-path</mavenExecutorId> |
299 | 276 | <pushChanges>false</pushChanges> |
| 277 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
300 | 278 | <!-- perform goal configuration --> |
301 | 279 | <mavenExecutorId>forked-path</mavenExecutorId> |
302 | 280 | <localCheckout>true</localCheckout> |
303 | | - <releaseProfiles>release-sign-artifacts</releaseProfiles> |
| 281 | + <releaseProfiles>javadoc,sources,sign</releaseProfiles> |
| 282 | + <tagNameFormat>axon-spring-aot-@{project.version}</tagNameFormat> |
304 | 283 | </configuration> |
305 | 284 | </plugin> |
306 | 285 | <plugin> |
|
343 | 322 | </profile> |
344 | 323 |
|
345 | 324 | <profile> |
346 | | - <id>release-sign-artifacts</id> |
| 325 | + <id>sources</id> |
| 326 | + <build> |
| 327 | + <plugins> |
| 328 | + <plugin> |
| 329 | + <artifactId>maven-source-plugin</artifactId> |
| 330 | + <version>${maven-source.version}</version> |
| 331 | + <executions> |
| 332 | + <execution> |
| 333 | + <id>attach-sources</id> |
| 334 | + <phase>package</phase> |
| 335 | + <goals> |
| 336 | + <goal>jar-no-fork</goal> |
| 337 | + </goals> |
| 338 | + </execution> |
| 339 | + </executions> |
| 340 | + </plugin> |
| 341 | + </plugins> |
| 342 | + </build> |
| 343 | + </profile> |
| 344 | + |
| 345 | + <profile> |
| 346 | + <id>javadoc</id> |
| 347 | + <build> |
| 348 | + <plugins> |
| 349 | + <plugin> |
| 350 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 351 | + <version>${maven-javadoc.version}</version> |
| 352 | + <executions> |
| 353 | + <execution> |
| 354 | + <id>attach-javadoc</id> |
| 355 | + <phase>package</phase> |
| 356 | + <goals> |
| 357 | + <goal>jar</goal> |
| 358 | + </goals> |
| 359 | + </execution> |
| 360 | + </executions> |
| 361 | + <configuration> |
| 362 | + <doclint>none</doclint> |
| 363 | + <!-- These parameters are in preparation for resolution of this issue: --> |
| 364 | + <!-- https://bugs.openjdk.java.net/browse/JDK-8068562 --> |
| 365 | + <tags> |
| 366 | + <tag> |
| 367 | + <name>apiNote</name> |
| 368 | + <placement>a</placement> |
| 369 | + <head>API Note:</head> |
| 370 | + </tag> |
| 371 | + <tag> |
| 372 | + <name>implSpec</name> |
| 373 | + <placement>a</placement> |
| 374 | + <head>Implementation Requirements:</head> |
| 375 | + </tag> |
| 376 | + <tag> |
| 377 | + <name>implNote</name> |
| 378 | + <placement>a</placement> |
| 379 | + <head>Implementation Note:</head> |
| 380 | + </tag> |
| 381 | + </tags> |
| 382 | + </configuration> |
| 383 | + </plugin> |
| 384 | + </plugins> |
| 385 | + </build> |
| 386 | + </profile> |
| 387 | + |
| 388 | + <profile> |
| 389 | + <id>sign</id> |
347 | 390 | <build> |
348 | 391 | <plugins> |
349 | 392 | <plugin> |
|
365 | 408 | </profile> |
366 | 409 | </profiles> |
367 | 410 |
|
368 | | - <!-- Deploy and release configuration --> |
369 | | - <distributionManagement> |
370 | | - <snapshotRepository> |
371 | | - <id>sonatype</id> |
372 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
373 | | - <uniqueVersion>true</uniqueVersion> |
374 | | - </snapshotRepository> |
375 | | - <repository> |
376 | | - <id>sonatype</id> |
377 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
378 | | - <uniqueVersion>false</uniqueVersion> |
379 | | - </repository> |
380 | | - </distributionManagement> |
381 | | - |
382 | 411 | <scm> |
383 | 412 | <connection>scm:git:git://github.com/AxonFramework/extension-spring-aot.git</connection> |
384 | 413 | <developerConnection>scm:git:git@github.com:AxonFramework/extension-spring-aot.git</developerConnection> |
|
0 commit comments