Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for Motivation (0.26 sec)

  1. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
                String fileString = actFile.getExists();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java

     */
    package org.apache.maven.execution;
    
    /**
     * Describes whether a target should be activated or not, and if that is required or optional.
     */
    enum ActivationSettings {
        ACTIVATION_OPTIONAL(true, true),
        ACTIVATION_REQUIRED(true, false),
        DEACTIVATION_OPTIONAL(false, true),
        DEACTIVATION_REQUIRED(false, false);
    
        /**
         * Should the target be active?
         */
        final boolean active;
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/jdk-activation/pom.xml

      </build>
    
      <profiles>
        <profile>
          <id>test-1</id>
          <activation>
            <jdk>[1.4,)</jdk>
          </activation>
          <properties>
            <jdkProperty1>PASSED</jdkProperty1>
          </properties>
        </profile>
        <profile>
          <id>test-2</id>
          <activation>
            <jdk>(,100)</jdk>
          </activation>
          <properties>
            <jdkProperty2>PASSED</jdkProperty2>
          </properties>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivator.java

        /**
         * Determines whether specified activation method is present in configuration or not. It should help to have AND
         * between activation conditions
         * Need for solving https://issues.apache.org/jira/browse/MNG-4565
         * @param profile The profile whose activation status should be determined, must not be {@code null}.
         * @param context The environmental context used to determine the activation status of the profile, must not be
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java

                                "Failed to determine activation for profile " + profile.getId(),
                                profile.getLocation(""),
                                e);
                        return false;
                    }
                }
            }
            return isActive;
        }
    
        private boolean isActiveByDefault(Profile profile) {
            Activation activation = profile.getActivation();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                return builder;
            }
    
            @Override
            protected Activation.Builder transformActivation_File(
                    Supplier<? extends Activation.Builder> creator, Activation.Builder builder, Activation target) {
                stk.push(nextFrame("file", Activation::getFile));
                Optional.ofNullable(target.getFile());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 13:13:07 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

            return this.activations.stream().filter(activation -> predicate.test(activation.activationSettings));
        }
    
        private Set<String> getProjectSelectors(final Predicate<ActivationSettings> predicate) {
            return getProjects(predicate).map(activation -> activation.selector).collect(toSet());
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  9. 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}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  10. maven-core/src/test/resources-project-builder/inherited-properties-interpolation/active-profile/pom.xml

        <interpolated>${overridden}</interpolated>
      </properties>
    
      <profiles>
        <profile>
          <id>it-parent</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
        </profile>
      </profiles>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 1.7K bytes
    - Viewed (0)
Back to top