Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 73 for activation (0.1 sec)

  1. compat/maven-model-builder/src/test/resources/poms/factory/complex.xml

        <profiles>
            <profile>
                <id>two-conditions</id>
                <activation>
                    <file>
                        <exists>simple.xml</exists>
                    </file>
                    <property>
                        <name>myproperty</name>
                        <value>test</value>
                    </property>
                </activation>
                <properties>
                    <profile.file>activated-1</profile.file>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Objects;
    import java.util.Optional;
    
    import org.apache.maven.api.model.Activation;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

        private static final String JDK_VERSION = System.getProperty("java.version");
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
            // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here.
            if (jdk.startsWith("[") || jdk.startsWith("(")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. 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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 15:53:41 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    import java.util.stream.Collectors;
    
    /**
     * Describes the environmental context used to determine the activation status of profiles.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DefaultProfileActivationContext implements ProfileActivationContext {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. 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 -->
    		<dependency>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

         * Gets the type of data associated with this tag.
         *
         * @return The type of data, must not be {@code null}.
         */
        Class<T> getType();
    
        /**
         * The tag used for the raw model without profile activation
         */
        ModelCacheTag<ModelData> RAW = new ModelCacheTag<ModelData>() {
    
            @Override
            public String getName() {
                return "raw";
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java

         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The execution properties, never {@code null}.
         */
        Map<String, String> getSystemProperties();
    
        /**
         * Gets the user properties to use for interpolation and profile activation. The user properties have been
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. 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}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top