[tycho] Intermediary build should use 'xmvn'.

Roland Grunberg rgrunber at fedoraproject.org
Mon Dec 9 18:17:20 UTC 2013


commit 980a042d7b0f05cf830e90c16e20c2f9955cdc50
Author: Roland Grunberg <rgrunber at redhat.com>
Date:   Mon Dec 9 10:17:27 2013 -0500

    Intermediary build should use 'xmvn'.

 tycho.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tycho.spec b/tycho.spec
index 15428c9..b7175b2 100644
--- a/tycho.spec
+++ b/tycho.spec
@@ -200,7 +200,7 @@ if [ "${sysVer}" == "${buildVer}" ]; then
 echo "Performing intermediary build"
 %patch4 -p1
 
-%mvn_build -f -i
+xmvn -o -Dmaven.test.skip=true -Dmaven.repo.local=$(pwd)/.m2 install
 
 %patch4 -p1 -R
 
@@ -211,7 +211,7 @@ fi
 %endif
 
 %build
-%mvn_build -f -i -g clean
+%mvn_build -f -i -g clean -- -Dmaven.repo.local=$(pwd)/.m2
 
 %install
 


More information about the scm-commits mailing list