Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for Motivation (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/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}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/projects/transform/before.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
    - 3.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jun 19 15:06:01 GMT 2023
    - 11K bytes
    - Viewed (0)
Back to top