Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ActivationProperty (0.06 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 6.4K 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 Dec 28 03:35:09 UTC 2025
    - 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .exists("exists" + Long.toHexString(entropy.nextLong()))
                    .missing("missing" + Long.toHexString(entropy.nextLong()))
                    .build();
            ActivationProperty ap = ActivationProperty.newBuilder()
                    .name("name" + Long.toHexString(entropy.nextLong()))
                    .value("value" + Long.toHexString(entropy.nextLong()))
                    .build();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top