maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r307372 - /maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Date Sun, 09 Oct 2005 06:05:40 GMT
Author: brett
Date: Sat Oct  8 23:05:35 2005
New Revision: 307372

URL: http://svn.apache.org/viewcvs?rev=307372&view=rev
Log:
resoter correct timing on failure

Modified:
    maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java?rev=307372&r1=307371&r2=307372&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
(original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
Sat Oct  8 23:05:35 2005
@@ -242,24 +242,20 @@
                             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 @@
                                 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 );
                                 }
                             }
 



Mime
View raw message