mirror of https://github.com/apache/maven.git
make the build result output processing to be public methods.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@598032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55b1f99a85
commit
2b135180ba
|
@ -112,7 +112,13 @@ public final class CLIReportingUtils
|
|||
}
|
||||
}
|
||||
|
||||
static void logResult( MavenExecutionRequest request,
|
||||
/**
|
||||
* Logs result of the executed build.
|
||||
* @param request - build parameters
|
||||
* @param result - result of build
|
||||
* @param logger - the logger to use
|
||||
*/
|
||||
public static void logResult( MavenExecutionRequest request,
|
||||
MavenExecutionResult result,
|
||||
MavenEmbedderLogger logger )
|
||||
{
|
||||
|
@ -206,7 +212,14 @@ public final class CLIReportingUtils
|
|||
showError( null, e, show, logger );
|
||||
}
|
||||
|
||||
static void showError( String message,
|
||||
/**
|
||||
* Format the exception and output it through the logger.
|
||||
* @param message - error message
|
||||
* @param e - exception that was thrown
|
||||
* @param showStackTraces
|
||||
* @param logger
|
||||
*/
|
||||
public static void showError( String message,
|
||||
Exception e,
|
||||
boolean showStackTraces,
|
||||
MavenEmbedderLogger logger )
|
||||
|
|
Loading…
Reference in New Issue