forked from pool/maven-osgi
This commit is contained in:
parent
2ff8159948
commit
5f452a3e1a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user