Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for forceInteractive (0.09 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        @Override
        public Optional<Boolean> nonInteractive() {
            return returnFirstPresentOrEmpty(Options::nonInteractive);
        }
    
        @Override
        public Optional<Boolean> forceInteractive() {
            return returnFirstPresentOrEmpty(Options::forceInteractive);
        }
    
        @Override
        public Optional<String> altUserSettings() {
            return returnFirstPresentOrEmpty(Options::altUserSettings);
        }
    
        @Override
    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)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

        /**
         * Indicates whether to force interactive mode.
         *
         * @return an {@link Optional} containing the boolean flag, or empty if not set
         */
        @Nonnull
        Optional<Boolean> forceInteractive();
    
        /**
         * Returns the path to an alternate user settings file.
         *
         * @return an {@link Optional} containing the file path, or empty if not set
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        "Invalid color configuration value '" + styleColor + "'. Supported are 'auto', 'always', 'never'.");
            } else {
                boolean isBatchMode = !context.options().forceInteractive().orElse(false)
                        && context.options().nonInteractive().orElse(false);
                if (isBatchMode || context.options().logFile().isPresent()) {
                    context.coloredOutput = false;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> forceInteractive() {
            if (commandLine.hasOption(CLIManager.FORCE_INTERACTIVE)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> altUserSettings() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            boolean logFile = context.options().logFile().isPresent();
            boolean quietCI = context.invokerRequest.ciInfo().isPresent()
                    && !context.options().forceInteractive().orElse(false);
    
            TransferListener delegate;
            if (quiet || noTransferProgress || quietCI) {
                delegate = new QuietMavenTransferListener();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

        public static final char ALTERNATE_POM_FILE = 'f';
    
        public static final char BATCH_MODE = 'B';
    
        public static final String NON_INTERACTIVE = "non-interactive";
    
        public static final String FORCE_INTERACTIVE = "force-interactive";
    
        public static final char SET_USER_PROPERTY = 'D';
    
        /**
         * @deprecated Use {@link #SET_USER_PROPERTY}
         */
        @Deprecated
    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)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                        "Invalid color configuration value '" + styleColor + "'. Supported are 'auto', 'always', 'never'.");
            } else {
                boolean isBatchMode = !commandLine.hasOption(CLIManager.FORCE_INTERACTIVE)
                        && (commandLine.hasOption(CLIManager.BATCH_MODE)
                                || commandLine.hasOption(CLIManager.NON_INTERACTIVE));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
Back to Top