Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for convertFromSettingsProfile (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

        }
    
        /**
         * @param settingsProfile
         * @return a profile
         */
        public static org.apache.maven.model.Profile convertFromSettingsProfile(Profile settingsProfile) {
            return new org.apache.maven.model.Profile(
                    SettingsUtilsV4.convertFromSettingsProfile(settingsProfile.getDelegate()));
        }
    
        /**
         * @param settings could be null
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                }
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (Profile rawProfile : settings.getProfiles()) {
                request.addProfile(SettingsUtils.convertFromSettingsProfile(rawProfile));
    
                if (settings.getActiveProfiles().contains(rawProfile.getId())) {
                    List<Repository> remoteRepositories = rawProfile.getRepositories();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 19 18:49:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

            ProjectBuildingRequest config = new DefaultProjectBuildingRequest();
    
            for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
                Profile profile = SettingsUtils.convertFromSettingsProfile(rawProfile);
                config.addProfile(profile);
            }
    
            String localRepoPath = System.getProperty(
                    "maven.repo.local",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .repositories(repos)
                    .pluginRepositories(pluginRepos)
                    .build();
    
            Profile clone = SettingsUtilsV4.convertToSettingsProfile(SettingsUtilsV4.convertFromSettingsProfile(p));
    
            assertEquals(p.getId(), clone.getId());
            assertEquals(p.getActivation().getJdk(), clone.getActivation().getJdk());
            assertEquals(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            }
    
            // profiles (if active)
            for (Profile rawProfile : settings.getProfiles()) {
                request.addProfile(
                        new org.apache.maven.model.Profile(SettingsUtilsV4.convertFromSettingsProfile(rawProfile)));
    
                if (settings.getActiveProfiles().contains(rawProfile.getId())) {
                    for (Repository remoteRepository : rawProfile.getRepositories()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top