- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 23 for getActiveProfiles (0.47 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java
* @param problems The container used to collect problems that were encountered, must not be {@code null}. * @return The profiles that have been activated, never {@code null}. */ List<Profile> getActiveProfiles( Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 1.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfileManager.java
void explicitlyActivate(List<String> profileIds); void explicitlyDeactivate(String profileId); void explicitlyDeactivate(List<String> profileIds); List getActiveProfiles() throws ProfileActivationException; void addProfiles(List<Profile> profiles); Map getProfilesById(); List<String> getExplicitlyActivatedIds(); List<String> getExplicitlyDeactivatedIds();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
if (profileActivator != null) { activators.add(profileActivator); } return this; } @Override public List<Profile> getActiveProfiles( Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems) { Collection<String> activatedIds = new HashSet<>(context.getActiveProfileIds());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
DefaultProfileActivationContext context = new DefaultProfileActivationContext(); SimpleProblemCollector problems = new SimpleProblemCollector(); List<Profile> active = selector.getActiveProfiles(profiles, context, problems); assertTrue( active.isEmpty(), "Expected collection to be empty but had " + active.size() + " elements: " + active); assertEquals(1, problems.getErrors().size());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
config.setLocalRepository(MavenRepositorySystem.createArtifactRepository( "local", absolutePath, new DefaultRepositoryLayout(), null, null)); config.setActiveProfileIds(settings.getActiveProfiles()); DefaultRepositorySystemSession repoSession = MavenTestHelper.createSession(repositorySystem, container); LocalRepository localRepo =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java
this.rawModel = rawModel; } /** * Gets the active profiles from the model. * * @return The active profiles or {@code null} if not set. */ public List<Profile> getActiveProfiles() { return activeProfiles; } /** * Sets the active profiles from the model. * * @param activeProfiles The active profiles, may be {@code null}. */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.8K bytes - Click Count (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; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
problems.setSource("(external profiles)"); List<Profile> activeExternalProfiles = profileSelector.getActiveProfiles(request.getProfiles(), profileActivationContext, problems); result.setActiveExternalProfiles(activeExternalProfiles); if (!activeExternalProfiles.isEmpty()) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (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(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.7K bytes - Click Count (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); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0)