- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for convertFromSettingsProfile (0.28 sec)
-
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
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 2.3K bytes - Viewed (0) -
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 localRepoUrl = System.getProperty("maven.repo.local", System.getProperty("user.home") + "/.m2/repository");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0) -
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(
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 6.7K bytes - Viewed (0) -
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();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Jun 19 15:04:04 GMT 2023 - 8.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java
} return profile.build(); } /** * @param settingsProfile * @return a profile */ public static org.apache.maven.api.model.Profile convertFromSettingsProfile(Profile settingsProfile) { org.apache.maven.api.model.Profile.Builder profile = org.apache.maven.api.model.Profile.newBuilder(); profile.id(settingsProfile.getId());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java
return SettingsUtilsV4.convertToSettingsProfile(profile); } @Override public org.apache.maven.api.model.Profile convert(Profile profile) { return SettingsUtilsV4.convertFromSettingsProfile(profile); } /** * Collects the output of the settings builder. * */ static class DefaultSettingsBuilderResult implements SettingsBuilderResult {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 12K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java
} return profile.build(); } /** * @param settingsProfile * @return a profile */ public static org.apache.maven.api.model.Profile convertFromSettingsProfile(Profile settingsProfile) { org.apache.maven.api.model.Profile.Builder profile = org.apache.maven.api.model.Profile.newBuilder(); profile.id(settingsProfile.getId());
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Thu Feb 15 08:42:00 GMT 2024 - 13.8K bytes - Viewed (0)