Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 26 for Activation (0.1 seconds)

  1. 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();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  2. 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));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    }
                    // Activation
                    visit(profile.getActivation());
                    // Build
                    visit(profile.getBuild());
                }
            }
    
            private void visit(Activation activation) {
                if (activation != null) {
                    String org, val;
                    // Jdk
                    org = activation.getJdk();
                    val = interpolate(org);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The system properties, never {@code null}.
         */
        Properties getSystemProperties();
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/mdo/profiles.mdo

              <description>The ID of this build profile, for activation
                purposes.</description>
            </field>
            <field>
              <name>activation</name>
              <version>1.0.0</version>
              <description><![CDATA[The conditional logic which will automatically
                trigger the inclusion of this profile.]]></description>
              <association>
                <type>Activation</type>
              </association>
            </field>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  6. apache-maven/src/assembly/maven/conf/settings.xml

         |
         | This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
        <profile>
          <id>jdk-1.4</id>
    
          <activation>
            <jdk>1.4</jdk>
          </activation>
    
          <repositories>
            <repository>
              <id>jdk14</id>
              <name>Repository for JDK 1.4 builds</name>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 22 07:44:50 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import org.apache.maven.model.profile.activation.FileProfileActivator;
    import org.apache.maven.model.profile.activation.JdkVersionProfileActivator;
    import org.apache.maven.model.profile.activation.OperatingSystemProfileActivator;
    import org.apache.maven.model.profile.activation.ProfileActivator;
    import org.apache.maven.model.profile.activation.PropertyProfileActivator;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/site/apt/index.apt

     that manages the steps sequence.
    
     The sequence is divided into 2 phases:
    
     * phase 1
    
       ** profile activation: see {{{./apidocs/org/apache/maven/model/profile/activation/package-summary.html}available activators}}.
       Notice that model interpolation hasn't happened yet, then interpolation for file-based activation is limited to
       <<<$\{basedir}>>> (since Maven 3), <<<$\{rootDirectory}>>> (since Maven 4), system properties and user properties
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 03 08:42:52 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        /**
         * Return the requested activation(s) of project(s) in this execution.
         * @return requested (de-)activation(s) of project(s) in this execution. Never {@code null}.
         */
        ProjectActivation getProjectActivation();
    
        /**
         * Return the requested activation(s) of profile(s) in this execution.
         * @return requested (de-)activation(s) of profile(s) in this execution. Never {@code null}.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  10. 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>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top