Closed KengoTODA closed 2 years ago
I'm not sure this fix is enough to link maven-spotbugs-plugin with m2e. Maybe we need some additional bridge to report detected issues in editor?
I think that is likely enough. I've had luck with other plugins by defining that myself in super pom in other cases. At the very least, can you raise a PR to fix the issue?
YES I will.
Fixed by #69. I don't think there is any need for anything more with m2e.
Sorry, reopening. I thought this had been merged.
At here we have
<goal>compile</goal>
. Thecompile
is not goal of our plugin but phase in Maven lifecycle. It should be<goal>check</goal>
to run SpotBugs plugin at the timing to build.refs https://www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html