Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getActiveProfiles (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
            List active = profileManager.getActiveProfiles();
    
            assertNotNull(active);
            assertEquals(1, active.size());
            assertEquals("defaultActivated", ((Profile) active.get(0)).getId());
        }
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                explicitlyDeactivate(profileId1);
            }
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#getActiveProfiles()
         */
        @Override
        public List getActiveProfiles() throws ProfileActivationException {
            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
            context.setActiveProfileIds(activatedIds);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. 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();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. 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;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top