mirror of https://github.com/apache/maven.git
PR: MNG-373
make sure plugin configuration is always injected git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3be583ee12
commit
967fa87820
|
@ -382,9 +382,10 @@ public class DefaultLifecycleExecutor
|
|||
|
||||
if ( pluginDescriptor == null )
|
||||
{
|
||||
injectHandlerPluginConfiguration( session.getProject(), groupId, artifactId, version );
|
||||
try
|
||||
{
|
||||
injectHandlerPluginConfiguration( session.getProject(), groupId, artifactId, version );
|
||||
|
||||
pluginDescriptor = pluginManager.verifyPlugin( groupId, artifactId, version, session );
|
||||
}
|
||||
catch ( PluginManagerException e )
|
||||
|
@ -392,6 +393,11 @@ public class DefaultLifecycleExecutor
|
|||
throw new LifecycleExecutionException( "Internal error in the plugin manager", e );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
injectHandlerPluginConfiguration( session.getProject(), pluginDescriptor.getGroupId(),
|
||||
pluginDescriptor.getArtifactId(), pluginDescriptor.getVersion() );
|
||||
}
|
||||
|
||||
MojoDescriptor mojoDescriptor = null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue