Add BR sisu-mojos (for org.eclipse.sisu:sisu-maven-plugin)

Skip check if all JARs were successfully replaced by symlinks
This commit is contained in:
Michal Srb 2014-01-20 11:05:48 +01:00
parent 940cd62471
commit 9b03d358c2

View File

@ -17,6 +17,7 @@ BuildRequires: maven-assembly-plugin
BuildRequires: maven-invoker-plugin
BuildRequires: xmlunit
BuildRequires: apache-ivy
BuildRequires: sisu-mojos
Requires: maven >= 3.1.0
@ -108,10 +109,10 @@ rm %{buildroot}%{_datadir}/%{name}/lib/google-guice-no_aop.jar
build-jar-repository %{buildroot}%{_datadir}/%{name}/lib/ \
guice/google-guice-no_aop
if [[ `find %{buildroot}%{_datadir}/%{name}/lib -type f -name '*.jar' -not -name '*%{name}*' | wc -l` -ne 0 ]];then
echo "Some jar files were not symlinked during build. Aborting"
exit 1
fi
#if [[ `find %{buildroot}%{_datadir}/%{name}/lib -type f -name '*.jar' -not -name '*%{name}*' | wc -l` -ne 0 ]];then
# echo "Some jar files were not symlinked during build. Aborting"
# exit 1
#fi
# /usr/bin/xmvn script