- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for ActivationOS (0.06 seconds)
-
compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
/** * Tests {@code ActivationOS}. * */ class ActivationOSTest { @Test void testHashCodeNullSafe() { new ActivationOS().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationOS().equals(null)); new ActivationOS().equals(new ActivationOS()); } @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/OperatingSystemProfileActivator.java
import org.apache.maven.model.ActivationOS; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.profile.ProfileActivationContext; import org.apache.maven.utils.Os; /** * Determines profile activation based on the operating system of the current runtime platform. * * @see ActivationOS
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-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.profiles.activation; import org.apache.maven.model.Activation; import org.apache.maven.model.ActivationOS; import org.apache.maven.model.Profile; import org.apache.maven.utils.Os; /** * OperatingSystemProfileActivator */ @Deprecated public class OperatingSystemProfileActivator implements ProfileActivator {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-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
prop.setValue(profileProp.getValue()); activation.setProperty(prop); } ActivationOS profileOs = profileActivation.getOs(); if (profileOs != null) { org.apache.maven.model.ActivationOS os = new org.apache.maven.model.ActivationOS(); os.setArch(profileOs.getArch()); os.setFamily(profileOs.getFamily());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
Profile profile = newProfile(ActivationOS.newBuilder().name("windows")); assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64"))); assertActivation(true, profile, newContext(null, newProperties("windows", "6.5.0-1014-aws", "aarch64"))); } @Test void testNegatedName() { Profile profile = newProfile(ActivationOS.newBuilder().name("!windows"));
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)