Allow copying dangling symlinks in Maven home
This commit is contained in:
parent
cdd2c32e13
commit
b0991423da
@ -224,7 +224,7 @@ maven_home=$(realpath $(dirname $(realpath $(which mvn)))/..)
|
||||
mver=$(sed -n '/<mavenVersion>/{s/.*>\(.*\)<.*/\1/;p}' \
|
||||
xmvn-parent/pom.xml)
|
||||
mkdir -p target/dependency/
|
||||
cp -aL ${maven_home} target/dependency/apache-maven-$mver
|
||||
cp -a ${maven_home} target/dependency/apache-maven-$mver
|
||||
|
||||
%build
|
||||
%mvn_build -s -j
|
||||
|
Loading…
Reference in New Issue
Block a user