* Create a PlugingXMLHelper configured with the given overrideTarget (which may be "" or null).
* @param overrideTarget overrideTarget (which may be "" or null).
* @return a PlugingXMLHelper configured with the given overrideTarget (which may be "" or null).
*/
public static PluginXMLHelper createPluginXMLHelper(final String overrideTarget) {
final ProjectXMLHelper projectXMLHelper = new ProjectXMLHelper();
if (overrideTarget != null && !"".equals(overrideTarget)) {
LOG.info("Setting Override Target on projectXMLHelper to: " + overrideTarget);
projectXMLHelper.setOverrideTarget(overrideTarget);
}
final PluginXMLHelper pluginXMLHelper = new PluginXMLHelper(projectXMLHelper);
return pluginXMLHelper;
}