- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getDeclaredActiveProfiles (0.08 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
.flatMap(project -> project.getModel().getDelegate().getProfiles().stream()) .toList(); } @Override @Nonnull public List<Profile> getDeclaredActiveProfiles() { return project.getActiveProfiles().stream() .map(org.apache.maven.model.Profile::getDelegate) .toList(); } @Override @Nonnull
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Mar 24 22:23:23 UTC 2025 - 8.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* * @return a non-null, possibly empty list of active profiles for this project * @see Profile * @see #getEffectiveActiveProfiles() */ @Nonnull List<Profile> getDeclaredActiveProfiles(); /** * Returns all active profiles for this project and all of its parent projects. * <p> * This method traverses the parent hierarchy and collects all active profiles fromRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
InternalMavenSession session = Mockito.mock(InternalMavenSession.class); List<org.apache.maven.api.model.Profile> activeProfiles = new DefaultProject(session, project).getDeclaredActiveProfiles(); assertEquals(1, activeProfiles.size()); org.apache.maven.api.model.Profile profile = activeProfiles.get(0); assertEquals("active-by-default", profile.getId());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0)