|
46 | 46 | <tag>main</tag> |
47 | 47 | <url>https://github.com/dNationCloud/hetzner-cloud-client-java</url> |
48 | 48 | </scm> |
49 | | - <distributionManagement> |
50 | | - <repository> |
51 | | - <id>ossrh</id> |
52 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
53 | | - </repository> |
54 | | - <snapshotRepository> |
55 | | - <id>ossrh</id> |
56 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
57 | | - </snapshotRepository> |
58 | | - </distributionManagement> |
59 | 49 | <properties> |
60 | 50 | <maven.compiler.source>1.8</maven.compiler.source> |
61 | 51 | <maven.compiler.target>1.8</maven.compiler.target> |
|
234 | 224 | <activation> |
235 | 225 | <activeByDefault>false</activeByDefault> |
236 | 226 | </activation> |
| 227 | + <distributionManagement> |
| 228 | + <repository> |
| 229 | + <id>central</id> |
| 230 | + <name>Maven Central Releases</name> |
| 231 | + <url>https://central.sonatype.com/api/v1/publisher/deploy</url> |
| 232 | + </repository> |
| 233 | + <snapshotRepository> |
| 234 | + <id>central</id> |
| 235 | + <name>Maven Central Snapshots</name> |
| 236 | + <url>https://central.sonatype.com/api/v1/publisher/snapshots</url> |
| 237 | + </snapshotRepository> |
| 238 | + </distributionManagement> |
237 | 239 | <build> |
238 | 240 | <plugins> |
239 | 241 | <plugin> |
|
265 | 267 | <plugin> |
266 | 268 | <groupId>org.apache.maven.plugins</groupId> |
267 | 269 | <artifactId>maven-gpg-plugin</artifactId> |
268 | | - <version>3.0.1</version> |
| 270 | + <version>3.2.4</version> |
269 | 271 | <executions> |
270 | 272 | <execution> |
271 | 273 | <id>sign-artifacts</id> |
|
274 | 276 | </goals> |
275 | 277 | <phase>verify</phase> |
276 | 278 | <configuration> |
| 279 | + |
277 | 280 | <gpgArguments> |
278 | 281 | <arg>--pinentry-mode</arg> |
279 | 282 | <arg>loopback</arg> |
|
283 | 286 | </executions> |
284 | 287 | </plugin> |
285 | 288 | <plugin> |
286 | | - <groupId>org.sonatype.plugins</groupId> |
287 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
288 | | - <version>1.6.7</version> |
| 289 | + <groupId>org.sonatype.central</groupId> |
| 290 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 291 | + <version>0.8.0</version> |
289 | 292 | <extensions>true</extensions> |
290 | 293 | <configuration> |
291 | | - <serverId>ossrh</serverId> |
292 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
293 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 294 | + <autoPublish>true</autoPublish> |
| 295 | + <publishingServerId>central</publishingServerId> |
294 | 296 | </configuration> |
295 | 297 | </plugin> |
296 | 298 | </plugins> |
|
0 commit comments