Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getEffectiveSettings (0.16 sec)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

            request.setUserSettingsFile(getSettings("simple"));
    
            SettingsBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveSettings());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

        }
    
        private Settings build(SettingsBuildingRequest request) throws IOException, XmlPullParserException {
            try {
                return settingsBuilder.build(request).getEffectiveSettings();
            } catch (SettingsBuildingException e) {
                throw new IOException(e.getMessage(), e);
            }
        }
    
        /** @since 2.1 */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java

            this.effectiveSettings = effectiveSettings;
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
        public Settings getEffectiveSettings() {
            return effectiveSettings;
        }
    
        @Override
        public List<SettingsProblem> getProblems() {
            return problems;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java

    @Deprecated(since = "4.0.0")
    public interface SettingsBuildingResult {
    
        /**
         * Gets the assembled settings.
         *
         * @return The assembled settings, never {@code null}.
         */
        Settings getEffectiveSettings();
    
        /**
         * Gets the problems that were encountered during the settings building. Note that only problems of severity
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            if (request.getEventSpyDispatcher() != null) {
                request.getEventSpyDispatcher().onEvent(settingsResult);
            }
    
            populateFromSettings(request, settingsResult.getEffectiveSettings());
    
            if (!settingsResult.getProblems().isEmpty() && LOGGER.isWarnEnabled()) {
                LOGGER.warn("");
                LOGGER.warn("Some problems were encountered while building the effective settings");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                        .build());
    
                return new DefaultSettingsBuildingResult(
                        new Settings(result.getEffectiveSettings()), convert(result.getProblems()));
            } catch (SettingsBuilderException e) {
                throw new SettingsBuildingException(convert(e.getProblems()));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                                mavenSystemHome != null ? mavenSystemHome.resolve("settings.xml") : null,
                                mavenUserHome.resolve("settings.xml"))
                        .getEffectiveSettings();
    
                settings.getProfiles();
    
                // local repository
                String localRepository = settings.getLocalRepository() != null
                        ? settings.getLocalRepository()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            SettingsBuilderResult settingsResult = settingsBuilder.build(settingsRequest);
            customizeSettingsResult(context, settingsResult);
    
            context.effectiveSettings = settingsResult.getEffectiveSettings();
            context.interactive = mayDisableInteractiveMode(context, context.effectiveSettings.isInteractiveMode());
            context.localRepositoryPath = localRepositoryPath(context);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top