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
FieldsModifier and TypeFieldDescriptionstatic final String
Deprecated.static final long
Deprecated.private static final long
Deprecated.private static final long
Deprecated.private static final long
Deprecated.private static final long
Deprecated. -
Constructor Summary
Constructors -
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.private static String
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:
-
ONE_SECOND
private static final long ONE_SECONDDeprecated.- See Also:
-
ONE_MINUTE
private static final long ONE_MINUTEDeprecated.- See Also:
-
ONE_HOUR
private static final long ONE_HOURDeprecated.- See Also:
-
ONE_DAY
private static final long ONE_DAYDeprecated.- 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
-
reduce
Deprecated. -
getBuildProperties
Deprecated. -
showError
public static void showError(org.slf4j.Logger logger, String message, Throwable e, boolean showStackTrace) Deprecated. -
formatTimestamp
Deprecated. -
formatDuration
Deprecated.
-