Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.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");
    
        @Override
        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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

        /**
         * Determines the profiles which are active in the specified activation context. Active profiles will eventually be
         * injected into the model.
         *
         * @param profiles The profiles whose activation status should be determined, must not be {@code null}.
         * @param context The environmental context used to determine the activation status of a profile, must not be
         *            {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (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>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 07:44:50 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    }
                }
            }
            for (Profile profile : interpolatedActivations) {
                Activation activation = profile.getActivation();
                Optional<Activation> a = Optional.ofNullable(activation);
                a.map(Activation::getFile).ifPresent(fa -> {
                    Interpolation nt =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

    import java.util.Properties;
    
    import static java.util.stream.Collectors.collectingAndThen;
    import static java.util.stream.Collectors.toMap;
    
    /**
     * Describes the environmental context used to determine the activation status of profiles.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DefaultProfileActivationContext implements ProfileActivationContext {
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. 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)
Back to top