- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for profile (0.21 sec)
-
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-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-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-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-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-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java
import org.apache.maven.api.services.model.ProfileActivator; /** * Determines profile activation based on the existence or value of some execution property. * * @see ActivationProperty */ @Named("property") @Singleton public class PropertyProfileActivator implements ProfileActivator { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; } String jdk = activation.getJdk();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java
/** * Determines profile activation based on the operating system of the current runtime platform. * * @see ActivationOS */ @Named("os") @Singleton public class OperatingSystemProfileActivator implements ProfileActivator { private static final String REGEX_PREFIX = "regex:"; @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.9K 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)