protected String getPackaging() throws MojoExecutionException
{
final String packaging = this.project.getPackaging();
if (packaging == null || packaging.trim().length() == 0)
{
throw new MojoExecutionException(
"This project must have the packaging defined, when attempting to deploy exploded");
}
return packaging;
}