Package org.apache.maven.cling
Class MavenCling
java.lang.Object
org.apache.maven.cling.ClingSupport<MavenOptions,MavenInvokerRequest<MavenOptions>>
org.apache.maven.cling.MavenCling
Maven CLI "new-gen".
-
Field Summary
Fields inherited from class org.apache.maven.cling.ClingSupport
classWorld, classWorldManaged
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Invoker
<MavenInvokerRequest<MavenOptions>> static void
"Normal" Java entry point.static int
ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.protected MavenInvokerRequest
<MavenOptions> parseArguments
(String[] args) Methods inherited from class org.apache.maven.cling.ClingSupport
run
-
Constructor Details
-
MavenCling
public MavenCling() -
MavenCling
public MavenCling(org.codehaus.plexus.classworlds.ClassWorld classWorld)
-
-
Method Details
-
main
"Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal circumstances.- Throws:
IOException
-
main
public static int main(String[] args, org.codehaus.plexus.classworlds.ClassWorld world) throws IOException ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.- Throws:
IOException
-
createInvoker
- Specified by:
createInvoker
in classClingSupport<MavenOptions,
MavenInvokerRequest<MavenOptions>>
-
parseArguments
protected MavenInvokerRequest<MavenOptions> parseArguments(String[] args) throws ParserException, IOException - Specified by:
parseArguments
in classClingSupport<MavenOptions,
MavenInvokerRequest<MavenOptions>> - Throws:
ParserException
IOException
-