Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for altInstallationSettings (0.13 sec)

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

                cmdAndArguments.add(mavenOptions.altProjectSettings().get());
            }
            if (mavenOptions.altInstallationSettings().isPresent()) {
                cmdAndArguments.add("--install-settings");
                cmdAndArguments.add(mavenOptions.altInstallationSettings().get());
            }
            if (mavenOptions.altUserToolchains().isPresent()) {
                cmdAndArguments.add("--toolchains");
    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<String> altProjectSettings() {
            return returnFirstPresentOrEmpty(Options::altProjectSettings);
        }
    
        @Override
        public Optional<String> altInstallationSettings() {
            return returnFirstPresentOrEmpty(Options::altInstallationSettings);
        }
    
        @Override
        public Optional<String> altUserToolchains() {
            return returnFirstPresentOrEmpty(Options::altUserToolchains);
        }
    
    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 installation settings file.
         *
         * @return an {@link Optional} containing the file path, or empty if not set
         */
        @Nonnull
        Optional<String> altInstallationSettings();
    
        /**
         * Returns the path to an alternate user toolchains 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

                }
            }
    
            Path installationSettingsFile = null;
    
            if (mavenOptions.altInstallationSettings().isPresent()) {
                installationSettingsFile = context.cwdResolver.apply(
                        mavenOptions.altInstallationSettings().get());
    
                if (!Files.isRegularFile(installationSettingsFile)) {
                    throw new FileNotFoundException(
    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(commandLine.getOptionValue(CLIManager.ALTERNATE_PROJECT_SETTINGS));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> altInstallationSettings() {
            if (commandLine.hasOption(CLIManager.ALTERNATE_INSTALLATION_SETTINGS)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_INSTALLATION_SETTINGS));
            }
    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