|
35 | 35 | <url>https://github.com/java-operator-sdk/kubernetes-webhooks-framework/tree/master</url> |
36 | 36 | </scm> |
37 | 37 |
|
38 | | - <distributionManagement> |
39 | | - <snapshotRepository> |
40 | | - <id>ossrh</id> |
41 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
42 | | - </snapshotRepository> |
43 | | - </distributionManagement> |
44 | | - |
45 | 38 | <properties> |
46 | 39 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
47 | 40 | <java.version>17</java.version> |
|
57 | 50 | <mokito.version>5.15.2</mokito.version> |
58 | 51 | <commons-lang3.version>3.12.0</commons-lang3.version> |
59 | 52 | <auto-service.version>1.0.1</auto-service.version> |
60 | | - <assertj.version>3.27.1</assertj.version> |
| 53 | + <assertj.version>3.27.3</assertj.version> |
61 | 54 | <awaitility.version>4.2.2</awaitility.version> |
62 | 55 | <maven-resources-plugin.version>3.3.1</maven-resources-plugin.version> |
63 | 56 | <directory-maven-plugin.version>1.0</directory-maven-plugin.version> |
64 | 57 | <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
65 | 58 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
66 | 59 | <impsort-maven-plugin.version>1.10.0</impsort-maven-plugin.version> |
67 | 60 | <maven-install-plugin.version>3.1.3</maven-install-plugin.version> |
68 | | - <maven-clean-plugin.version>3.4.0</maven-clean-plugin.version> |
| 61 | + <maven-clean-plugin.version>3.5.0</maven-clean-plugin.version> |
69 | 62 | <git-commit-id-maven-plugin.version>9.0.1</git-commit-id-maven-plugin.version> |
70 | 63 | <maven-jar-plugin.version>3.4.2</maven-jar-plugin.version> |
71 | 64 | <maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version> |
|
74 | 67 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
75 | 68 | <spotless-maven-plugin.version>2.45.0</spotless-maven-plugin.version> |
76 | 69 | <spring-boot-dependencies.version>3.5.3</spring-boot-dependencies.version> |
| 70 | + <central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version> |
77 | 71 | </properties> |
78 | 72 |
|
79 | 73 | <dependencyManagement> |
|
343 | 337 | <goals> |
344 | 338 | <goal>jar</goal> |
345 | 339 | </goals> |
| 340 | + <phase>verify</phase> |
346 | 341 | </execution> |
347 | 342 | </executions> |
348 | 343 | </plugin> |
|
366 | 361 | </executions> |
367 | 362 | </plugin> |
368 | 363 | <plugin> |
369 | | - <groupId>org.sonatype.plugins</groupId> |
370 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
371 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 364 | + <groupId>org.sonatype.central</groupId> |
| 365 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 366 | + <version>${central-publishing-maven-plugin.version}</version> |
372 | 367 | <extensions>true</extensions> |
373 | 368 | <configuration> |
374 | | - <serverId>ossrh</serverId> |
375 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
376 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 369 | + <publishingServerId>central</publishingServerId> |
| 370 | + <tokenAuth>true</tokenAuth> |
| 371 | + <autoPublish>true</autoPublish> |
| 372 | + <waitUntil>published</waitUntil> |
377 | 373 | </configuration> |
378 | 374 | </plugin> |
| 375 | + |
379 | 376 | </plugins> |
380 | 377 | </build> |
381 | 378 | </profile> |
|
0 commit comments