Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for Motivation (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java

    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.model.Activation;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.api.services.ModelProblemCollector;
    import org.apache.maven.api.services.model.ProfileActivationContext;
    import org.apache.maven.api.services.model.ProfileActivator;
    
    /**
     * Determines profile activation based on the project's packaging.
     */
    @Named("packaging")
    @Singleton
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/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
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.8K 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-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @return The system properties, never {@code null}.
         */
        Properties getSystemProperties();
    
        /**
         * Sets the user properties to use for interpolation and profile activation. The user properties have been
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  5. maven-core/src/test/resources-settings/test-pom-and-settings-interpolation/settings.xml

    specific language governing permissions and limitations
    under the License.
    -->
    
    <settings>
      <profiles>
        <profile>
          <id>settings</id>
          <activation>
            <activeByDefault>true</activeByDefault>
          </activation>
          <properties>
            <settingsProfile>applied</settingsProfile>
            <pomVsSettings>settings</pomVsSettings>
          </properties>
        </profile>
      </profiles>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Mar 31 21:07:56 GMT 2009
    - 1.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. maven-core/src/test/resources-project-builder/inherited-properties-interpolation/active-profile/sub/pom.xml

      </description>
    
      <properties>
        <overridden>CHILD</overridden>
      </properties>
    
      <profiles>
        <profile>
          <id>it-child</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.6K bytes
    - Viewed (0)
  9. 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)
  10. maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

            this.activations.put(id, ActivationSettings.ACTIVATION_REQUIRED);
        }
    
        /**
         * Mark a profile as optional and activated.
         * @param id The identifier of the profile.
         */
        public void activateOptionalProfile(String id) {
            this.activations.put(id, ActivationSettings.ACTIVATION_OPTIONAL);
        }
    
        /**
         * Mark a profile as required and deactivated.
    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)
Back to top