- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for addProfile (0.29 sec)
-
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());
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 7.3K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/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);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
for (org.apache.maven.settings.Profile rawProfile : settings.getProfiles()) { Profile profile = SettingsUtils.convertFromSettingsProfile(rawProfile); config.addProfile(profile); } String localRepoUrl = System.getProperty("maven.repo.local", System.getProperty("user.home") + "/.m2/repository"); localRepoUrl = "file://" + localRepoUrl;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0) -
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
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Dec 20 13:03:57 GMT 2023 - 17.7K bytes - Viewed (0) -
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())) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 31K bytes - Viewed (0)