Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for setActiveProfiles (0.33 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

            if (recessiveActiveProfiles != null) {
                if (dominantActiveProfiles == null) {
                    dominantActiveProfiles = new ArrayList<>();
                    dominant.setActiveProfiles(dominantActiveProfiles);
                }
    
                for (String profileId : recessiveActiveProfiles) {
                    if (!dominantActiveProfiles.contains(profileId)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

                } catch (InvalidRepositoryException e) {
                    // do nothing for now
                }
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (Profile rawProfile : settings.getProfiles()) {
                request.addProfile(SettingsUtils.convertFromSettingsProfile(rawProfile));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 19 18:49:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java

            return activeProfiles;
        }
    
        /**
         * Sets the active profiles from the model.
         *
         * @param activeProfiles The active profiles, may be {@code null}.
         */
        public void setActiveProfiles(List<Profile> activeProfiles) {
            this.activeProfiles = activeProfiles;
        }
    
        /**
         * Gets the effective group identifier of the model.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setSystemProperties(original.getSystemProperties());
            copy.setUserProperties(original.getUserProperties());
            copy.setShowErrors(original.isShowErrors());
            copy.setActiveProfiles(original.getActiveProfiles());
            copy.setInactiveProfiles(original.getInactiveProfiles());
            copy.setTransferListener(original.getTransferListener());
            copy.setLoggingLevel(original.getLoggingLevel());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            // </mirrors>
    
            for (Mirror mirror : settings.getMirrors()) {
                mirror = mirror.clone();
    
                request.addMirror(mirror);
            }
    
            request.setActiveProfiles(settings.getActiveProfiles());
    
            for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) {
                request.addProfile(SettingsUtils.convertFromSettingsProfile(rawProfile));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        MavenExecutionRequest addActiveProfiles(List<String> profiles);
    
        /**
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
        MavenExecutionRequest setActiveProfiles(List<String> profiles);
    
        /**
         * @return The list of profiles that the user wants to activate.
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            if (remotePluginRepositories == null) {
                remotePluginRepositories = new ArrayList<>();
            }
            return remotePluginRepositories;
        }
    
        public void setActiveProfiles(List<Profile> activeProfiles) {
            this.activeProfiles = activeProfiles;
        }
    
        public List<Profile> getActiveProfiles() {
            return activeProfiles;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                for (Profile activePomProfile : activePomProfiles) {
                    rawProfiles.add(rawModel.getProfiles().get(interpolatedProfiles.indexOf(activePomProfile)));
                }
                currentData.setActiveProfiles(rawProfiles);
    
                // profile injection
                for (Profile activeProfile : activePomProfiles) {
                    profileInjector.injectProfile(tmpModel, activeProfile, request, problems);
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        project.addSourceRoot(new DefaultSourceRoot(baseDir, ProjectScope.TEST, resource));
                    }
                }
    
                project.setActiveProfiles(
                        Stream.concat(result.getActivePomProfiles().stream(), result.getActiveExternalProfiles().stream())
                                .map(org.apache.maven.model.Profile::new)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        remotePluginRepositories.put(pluginRepository.getId(), pluginRepository);
                    }
                }
            }
    
            // pour onto request
            request.setActiveProfiles(settings.getActiveProfiles());
            request.setRemoteRepositories(remoteRepositories.values().stream()
                    .map(r -> {
                        try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top