- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for addProfiles (0.21 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
} return profiles; } /* (non-Javadoc) * @see org.apache.maven.profiles.ProfileManager#addProfiles(java.util.List) */ public void addProfiles(List<Profile> profiles) { for (Profile profile1 : profiles) { addProfile(profile1); } } public void activateAsDefault(String profileId) { if (!defaultIds.contains(profileId)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfileManager.java
@Deprecated public interface ProfileManager { void addProfile(Profile profile); void explicitlyActivate(String profileId); void explicitlyActivate(List<String> profileIds); void explicitlyDeactivate(String profileId); void explicitlyDeactivate(List<String> profileIds); List getActiveProfiles() throws ProfileActivationException; void addProfiles(List<Profile> profiles); Map getProfilesById();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
Properties props = System.getProperties(); ProfileManager profileManager = new DefaultProfileManager(getContainer(), props); profileManager.addProfile(notActivated); profileManager.addProfile(defaultActivated); List active = profileManager.getActiveProfiles(); assertNotNull(active); assertEquals(1, active.size());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
Settings settings = new Settings(); Profile profile1 = new Profile(); profile1.setId("test"); settings.addProfile(profile1); Profile profile2 = new Profile(); profile2.setId("test"); settings.addProfile(profile2); SimpleProblemCollector problems = new SimpleProblemCollector(); validator.validate(settings, problems);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.6K bytes - Viewed (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
} request.setActiveProfiles(settings.getActiveProfiles()); for (org.apache.maven.settings.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 - 8.4K bytes - Viewed (0) -
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) -
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) -
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)