mirror of https://github.com/apache/maven.git
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:
parent
49fd01a9a4
commit
4b574dcebc
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue