Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for getActiveProfiles (0.07 sec)

  1. 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)
  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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (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 {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
Back to top