Class CommonsCliMavenOptions
java.lang.Object
org.apache.maven.cling.invoker.CommonsCliOptions
org.apache.maven.cling.invoker.mvn.CommonsCliMavenOptions
- All Implemented Interfaces:
MavenOptions
,Options
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.maven.cling.invoker.CommonsCliOptions
cliManager, commandLine, source
Fields inherited from interface org.apache.maven.api.cli.Options
SOURCE_CLI
-
Constructor Summary
ModifierConstructorDescriptionprotected
CommonsCliMavenOptions
(String source, CommonsCliMavenOptions.CLIManager cliManager, org.apache.commons.cli.CommandLine commandLine) -
Method Summary
Modifier and TypeMethodDescriptionalsoMake()
builder()
failFast()
goals()
interpolate
(Collection<Map<String, String>> properties) offline()
static CommonsCliMavenOptions
projects()
resume()
threads()
Methods inherited from class org.apache.maven.cling.invoker.CommonsCliOptions
altInstallationSettings, altInstallationToolchains, altProjectSettings, altUserSettings, altUserToolchains, color, displayHelp, failOnSeverity, forceInteractive, help, logFile, nonInteractive, quiet, rawStreams, showErrors, showVersion, showVersionAndExit, source, userProperties, verbose, warnAboutDeprecatedOptions
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.cli.Options
altInstallationSettings, altInstallationToolchains, altProjectSettings, altUserSettings, altUserToolchains, color, displayHelp, failOnSeverity, forceInteractive, help, logFile, nonInteractive, quiet, rawStreams, showErrors, showVersion, showVersionAndExit, source, userProperties, verbose, warnAboutDeprecatedOptions
-
Constructor Details
-
CommonsCliMavenOptions
protected CommonsCliMavenOptions(String source, CommonsCliMavenOptions.CLIManager cliManager, org.apache.commons.cli.CommandLine commandLine)
-
-
Method Details
-
parse
public static CommonsCliMavenOptions parse(String source, String[] args) throws org.apache.commons.cli.ParseException - Throws:
org.apache.commons.cli.ParseException
-
alternatePomFile
- Specified by:
alternatePomFile
in interfaceMavenOptions
-
offline
- Specified by:
offline
in interfaceMavenOptions
-
nonRecursive
- Specified by:
nonRecursive
in interfaceMavenOptions
-
updateSnapshots
- Specified by:
updateSnapshots
in interfaceMavenOptions
-
activatedProfiles
- Specified by:
activatedProfiles
in interfaceMavenOptions
-
suppressSnapshotUpdates
- Specified by:
suppressSnapshotUpdates
in interfaceMavenOptions
-
strictChecksums
- Specified by:
strictChecksums
in interfaceMavenOptions
-
relaxedChecksums
- Specified by:
relaxedChecksums
in interfaceMavenOptions
-
failFast
- Specified by:
failFast
in interfaceMavenOptions
-
failAtEnd
- Specified by:
failAtEnd
in interfaceMavenOptions
-
failNever
- Specified by:
failNever
in interfaceMavenOptions
-
resume
- Specified by:
resume
in interfaceMavenOptions
-
resumeFrom
- Specified by:
resumeFrom
in interfaceMavenOptions
-
projects
- Specified by:
projects
in interfaceMavenOptions
-
alsoMake
- Specified by:
alsoMake
in interfaceMavenOptions
-
alsoMakeDependents
- Specified by:
alsoMakeDependents
in interfaceMavenOptions
-
threads
- Specified by:
threads
in interfaceMavenOptions
-
builder
- Specified by:
builder
in interfaceMavenOptions
-
noTransferProgress
- Specified by:
noTransferProgress
in interfaceMavenOptions
-
cacheArtifactNotFound
- Specified by:
cacheArtifactNotFound
in interfaceMavenOptions
-
strictArtifactDescriptorPolicy
- Specified by:
strictArtifactDescriptorPolicy
in interfaceMavenOptions
-
ignoreTransitiveRepositories
- Specified by:
ignoreTransitiveRepositories
in interfaceMavenOptions
-
goals
- Specified by:
goals
in interfaceMavenOptions
-
interpolate
- Specified by:
interpolate
in interfaceMavenOptions
- Specified by:
interpolate
in interfaceOptions
-