- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for profile (0.22 sec)
-
maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java
void testValidateUniqueProfileId() throws Exception { 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();
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-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
} public Map<String, Profile> getProfilesById() { return profilesById; } /* (non-Javadoc) * @see org.apache.maven.profiles.ProfileManager#addProfile(org.apache.maven.model.Profile) */ public void addProfile(Profile profile) { String profileId = profile.getId(); Profile existing = profilesById.get(profileId); if (existing != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Jun 15 14:24:56 GMT 2023 - 6.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
.collect(Collectors.toMap(Profile::getId, Profile::getActivation)); } private Model injectProfileActivations(Model model, Map<String, Activation> activations) { List<Profile> profiles = new ArrayList<>(); boolean modified = false; for (Profile profile : model.getProfiles()) { Activation activation = profile.getActivation(); if (activation != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
@Test void testShouldActivateDefaultProfile() throws Exception { Profile notActivated = new Profile(); notActivated.setId("notActivated"); Activation nonActivation = new Activation(); nonActivation.setJdk("19.2"); notActivated.setActivation(nonActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated");
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-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
} /** * Mark a profile as required and activated. * @param id The identifier of the profile. */ public void activateRequiredProfile(String id) { this.activations.put(id, ActivationSettings.ACTIVATION_REQUIRED); } /** * Mark a profile as optional and activated. * @param id The identifier of the profile. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
private ProfilesConversionUtils() {} public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) { Profile profile = new Profile(); profile.setId(profileXmlProfile.getId()); profile.setSource("profiles.xml"); org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 4.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileInjector.java
*/ default Model injectProfile( Model model, Profile profile, ModelBuilderRequest request, ModelProblemCollector problems) { return injectProfiles(model, List.of(profile), request, problems); } /** * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java
/** * Add a {@link org.apache.maven.model.Profile} that has come from an external source. This may be from a custom * 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(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
"only-active-profile", "Active only ||${project.basedir}||", "<plugin-in-active-profile-only>Active only ||${project.basedir}||</plugin-in-active-profile-only>"); // ============================================= Profile inactiveProfile = originalModel.getProfiles().stream() .filter(profile -> profile.getId().equals("inactiveProfile"))
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 93.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
} protected String getJdkVersion() { return JDK_VERSION; } protected boolean canDetectActivation(Profile profile) { return profile.getActivation() != null && profile.getActivation().getJdk() != null && !profile.getActivation().getJdk().isEmpty(); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 3K bytes - Viewed (0)