mirror of
https://github.com/apache/maven.git
synced 2025-02-11 04:25:56 +00:00
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 LifecycleBindings getProjectCustomBindings( final MavenProject project, f
|
||||
for ( Iterator it = plugins.iterator(); it.hasNext(); )
|
||||
{
|
||||
Plugin plugin = (Plugin) it.next();
|
||||
BindingUtils.injectPluginManagementInfo( plugin, project );
|
||||
|
||||
PluginDescriptor pluginDescriptor = null;
|
||||
|
||||
|
@ -153,14 +153,14 @@ private static void copyPluginExecution(PluginExecution source, PluginExecution
|
||||
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…
x
Reference in New Issue
Block a user