Don't rely on mvn script to locate Maven home
This commit is contained in:
parent
8e3295cd8c
commit
abfebc45df
@ -227,7 +227,7 @@ find -name ResolverIntegrationTest.java -delete
|
||||
%pom_remove_plugin :maven-jar-plugin xmvn-tools
|
||||
|
||||
# get mavenVersion that is expected
|
||||
maven_home=$(readlink -f $(dirname $(readlink $(which mvn)))/..)
|
||||
maven_home=$(readlink -f $(dirname $(readlink $(which xmvn)))/../../maven)
|
||||
mver=$(sed -n '/<mavenVersion>/{s/.*>\(.*\)<.*/\1/;p}' \
|
||||
xmvn-parent/pom.xml)
|
||||
mkdir -p target/dependency/
|
||||
|
Loading…
Reference in New Issue
Block a user