File project.diff of Package netty

--- netty.spec.orig
+++ netty.spec
@@ -229,6 +229,8 @@ unzip %{SOURCE2} -d transport-native-uni
 <properties><javaModuleName>io.netty.dev.tools</javaModuleName></properties>
 ' dev-tools
 
+%pom_xpath_remove -r pom:configuration/pom:archive/pom:index
+
 %pom_remove_dep -r :annotations-java5
 
 %pom_xpath_remove "pom:profiles/pom:profile[pom:id = 'staging']" all
@@ -247,7 +249,7 @@ unzip %{SOURCE2} -d transport-native-uni
 
 %build
 
-%{mvn_build} -f -- -Dmaven.compiler.useIncrementalCompilation=false
+%{mvn_build} -f -- -Dmaven.compiler.incrementalCompilation=classes
 
 %install
 %mvn_install
openSUSE Build Service is sponsored by