Skip to content

Commit c386e21

Browse files
authored
Add <distributionManagement> configuration (#902)
1 parent 9eb6d7a commit c386e21

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
@@ -201,6 +201,7 @@
201201
<configuration>
202202
<serverId>oss.sonatype.org</serverId>
203203
<nexusUrl>https://oss.sonatype.org</nexusUrl>
204+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
204205
</configuration>
205206
</plugin>
206207
</plugins>
@@ -326,4 +327,15 @@
326327
<scope>test</scope>
327328
</dependency>
328329
</dependencies>
330+
331+
<distributionManagement>
332+
<repository>
333+
<id>sonatype-nexus-staging</id>
334+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
335+
</repository>
336+
<snapshotRepository>
337+
<id>sonatype-nexus-snapshots</id>
338+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
339+
</snapshotRepository>
340+
</distributionManagement>
329341
</project>

0 commit comments

Comments
 (0)