- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 93 for activation (0.11 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java
} @Override public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); ActivationProperty property = activation.getProperty(); if (property != null) { String name = property.getName(); boolean reverseName = false; if (name == null) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
+ ") with new instance from source: " + profile.getSource()); } profilesById.put(profile.getId(), profile); Activation activation = profile.getActivation(); if (activation != null && activation.isActiveByDefault()) { activateAsDefault(profileId); } } /* (non-Javadoc)
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java
* from the runtime environment like {@link System#getProperties()} and environment variables. * * @return The execution properties, never {@code null}. */ Map<String, String> getSystemProperties(); /** * Gets the user properties to use for interpolation and profile activation. The user properties have beenCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
* from the runtime environment like {@link System#getProperties()} and environment variables. * * @return The system properties, never {@code null}. */ Properties getSystemProperties(); /** * Sets the system properties to use for interpolation and profile activation. The system properties are collectedCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 12.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
private static final String JDK_VERSION = System.getProperty("java.version"); @Override public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk(); // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here. if (jdk.startsWith("[") || jdk.startsWith("(")) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
/** * Return the requested activation(s) of project(s) in this execution. * @return requested (de-)activation(s) of project(s) in this execution. Never {@code null}. */ ProjectActivation getProjectActivation(); /** * 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}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 18.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java
File baseDirectory = getBaseDirectoryFromRequest(request); for (ProjectActivation.ProjectActivationSettings activation : projectSelectors) { if (activation.activationSettings().active()) { String selector = activation.selector(); Optional<MavenProject> optSelectedProject = findOptionalProjectBySelector(projects, baseDirectory, selector);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 7.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
void setUp() throws Exception { activator = new PropertyProfileActivator(); } private Profile newProfile(String key, String value) { ActivationProperty ap = ActivationProperty.newBuilder().name(key).value(value).build(); Activation a = Activation.newBuilder().property(ap).build(); Profile p = Profile.newBuilder().activation(a).build(); return p; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 43.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* Active profiles are those that have been explicitly activated through one of the following means: * <ul> * <li>Command line activation using the -P flag</li> * <li>Maven settings activation in settings.xml via <activeProfiles></li> * <li>Automatic activation via <activation> conditions</li> * <li>The default active profile (marked with <activeByDefault>true</activeByDefault>)</li> * </ul>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 15.3K bytes - Click Count (0)