- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 64 for Activation (0.11 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
activation = activation.clone(); } activations.put(profile.getId(), activation); } return activations; } private void injectProfileActivations(Model model, Map<String, Activation> activations) { for (Profile profile : model.getProfiles()) { Activation activation = profile.getActivation(); if (activation == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java
/** * Determines the profiles which are active in the specified activation context. Active profiles will eventually be * injected into the model. * * @param profiles The profiles whose activation status should be determined, must not be {@code null}. * @param context The environmental context used to determine the activation status of a profile, must not be * {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java
} 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) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } 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();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java
/** * Gets the file model to build (with profile activation). * If not set, model source will be used to load file model. * * @return The file model to build or {@code null} if not set. * @since 4.0.0 */ Model getFileModel(); /** * Set the file model with profile activation * * @param fileModel * @return This request, never {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/factory/complex.xml
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.profile.activation; import javax.inject.Named; import javax.inject.Singleton; import java.util.Objects; import java.util.Optional; import org.apache.maven.api.model.Activation; import org.apache.maven.api.model.Profile; import org.apache.maven.model.building.ModelProblemCollector;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
return newProfile(activationFile); } private Profile newProfile(ActivationFile activationFile) { Activation activation = Activation.newBuilder().file(activationFile).build(); return Profile.newBuilder().activation(activation).build(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
private static final String JDK_VERSION = System.getProperty("java.version"); 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("(")) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (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();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0)