- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 39 for activation (0.04 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
@Override public boolean canDetermineActivation(Profile profile) { Activation activation = profile.getActivation(); return activation != null && activation.getOs() != null; } @Override public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationOS os = activation.getOs(); boolean result = ensureAtLeastOneNonNull(os);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
notActivated.setId("notActivated"); Activation nonActivation = new Activation(); nonActivation.setJdk("19.2"); notActivated.setActivation(nonActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated"); Activation defaultActivation = new Activation(); defaultActivation.setActiveByDefault(true);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
*/ @Deprecated public class DefaultProfileSelectorTest { private Profile newProfile(String id) { Activation activation = new Activation(); Profile profile = new Profile(); profile.setId(id); profile.setActivation(activation); return profile; } @Test void testThrowingActivator() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
/** * Tests {@code Activation}. * */ class ActivationTest { @Test void testHashCodeNullSafe() { new Activation().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new Activation().equals(null)); new Activation().equals(new Activation()); } @Test void testEqualsIdentity() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
activation = new ProjectActivation(); performProjectActivation( parser.parse(options, new String[] {"-pl", "test1,+test2,?test3,+?test4"}), activation); assertContainsExactlyInAnyOrder(activation.getRequiredActiveProjectSelectors(), "test1", "test2"); assertContainsExactlyInAnyOrder(activation.getOptionalActiveProjectSelectors(), "test3", "test4"); activation = new ProjectActivation();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 30.9K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K 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 Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 12.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
} } } for (Profile profile : interpolatedActivations) { Activation activation = profile.getActivation(); Optional<Activation> a = Optional.ofNullable(activation); a.map(Activation::getFile).ifPresent(fa -> { Interpolation nt =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
result.getWarnings().get(0)); assertEquals( "'profiles.profile[missing-project-version].activation.file.missing' " + "Failed to interpolate profile activation property ${project.version}/test.txt: " + "${project.version} expressions are not supported during profile activation.", result.getWarnings().get(1));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 33.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
+ " expressions are not supported during profile activation.", locationSupplier.get()); } } }; Optional<Activation> root = Optional.of(activation); stk.push(new ActivationFrame("activation", root));Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0)