|
16 | 16 | <project.compile.sourceEncoding>UTF-8</project.compile.sourceEncoding> |
17 | 17 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
18 | 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
19 | | - <repos.id>ossrh</repos.id> |
20 | | - <repos.snapshot.url>https://s01.oss.sonatype.org/content/repositories/snapshots</repos.snapshot.url> |
21 | | - <repos.deployment.url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</repos.deployment.url> |
| 19 | + <repos.id>maven</repos.id> |
| 20 | + <repos.url>https://s01.oss.sonatype.org/repository/maven-releases/</repos.url> |
22 | 21 | <name>Parent-POM</name> |
23 | 22 | <package-path>info/unterrainer/commons/parentpom</package-path> |
24 | 23 | <packg-string>info.unterrainer.commons.parentpom</packg-string> |
|
94 | 93 | </dependencies> |
95 | 94 |
|
96 | 95 | <build> |
97 | | - <!-- <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> |
98 | | - <artifactId>maven-shade-plugin</artifactId> ... </plugin> </plugins> </pluginManagement> --> |
99 | 96 | <pluginManagement> |
100 | 97 | <plugins> |
101 | 98 | <plugin> |
102 | | - <groupId>org.sonatype.plugins</groupId> |
103 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 99 | + <groupId>org.sonatype.central</groupId> |
| 100 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 101 | + <version>0.7.0</version> |
104 | 102 | <extensions>true</extensions> |
105 | 103 | <configuration> |
106 | | - <serverId>ossrh</serverId> |
107 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
108 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
109 | | - <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> |
| 104 | + <publishingServerId>${repos.id}</publishingServerId> |
| 105 | + <autoPublish>true</autoPublish> |
| 106 | + <waitUntil>published</waitUntil> |
110 | 107 | </configuration> |
111 | 108 | </plugin> |
112 | 109 | <plugin> |
|
172 | 169 | </execution> |
173 | 170 | </executions> |
174 | 171 | <configuration> |
| 172 | + <attachPom>true</attachPom> |
175 | 173 | <gpgArguments> |
176 | 174 | <gpgArgument>--pinentry-mode</gpgArgument> |
177 | 175 | <gpgArgument>loopback</gpgArgument> |
|
353 | 351 | </developers> |
354 | 352 |
|
355 | 353 | <distributionManagement> |
356 | | - <snapshotRepository> |
357 | | - <id>${repos.id}</id> |
358 | | - <url>${repos.snapshot.url}</url> |
359 | | - </snapshotRepository> |
360 | 354 | <repository> |
361 | 355 | <id>${repos.id}</id> |
362 | | - <url>${repos.deployment.url}</url> |
| 356 | + <url>${repos.url}</url> |
363 | 357 | </repository> |
364 | 358 | </distributionManagement> |
365 | 359 |
|
|
414 | 408 | <plugin> |
415 | 409 | <artifactId>maven-source-plugin</artifactId> |
416 | 410 | </plugin> |
417 | | - <plugin> |
418 | | - <groupId>org.sonatype.plugins</groupId> |
419 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
420 | | - </plugin> |
421 | 411 | <plugin> |
422 | 412 | <artifactId>maven-compiler-plugin</artifactId> |
423 | 413 | </plugin> |
|
427 | 417 | <plugin> |
428 | 418 | <artifactId>maven-jar-plugin</artifactId> |
429 | 419 | </plugin> |
| 420 | + <plugin> |
| 421 | + <groupId>org.sonatype.central</groupId> |
| 422 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 423 | + </plugin> |
430 | 424 | <plugin> |
431 | 425 | <groupId>com.google.code.maven-replacer-plugin</groupId> |
432 | 426 | <artifactId>replacer</artifactId> |
|
0 commit comments