Skip to content

Commit

Permalink
Change maven publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
WtfJoke committed Feb 7, 2025
1 parent dfe70ae commit 592c90e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>ossrh</id>
<id>central</id>
<username>${env.SONATYPE_USERTOKEN}</username>
<password>${env.SONATYPE_USERTOKENPASSWORD}</password>
</server>
Expand Down
32 changes: 10 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<git-commit-id-plugin.version>9.0.1</git-commit-id-plugin.version>
<asciidoctor-maven-plugin.version>3.1.1</asciidoctor-maven-plugin.version>
<asciidoctor-extensions-spring-boot>0.6.3</asciidoctor-extensions-spring-boot>
<maven-deploy-plugin.version>3.1.3</maven-deploy-plugin.version>
<maven-central-publishing-plugin.version>0.7.0</maven-central-publishing-plugin.version>
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
Expand Down Expand Up @@ -139,17 +139,6 @@
<groupId>org.jacoco</groupId>
<version>${jacoco-maven-plugin.version}</version>
</plugin>
<plugin>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<serverId>ossrh</serverId>
</configuration>
<extensions>true</extensions>
<groupId>org.sonatype.plugins</groupId>
<version>${nexus-staging-maven-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
Expand Down Expand Up @@ -190,9 +179,13 @@
<version>${spring-boot.version}</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>${maven-deploy-plugin.version}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${maven-central-publishing-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
Expand Down Expand Up @@ -288,14 +281,9 @@
</developers>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
<id>central-portal-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<groupId>de.codecentric</groupId>
<licenses>
Expand Down

0 comments on commit 592c90e

Please sign in to comment.