Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addProfile (0.08 sec)

  1. 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)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * @since 4.0.0
         */
        MavenExecutionRequest setIgnoreTransitiveRepositories(boolean ignoreTransitiveRepositories);
    
        // Profiles
        List<Profile> getProfiles();
    
        MavenExecutionRequest addProfile(Profile profile);
    
        MavenExecutionRequest setProfiles(List<Profile> profiles);
    
        /**
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

                projectBuildingRequest.setBuildStartTime(getStartTime());
            }
    
            return projectBuildingRequest;
        }
    
        @Override
        public MavenExecutionRequest addProfile(Profile profile) {
            Objects.requireNonNull(profile, "profile cannot be null");
    
            for (Profile p : getProfiles()) {
                if (p.getId() != null && p.getId().equals(profile.getId())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    // do nothing for now
                }
            }
    
            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)
Back to top