Class CLIReportingUtils

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

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

  • Constructor Details

    • CLIReportingUtils

      public CLIReportingUtils()
      Deprecated.
  • Method Details

    • showVersion

      public static String showVersion()
      Deprecated.
    • showVersion

      public static String showVersion(String commandLine, String terminal)
      Deprecated.
    • showVersionMinimal

      public static String showVersionMinimal()
      Deprecated.
    • createMavenVersionString

      public static String createMavenVersionString(Properties buildProperties)
      Deprecated.
      Create a human-readable string containing the Maven version, buildnumber, and time of build
      Parameters:
      buildProperties - The build properties
      Returns:
      Readable build info
    • getBuildProperties

      public static Properties getBuildProperties()
      Deprecated.
    • showError

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

      public static String formatTimestamp(long timestamp)
      Deprecated.
    • formatDuration

      public static String formatDuration(long duration)
      Deprecated.