[JENKINS-22252] Revert JENKINS-26947 fix #52
Reverts #39 because that caused a critical regression: basically anyone running a recent version of Maven and one of the analysis publishers would see build failures after updating the plugin to 2.12. (BTW whoever released 2.12—it is not attributed; @ndeloof?—neglected to update the changelog in the wiki.)
Verified using jenkinsci/acceptance-test-harness#41.
@reviewbybees esp. @ydubreuil whose change needs to be reworked. I propose cutting a new release promptly with this reversion, reopening JENKINS-26947, and then the problem can be studied and tested better and potentially refixed in a later release. @oleg-nenashev might be able to help.