- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for addProfile (0.19 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 Apr 21 03:35:09 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 7.3K bytes - Viewed (0) -
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)) {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 6.7K 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 Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.6K bytes - Viewed (0) -
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();
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 1.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java
r.setUrl("file:///test"); Profile p = new Profile(); p.setId("test"); p.addPluginRepository(r); Settings settings = new Settings(); settings.addProfile(p); settings.addActiveProfile(p.getId()); testee.populateFromSettings(request, settings); List<ArtifactRepository> repositories = request.getPluginArtifactRepositories();
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 2.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java
* configuration like the MavenCLI settings.xml file, or from a custom dialog in an IDE integration like M2Eclipse. * * @param profile */ void addProfile(Profile profile); void setProfiles(List<Profile> profiles); List<Profile> getProfiles(); /** * Gets the start time of the build. *
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7K 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 21 03:35:09 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/project/DefaultProjectBuildingRequest.java
if (profiles != null) { this.profiles = new ArrayList<>(profiles); } else { this.profiles.clear(); } } public void addProfile(Profile profile) { profiles.add(profile); } public List<Profile> getProfiles() { return profiles; } public Date getBuildStartTime() { return buildStartTime;
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 8.9K bytes - Viewed (0) -
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();
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Jun 19 15:04:04 GMT 2023 - 8.1K 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 Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Dec 20 13:03:57 GMT 2023 - 17.7K bytes - Viewed (0)