|
32 | 32 | <url>https://github.com/pmd/build-tools</url> |
33 | 33 | <tag>HEAD</tag> |
34 | 34 | </scm> |
35 | | - <distributionManagement> |
36 | | - <snapshotRepository> |
37 | | - <id>ossrh</id> |
38 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
39 | | - </snapshotRepository> |
40 | | - <repository> |
41 | | - <id>ossrh</id> |
42 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
43 | | - </repository> |
44 | | - </distributionManagement> |
45 | 35 |
|
46 | 36 | <properties> |
47 | 37 | <project.build.outputTimestamp>2025-05-09T17:35:04Z</project.build.outputTimestamp> |
|
202 | 192 | </configuration> |
203 | 193 | </plugin> |
204 | 194 | <plugin> |
205 | | - <groupId>org.sonatype.plugins</groupId> |
206 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
207 | | - <version>1.7.0</version> |
| 195 | + <groupId>org.sonatype.central</groupId> |
| 196 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 197 | + <version>0.7.0</version> |
208 | 198 | </plugin> |
209 | 199 | </plugins> |
210 | 200 | </pluginManagement> |
|
280 | 270 | </executions> |
281 | 271 | </plugin> |
282 | 272 | <plugin> |
283 | | - <groupId>org.sonatype.plugins</groupId> |
284 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 273 | + <groupId>org.sonatype.central</groupId> |
| 274 | + <artifactId>central-publishing-maven-plugin</artifactId> |
285 | 275 | <extensions>true</extensions> |
286 | 276 | <configuration> |
287 | | - <serverId>ossrh</serverId> |
288 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 277 | + <publishingServerId>central</publishingServerId> |
| 278 | + <autoPublish>true</autoPublish> |
| 279 | + <waitUntil>published</waitUntil> |
| 280 | + <deploymentName>${project.artifactId}</deploymentName> |
289 | 281 | </configuration> |
290 | 282 | </plugin> |
291 | 283 | </plugins> |
292 | 284 | </build> |
293 | 285 |
|
294 | | - <repositories> |
295 | | - <repository> |
296 | | - <id>sonatype-nexus-snapshots</id> |
297 | | - <name>Sonatype Nexus Snapshots</name> |
298 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
299 | | - <releases> |
300 | | - <enabled>false</enabled> |
301 | | - </releases> |
302 | | - <snapshots> |
303 | | - <enabled>true</enabled> |
304 | | - </snapshots> |
305 | | - </repository> |
306 | | - </repositories> |
307 | | - |
308 | 286 | <profiles> |
309 | 287 | <profile> |
310 | 288 | <id>sign</id> |
|
330 | 308 | </plugins> |
331 | 309 | </build> |
332 | 310 | </profile> |
| 311 | + <profile> |
| 312 | + <id>central-portal-snapshots</id> |
| 313 | + <repositories> |
| 314 | + <repository> |
| 315 | + <name>Central Portal Snapshots</name> |
| 316 | + <id>central-portal-snapshots</id> |
| 317 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 318 | + <releases> |
| 319 | + <enabled>false</enabled> |
| 320 | + </releases> |
| 321 | + <snapshots> |
| 322 | + <enabled>true</enabled> |
| 323 | + </snapshots> |
| 324 | + </repository> |
| 325 | + </repositories> |
| 326 | + <pluginRepositories> |
| 327 | + <pluginRepository> |
| 328 | + <name>Central Portal Snapshots</name> |
| 329 | + <id>central-portal-snapshots</id> |
| 330 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 331 | + <releases> |
| 332 | + <enabled>false</enabled> |
| 333 | + </releases> |
| 334 | + <snapshots> |
| 335 | + <enabled>true</enabled> |
| 336 | + </snapshots> |
| 337 | + </pluginRepository> |
| 338 | + </pluginRepositories> |
| 339 | + </profile> |
333 | 340 | </profiles> |
334 | 341 | </project> |
335 | 342 |
|
0 commit comments