Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getActiveProfiles (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            this.projectBuildingRequest = projectBuildingConfiguration;
        }
    
        @Override
        public List<String> getActiveProfiles() {
            return this.profileActivation.getActiveProfiles();
        }
    
        @Override
        public List<String> getInactiveProfiles() {
            return this.profileActivation.getInactiveProfiles();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                    // do nothing for now
                }
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (Profile rawProfile : settings.getProfiles()) {
                request.addProfile(SettingsUtils.convertFromSettingsProfile(rawProfile));
    
                if (settings.getActiveProfiles().contains(rawProfile.getId())) {
                    List<Repository> remoteRepositories = rawProfile.getRepositories();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. 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);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                }
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
            for (Profile rawProfile : settings.getProfiles()) {
                request.addProfile(
                        new org.apache.maven.model.Profile(SettingsUtilsV4.convertFromSettingsProfile(rawProfile)));
    
                if (settings.getActiveProfiles().contains(rawProfile.getId())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                            .map(Profile::getDelegate)
                            .map(SettingsUtilsV4::convertToSettingsProfile)
                            .collect(Collectors.toList()))
                    .activeProfiles(request.getActiveProfiles())
                    .pluginGroups(request.getPluginGroups())
                    .build());
        }
    
        @Deprecated
        public List<MavenProject> getSortedProjects() {
            return getProjects();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top