Skip to content

Commit

Permalink
ci: add deployment to Maven Central
Browse files Browse the repository at this point in the history
Refs: #26
  • Loading branch information
ariwk committed Jun 27, 2024
1 parent b0e1b8d commit 1d4b529
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<maven-dependency-plugin.version>3.7.1</maven-dependency-plugin.version>
<exec-maven-plugin.version>3.3.0</exec-maven-plugin.version>
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
<version.nexus-staging-maven-plugin>1.6.13</version.nexus-staging-maven-plugin>
<central-publishing-maven-plugin.version>0.5.0</central-publishing-maven-plugin.version>

<!-- Test dependencies -->
<junit.version>5.10.2</junit.version>
Expand Down Expand Up @@ -458,14 +458,12 @@
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${version.nexus-staging-maven-plugin}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<publishingServerId>ossrh</publishingServerId>
</configuration>
</plugin>

Expand Down

0 comments on commit 1d4b529

Please sign in to comment.