|
44 | 44 | <mvn.maven.surefire.plugin>3.3.1</mvn.maven.surefire.plugin> |
45 | 45 | <mvn.sonar.maven.plugin>3.11.0.3922</mvn.sonar.maven.plugin> |
46 | 46 | <mvn.versions.maven.plugin>2.17.1</mvn.versions.maven.plugin> |
| 47 | + <mvn.centralpublishing.plugin.version>0.8.0</mvn.centralpublishing.plugin.version> |
47 | 48 |
|
48 | 49 | <!-- Code analysis --> |
49 | 50 | <check.skip-javadoc>false</check.skip-javadoc> |
|
121 | 122 | <artifactId>git-commit-id-maven-plugin</artifactId> |
122 | 123 | </plugin> |
123 | 124 |
|
| 125 | + <plugin> |
| 126 | + <groupId>org.sonatype.central</groupId> |
| 127 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 128 | + </plugin> |
| 129 | + |
124 | 130 | </plugins> |
125 | 131 |
|
126 | 132 | <pluginManagement> |
|
245 | 251 | </configuration> |
246 | 252 | </plugin> |
247 | 253 |
|
| 254 | + <plugin> |
| 255 | + <groupId>org.sonatype.central</groupId> |
| 256 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 257 | + <version>${mvn.centralpublishing.plugin.version}</version> |
| 258 | + <extensions>true</extensions> |
| 259 | + <configuration> |
| 260 | + <skipPublishing>false</skipPublishing> |
| 261 | + <publishingServerId>central</publishingServerId> |
| 262 | + <autoPublish>false</autoPublish> |
| 263 | + <waitUntil>validated</waitUntil> |
| 264 | + <failOnBuildFailure>true</failOnBuildFailure> |
| 265 | + <checksums>all</checksums> |
| 266 | + </configuration> |
| 267 | + </plugin> |
| 268 | + |
248 | 269 | <plugin> |
249 | 270 | <groupId>org.apache.maven.plugins</groupId> |
250 | 271 | <artifactId>maven-source-plugin</artifactId> |
|
409 | 430 |
|
410 | 431 | <distributionManagement> |
411 | 432 | <snapshotRepository> |
412 | | - <id>ossrh</id> |
413 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 433 | + <id>central</id> |
| 434 | + <name>Sonatype Central Snapshots</name> |
| 435 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
414 | 436 | </snapshotRepository> |
415 | 437 | <repository> |
416 | | - <id>ossrh</id> |
417 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 438 | + <id>central</id> |
| 439 | + <name>Sonatype Central Staging Repository</name> |
| 440 | + <url>https://central.sonatype.com</url> |
418 | 441 | </repository> |
419 | 442 | <site> |
420 | 443 | <id>local</id> |
|
0 commit comments