|
27 | 27 | <maven-javadoc-plugin.version>3.4.1</maven-javadoc-plugin.version> |
28 | 28 | <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
29 | 29 | <maven-gpg-plugin.version>3.2.3</maven-gpg-plugin.version> |
30 | | - <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
31 | | - <maven-release-plugin.version>2.5.3</maven-release-plugin.version> |
32 | 30 | <asciidoctor-maven-plugin.version>3.2.0</asciidoctor-maven-plugin.version> |
33 | 31 | <spring-asciidoctor-backends.version>0.0.5</spring-asciidoctor-backends.version> |
| 32 | + <central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version> |
34 | 33 | </properties> |
35 | 34 | <licenses> |
36 | 35 | <license> |
|
248 | 247 | </dependency> |
249 | 248 | </dependencies> |
250 | 249 | </plugin> |
251 | | - <plugin> |
252 | | - <groupId>org.apache.maven.plugins</groupId> |
253 | | - <artifactId>maven-release-plugin</artifactId> |
254 | | - <version>${maven-release-plugin.version}</version> |
255 | | - <configuration> |
256 | | - <autoVersionSubmodules>true</autoVersionSubmodules> |
257 | | - <useReleaseProfile>false</useReleaseProfile> |
258 | | - <releaseProfiles>release</releaseProfiles> |
259 | | - <tagNameFormat>@{project.version}</tagNameFormat> |
260 | | - <goals>deploy</goals> |
261 | | - </configuration> |
262 | | - </plugin> |
263 | 250 | </plugins> |
264 | 251 | </build> |
265 | 252 | <profiles> |
266 | 253 | <profile> |
267 | 254 | <id>release</id> |
268 | | - <distributionManagement> |
269 | | - <snapshotRepository> |
270 | | - <id>ossrh</id> |
271 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
272 | | - </snapshotRepository> |
273 | | - </distributionManagement> |
274 | 255 | <build> |
275 | 256 | <plugins> |
276 | 257 | <plugin> |
|
312 | 293 | </executions> |
313 | 294 | </plugin> |
314 | 295 | <plugin> |
315 | | - <groupId>org.sonatype.plugins</groupId> |
316 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
317 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 296 | + <groupId>org.sonatype.central</groupId> |
| 297 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 298 | + <version>${central-publishing-maven-plugin.version}</version> |
318 | 299 | <extensions>true</extensions> |
319 | 300 | <configuration> |
320 | | - <serverId>ossrh</serverId> |
321 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
322 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 301 | + <deploymentName>error-handling-spring-boot-starter - ${project.version}</deploymentName> |
| 302 | + <publishingServerId>central</publishingServerId> |
| 303 | + <autoPublish>true</autoPublish> |
323 | 304 | </configuration> |
324 | 305 | </plugin> |
325 | 306 | </plugins> |
|
0 commit comments