Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for convertFromSettingsProfile (0.4 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. 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)
  3. 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)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (org.apache.maven.settings.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: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top