|
61 | 61 | <micro-migration.version>3.0.1</micro-migration.version> |
62 | 62 | </properties> |
63 | 63 |
|
64 | | - <repositories> |
65 | | - <!-- The order of definitions matters. Explicitly defining central here |
66 | | - to make sure it has the highest priority. --> |
67 | | - <repository> |
68 | | - <id>central</id> |
69 | | - <url>https://repo.maven.apache.org/maven2</url> |
70 | | - <snapshots> |
71 | | - <enabled>false</enabled> |
72 | | - </snapshots> |
73 | | - </repository> |
74 | | - </repositories> |
75 | | - |
76 | 64 | <dependencyManagement> |
77 | 65 | <dependencies> |
78 | 66 | <dependency> |
|
85 | 73 | </dependencies> |
86 | 74 | </dependencyManagement> |
87 | 75 |
|
88 | | - <pluginRepositories> |
89 | | - <!-- The order of definitions matters. Explicitly defining central here |
90 | | - to make sure it has the highest priority. --> |
91 | | - <pluginRepository> |
92 | | - <id>central</id> |
93 | | - <url>https://repo.maven.apache.org/maven2</url> |
94 | | - <snapshots> |
95 | | - <enabled>false</enabled> |
96 | | - </snapshots> |
97 | | - </pluginRepository> |
98 | | - </pluginRepositories> |
99 | | - |
100 | 76 | <dependencies> |
101 | 77 | <dependency> |
102 | 78 | <groupId>org.springframework.data</groupId> |
|
253 | 229 | </dependency> |
254 | 230 | </dependencies> |
255 | 231 |
|
256 | | - <distributionManagement> |
257 | | - <snapshotRepository> |
258 | | - <id>ossrh</id> |
259 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
260 | | - </snapshotRepository> |
261 | | - <repository> |
262 | | - <id>ossrh</id> |
263 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
264 | | - </repository> |
265 | | - </distributionManagement> |
266 | | - |
267 | 232 | <build> |
268 | 233 | <pluginManagement> |
269 | 234 | <plugins> |
|
372 | 337 | </build> |
373 | 338 | <profiles> |
374 | 339 | <profile> |
375 | | - <id>ossrh</id> |
| 340 | + <id>publish-sonatype-central-portal</id> |
376 | 341 | <build> |
377 | 342 | <plugins> |
378 | 343 | <plugin> |
|
416 | 381 | </plugin> |
417 | 382 |
|
418 | 383 | <plugin> |
419 | | - <groupId>org.sonatype.plugins</groupId> |
420 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
421 | | - <version>1.7.0</version> |
| 384 | + <groupId>org.sonatype.central</groupId> |
| 385 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 386 | + <version>0.7.0</version> |
422 | 387 | <extensions>true</extensions> |
423 | 388 | <configuration> |
424 | | - <serverId>ossrh</serverId> |
425 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
426 | | - <!-- Sometimes OSSRH is really slow --> |
427 | | - <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> |
428 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 389 | + <publishingServerId>sonatype-central-portal</publishingServerId> |
| 390 | + <autoPublish>true</autoPublish> |
429 | 391 | </configuration> |
430 | 392 | </plugin> |
431 | 393 | </plugins> |
|
0 commit comments