Package org.apache.maven.cli
Class CLIReportingUtils
java.lang.Object
org.apache.maven.cli.CLIReportingUtils
Deprecated.
Utility class used to report errors, statistics, application version info, etc.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createMavenVersionString
(Properties buildProperties) Deprecated.Create a human-readable string containing the Maven version, buildnumber, and time of buildstatic String
formatDuration
(long duration) Deprecated.static String
formatTimestamp
(long timestamp) Deprecated.static Properties
Deprecated.static void
Deprecated.static String
Deprecated.static String
showVersion
(String commandLine, String terminal) Deprecated.static String
Deprecated.
-
Field Details
-
MB
public static final long MBDeprecated.- See Also:
-
BUILD_VERSION_PROPERTY
Deprecated.- See Also:
-
-
Constructor Details
-
CLIReportingUtils
public CLIReportingUtils()Deprecated.
-
-
Method Details
-
showVersion
Deprecated. -
showVersion
Deprecated. -
showVersionMinimal
Deprecated. -
createMavenVersionString
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
Deprecated. -
showError
public static void showError(org.slf4j.Logger logger, String message, Throwable e, boolean showStackTrace) Deprecated. -
formatTimestamp
Deprecated. -
formatDuration
Deprecated.
-