Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ActivationOS (0.5 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationOS os = activation.getOs();
    
            return os != null;
        }
    
        private boolean ensureAtLeastOneNonNull(ActivationOS os) {
            return os.getArch() != null || os.getFamily() != null || os.getName() != null || os.getVersion() != null;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

                            .build();
                    activation.property(prop);
                }
    
                org.apache.maven.api.model.ActivationOS modelOs = modelActivation.getOs();
    
                if (modelOs != null) {
                    ActivationOS os = ActivationOS.newBuilder()
                            .arch(modelOs.getArch())
                            .family(modelOs.getFamily())
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. 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()))
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            osActivated.setId( "os-profile" );
    
            Activation osActivation = new Activation();
    
            ActivationOS activationOS = new ActivationOS();
    
            activationOS.setName( "!dddd" );
    
            osActivation.setOs( activationOS );
    
            osActivated.setActivation( osActivation );
    
            Properties props = System.getProperties();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                            .build();
                    activation.property(prop);
                }
    
                org.apache.maven.api.model.ActivationOS modelOs = modelActivation.getOs();
    
                if (modelOs != null) {
                    ActivationOS os = ActivationOS.newBuilder()
                            .arch(modelOs.getArch())
                            .family(modelOs.getFamily())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. 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());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  7. 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 {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                } finally {
                    stk.pop();
                }
            }
    
            @Override
            protected ActivationOS.Builder transformActivationOS_Arch(
                    Supplier<? extends ActivationOS.Builder> creator, ActivationOS.Builder builder, ActivationOS target) {
                stk.push(nextFrame("arch"));
                try {
                    return super.transformActivationOS_Arch(creator, builder, target);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  9. 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[
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 03 21:08:35 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. 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>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top