Class MavenParser
java.lang.Object
org.apache.maven.cling.invoker.BaseParser
org.apache.maven.cling.invoker.mvn.MavenParser
- All Implemented Interfaces:
Parser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.cling.invoker.BaseParser
BaseParser.LocalContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MavenOptions
assembleOptions
(List<Options> parsedOptions) protected MavenInvokerRequest
getInvokerRequest
(BaseParser.LocalContext context) protected MavenOptions
parseCliOptions
(BaseParser.LocalContext context) protected MavenOptions
parseMavenCliOptions
(List<String> args) protected MavenOptions
parseMavenConfigOptions
(Path configFile) Methods inherited from class org.apache.maven.cling.invoker.BaseParser
getCwd, getInstallationDirectory, getJvmArguments, getRootDirectory, getTopDirectory, getUserHomeDirectory, mayOverrideDirectorySystemProperty, parseInvocation, populateSystemProperties, populateUserProperties, readCoreExtensionsDescriptor, readCoreExtensionsDescriptorFromFile
-
Constructor Details
-
MavenParser
public MavenParser()
-
-
Method Details
-
parseCliOptions
protected List<Options> parseCliOptions(BaseParser.LocalContext context) throws ParserException, IOException - Specified by:
parseCliOptions
in classBaseParser
- Throws:
ParserException
IOException
-
parseMavenCliOptions
- Throws:
ParserException
-
parseMavenConfigOptions
- Throws:
ParserException
IOException
-
parseArgs
- Throws:
ParserException
-
getInvokerRequest
- Specified by:
getInvokerRequest
in classBaseParser
-
assembleOptions
- Specified by:
assembleOptions
in classBaseParser
-