Set compiler source/target levels to 1.6

This commit is contained in:
Mikolaj Izdebski 2019-10-28 14:54:48 +01:00
parent 359fce7886
commit fc569b469a

View File

@ -32,6 +32,8 @@ Detection.
%setup -q -n %{name} %setup -q -n %{name}
cp %{SOURCE1} NOTICE-CC-BY cp %{SOURCE1} NOTICE-CC-BY
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.6
%mvn_file :ri %{name} %mvn_file :ri %{name}
%mvn_alias :ri com.google.code.findbugs:jsr305 %mvn_alias :ri com.google.code.findbugs:jsr305
%mvn_package ":{proposedAnnotations,tcl}" __noinstall %mvn_package ":{proposedAnnotations,tcl}" __noinstall