- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for getProfiles (0.12 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())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
// inject interpolated activations List<org.apache.maven.api.model.Profile> interpolated = interpolateActivations(tmpModel.getDelegate().getProfiles(), profileActivationContext, problems); if (interpolated != tmpModel.getDelegate().getProfiles()) { tmpModel.update(tmpModel.getDelegate().withProfiles(interpolated)); } // inject external profile into current model
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
.flatMap(p -> p.getModel().getDelegate().getProfiles().stream()) .map(Profile::getId); final Stream<String> settingsProfiles = session.getSettings().getProfiles().stream().map(org.apache.maven.settings.Profile::getId); final Stream<String> superPomProfiles = superPomModels.values().stream() .flatMap(p -> p.getProfiles().stream()) .map(Profile::getId);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java
profile.setId( "profile" ); Model target = new Model(); target.setProfiles( Arrays.asList( profile ) ); Model source = new Model(); source.setProfiles( Arrays.asList( profile ) ); modelMerger.merge( target, source, true, null ); assertThat( target.getProfiles(), contains( profile ) ); } @Test public void mergeSameReports() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
request.addMirror(mirror); } request.setActiveProfiles(settings.getActiveProfiles()); for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) { request.addProfile(SettingsUtils.convertFromSettingsProfile(rawProfile)); if (settings.getActiveProfiles().contains(rawProfile.getId())) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K 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()}. */ @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
new HashSet<>(request.getProfileActivation().getRequiredActiveProfileIds()); activeProfileId.addAll(request.getProfileActivation().getOptionalActiveProfileIds()); return request.getProfiles().stream() .filter(profile -> activeProfileId.contains(profile.getId())) .map(ModelBase::getProperties) .flatMap(properties -> properties.entrySet().stream())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java
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) -
api/maven-api-settings/src/main/mdo/settings.mdo
public java.util.Map<String, Profile> getProfilesAsMap() { if (profileMap == null) { profileMap = new java.util.LinkedHashMap<String, Profile>(); if (getProfiles() != null) { for (Profile profile : getProfiles()) { profileMap.put(profile.getId(), profile); } } } return profileMap; } ]]>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Oct 08 13:46:42 UTC 2024 - 33.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0)