Skip to content

Commit 8b50fa3

Browse files
committed
Do not auto close or release
1 parent ca6f2a1 commit 8b50fa3

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

examples/pom.xml

+17-12
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,21 @@
4949
</dependency>
5050
</dependencies>
5151

52-
<build>
53-
<plugins>
54-
<plugin>
55-
<groupId>org.apache.maven.plugins</groupId>
56-
<artifactId>maven-deploy-plugin</artifactId>
57-
<version>2.7</version>
58-
<configuration>
59-
<skip>true</skip>
60-
</configuration>
61-
</plugin>
62-
</plugins>
63-
</build>
52+
<profiles>
53+
<profile>
54+
<id>release</id>
55+
<build>
56+
<plugins>
57+
<plugin>
58+
<groupId>org.apache.maven.plugins</groupId>
59+
<artifactId>maven-deploy-plugin</artifactId>
60+
<configuration>
61+
<skip>true</skip>
62+
</configuration>
63+
</plugin>
64+
</plugins>
65+
</build>
66+
</profile>
67+
</profiles>
68+
6469
</project>

pom.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
<configuration>
9090
<releaseProfiles>release</releaseProfiles>
9191
<arguments>-Prelease</arguments>
92+
<mavenExecutorId>forked-path</mavenExecutorId>
9293
</configuration>
9394
</plugin>
9495
<plugin>
@@ -216,7 +217,8 @@
216217
<configuration>
217218
<serverId>sonatype-nexus-staging</serverId>
218219
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
219-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
220+
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
221+
<!-- <autoReleaseAfterClose>true</autoReleaseAfterClose> -->
220222
</configuration>
221223
</plugin>
222224
<plugin>

0 commit comments

Comments
 (0)