Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for alternatePomFile (0.09 sec)

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

        protected Path determinePom(C context) {
            Path current = context.invokerRequest.cwd();
            if (context.invokerRequest.options().alternatePomFile().isPresent()) {
                current = context.cwdResolver.apply(
                        context.invokerRequest.options().alternatePomFile().get());
            }
            if (context.modelProcessor != null) {
                return context.modelProcessor.locateExistingPom(current);
    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/mvn/CommonsCliMavenOptions.java

            } catch (InterpolationException e) {
                throw new IllegalArgumentException("Could not interpolate CommonsCliOptions", e);
            }
        }
    
        @Override
        public Optional<String> alternatePomFile() {
            if (commandLine.hasOption(CLIManager.ALTERNATE_POM_FILE)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_POM_FILE));
            }
            return Optional.empty();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top