Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for altProjectSettings (0.21 sec)

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

                cmdAndArguments.add("--settings");
                cmdAndArguments.add(mavenOptions.altUserSettings().get());
            }
            if (mavenOptions.altProjectSettings().isPresent()) {
                cmdAndArguments.add("--project-settings");
                cmdAndArguments.add(mavenOptions.altProjectSettings().get());
            }
            if (mavenOptions.altInstallationSettings().isPresent()) {
                cmdAndArguments.add("--install-settings");
    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> altUserSettings() {
            return returnFirstPresentOrEmpty(Options::altUserSettings);
        }
    
        @Override
        public Optional<String> altProjectSettings() {
            return returnFirstPresentOrEmpty(Options::altProjectSettings);
        }
    
        @Override
        public Optional<String> altInstallationSettings() {
            return returnFirstPresentOrEmpty(Options::altInstallationSettings);
        }
    
    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 project settings file.
         *
         * @return an {@link Optional} containing the file path, or empty if not set
         */
        @Nonnull
        Optional<String> altProjectSettings();
    
        /**
         * Returns the path to an alternate installation settings 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 projectSettingsFile = null;
    
            if (mavenOptions.altProjectSettings().isPresent()) {
                projectSettingsFile =
                        context.cwdResolver.apply(mavenOptions.altProjectSettings().get());
    
                if (!Files.isRegularFile(projectSettingsFile)) {
                    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_USER_SETTINGS));
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> altProjectSettings() {
            if (commandLine.hasOption(CLIManager.ALTERNATE_PROJECT_SETTINGS)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.ALTERNATE_PROJECT_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