Set compiler source/target to 1.6
This commit is contained in:
parent
2e756bc4d9
commit
c969ecc87f
@ -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
|
%mvn_file ':commons-collections{,-testframework}' %{name}@1 commons-collections@1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_artifact commons-collections:commons-collections-testframework:%{version} target/commons-collections-testframework-%{version}.jar
|
%mvn_artifact commons-collections:commons-collections-testframework:%{version} target/commons-collections-testframework-%{version}.jar
|
||||||
|
Loading…
Reference in New Issue
Block a user