Skip to content

Commit 542f1eb

Browse files
committed
Remove setting of autoReleaseAfterClose.
The previous attempt to use a build property for this setting did not work as expected. The `nexus-staging-maven-plugin` ignored the system property passed on the command line. In addition, it turns out that this property is not necessary for two reasons: 1. The `autoReleaseAfterClose` property defaults to `false`. See: https://help.sonatype.com/repomanager2/staging-releases/configuring-your-project-for-deployment#ConfiguringYourProjectforDeployment-DeploymentwiththeNexusStagingMavenPlugin 2. The `autoReleaseAfterClose` property can be passed via the command line already, so there's no point in introducing an intermediate build property that mirros the existing property. See: https://github.com/sonatype/nexus-maven-plugins/tree/master/staging/maven-plugin#plugin-flags [deployautorel]
1 parent 1246e2e commit 542f1eb

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
<properties>
7878
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7979
<maven.compiler.target>1.7</maven.compiler.target>
80-
<google-ads-java.autoRelease>false</google-ads-java.autoRelease>
8180
</properties>
8281

8382
<build>
@@ -248,7 +247,6 @@
248247
<configuration>
249248
<serverId>sonatype-nexus-staging</serverId>
250249
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
251-
<autoReleaseAfterClose>${google-ads-java.autoRelease}</autoReleaseAfterClose>
252250
</configuration>
253251
</plugin>
254252
</plugins>

0 commit comments

Comments
 (0)