|
56 | 56 | <skipTests>true</skipTests> |
57 | 57 | </properties> |
58 | 58 |
|
59 | | - <repositories> |
60 | | - <!-- The order of definitions matters. Explicitly defining central here |
61 | | - to make sure it has the highest priority. --> |
62 | | - <repository> |
63 | | - <id>central</id> |
64 | | - <url>https://repo.maven.apache.org/maven2</url> |
65 | | - <snapshots> |
66 | | - <enabled>false</enabled> |
67 | | - </snapshots> |
68 | | - </repository> |
69 | | - </repositories> |
70 | | - |
71 | | - <pluginRepositories> |
72 | | - <!-- The order of definitions matters. Explicitly defining central here |
73 | | - to make sure it has the highest priority. --> |
74 | | - <pluginRepository> |
75 | | - <id>central</id> |
76 | | - <url>https://repo.maven.apache.org/maven2</url> |
77 | | - <snapshots> |
78 | | - <enabled>false</enabled> |
79 | | - </snapshots> |
80 | | - </pluginRepository> |
81 | | - </pluginRepositories> |
82 | | - |
83 | | - <distributionManagement> |
84 | | - <snapshotRepository> |
85 | | - <id>ossrh</id> |
86 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
87 | | - </snapshotRepository> |
88 | | - <repository> |
89 | | - <id>ossrh</id> |
90 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
91 | | - </repository> |
92 | | - </distributionManagement> |
93 | | - |
94 | 59 | <dependencies> |
95 | 60 | <dependency> |
96 | 61 | <groupId>com.fasterxml.jackson.core</groupId> |
|
289 | 254 | </properties> |
290 | 255 | </profile> |
291 | 256 | <profile> |
292 | | - <id>ossrh</id> |
| 257 | + <id>publish-sonatype-central-portal</id> |
293 | 258 | <build> |
294 | 259 | <plugins> |
295 | 260 | <plugin> |
|
333 | 298 | </plugin> |
334 | 299 |
|
335 | 300 | <plugin> |
336 | | - <groupId>org.sonatype.plugins</groupId> |
337 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
338 | | - <version>1.7.0</version> |
| 301 | + <groupId>org.sonatype.central</groupId> |
| 302 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 303 | + <version>0.7.0</version> |
339 | 304 | <extensions>true</extensions> |
340 | 305 | <configuration> |
341 | | - <serverId>ossrh</serverId> |
342 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
343 | | - <!-- Sometimes OSSRH is really slow --> |
344 | | - <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> |
345 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 306 | + <publishingServerId>sonatype-central-portal</publishingServerId> |
| 307 | + <autoPublish>true</autoPublish> |
346 | 308 | </configuration> |
347 | 309 | </plugin> |
348 | 310 | </plugins> |
|
0 commit comments