It seems that the Maven SpotBugs and the Maven Flatten plugin are not compatible when used together. I am using a SpotBugs exclusion filter from another jar file and SpotBugs seems to create a zero length copy of that file when the flatten plugin is active.
So before digging deeper into the sources or reporting a bug I wanted to ask why we need the maven flatten plugin for the incremental builds? Is this plugin optional? Or what happens if I set the property -Dflatten.flatten.skip in my Jenkinsfile? Are then incremental builds still created? Or is this relevant for CD only? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/C0EE89FF-8B5C-467D-A194-2ED667E35EE8%40gmail.com.