Package org.apache.maven.cling.invoker
Class Utils
java.lang.Object
org.apache.maven.cling.invoker.Utils
Various utilities, mostly to bridge "old" and "new" stuff, like Properties vs Maps, File vs Paths, etc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.codehaus.plexus.interpolation.BasicInterpolator
createInterpolator
(Collection<Map<String, String>> properties) static Path
findMandatoryRoot
(Path topDirectory) static Path
static Path
getCanonicalPath
(Path path) static String
static File
toMap
(Properties properties) static int
static int
static Properties
toProperties
(Map<String, String> properties)
-
Method Details
-
toFile
-
stripLeadingAndTrailingQuotes
-
getCanonicalPath
-
toMap
-
toProperties
-
createInterpolator
@Nonnull public static org.codehaus.plexus.interpolation.BasicInterpolator createInterpolator(Collection<Map<String, String>> properties) -
prefix
-
or
-
toMavenExecutionRequestLoggingLevel
-
toPlexusLoggingLevel
-
findRoot
-
findMandatoryRoot
-