- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ProfileActivation (0.11 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java
/** * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the * build if those profiles do not exist. */ public class ProfileActivation { private final Map<String, ActivationSettings> activations = new HashMap<>(); /** * Mimics the pre-Maven 4 "active profiles" list.
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-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation(); if (profileActivation != null) { Activation activation = new Activation(); activation.setActiveByDefault(profileActivation.isActiveByDefault()); activation.setJdk(profileActivation.getJdk());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
private List<Mirror> mirrors; private List<Profile> profiles; private final ProjectActivation projectActivation = new ProjectActivation(); private final ProfileActivation profileActivation = new ProfileActivation(); private List<String> pluginGroups; private boolean isProjectPresent = true; // ----------------------------------------------------------------------------
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 31.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
* @param profileActivation the requested optional and required profiles. */ private void validateRequiredProfiles(MavenSession session, ProfileActivation profileActivation) { final Set<String> allAvailableProfiles = getAllProfiles(session); final Set<String> requiredProfiles = new HashSet<>(); requiredProfiles.addAll(profileActivation.getRequiredActiveProfileIds());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
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-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
projectActivation.addProjectActivation(selector, active, optional); } } } } protected void performProfileActivation(C context, ProfileActivation profileActivation) { MavenOptions mavenOptions = context.invokerRequest.options(); if (mavenOptions.activatedProfiles().isPresent() && !mavenOptions.activatedProfiles().get().isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
/** * Return the requested activation(s) of profile(s) in this execution. * @return requested (de-)activation(s) of profile(s) in this execution. Never {@code null}. */ ProfileActivation getProfileActivation(); // Proxies List<Proxy> getProxies(); MavenExecutionRequest setProxies(List<Proxy> proxies); MavenExecutionRequest addProxy(Proxy proxy); // Servers
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
} } } } // Visible for testing static void performProfileActivation(final CommandLine commandLine, final ProfileActivation profileActivation) { if (commandLine.hasOption(CLIManager.ACTIVATE_PROFILES)) { final String[] optionValues = commandLine.getOptionValues(CLIManager.ACTIVATE_PROFILES);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 76.8K bytes - Viewed (0)