Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for activation (0.18 sec)

  1. maven-core/src/test/resources/projects/transform/after.pom

      </build>
      <profiles>
        <profile>
          <id>default-active</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
              <exists>simple.xml</exists>
            </file>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 07:51:37 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         */
        public void activateOptionalProfile(String id) {
            this.activations.put(id, ActivationSettings.ACTIVATION_OPTIONAL);
        }
    
        /**
         * Mark a profile as required and deactivated.
         * @param id The identifier of the profile.
         */
        public void deactivateRequiredProfile(String id) {
            this.activations.put(id, ActivationSettings.DEACTIVATION_REQUIRED);
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

        @Override
        public boolean presentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationProperty property = activation.getProperty();
    
            return property != null;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                        + ") with new instance from source: " + profile.getSource());
            }
    
            profilesById.put(profile.getId(), profile);
    
            Activation activation = profile.getActivation();
    
            if (activation != null && activation.isActiveByDefault()) {
                activateAsDefault(profileId);
            }
        }
    
        /* (non-Javadoc)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

        @Override
        public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            String jdk = activation.getJdk();
    
            if (jdk == null) {
                return false;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

            final ActivationSettings settings = ActivationSettings.of(active, optional);
            this.activations.add(new ProjectActivationSettings(selector, settings));
        }
    
        private Stream<ProjectActivationSettings> getProjects(final Predicate<ActivationSettings> predicate) {
            return this.activations.stream().filter(activation -> predicate.test(activation.activationSettings));
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  7. 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("(")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

        public boolean canDetermineActivation(Profile profile) {
            Activation activation = profile.getActivation();
            return activation != null && activation.getOs() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
            ActivationOS os = activation.getOs();
    
            boolean result = ensureAtLeastOneNonNull(os);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

    import java.util.Map;
    import java.util.Properties;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.services.model.*;
    
    /**
     * Describes the environmental context used to determine the activation status of profiles.
     *
     */
    public class DefaultProfileActivationContext implements ProfileActivationContext {
    
        private List<String> activeProfileIds = Collections.emptyList();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. maven-core/src/test/resources-project-builder/profile-default-deactivation/pom.xml

      <groupId>org.apache.maven.its.mng3545</groupId>
      <artifactId>test-artifact</artifactId>
      <version>1.0-SNAPSHOT</version>
      <profiles>
        <profile>
          <id>profile1</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <build>
            <plugins>
              <plugin>
                <groupId>org.apache.maven.its.plugins</groupId>
                <artifactId>maven-it-plugin-touch</artifactId>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Nov 09 12:45:14 GMT 2019
    - 1.1K bytes
    - Viewed (0)
Back to top