Set compiler source/target to 1.6
This commit is contained in:
parent
62f253f88b
commit
74c60dd2c8
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
Name: apache-commons-logging
|
Name: apache-commons-logging
|
||||||
Version: 1.2
|
Version: 1.2
|
||||||
Release: 14%{?dist}
|
Release: 14%{?dist}
|
||||||
@ -58,7 +57,7 @@ sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt NOTICE.txt
|
|||||||
rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
|
rm -rf src/test/java/org/apache/commons/logging/log4j/log4j12
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
%mvn_build -- -Dmaven.compiler.source=1.6 -Dmaven.compiler.target=1.6
|
||||||
|
|
||||||
# The build produces more artifacts from one pom
|
# The build produces more artifacts from one pom
|
||||||
%mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar
|
%mvn_artifact %{SOURCE2} target/commons-logging-%{version}-api.jar
|
||||||
|
Loading…
Reference in New Issue
Block a user