- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for Activation (0.03 sec)
-
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);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 6.4K bytes - Viewed (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() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
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);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
@Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationOS os = activation.getOs(); if (os == null) { return false; } boolean active = ensureAtLeastOneNonNull(os);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 5.3K bytes - Viewed (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();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 30.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
.setLocation(profile.getLocation("")) .setException(e)); return false; } } return isActive; } private boolean isActiveByDefault(Profile profile) { Activation activation = profile.getActivation();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java
final ActivationSettings settings = ActivationSettings.of(active, optional); this.activations.add(new ProjectActivationSettings(selector, settings)); } private Stream<ProjectActivationSettings> getProjects(final Predicate<ActivationSettings> predicate) { return this.activations.stream().filter(activation -> predicate.test(activation.activationSettings)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 16:38:19 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
@Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; } String jdk = activation.getJdk(); if (jdk == null) { return false; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 6.6K bytes - Viewed (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() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.9K bytes - Viewed (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));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 33.9K bytes - Viewed (0)