Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ActivationOS (0.4 sec)

  1. 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"));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. 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() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. 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 {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. 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());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .name("name" + Long.toHexString(entropy.nextLong()))
                    .value("value" + Long.toHexString(entropy.nextLong()))
                    .build();
            ActivationOS ao = ActivationOS.newBuilder()
                    .arch("arch" + Long.toHexString(entropy.nextLong()))
                    .family("family" + Long.toHexString(entropy.nextLong()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top