- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getRequiredActiveProfileIds (0.41 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
*/ public class ProfileActivation { private final Map<String, ActivationSettings> activations = new HashMap<>(); /** * Mimics the pre-Maven 4 "active profiles" list. * @deprecated Use {@link #getRequiredActiveProfileIds()} and {@link #getOptionalActiveProfileIds()} instead. */ @Deprecated public List<String> getActiveProfiles() { return Collections.unmodifiableList(new ArrayList<>(getProfileIds(pa -> pa.active)));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
activation = new ProfileActivation(); performProfileActivation(parser.parse(options, new String[] {"-P", "test1,+test2,?test3,+?test4"}), activation); assertThat(activation.getRequiredActiveProfileIds(), containsInAnyOrder("test1", "test2")); assertThat(activation.getOptionalActiveProfileIds(), containsInAnyOrder("test3", "test4")); activation = new ProfileActivation();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
} private Map<String, String> getPropertiesFromRequestedProfiles(MavenExecutionRequest request) { HashSet<String> activeProfileId = new HashSet<>(request.getProfileActivation().getRequiredActiveProfileIds()); activeProfileId.addAll(request.getProfileActivation().getOptionalActiveProfileIds()); return request.getProfiles().stream()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
final Set<String> allAvailableProfiles = getAllProfiles(session); final Set<String> requiredProfiles = new HashSet<>(); requiredProfiles.addAll(profileActivation.getRequiredActiveProfileIds()); requiredProfiles.addAll(profileActivation.getRequiredInactiveProfileIds()); // Check whether the required profiles were found in any of the projects we're building.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1)