This is an automated email from the ASF dual-hosted git repository.

porcelli pushed a commit to branch seed-optaplanner-10.2.x
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git


The following commit(s) were added to refs/heads/seed-optaplanner-10.2.x by 
this push:
     new 73352f96 try: reverted, will inline the changes to make sure it works
73352f96 is described below

commit 73352f96321813b4c0bacad46e03f862df6d33f7
Author: Alex Porcelli <[email protected]>
AuthorDate: Sat Mar 21 14:35:31 2026 -0400

    try: reverted, will inline the changes to make sure it works
---
 jenkins-pipeline-shared-libraries/vars/maven.groovy | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/jenkins-pipeline-shared-libraries/vars/maven.groovy 
b/jenkins-pipeline-shared-libraries/vars/maven.groovy
index 0205bb91..b8382fb5 100644
--- a/jenkins-pipeline-shared-libraries/vars/maven.groovy
+++ b/jenkins-pipeline-shared-libraries/vars/maven.groovy
@@ -74,17 +74,14 @@ def mvnVersionsUpdateParent(String newVersion, boolean 
allowSnapshots = false) {
     mvnVersionsUpdateParent(new MavenCommand(this), newVersion, allowSnapshots)
 }
 
-def mvnVersionsUpdateParent(MavenCommand mvnCmd, String newVersion, boolean 
allowSnapshots = false, boolean skipResolution = false) {
-    def cmd = mvnCmd.clone()
+def mvnVersionsUpdateParent(MavenCommand mvnCmd, String newVersion, boolean 
allowSnapshots = false) {
+    mvnCmd.clone()
             .withOptions(['-N', '-e'])
             .withProperty('full')
             .withProperty('parentVersion', "[${newVersion}]")
             .withProperty('allowSnapshots', allowSnapshots)
             .withProperty('generateBackupPoms', false)
-    if (skipResolution) {
-        cmd.withProperty('skipResolution', true)
-    }
-    cmd.run('versions:update-parent')
+            .run('versions:update-parent')
 }
 
 def mvnVersionsUpdateChildModules(boolean allowSnapshots = false) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to