- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for profile (0.24 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 Apr 28 03:35:10 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 Apr 28 03:35:10 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
} private List<Profile> interpolateActivations( List<Profile> profiles, DefaultProfileActivationContext context, DefaultModelProblemCollector problems) { List<Profile> newProfiles = null; for (int index = 0; index < profiles.size(); index++) { Profile profile = profiles.get(index); Activation activation = profile.getActivation(); if (activation != null) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 59.1K 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 Apr 28 03:35:10 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 Apr 28 03:35:10 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 Apr 28 03:35:10 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 Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.9K 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 Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 3K 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 Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java
if (profile != null) { Model.Builder builder = Model.newBuilder(model); merger.mergeModelBase(builder, model, profile); if (profile.getBuild() != null) { Build build = model.getBuild() != null ? model.getBuild() : Build.newInstance(); Build.Builder bbuilder = Build.newBuilder(build);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.5K bytes - Viewed (0)