- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for profile1 (0.15 sec)
-
maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
} /* (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)) { defaultIds.add(profileId);
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/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/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-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
outsidePlugins, "plugin-all-profiles", "Outside ||${project.basedir}||", "<plugin-all-profiles-out>Outside ||${project.basedir}||</plugin-all-profiles-out>"); // ============================================= Profile activeProfile = originalModel.getProfiles().stream() .filter(profile -> profile.getId().equals("activeProfile")) .findFirst()
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-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-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java
*/ List<String> getActiveProfileIds(); /** * Gets the identifiers of those profiles that should be deactivated by explicit demand. * * @return The identifiers of those profiles to deactivate, never {@code null}. */ List<String> getInactiveProfileIds(); /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.8K 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-core/src/main/java/org/apache/maven/project/MavenProject.java
/** * Gets the identifiers of all profiles that contributed to this project's effective model. This includes active * profiles from the project's POM and all its parent POMs as well as from external sources like the * {@code settings.xml}. The profile identifiers are grouped by the identifier of their source, e.g. * {@code <groupId>:<artifactId>:<version>} for a POM profile or {@code external} for profiles from the
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K 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-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java
import java.util.List; import org.apache.maven.api.model.Profile; import org.apache.maven.api.services.ModelProblemCollector; /** * Calculates the active profiles among a given collection of profiles. * */ public interface ProfileSelector { /** * Determines the profiles which are active in the specified activation context. Active profiles will eventually be * injected into the model. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 1.8K bytes - Viewed (0)