Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ActivationOS (0.04 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. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                }
            }
    
            private void visit(ActivationOS activationOS) {
                if (activationOS != null) {
                    String org, val;
                    // Name
                    org = activationOS.getName();
                    val = interpolate(org);
                    if (org != val) {
                        activationOS.setName(val);
                    }
                    // Family
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-compat/src/main/mdo/profiles.mdo

              <description><![CDATA[
                Specifies that this profile will be activated when matching OS attributes are detected.
              ]]></description>
              <association>
                <type>ActivationOS</type>
              </association>
            </field>
            <field>
              <name>property</name>
              <version>1.0.0</version>
              <description><![CDATA[
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. api/maven-api-settings/src/main/mdo/settings.mdo

              <description>
                Specifies that this profile will be activated when matching OS attributes are detected.
              </description>
              <association>
                <type>ActivationOS</type>
              </association>
            </field>
            <field>
              <name>property</name>
              <version>1.0.0+</version>
              <description>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

              <description>Specifies that this profile will be activated when matching operating system
                attributes are detected.</description>
              <association>
                <type>ActivationOS</type>
              </association>
            </field>
            <field>
              <name>property</name>
              <version>4.0.0+</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
Back to top