- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 2,923 for option2 (0.05 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 26 17:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 17:39:57 GMT 2025 - 4K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java
@Nonnull Optional<CIInfo> ciInfo(); /** * Returns the options associated with this invocation request. * * @return the options optional. It will be absent if {@link #parsingFailed()} return {@code true}. */ @Nonnull Optional<Options> options(); /** * This method returns "verbose" option value derived from multiple places: CLI options, but also CI detection,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 6.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java
* @param defaultWhenNoOptionsSpecified whether this option should be enabled by default * @return true if the option should be enabled */ default boolean isOptionEnabled( UpgradeOptions options, Optional<Boolean> specificOption, boolean defaultWhenNoOptionsSpecified) { // Handle --all option (overrides individual options) boolean useAll = options.all().orElse(false); if (useAll) { return true;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 3.4K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java
import java.util.List; import java.util.Optional; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.cli.Options; /** * Defines the options specific to the Maven upgrade tool. * This interface extends the general {@link Options} interface, adding upgrade-specific configuration options. * * @since 4.0.0 */ @ExperimentalCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
private boolean isOptionEnabled(UpgradeOptions options, Optional<Boolean> option, boolean defaultValue) { // Handle --all option (overrides individual options) if (options.all().orElse(false)) { return true; } // Check if the specific option is explicitly set if (option.isPresent()) { return option.get(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
/** * Locate and parse the model in the specified directory. * This is equivalent to {@code locate(dir).map(s -> parse(s, options))}. * * @param dir the directory to locate the pom for, never {@code null} * @param options possible parsing options, may be {@code null} * @return an optional parsed {@link Model} or {@code null} if none could be foundCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Sep 10 17:18:47 GMT 2024 - 3.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
assertTrue(options.model().get(), "--model option should be true"); assertTrue(options.plugins().isPresent(), "--plugins option should be present"); assertTrue(options.plugins().get(), "--plugins option should be true"); } @Test void testNoPluginsOptionByDefault() throws ParseException { String[] args = {"apply"};
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:48:39 GMT 2025 - 9.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java
public static final String YJP = "yjp"; protected Options options; protected final Set<Option> usedDeprecatedOptions = new LinkedHashSet<>(); @SuppressWarnings("checkstyle:MethodLength") public CLIManager() { options = new Options(); options.addOption(Option.builder(Character.toString(HELP)) .longOpt("help")
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Aug 06 04:56:48 GMT 2025 - 17.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
void shouldBeApplicableWhenAllOptionSpecified() { UpgradeOptions options = mock(UpgradeOptions.class); when(options.all()).thenReturn(Optional.of(true)); when(options.plugins()).thenReturn(Optional.empty()); UpgradeContext context = createMockContext(options); assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --all is specified");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0)