I got it compiled with this two lines in the prep section: # remove missing additional dependencies for the compiler plugin %pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]//pom:compilerId' %pom_xpath_remove 'pom:plugin[pom:artifactId="maven-compiler-plugin"]//pom:dependencies'