Skip to content

Commit c44ac5c

Browse files
committed
pom profiles updated
1 parent bdd5702 commit c44ac5c

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

pom.xml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@
116116

117117
<!-- Plugin para publicar en Central Publisher Portal -->
118118
<plugin>
119-
<groupId>org.sonatype.central</groupId>
120-
<artifactId>central-publishing-maven-plugin</artifactId>
121-
<version>0.7.0</version>
119+
<groupId>org.sonatype.plugins</groupId>
120+
<artifactId>nexus-staging-maven-plugin</artifactId>
121+
<version>1.6.13</version>
122122
<extensions>true</extensions>
123123
<configuration>
124-
<publishingServerId>central</publishingServerId>
125-
<autoPublish>true</autoPublish>
126-
<waitUntil>published</waitUntil>
124+
<serverId>ossrh</serverId>
125+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
126+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
127127
</configuration>
128128
</plugin>
129129

@@ -171,4 +171,16 @@
171171
</profile>
172172
</profiles>
173173

174+
175+
<distributionManagement>
176+
<snapshotRepository>
177+
<id>ossrh</id>
178+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
179+
</snapshotRepository>
180+
<repository>
181+
<id>ossrh</id>
182+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
183+
</repository>
184+
</distributionManagement>
185+
174186
</project>

0 commit comments

Comments
 (0)