Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for altUserToolchains (0.12 sec)

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

        protected void toolchains(C context) throws Exception {
            Path userToolchainsFile = null;
    
            if (context.invokerRequest.options().altUserToolchains().isPresent()) {
                userToolchainsFile = context.cwdResolver.apply(
                        context.invokerRequest.options().altUserToolchains().get());
    
                if (!Files.isRegularFile(userToolchainsFile)) {
                    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)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

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