Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 23 of 23 for getActiveProfiles (0.55 seconds)

  1. 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);
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                setPluginArtifactRepositories(Collections.unmodifiableList(project.getPluginArtifactRepositories()));
            }
    
            if (project.getActiveProfiles() != null) {
                setActiveProfiles((Collections.unmodifiableList(project.getActiveProfiles())));
            }
    
            if (project.getAttachedArtifacts() != null) {
                // clone properties modifiable by plugins in a forked lifecycle
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        private boolean isActiveProfile(MavenProject project, Profile activeProfile) {
            return project.getActiveProfiles().stream().anyMatch(p -> p.getId().equals(activeProfile.getId()));
        }
    
        @Test
        void testBuildPluginInterpolation() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
Back to Top