Skip to content

Commit f5fdb5b

Browse files
benipeledroydahan
authored andcommitted
pom: make pushChanges a dynamic variable default to false
This commit set the `pushChanges` to be a dynamic variable with a defult value `false` - one can enable it during run using the -DpushChanges=true flag, This change enables CI releases to run without pushing changes before all important stages are successfully completed.
1 parent 8436cb3 commit f5fdb5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
<ipprefix>127.0.1.</ipprefix>
9090
<!-- defaults below are overridden by profiles and/or submodules -->
9191
<test.groups>unit</test.groups>
92+
<pushChanges>false</pushChanges>
9293
<test.osgi.skip>true</test.osgi.skip>
9394
<javadoc.opts />
9495
<!-- Append "-fedora" to os.detected.classifier for Fedora systems
@@ -621,7 +622,7 @@
621622
<!-- useReleaseProfile>false</useReleaseProfile>
622623
<releaseProfiles>release</releaseProfiles>
623624
<goals>deploy</goals-->
624-
<pushChanges>true</pushChanges>
625+
<pushChanges>${pushChanges}</pushChanges>
625626
<mavenExecutorId>forked-path</mavenExecutorId>
626627
<arguments>-Dgpg.passphrase=${gpg.passphrase}</arguments>
627628
</configuration>

0 commit comments

Comments
 (0)