- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getActiveProfiles (0.17 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
this.projectBuildingRequest = projectBuildingConfiguration; } @Override public List<String> getActiveProfiles() { return this.profileActivation.getActiveProfiles(); } @Override public List<String> getInactiveProfiles() { return this.profileActivation.getInactiveProfiles(); } @OverrideRegistered: 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/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
assertEquals(1, project.getActiveProfiles().size()); assertTrue(project.getActiveProfiles().stream().anyMatch(p -> "profile1".equals(p.getId()))); assertTrue(project.getActiveProfiles().stream().noneMatch(p -> "profile2".equals(p.getId()))); assertTrue(project.getActiveProfiles().stream().noneMatch(p -> "active-by-default".equals(p.getId()))); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
if (session != null) { MavenExecutionRequest req = session.getRequest(); if (req != null) { request.setActiveProfileIds(req.getActiveProfiles()); request.setInactiveProfileIds(req.getInactiveProfiles()); } } } return request; }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
/** * @return The list of profiles that the user wants to activate. * @deprecated Since Maven 4: use {@link #getProfileActivation()}. */ @Deprecated List<String> getActiveProfiles(); /** * @deprecated Since Maven 4: use {@link #getProfileActivation()}. */ @Deprecated MavenExecutionRequest addInactiveProfile(String profile); /**Registered: 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/main/java/org/apache/maven/execution/MavenSession.java
.map(Profile::getDelegate) .map(SettingsUtilsV4::convertToSettingsProfile) .collect(Collectors.toList())) .activeProfiles(request.getActiveProfiles()) .pluginGroups(request.getPluginGroups()) .build()); } @Deprecated public List<MavenProject> getSortedProjects() { return getProjects(); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 16.7K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
request.addProfile( new org.apache.maven.model.Profile(SettingsUtilsV4.convertFromSettingsProfile(rawProfile))); if (settings.getActiveProfiles().contains(rawProfile.getId())) { for (Repository remoteRepository : rawProfile.getRepositories()) { remoteRepositories.put(remoteRepository.getId(), remoteRepository); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0)