Set compiler source/target to 1.6

This commit is contained in:
Mikolaj Izdebski 2019-10-25 18:58:15 +02:00
parent 62f253f88b
commit 74c60dd2c8

View File

@ -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