mirror of https://github.com/apache/maven.git
o Removed dead code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@777167 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9af145d0a7
commit
b6d356acab
|
@ -305,8 +305,6 @@ public class DefaultLifecycleExecutor
|
||||||
{
|
{
|
||||||
for ( String goal : execution.getGoals() )
|
for ( String goal : execution.getGoals() )
|
||||||
{
|
{
|
||||||
String s = plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion() + ":" + goal;
|
|
||||||
|
|
||||||
if ( phaseToMojoMapping.get( execution.getPhase() ) == null )
|
if ( phaseToMojoMapping.get( execution.getPhase() ) == null )
|
||||||
{
|
{
|
||||||
// This is happening because executions in the POM are getting mixed into the clean lifecycle
|
// This is happening because executions in the POM are getting mixed into the clean lifecycle
|
||||||
|
@ -325,7 +323,6 @@ public class DefaultLifecycleExecutor
|
||||||
{
|
{
|
||||||
for ( String goal : execution.getGoals() )
|
for ( String goal : execution.getGoals() )
|
||||||
{
|
{
|
||||||
String s = plugin.getGroupId() + ":" + plugin.getArtifactId() + ":" + plugin.getVersion() + ":" + goal;
|
|
||||||
MojoDescriptor mojoDescriptor = pluginManager.getMojoDescriptor( plugin, goal, session.getLocalRepository(), project.getRemoteArtifactRepositories() );
|
MojoDescriptor mojoDescriptor = pluginManager.getMojoDescriptor( plugin, goal, session.getLocalRepository(), project.getRemoteArtifactRepositories() );
|
||||||
|
|
||||||
if ( mojoDescriptor.getPhase() != null && phaseToMojoMapping.get( mojoDescriptor.getPhase() ) != null )
|
if ( mojoDescriptor.getPhase() != null && phaseToMojoMapping.get( mojoDescriptor.getPhase() ) != null )
|
||||||
|
|
Loading…
Reference in New Issue