Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDeclaredActiveProfiles (0.07 sec)

  1. 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 from
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. 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)
Back to top