mirror of https://github.com/apache/maven.git
o start of reporting so i can track every last problem
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@769585 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0127ba0c14
commit
d78af4efbe
|
@ -31,6 +31,7 @@ import org.apache.maven.embedder.MavenEmbedderConsoleLogger;
|
|||
import org.apache.maven.embedder.MavenEmbedderException;
|
||||
import org.apache.maven.embedder.MavenEmbedderFileLogger;
|
||||
import org.apache.maven.embedder.MavenEmbedderLogger;
|
||||
import org.apache.maven.exception.ExceptionSummary;
|
||||
import org.apache.maven.execution.MavenExecutionRequest;
|
||||
import org.apache.maven.execution.MavenExecutionResult;
|
||||
import org.codehaus.plexus.classworlds.ClassWorld;
|
||||
|
@ -170,7 +171,11 @@ public class MavenCli
|
|||
|
||||
if ( result.hasExceptions() )
|
||||
{
|
||||
System.out.println( result.getExceptionSummary().getMessage() );
|
||||
ExceptionSummary es = result.getExceptionSummary();
|
||||
|
||||
System.out.println( es.getMessage() );
|
||||
|
||||
es.getException().printStackTrace();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue