https://bugzilla.redhat.com/show_bug.cgi?id=1999177
--- Comment #2 from Robert Scheck redhat-bugzilla@linuxnetz.de --- As mentioned in bug #2000976, I'm not experienced in Java (packaging), I've read https://docs.fedoraproject.org/en-US/java-packaging-howto/manpages/, and I'll try to review this...hopefully.
%pom_xpath_inject pom:project '<groupId>com.github.stefanbirkner</groupId>' %pom_remove_plugin :animal-sniffer-maven-plugin %pom_add_dep org.apache.commons:commons-lang3 %pom_xpath_inject 'pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId="maven-surefire-plugin"]' '<version>any</version>'
Why are these POM changes needed? Does it make sense to put the reason/explanation into comments inside the spec file?