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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateMavenVersionString(Properties buildProperties) Deprecated.Create a human-readable string containing the Maven version, buildnumber, and time of buildstatic StringformatDuration(long duration) Deprecated.static StringformatTimestamp(long timestamp) Deprecated.static PropertiesDeprecated.static voidDeprecated.static StringDeprecated.static StringshowVersion(String commandLine, String terminal) Deprecated.static StringDeprecated.
-
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.
-