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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new d6337e6  print Maven version
d6337e6 is described below

commit d6337e6b003f8e4604b3eaf0cd35d746f9eb1ae4
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Dec 8 00:24:19 2021 +0100

    print Maven version
---
 vars/asfMavenTlpPlgnBuild.groovy | 2 +-
 vars/asfMavenTlpStdBuild.groovy  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index aa5f324..d5104f6 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -120,7 +120,7 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, 
taskContext )
     return;
   }
   def cmd = [
-    'mvn',
+    'mvn', '-V',
     '-P+run-its',
     '-Dmaven.test.failure.ignore=false',
     '-Dfindbugs.failOnError=false',
diff --git a/vars/asfMavenTlpStdBuild.groovy b/vars/asfMavenTlpStdBuild.groovy
index 4f3119b..230ef62 100644
--- a/vars/asfMavenTlpStdBuild.groovy
+++ b/vars/asfMavenTlpStdBuild.groovy
@@ -55,7 +55,7 @@ def call(Map params = [:]) {
           continue;
         }
         def cmd = [
-          'mvn',
+          'mvn', '-V',
           '-P+run-its',
           '-Dmaven.test.failure.ignore=false',
           '-Dfindbugs.failOnError=false',

Reply via email to