Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ActivationProperty (0.13 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java

    /**
     * Tests {@code ActivationProperty}.
     *
     */
    class ActivationPropertyTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ActivationProperty().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationProperty().equals(null));
    
            new ActivationProperty().equals(new ActivationProperty());
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Profile syspropActivated = new Profile();
            syspropActivated.setId("syspropActivated");
    
            Activation syspropActivation = new Activation();
    
            ActivationProperty syspropProperty = new ActivationProperty();
            syspropProperty.setName("java.version");
    
            syspropActivation.setProperty(syspropProperty);
    
            syspropActivated.setActivation(syspropActivation);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.ActivationProperty;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                activation.setJdk(profileActivation.getJdk());
    
                org.apache.maven.profiles.ActivationProperty profileProp = profileActivation.getProperty();
    
                if (profileProp != null) {
                    ActivationProperty prop = new ActivationProperty();
    
                    prop.setName(profileProp.getName());
                    prop.setValue(profileProp.getValue());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

        @Override
        void setUp() throws Exception {
            activator = new PropertyProfileActivator();
        }
    
        private Profile newProfile(String key, String value) {
            ActivationProperty ap =
                    ActivationProperty.newBuilder().name(key).value(value).build();
    
            Activation a = Activation.newBuilder().property(ap).build();
    
            Profile p = Profile.newBuilder().activation(a).build();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

     * under the License.
     */
    package org.apache.maven.profiles.activation;
    
    import java.util.Properties;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.ActivationProperty;
    import org.apache.maven.model.Profile;
    import org.codehaus.plexus.context.Context;
    import org.codehaus.plexus.context.ContextException;
    import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    stk.pop();
                }
            }
    
            @Override
            protected ActivationProperty.Builder transformActivationProperty_Name(
                    Supplier<? extends ActivationProperty.Builder> creator,
                    ActivationProperty.Builder builder,
                    ActivationProperty target) {
                stk.push(nextFrame("name"));
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/mdo/profiles.mdo

              <description><![CDATA[
                Specifies that this profile will be activated when this property is specified.
              ]]></description>
              <association>
                <type>ActivationProperty</type>
              </association>
            </field>
            <field>
              <name>file</name>
              <version>1.0.0</version>
              <description><![CDATA[
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/profile-activation-file-with-allowed-expressions.xml

            </file>
          </activation>
        </profile>
    
        <profile>
          <id>dynamic-property-available</id>
          <activation>
            <property>
              <name>${activationProperty}</name>
            </property>
          </activation>
        </profile>
    
        <profile>
          <id>matches-another-property</id>
          <activation>
            <property>
              <name>foo</name>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. api/maven-api-settings/src/main/mdo/settings.mdo

              <description>
                Specifies that this profile will be activated when this property is specified.
              </description>
              <association>
                <type>ActivationProperty</type>
              </association>
            </field>
            <field>
              <name>file</name>
              <version>1.0.0+</version>
              <description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top