Set compiler source/target to 1.6

This commit is contained in:
Mikolaj Izdebski 2019-10-26 11:54:31 +02:00
parent a43dbcf711
commit c4393cb19b

View File

@ -62,7 +62,7 @@ sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom
%mvn_alias :xml-apis-ext xerces:dom3-xml-apis
%build
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 jar javadoc
ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 jar javadoc
# inject OSGi manifests
jar ufm build/xml-apis.jar %{SOURCE1}