Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for forceInteractive (0.11 sec)

  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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.nonInteractive().orElse(false)) {
                cmdAndArguments.add("--non-interactive");
            }
            if (mavenOptions.forceInteractive().orElse(false)) {
                cmdAndArguments.add("--force-interactive");
            }
            if (mavenOptions.altUserSettings().isPresent()) {
                cmdAndArguments.add("--settings");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. 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 = !mavenOptions.forceInteractive().orElse(false)
                        && mavenOptions.nonInteractive().orElse(false);
                if (isBatchMode || mavenOptions.logFile().isPresent()) {
                    context.coloredOutput = false;
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  5. 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() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import static org.apache.maven.api.Constants.MAVEN_INSTALLATION_CONF;
    import static org.apache.maven.cli.CLIManager.BATCH_MODE;
    import static org.apache.maven.cli.CLIManager.COLOR;
    import static org.apache.maven.cli.CLIManager.FORCE_INTERACTIVE;
    import static org.apache.maven.cli.CLIManager.NON_INTERACTIVE;
    import static org.apache.maven.cli.ResolveFile.resolveFile;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top