Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            }
        }
    
        protected LayeredMavenOptions(List<O> options) {
            super(options);
        }
    
        @Override
        public Optional<String> alternatePomFile() {
            return returnFirstPresentOrEmpty(MavenOptions::alternatePomFile);
        }
    
        @Override
        public Optional<Boolean> offline() {
            return returnFirstPresentOrEmpty(MavenOptions::offline);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.help().orElse(false)) {
                cmdAndArguments.add("--help");
            }
            if (mavenOptions.alternatePomFile().isPresent()) {
                cmdAndArguments.add("--file");
                cmdAndArguments.add(mavenOptions.alternatePomFile().get());
            }
            if (mavenOptions.offline().orElse(false)) {
                cmdAndArguments.add("--offline");
            }
    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

        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)
  4. 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)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            String alternatePomFile = null;
            if (commandLine.hasOption(CLIManager.ALTERNATE_POM_FILE)) {
                alternatePomFile = commandLine.getOptionValue(CLIManager.ALTERNATE_POM_FILE);
            }
    
            File current = baseDirectory;
            if (alternatePomFile != null) {
                current = resolveFile(new File(alternatePomFile), workingDirectory);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top