From ddf5c9a72d72098ebc8e0883c1b56eb3d8de062c Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: May 21 2020 19:16:05 +0000 Subject: bootstrap xmvn --- diff --git a/SPECS/xmvn.spec b/SPECS/xmvn.spec index d98e4ee..dc1d10e 100644 --- a/SPECS/xmvn.spec +++ b/SPECS/xmvn.spec @@ -223,9 +223,9 @@ find -name ResolverIntegrationTest.java -delete %pom_remove_plugin :maven-jar-plugin xmvn-tools # get mavenVersion that is expected -maven_home=$(realpath $(dirname $(realpath $(which mvn)))/..) -mver=$(sed -n '//{s/.*>\(.*\)<.*/\1/;p}' \ - xmvn-parent/pom.xml) +maven_home=/usr/share/maven +mver=3.6.2 + mkdir -p target/dependency/ cp -a ${maven_home} target/dependency/apache-maven-$mver @@ -247,7 +247,8 @@ rm -f %{name}-${version}*/bin/* %mvn_install version=4.0.0-SNAPSHOT -maven_home=$(realpath $(dirname $(realpath $(which mvn)))/..) +maven_home=/usr/share/maven +mver=3.6.2 install -d -m 755 %{buildroot}%{_datadir}/%{name} cp -r %{name}-${version}*/* %{buildroot}%{_datadir}/%{name}/