resoter correct timing on failure

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307372 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-09 06:05:35 +00:00
parent 49fd01a9a4
commit 4b574dcebc
1 changed files with 8 additions and 16 deletions

View File

@ -242,24 +242,20 @@ public class DefaultLifecycleExecutor
catch ( MojoExecutionException e )
{
// TODO: should this be removed?
handleExecutionFailure( rm, rootProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
}
catch ( ArtifactResolutionException e )
{
// TODO: should this be removed?
handleExecutionFailure( rm, rootProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
}
catch ( MojoFailureException e )
{
handleExecutionFailure( rm, rootProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
}
catch ( ArtifactNotFoundException e )
{
handleExecutionFailure( rm, rootProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
}
}
@ -330,24 +326,20 @@ public class DefaultLifecycleExecutor
catch ( MojoExecutionException e )
{
// TODO: should this be removed?
handleExecutionFailure( rm, currentProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
}
catch ( ArtifactResolutionException e )
{
// TODO: should this be removed?
handleExecutionFailure( rm, currentProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
}
catch ( MojoFailureException e )
{
handleExecutionFailure( rm, currentProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
}
catch ( ArtifactNotFoundException e )
{
handleExecutionFailure( rm, currentProject, e, task,
System.currentTimeMillis() - buildStartTime );
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
}
}