Skip to content

Commit bf15a36

Browse files
committed
Configure nexus-staging-maven-plugin
Close #7
1 parent f52cc90 commit bf15a36

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
2121
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
2222
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
23+
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
2324
<spring-javaformat.version>0.0.35</spring-javaformat.version>
2425

2526
<spring-boot.version>3.0.0</spring-boot.version>
@@ -128,6 +129,17 @@
128129
</execution>
129130
</executions>
130131
</plugin>
132+
<plugin>
133+
<groupId>org.sonatype.plugins</groupId>
134+
<artifactId>nexus-staging-maven-plugin</artifactId>
135+
<version>${nexus-staging-maven-plugin.version}</version>
136+
<extensions>true</extensions>
137+
<configuration>
138+
<serverId>ossrh</serverId>
139+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
140+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
141+
</configuration>
142+
</plugin>
131143
</plugins>
132144
</build>
133145

0 commit comments

Comments
 (0)