Class CLIReportingUtils

java.lang.Object
org.apache.maven.cli.CLIReportingUtils

public final class CLIReportingUtils extends Object
Utility class used to report errors, statistics, application version info, etc.
  • Field Details

  • Constructor Details

    • CLIReportingUtils

      public CLIReportingUtils()
  • Method Details

    • showVersion

      public static String showVersion()
    • showVersionMinimal

      public static String showVersionMinimal()
    • showError

      public static void showError(org.slf4j.Logger logger, String message, Throwable e, boolean showStackTrace)
    • formatTimestamp

      public static String formatTimestamp(long timestamp)
    • formatDuration

      public static String formatDuration(long duration)