Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Activation (0.04 sec)

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

    /**
     * Tests {@code Activation}.
     *
     */
    class ActivationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Activation().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Activation().equals(null));
    
            new Activation().equals(new Activation());
        }
    
        @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)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            activation = new ProjectActivation();
            performProjectActivation(
                    parser.parse(options, new String[] {"-pl", "test1,+test2,?test3,+?test4"}), activation);
            assertContainsExactlyInAnyOrder(activation.getRequiredActiveProjectSelectors(), "test1", "test2");
            assertContainsExactlyInAnyOrder(activation.getOptionalActiveProjectSelectors(), "test3", "test4");
    
            activation = new ProjectActivation();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

     */
    @Deprecated
    public class DefaultProfileSelectorTest {
        private Profile newProfile(String id) {
            Activation activation = new Activation();
            Profile profile = new Profile();
            profile.setId(id);
            profile.setActivation(activation);
            return profile;
        }
    
        @Test
        void testThrowingActivator() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

                    result.getWarnings().get(0));
    
            assertEquals(
                    "'profiles.profile[missing-project-version].activation.file.missing' "
                            + "Failed to interpolate profile activation property ${project.version}/test.txt: "
                            + "${project.version} expressions are not supported during profile activation.",
                    result.getWarnings().get(1));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. pom.xml

    			</exclusions>
    		</dependency>
    		<dependency>
    			<groupId>jakarta.activation</groupId>
    			<artifactId>jakarta.activation-api</artifactId>
    			<version>${jakarta.activation.api.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>com.sun.activation</groupId>
    			<artifactId>jakarta.activation</artifactId>
    			<version>${jakarta.activation.version}</version>
    		</dependency>
    
    		<!-- logging -->
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 49.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                                        + " expressions are not supported during profile activation.",
                                locationSupplier.get());
                    }
                }
            };
            Optional<Activation> root = Optional.of(activation);
            stk.push(new ActivationFrame("activation", root));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The system properties, never {@code null}.
         */
        Properties getSystemProperties();
    
        /**
         * Sets the user properties to use for interpolation and profile activation. The user properties have been
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. apache-maven/pom.xml

            </executions>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>create-distribution-in-dir</id>
          <activation>
            <property>
              <name>distributionTargetDir</name>
            </property>
          </activation>
          <build>
            <plugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Nov 10 03:14:05 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * Active profiles are those that have been explicitly activated through one of the following means:
         * <ul>
         *   <li>Command line activation using the -P flag</li>
         *   <li>Maven settings activation in settings.xml via &lt;activeProfiles&gt;</li>
         *   <li>Automatic activation via &lt;activation&gt; conditions</li>
         *   <li>The default active profile (marked with &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;)</li>
         * </ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/pom.xml

                  <!--              <exclude>org.apache.maven.model.profile.activation.FileProfileActivator#setProfileActivationFilePathInterpolator(org.apache.maven.model.path.ProfileActivationFilePathInterpolator):METHOD_REMOVED</exclude>-->
                  <!--              <exclude>org.apache.maven.model.profile.activation.FileProfileActivator#FileProfileActivator():CONSTRUCTOR_REMOVED</exclude>-->
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top