Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- afterProjectsRead(MavenSession) - Method in class kr.motd.maven.os.DetectExtension
- append(StringBuilder, String, int) - Method in class kr.motd.maven.os_maven_plugin.HelpMojo
-
Append a description to the buffer by respecting the indentSize and lineLength parameters.
B
C
- CLASSIFIER_WITH_LIKES_PROPERTY - Static variable in class kr.motd.maven.os.DetectMojo
- classifierWithLikes - Variable in class kr.motd.maven.os.DetectMojo
- closeQuietly(Closeable) - Static method in class kr.motd.maven.os.Detector
D
- DEFAULT_LINE_LENGTH - Static variable in class kr.motd.maven.os_maven_plugin.HelpMojo
- DEFAULT_REDHAT_VARIANTS - Static variable in class kr.motd.maven.os.Detector
- detail - Variable in class kr.motd.maven.os_maven_plugin.HelpMojo
-
If
true
, display all settable properties for each goal. - detect(Properties, List<String>) - Method in class kr.motd.maven.os.Detector
- DETECTED_ARCH - Static variable in class kr.motd.maven.os.Detector
- DETECTED_BITNESS - Static variable in class kr.motd.maven.os.Detector
- DETECTED_CLASSIFIER - Static variable in class kr.motd.maven.os.Detector
- DETECTED_NAME - Static variable in class kr.motd.maven.os.Detector
- DETECTED_RELEASE - Static variable in class kr.motd.maven.os.Detector
- DETECTED_RELEASE_LIKE_PREFIX - Static variable in class kr.motd.maven.os.Detector
- DETECTED_RELEASE_VERSION - Static variable in class kr.motd.maven.os.Detector
- DETECTED_VERSION - Static variable in class kr.motd.maven.os.Detector
- DETECTED_VERSION_MAJOR - Static variable in class kr.motd.maven.os.Detector
- DETECTED_VERSION_MINOR - Static variable in class kr.motd.maven.os.Detector
- DetectExtension - Class in kr.motd.maven.os
-
Detects the current operating system and architecture, normalizes them, and sets them to various project properties.
- DetectExtension(Logger) - Constructor for class kr.motd.maven.os.DetectExtension
- DetectionException - Exception Class in kr.motd.maven.os
- DetectionException(String) - Constructor for exception class kr.motd.maven.os.DetectionException
- DetectMojo - Class in kr.motd.maven.os
-
Detects the current operating system and architecture, normalizes them, and sets them to various project properties.
- DetectMojo() - Constructor for class kr.motd.maven.os.DetectMojo
- detector - Variable in class kr.motd.maven.os.DetectExtension
- detector - Variable in class kr.motd.maven.os.DetectMojo
- Detector - Class in kr.motd.maven.os
- Detector() - Constructor for class kr.motd.maven.os.Detector
- Detector(SystemPropertyOperationProvider, FileOperationProvider) - Constructor for class kr.motd.maven.os.Detector
- Detector.LinuxRelease - Class in kr.motd.maven.os
- Detector.SimpleFileOperations - Class in kr.motd.maven.os
- Detector.SimpleSystemPropertyOperations - Class in kr.motd.maven.os
- determineBitness(String) - Method in class kr.motd.maven.os.Detector
E
- execute() - Method in class kr.motd.maven.os_maven_plugin.HelpMojo
- execute() - Method in class kr.motd.maven.os.DetectMojo
F
- fileOperationProvider - Variable in class kr.motd.maven.os.Detector
- FileOperationProvider - Interface in kr.motd.maven.os
-
Interface exposing file operations.
- findNamedChild(Node, String) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
- findSingleChild(Node, String) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
G
- getClassifierWithLikes(String) - Static method in class kr.motd.maven.os.DetectMojo
-
Takes a comma-separated value of os "likes" to be included in the generated classifier and returns them as a list.
- getClassifierWithLikes(MavenSession) - Static method in class kr.motd.maven.os.DetectExtension
-
Inspects the session's user and project properties for the
DetectMojo.CLASSIFIER_WITH_LIKES_PROPERTY
and separates the property into a list. - getIndentLevel(String) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
-
Gets the indentation level of the specified line.
- getLinuxRelease() - Method in class kr.motd.maven.os.Detector
- getPropertyFromExpression(String) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
- getSingleChild(Node, String) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
- getSystemProperty(String) - Method in class kr.motd.maven.os.Detector.SimpleSystemPropertyOperations
- getSystemProperty(String) - Method in interface kr.motd.maven.os.SystemPropertyOperationProvider
-
Gets the system property indicated by the specified name.
- getSystemProperty(String, String) - Method in class kr.motd.maven.os.Detector.SimpleSystemPropertyOperations
- getSystemProperty(String, String) - Method in interface kr.motd.maven.os.SystemPropertyOperationProvider
-
Gets the system property indicated by the specified name.
- getValue(Node, String) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
- goal - Variable in class kr.motd.maven.os_maven_plugin.HelpMojo
-
The name of the goal for which to show help.
- guessBitnessFromArchitecture(String) - Static method in class kr.motd.maven.os.Detector
H
- HelpMojo - Class in kr.motd.maven.os_maven_plugin
-
Display help information on os-maven-plugin.
Callmvn os:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details. - HelpMojo() - Constructor for class kr.motd.maven.os_maven_plugin.HelpMojo
I
- id - Variable in class kr.motd.maven.os.Detector.LinuxRelease
- indentSize - Variable in class kr.motd.maven.os_maven_plugin.HelpMojo
-
The number of spaces per indentation level, should be positive.
- injectRepositorySession(Logger, MavenSession, Map<String, String>) - Static method in class kr.motd.maven.os.RepositorySessionInjector
- injectSession(MavenSession, Map<String, String>) - Method in class kr.motd.maven.os.DetectExtension
- interpolate(Map<String, String>, Iterable<Dependency>) - Static method in class kr.motd.maven.os.DetectExtension
- interpolate(Map<String, String>, String) - Static method in class kr.motd.maven.os.DetectExtension
- interpolate(Map<String, String>, ModelBase) - Static method in class kr.motd.maven.os.DetectExtension
- interpolate(Map<String, String>, MavenProject) - Static method in class kr.motd.maven.os.DetectExtension
- isNotEmpty(String) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
K
- kr.motd.maven.os - package kr.motd.maven.os
- kr.motd.maven.os_maven_plugin - package kr.motd.maven.os_maven_plugin
L
- like - Variable in class kr.motd.maven.os.Detector.LinuxRelease
- lineLength - Variable in class kr.motd.maven.os_maven_plugin.HelpMojo
-
The maximum length of a display line, should be positive.
- LINUX_ID_LIKE_PREFIX - Static variable in class kr.motd.maven.os.Detector
- LINUX_ID_PREFIX - Static variable in class kr.motd.maven.os.Detector
- LINUX_OS_RELEASE_FILES - Static variable in class kr.motd.maven.os.Detector
- LINUX_VERSION_ID_PREFIX - Static variable in class kr.motd.maven.os.Detector
- LinuxRelease(String, String, Set<String>) - Constructor for class kr.motd.maven.os.Detector.LinuxRelease
- log(String) - Method in class kr.motd.maven.os.Detector
- logger - Variable in class kr.motd.maven.os.DetectExtension
- logProperty(String, String) - Method in class kr.motd.maven.os.Detector
N
- normalize(String) - Static method in class kr.motd.maven.os.Detector
- normalizeArch(String) - Static method in class kr.motd.maven.os.Detector
- normalizeOs(String) - Static method in class kr.motd.maven.os.Detector
- normalizeOsReleaseValue(String) - Static method in class kr.motd.maven.os.Detector
P
- parseLinuxOsReleaseFile(String) - Method in class kr.motd.maven.os.Detector
-
Parses a file in the format of
/etc/os-release
and return aDetector.LinuxRelease
based on theID
,ID_LIKE
, andVERSION_ID
entries. - parseLinuxRedhatReleaseFile(String) - Method in class kr.motd.maven.os.Detector
-
Parses the
/etc/redhat-release
and returns aDetector.LinuxRelease
containing the ID and like ["rhel", "fedora", ID]. - PLUGIN_HELP_PATH - Static variable in class kr.motd.maven.os_maven_plugin.HelpMojo
- project - Variable in class kr.motd.maven.os.DetectMojo
R
- readFile(String) - Method in class kr.motd.maven.os.Detector.SimpleFileOperations
- readFile(String) - Method in interface kr.motd.maven.os.FileOperationProvider
-
Gets a
InputStream
for reading the content of the file with the specified path. - REDHAT_MAJOR_VERSION_REGEX - Static variable in class kr.motd.maven.os.Detector
- REDHAT_RELEASE_FILE - Static variable in class kr.motd.maven.os.Detector
- repeat(String, int) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
-
Repeat a String
n
times to form a new string. - RepositorySessionInjector - Class in kr.motd.maven.os
- RepositorySessionInjector() - Constructor for class kr.motd.maven.os.RepositorySessionInjector
S
- serialVersionUID - Static variable in exception class kr.motd.maven.os.DetectionException
- setProperty(Properties, String, String) - Method in class kr.motd.maven.os.Detector
- setSystemProperty(String, String) - Method in class kr.motd.maven.os.Detector.SimpleSystemPropertyOperations
- setSystemProperty(String, String) - Method in interface kr.motd.maven.os.SystemPropertyOperationProvider
-
Sets the system property indicated by the specified name.
- SimpleFileOperations() - Constructor for class kr.motd.maven.os.Detector.SimpleFileOperations
- SimpleSystemPropertyOperations() - Constructor for class kr.motd.maven.os.Detector.SimpleSystemPropertyOperations
- systemPropertyOperationProvider - Variable in class kr.motd.maven.os.Detector
- SystemPropertyOperationProvider - Interface in kr.motd.maven.os
-
Interface exposing system property operations.
T
- toLines(String, int, int, int) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
-
Splits the specified text into lines of convenient display length.
- toLines(List<String>, String, int, int) - Static method in class kr.motd.maven.os_maven_plugin.HelpMojo
-
Adds the specified line to the output sequence, performing line wrapping if necessary.
U
V
- version - Variable in class kr.motd.maven.os.Detector.LinuxRelease
- VERSION_REGEX - Static variable in class kr.motd.maven.os.Detector
W
- writeGoal(StringBuilder, String, Element) - Method in class kr.motd.maven.os_maven_plugin.HelpMojo
- writeParameter(StringBuilder, Node, Node) - Method in class kr.motd.maven.os_maven_plugin.HelpMojo
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form