Skip to content

Commit

Permalink
Do not auto close or release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Feb 15, 2022
1 parent ca6f2a1 commit 8b50fa3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
29 changes: 17 additions & 12 deletions examples/pom.xml
Expand Up @@ -49,16 +49,21 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.7</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
4 changes: 3 additions & 1 deletion pom.xml
Expand Up @@ -89,6 +89,7 @@
<configuration>
<releaseProfiles>release</releaseProfiles>
<arguments>-Prelease</arguments>
<mavenExecutorId>forked-path</mavenExecutorId>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -216,7 +217,8 @@
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose> -->
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 8b50fa3

Please sign in to comment.