Skip to content

Commit fd07382

Browse files
committed
Remove deploy execution in Nexus Staging Plugin
This would produce snapshots that Gradle could not consume, because the build number in the maven-metadata.xml file and the produced binaries wouldn't be in sync. Maven is able to consume those, but not Gradle.
1 parent d2e527d commit fd07382

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

pom.xml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102

103103
<!-- to sign artifacts when releasing -->
104104
<gpg.keyname>6026DFCA</gpg.keyname>
105-
<nexus-staging-maven-plugin.version>1.6.4</nexus-staging-maven-plugin.version>
105+
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
106106
</properties>
107107

108108
<profiles>
@@ -456,15 +456,6 @@
456456
<groupId>org.sonatype.plugins</groupId>
457457
<artifactId>nexus-staging-maven-plugin</artifactId>
458458
<version>${nexus-staging-maven-plugin.version}</version>
459-
<executions>
460-
<execution>
461-
<id>default-deploy</id>
462-
<phase>deploy</phase>
463-
<goals>
464-
<goal>deploy</goal>
465-
</goals>
466-
</execution>
467-
</executions>
468459
<configuration>
469460
<serverId>ossrh</serverId>
470461
<nexusUrl>https://oss.sonatype.org/</nexusUrl>

0 commit comments

Comments
 (0)