SHA256
1
0
forked from pool/maven-osgi
Fridrich Strba 2019-11-22 15:49:27 +00:00 committed by Git OBS Bridge
parent 2ff8159948
commit 5f452a3e1a

View File

@ -61,8 +61,10 @@ sed -i 's/import aQute\.lib\.osgi/import aQute.bnd.osgi/g' src/main/java/org/apa
%pom_xpath_set "pom:artifactId[text()='plexus-maven-plugin']" plexus-component-metadata
%build
# Tests depend on binary JARs which were removed from sources
%{mvn_build} -f -- -Dmaven.compiler.release=6
%{mvn_build} -f \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0}
-- -Dmaven.compiler.release=6
%endif
%install
%mvn_install