MPLUGIN-46: [maven-plugin-testing-harness-1.0-beta-1] AbstractMojoTestCase.extractPluginConfiguration expects plugin configuration directly under plugin (configuration under executions/execution doesn't work)

Submitted by: Jimisola Laursen
Reviewed by: Vincent Siveton

o applied



git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@632209 13f79535-47bb-0310-9956-ffa450edef68
master
Vincent Siveton 2008-02-29 02:23:18 +00:00
parent da321cebe1
commit 60a5d5fd48
1 changed files with 5 additions and 0 deletions

View File

@ -248,6 +248,11 @@ public abstract class AbstractMojoTestCase
break; break;
} }
} }
if ( pluginConfigurationElement == null )
{
throw new ConfigurationException( "Cannot find a configuration element for a plugin with an artifactId of " + artifactId + "." );
}
} }
} }