Set compiler source/target to 1.6

This commit is contained in:
Mikolaj Izdebski 2019-10-25 18:53:31 +02:00
parent 2e756bc4d9
commit c969ecc87f

View File

@ -59,7 +59,7 @@ sed -i 's/\r//' LICENSE.txt PROPOSAL.html README.txt NOTICE.txt
%mvn_file ':commons-collections{,-testframework}' %{name}@1 commons-collections@1
%build
%mvn_build
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6
%install
%mvn_artifact commons-collections:commons-collections-testframework:%{version} target/commons-collections-testframework-%{version}.jar