getLog().debug( "Resolving artifact type mappings ..." );
ArtifactTypeMappingService typeMappingService;
try
{
typeMappingService = new ArtifactTypeMappingService();
typeMappingService.configure( artifactTypeMappings );
}
catch ( EarPluginException e )
{
throw new MojoExecutionException( "Failed to initialize artifact type mappings", e );
}