- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for addProfiles (0.05 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
// do nothing for now } } 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) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 10:13:56 UTC 2025 - 9.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
projectBuildingRequest.setBuildStartInstant(getStartInstant()); } return projectBuildingRequest; } @Override public MavenExecutionRequest addProfile(Profile profile) { Objects.requireNonNull(profile, "profile cannot be null"); for (Profile p : getProfiles()) { if (p.getId() != null && p.getId().equals(profile.getId())) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Dec 12 11:02:17 UTC 2024 - 32.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
* @since 4.0.0 */ MavenExecutionRequest setIgnoreTransitiveRepositories(boolean ignoreTransitiveRepositories); // Profiles List<Profile> getProfiles(); MavenExecutionRequest addProfile(Profile profile); MavenExecutionRequest setProfiles(List<Profile> profiles); /** * @deprecated Since Maven 4: use {@link #getProfileActivation()}. */ @DeprecatedRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Dec 12 11:02:17 UTC 2024 - 18.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
1, 1, new org.apache.maven.model.InputSource(InputSource.of(null, "settings.xml", null)))); externalProfile.setId("external-profile"); request.addProfile(externalProfile); request.setActiveProfileIds(List.of(externalProfile.getId())); MavenProject project = projectBuilder.build(source, request).getProject();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
remotePluginRepositories.put(pluginRepository.getId(), pluginRepository); } // 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())) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0)