Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for setActiveProfileIds (0.46 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

        @Override
        public List<String> getActiveProfileIds() {
            return request.getActiveProfileIds();
        }
    
        @Override
        public FilterModelBuildingRequest setActiveProfileIds(List<String> activeProfileIds) {
            request.setActiveProfileIds(activeProfileIds);
    
            return this;
        }
    
        @Override
        public List<String> getInactiveProfileIds() {
            return request.getInactiveProfileIds();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

        }
    
        public DefaultProjectBuildingRequest(ProjectBuildingRequest request) {
            this();
            setProcessPlugins(request.isProcessPlugins());
            setProfiles(request.getProfiles());
            setActiveProfileIds(request.getActiveProfileIds());
            setInactiveProfileIds(request.getInactiveProfileIds());
            setSystemProperties(request.getSystemProperties());
            setUserProperties(request.getUserProperties());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            request.setSystemProperties(configuration.getExecutionProperties());
    
            ProfileManager profileManager = configuration.getGlobalProfileManager();
            if (profileManager != null) {
                request.setActiveProfileIds(profileManager.getExplicitlyActivatedIds());
                request.setInactiveProfileIds(profileManager.getExplicitlyDeactivatedIds());
            } else {
                /*
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java

            config.setLocalRepository(MavenRepositorySystem.createArtifactRepository(
                    "local", absolutePath, new DefaultRepositoryLayout(), null, null));
            config.setActiveProfileIds(settings.getActiveProfiles());
    
            DefaultRepositorySystemSession repoSession = MavenTestHelper.createSession(repositorySystem, container);
            LocalRepository localRepo =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

         */
        @Override
        public List getActiveProfiles() throws ProfileActivationException {
            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
            context.setActiveProfileIds(activatedIds);
            context.setInactiveProfileIds(deactivatedIds);
            context.setSystemProperties(System.getProperties());
            context.setUserProperties(requestProperties);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            ProjectBuildingRequest request = newBuildingRequest();
            request.setLocalRepository(getLocalRepository());
            request.setActiveProfileIds(List.of("profile1"));
    
            MavenProject project = projectBuilder.build(testPom, request).getProject();
    
            String id = project.getGroupId() + ":" + project.getArtifactId() + ":" + project.getVersion();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

         *
         * @param activeProfileIds The identifiers of those profiles to activate, may be {@code null}.
         * @return This context, never {@code null}.
         */
        public DefaultProfileActivationContext setActiveProfileIds(List<String> activeProfileIds) {
            if (activeProfileIds != null) {
                this.activeProfileIds = Collections.unmodifiableList(activeProfileIds);
            } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        // Profiles
    
        /**
         * Set any active profiles that the {@link ProjectBuilder} should consider while constructing
         * a {@link MavenProject}.
         */
        void setActiveProfileIds(List<String> activeProfileIds);
    
        List<String> getActiveProfileIds();
    
        void setInactiveProfileIds(List<String> inactiveProfileIds);
    
        List<String> getInactiveProfileIds();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         *
         * @param activeProfileIds The identifiers of those profiles to activate, may be {@code null}.
         * @return This request, never {@code null}.
         */
        ModelBuildingRequest setActiveProfileIds(List<String> activeProfileIds);
    
        /**
         * Gets the identifiers of those profiles that should be deactivated by explicit demand.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top