- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getOptionValue (0.25 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 25 17:39:57 UTC 2025 - 14.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS)); } return Optional.empty(); } @Override public Optional<String> altProjectSettings() { if (commandLine.hasOption(CLIManager.ALTERNATE_PROJECT_SETTINGS)) { return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_PROJECT_SETTINGS)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 07:36:42 UTC 2025 - 21.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
MavenExecutionRequest request = cliRequest.getRequest(); File userSettingsFile; if (commandLine.hasOption(CLIManager.ALTERNATE_USER_SETTINGS)) { userSettingsFile = new File(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS)); userSettingsFile = resolveFile(userSettingsFile, workingDirectory); if (!userSettingsFile.isFile()) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 19 18:49:57 UTC 2025 - 12K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
assertEquals("multithreaded", request.commandLine.getOptionValue(CLIManager.BUILDER)); assertEquals("8", request.commandLine.getOptionValue(CLIManager.THREADS)); // override from command line request = new CliRequest(new String[] {"--builder", "foobar"}, null); cli.cli(request); assertEquals("foobar", request.commandLine.getOptionValue("builder")); } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java
return Optional.of(commandLine.getOptionValue(CLIManager.MODEL_VERSION)); } return Optional.empty(); } @Override @Nonnull public Optional<String> directory() { if (commandLine.hasOption(CLIManager.DIRECTORY)) { return Optional.of(commandLine.getOptionValue(CLIManager.DIRECTORY)); } return Optional.empty(); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:48:39 UTC 2025 - 7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
request.setResumeFrom(commandLine.getOptionValue(CLIManager.RESUME_FROM)); enableOnPresentOption(commandLine, CLIManager.RESUME, request::setResume); request.setMakeBehavior(determineMakeBehavior(commandLine)); boolean cacheNotFound = !commandLine.hasOption(CLIManager.CACHE_ARTIFACT_NOT_FOUND) || Boolean.parseBoolean(commandLine.getOptionValue(CLIManager.CACHE_ARTIFACT_NOT_FOUND));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0)