for ( Entry<String, PlexusConfiguration> entry : goalsWithConfiguration.entrySet() )
{
MojoDescriptor mojoDescriptor = pluginDescriptor.getMojo( entry.getKey() );
if ( mojoDescriptor == null )
{
throw new MojoNotFoundException( entry.getKey(), pluginDescriptor );
}
MojoExecution mojoExecution = new MojoExecution( plugin, entry.getKey(), "report:" + entry.getKey() );
mojoExecution.setConfiguration( convert( mojoDescriptor ) );