mirror of https://github.com/apache/maven.git
o Fixed plugin management injection
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@764226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e8e1d53e14
commit
d3f76d80c0
|
@ -161,7 +161,6 @@ public class DefaultLifecycleBindingManager
|
|||
for ( Iterator it = plugins.iterator(); it.hasNext(); )
|
||||
{
|
||||
Plugin plugin = (Plugin) it.next();
|
||||
BindingUtils.injectPluginManagementInfo( plugin, project );
|
||||
|
||||
PluginDescriptor pluginDescriptor = null;
|
||||
|
||||
|
|
|
@ -153,14 +153,14 @@ public class PluginsManagementProcessor extends BaseProcessor
|
|||
target.setId( source.getId() );
|
||||
}
|
||||
|
||||
if(target.getInherited() == null)
|
||||
if ( target.getInherited() == null )
|
||||
{
|
||||
source.setInherited( target.getInherited() );
|
||||
target.setInherited( source.getInherited() );
|
||||
}
|
||||
|
||||
if(target.getPhase() != null)
|
||||
|
||||
if ( target.getPhase() == null )
|
||||
{
|
||||
source.setPhase( target.getPhase() );
|
||||
target.setPhase( source.getPhase() );
|
||||
}
|
||||
|
||||
List<String> goals = new ArrayList<String>(target.getGoals());
|
||||
|
|
Loading…
Reference in New Issue