I have a plugin that is supposed to send files to a database regardless of test failures. I tried setting the fail-at-end setting but the plugin still didn't run. ignoring failures altogether doesn't seem to be an option for me in this case because then faulty jars would be deployed to the artifact repository. I can use this plugin for as a separate command line script but it would be optimal if it could be put in the pom.

The tests need to be run before the plugin does, because the plugin gets the test report files.

I am aware that there are similar questions to this that have been asked before, but they don't seem to help me so I was wondering if someone has similar advice.