Package org.apache.maven.cling
Class ClingSupport
java.lang.Object
org.apache.maven.cling.ClingSupport
- Direct Known Subclasses:
MavenCling
,MavenEncCling
The CLI "new-gen".
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.codehaus.plexus.classworlds.ClassWorld
protected final boolean
-
Constructor Summary
ConstructorDescriptionCtor that creates "managed" ClassWorld.ClingSupport
(org.codehaus.plexus.classworlds.ClassWorld classWorld) Ctor to be used when running in ClassWorlds Launcher. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Invoker
protected abstract InvokerRequest
parseArguments
(String[] args) int
The main entry point.
-
Field Details
-
classWorld
protected final org.codehaus.plexus.classworlds.ClassWorld classWorld -
classWorldManaged
protected final boolean classWorldManaged
-
-
Constructor Details
-
ClingSupport
public ClingSupport()Ctor that creates "managed" ClassWorld. This constructor is not used in "normal" circumstances. -
ClingSupport
public ClingSupport(org.codehaus.plexus.classworlds.ClassWorld classWorld) Ctor to be used when running in ClassWorlds Launcher.
-
-
Method Details
-
run
The main entry point.- Throws:
IOException
-
createInvoker
-
parseArguments
- Throws:
ParserException
IOException
-