Skip to content

Commit

Permalink
don't deploy to nexus if deployment is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeec committed Sep 14, 2020
1 parent c406d9b commit 56606ea
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,13 @@
<skip>${skip.deployment}</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<skipNexusStagingDeployMojo>${skip.deployment}</skipNexusStagingDeployMojo>
</configuration>
</plugin>

<!-- Flatten POM -->
<plugin>
Expand Down Expand Up @@ -357,7 +364,7 @@
</execution>
</executions>
</plugin>
<plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.3</version>
Expand Down Expand Up @@ -428,13 +435,13 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<configuration>
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</configuration>
</plugin>
</plugin>
<!-- sets ${qualifiedVersion} for bintray upload -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
Expand Down

0 comments on commit 56606ea

Please sign in to comment.