Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for altInstallationToolchains (0.15 sec)

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

        public Optional<String> altUserToolchains() {
            return returnFirstPresentOrEmpty(Options::altUserToolchains);
        }
    
        @Override
        public Optional<String> altInstallationToolchains() {
            return returnFirstPresentOrEmpty(Options::altInstallationToolchains);
        }
    
        @Override
        public Optional<String> logFile() {
            return returnFirstPresentOrEmpty(Options::logFile);
        }
    
        @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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                cmdAndArguments.add(mavenOptions.altUserToolchains().get());
            }
            if (mavenOptions.altInstallationToolchains().isPresent()) {
                cmdAndArguments.add("--install-toolchains");
                cmdAndArguments.add(mavenOptions.altInstallationToolchains().get());
            }
            if (mavenOptions.logFile().isPresent()) {
                cmdAndArguments.add("--log-file");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                }
            }
    
            Path installationToolchainsFile = null;
    
            if (context.invokerRequest.options().altInstallationToolchains().isPresent()) {
                installationToolchainsFile = context.cwdResolver.apply(
                        context.invokerRequest.options().altInstallationToolchains().get());
    
                if (!Files.isRegularFile(installationToolchainsFile)) {
                    throw new FileNotFoundException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         * Returns the path to an alternate installation toolchains file.
         *
         * @return an {@link Optional} containing the file path, or empty if not set
         */
        @Nonnull
        Optional<String> altInstallationToolchains();
    
        /**
         * Returns the path to the log file.
         *
         * @return an {@link Optional} containing the file path, or empty if not set
         */
        @Nonnull
        Optional<String> logFile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_USER_TOOLCHAINS));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> altInstallationToolchains() {
            if (commandLine.hasOption(CLIManager.ALTERNATE_INSTALLATION_TOOLCHAINS)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_INSTALLATION_TOOLCHAINS));
            }
    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