Class MavenUpCling
java.lang.Object
org.apache.maven.cling.ClingSupport
org.apache.maven.cling.MavenUpCling
Maven upgrade CLI "new-gen".
-
Field Summary
Fields inherited from class org.apache.maven.cling.ClingSupport
classWorld, classWorldManaged -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Invokerprotected Parserprotected ParserRequest.BuildercreateParserRequestBuilder(String[] args) static void"Normal" Java entry point.static intClassWorld Launcher "enhanced" entry point: returning exitCode and accepts Class World.static intmain(String[] args, org.codehaus.plexus.classworlds.ClassWorld world, InputStream stdIn, OutputStream stdOut, OutputStream stdErr) ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams.Methods inherited from class org.apache.maven.cling.ClingSupport
createMessageBuilderFactory, run
-
Constructor Details
-
MavenUpCling
public MavenUpCling() -
MavenUpCling
public MavenUpCling(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
-
main
public static int main(String[] args, org.codehaus.plexus.classworlds.ClassWorld world, @Nullable InputStream stdIn, @Nullable OutputStream stdOut, @Nullable OutputStream stdErr) throws IOException ClassWorld Launcher "embedded" entry point: returning exitCode and accepts Class World and streams.- Throws:
IOException
-
createInvoker
- Specified by:
createInvokerin classClingSupport
-
createParser
- Specified by:
createParserin classClingSupport
-
createParserRequestBuilder
- Specified by:
createParserRequestBuilderin classClingSupport
-