Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for altUserSettings (0.14 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            if (mavenOptions.forceInteractive().orElse(false)) {
                cmdAndArguments.add("--force-interactive");
            }
            if (mavenOptions.altUserSettings().isPresent()) {
                cmdAndArguments.add("--settings");
                cmdAndArguments.add(mavenOptions.altUserSettings().get());
            }
            if (mavenOptions.altProjectSettings().isPresent()) {
                cmdAndArguments.add("--project-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)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

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

        /**
         * Returns the path to an alternate user settings file.
         *
         * @return an {@link Optional} containing the file path, or empty if not set
         */
        @Nonnull
        Optional<String> altUserSettings();
    
        /**
         * Returns the path to an alternate project 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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            Options mavenOptions = context.invokerRequest.options();
            Path userSettingsFile = null;
    
            if (mavenOptions.altUserSettings().isPresent()) {
                userSettingsFile =
                        context.cwdResolver.apply(mavenOptions.altUserSettings().get());
    
                if (!Files.isRegularFile(userSettingsFile)) {
    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

            if (commandLine.hasOption(CLIManager.FORCE_INTERACTIVE)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> altUserSettings() {
            if (commandLine.hasOption(CLIManager.ALTERNATE_USER_SETTINGS)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_SETTINGS));
            }
            return Optional.empty();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top