- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for showVersionAndExit (0.09 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
return String.format( "layered(%s)", options.stream().map(Options::source).toList()); } @Override public Optional<Boolean> showVersionAndExit() { return returnFirstPresentOrEmpty(Options::showVersionAndExit); } @Override public Optional<Boolean> showVersion() { return returnFirstPresentOrEmpty(Options::showVersion); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java
/** * Indicates whether to show the version information and exit. * * @return an {@link Optional} containing the boolean flag, or empty if not set */ @Nonnull Optional<Boolean> showVersionAndExit(); /** * Indicates whether to show the version information. * * @return an {@link Optional} containing the boolean flag, or empty if not set */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 22 14:53:58 UTC 2024 - 6.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java
mavenOptions.userProperties().get().entrySet()) { cmdAndArguments.add("-D" + entry.getKey() + "=" + entry.getValue()); } } if (mavenOptions.showVersionAndExit().orElse(false)) { cmdAndArguments.add("--version"); } if (mavenOptions.showVersion().orElse(false)) { cmdAndArguments.add("--show-version"); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0)