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