throw PluginError when maven fails