|
124 | 124 | <groupId>org.apache.maven.plugins</groupId> |
125 | 125 | <artifactId>maven-deploy-plugin</artifactId> |
126 | 126 | <version>3.0.0</version> |
| 127 | + <executions> |
| 128 | + <execution> |
| 129 | + <id>default-deploy</id> |
| 130 | + <phase>none</phase> |
| 131 | + </execution> |
| 132 | + </executions> |
| 133 | + <configuration> |
| 134 | + <skip>true</skip> |
| 135 | + </configuration> |
127 | 136 | </plugin> |
128 | 137 | <plugin> |
129 | 138 | <groupId>org.apache.maven.plugins</groupId> |
|
160 | 169 | <artifactId>wagon-maven-plugin</artifactId> |
161 | 170 | <version>2.0.0</version> |
162 | 171 | </plugin> |
163 | | - <plugin> |
164 | | - <!-- |
165 | | - configuring nexus plugin for manual deployment after |
166 | | - release with maven-release/deploy-plugin, see |
167 | | - https://central.sonatype.org/publish/publish-maven/#manually-releasing-the-deployment-to-the-central-repository |
168 | | - --> |
169 | | - <groupId>org.sonatype.plugins</groupId> |
170 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
171 | | - <version>1.6.8</version> |
172 | | - <extensions>true</extensions> |
173 | | - <configuration> |
174 | | - <serverId>ossrh</serverId> |
175 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
176 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
177 | | - </configuration> |
178 | | - </plugin> |
179 | 172 | </plugins> |
180 | 173 | </pluginManagement> |
181 | 174 | <plugins> |
|
282 | 275 | </activation> |
283 | 276 | <build> |
284 | 277 | <plugins> |
| 278 | + <plugin> |
| 279 | + <groupId>org.sonatype.central</groupId> |
| 280 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 281 | + <version>0.8.0</version> |
| 282 | + <extensions>true</extensions> |
| 283 | + <configuration> |
| 284 | + <publishingServerId>ossrh</publishingServerId> |
| 285 | + </configuration> |
| 286 | + <executions> |
| 287 | + <execution> |
| 288 | + <id>publish-to-central</id> |
| 289 | + <phase>deploy</phase> |
| 290 | + <goals> |
| 291 | + <goal>publish</goal> |
| 292 | + </goals> |
| 293 | + </execution> |
| 294 | + </executions> |
| 295 | + </plugin> |
285 | 296 | <plugin> |
286 | 297 | <groupId>org.apache.maven.plugins</groupId> |
287 | 298 | <artifactId>maven-gpg-plugin</artifactId> |
|
341 | 352 | <distributionManagement> |
342 | 353 | <snapshotRepository> |
343 | 354 | <id>ossrh</id> |
344 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 355 | + <url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url> |
345 | 356 | </snapshotRepository> |
346 | 357 | <repository> |
347 | 358 | <id>ossrh</id> |
348 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 359 | + <url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url> |
349 | 360 | </repository> |
350 | 361 | </distributionManagement> |
351 | 362 | </project> |
0 commit comments