protected MavenPluginHelper getMavenPluginHelper() {
if (mavenPluginHelper == null) {
if (getProject() == null || getLog() == null) {
throw new IllegalStateException("getMavenPluginHelper() called too early!");
}
mavenPluginHelper = new MavenPluginHelper(getProject(), getLog());
}
return mavenPluginHelper;
}