mirror of https://github.com/apache/maven.git
PR: MNG-721
fix failure times git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307305 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ac27ec84c
commit
ce8f50cc0a
|
@ -242,20 +242,24 @@ public class DefaultLifecycleExecutor
|
||||||
catch ( MojoExecutionException e )
|
catch ( MojoExecutionException e )
|
||||||
{
|
{
|
||||||
// TODO: should this be removed?
|
// TODO: should this be removed?
|
||||||
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, rootProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
catch ( ArtifactResolutionException e )
|
catch ( ArtifactResolutionException e )
|
||||||
{
|
{
|
||||||
// TODO: should this be removed?
|
// TODO: should this be removed?
|
||||||
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, rootProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
catch ( MojoFailureException e )
|
catch ( MojoFailureException e )
|
||||||
{
|
{
|
||||||
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, rootProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
catch ( ArtifactNotFoundException e )
|
catch ( ArtifactNotFoundException e )
|
||||||
{
|
{
|
||||||
handleExecutionFailure( rm, rootProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, rootProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -326,20 +330,24 @@ public class DefaultLifecycleExecutor
|
||||||
catch ( MojoExecutionException e )
|
catch ( MojoExecutionException e )
|
||||||
{
|
{
|
||||||
// TODO: should this be removed?
|
// TODO: should this be removed?
|
||||||
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, currentProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
catch ( ArtifactResolutionException e )
|
catch ( ArtifactResolutionException e )
|
||||||
{
|
{
|
||||||
// TODO: should this be removed?
|
// TODO: should this be removed?
|
||||||
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, currentProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
catch ( MojoFailureException e )
|
catch ( MojoFailureException e )
|
||||||
{
|
{
|
||||||
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, currentProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
catch ( ArtifactNotFoundException e )
|
catch ( ArtifactNotFoundException e )
|
||||||
{
|
{
|
||||||
handleExecutionFailure( rm, currentProject, e, task, buildStartTime );
|
handleExecutionFailure( rm, currentProject, e, task,
|
||||||
|
System.currentTimeMillis() - buildStartTime );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue