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-ffa450edef68master
parent
da321cebe1
commit
60a5d5fd48
|
|
@ -248,6 +248,11 @@ public abstract class AbstractMojoTestCase
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ( pluginConfigurationElement == null )
|
||||
{
|
||||
throw new ConfigurationException( "Cannot find a configuration element for a plugin with an artifactId of " + artifactId + "." );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue