Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for setActiveProfiles (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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