- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 78 for Activation (0.08 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } @Override public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active String fileString = actFile.getExists();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K 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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
activator = new OperatingSystemProfileActivator(); } private Profile newProfile(ActivationOS.Builder activationBuilder) { Activation a = Activation.newBuilder().os(activationBuilder.build()).build(); Profile p = Profile.newBuilder().activation(a).build(); return p; } private Properties newProperties(String osName, String osVersion, String osArch) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.3K 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-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-compat/src/main/mdo/profiles.mdo
<description>The ID of this build profile, for activation purposes.</description> </field> <field> <name>activation</name> <version>1.0.0</version> <description><![CDATA[The conditional logic which will automatically trigger the inclusion of this profile.]]></description> <association> <type>Activation</type> </association> </field>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 22 11:03:29 GMT 2025 - 13.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
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; } private Properties newProperties(String key, String value) { Properties props = new Properties();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) -
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) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
} // Activation visit(profile.getActivation()); // Build visit(profile.getBuild()); } } private void visit(Activation activation) { if (activation != null) { String org, val; // Jdk org = activation.getJdk(); val = interpolate(org);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)