Package org.apache.maven.cling
Class MavenCling
java.lang.Object
org.apache.maven.cling.ClingSupport
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
static void
"Normal" Java entry point.static int
ClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.protected InvokerRequest
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
-
parseArguments
- Specified by:
parseArguments
in classClingSupport
- Throws:
ParserException
IOException
-