- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 91 for activation (0.07 seconds)
-
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-project-expressions.xml
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-allowed-expressions.xml
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-property-with-project-expressions.xml
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 6.4K bytes - Click Count (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);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
Activation activation = profile.getActivation(); if (activation == null) { return false; } ActivationOS os = activation.getOs(); if (os == null) { return false; } return true; } private boolean ensureAtLeastOneNonNull(ActivationOS os) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.3K 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.6K bytes - Click Count (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; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 6.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
for (ProfileActivator activator : activators) { if (activator.presentInConfig(profile, context, problems)) { isActive = true; } } for (ProfileActivator activator : activators) { try { if (activator.presentInConfig(profile, context, problems)) { isActive &= activator.isActive(profile, context, problems);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.6K 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.9K bytes - Click Count (0)