Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ACTIVATE (0.15 sec)

  1. maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

    import java.util.Map;
    import java.util.Set;
    import java.util.function.Predicate;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the
     * build if those profiles do not exist.
     */
    public class ProfileActivation {
        private final Map<String, ActivationSettings> activations = new HashMap<>();
    
        /**
    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)
  2. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

         */
        String PROPERTY_NAME_PACKAGING = "packaging";
    
        /**
         * Gets the identifiers of those profiles that should be activated by explicit demand.
         *
         * @return The identifiers of those profiles to activate, never {@code null}.
         */
        List<String> getActiveProfileIds();
    
        /**
         * Gets the identifiers of those profiles that should be deactivated by explicit demand.
         *
    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-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

            if (name == null || name.isEmpty()) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "The property name is required to activate the profile " + profile.getId(),
                        property.getLocation(""));
                return false;
            }
    
            String sysValue = context.getUserProperties().get(name);
            if (sysValue == 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/mdo/profiles.mdo

        <class>
          <name>ActivationProperty</name>
          <version>1.0.0</version>
          <description><![CDATA[
            This is the property specification used to activate a profile. If the value field is empty,
            then the existence of the named property will activate the profile, otherwise it does a case-sensitive
            match against the property value as well.
          ]]></description>
          <fields>
            <field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 03 21:08:35 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/mdo/maven.mdo

        </class>
        <class>
          <name>ActivationProperty</name>
          <version>4.0.0+</version>
          <description>This is the property specification used to activate a profile. If the value field
            is empty, then the existence of the named property will activate the profile, otherwise it
            does a case-sensitive match against the property value as well.</description>
          <fields>
            <field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  6. api/maven-api-settings/src/main/mdo/settings.mdo

        <class java.clone="deep">
          <name>ActivationProperty</name>
          <version>1.0.0+</version>
          <description>
            This is the property specification used to activate a profile. If the value field is empty,
            then the existence of the named property will activate the profile, otherwise it does a case-sensitive
            match against the property value as well.
          </description>
          <fields>
            <field>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

                boolean reverseName = false;
    
                if (name == null) {
                    throw new ProfileActivationException(
                            "The property name is required to activate the profile '" + profile.getId() + "'");
                }
    
                if (name.startsWith("!")) {
                    reverseName = true;
                    name = name.substring(1);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         */
        @Deprecated
        MavenExecutionRequest setActiveProfiles(List<String> profiles);
    
        /**
         * @return The list of profiles that the user wants to activate.
         * @deprecated Since Maven 4: use {@link #getProfileActivation()}.
         */
        @Deprecated
        List<String> getActiveProfiles();
    
        /**
    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)
  9. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Container for storing the request from the user to activate or deactivate certain projects and optionally fail the
     * build if those projects do not exist.
     */
    public class ProjectActivation {
        private static class ProjectActivationSettings {
            /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

            // do nothing
        }
    
        /**
         * Invoked after MavenSession instance has been created.
         *
         * This callback is intended to allow extensions to inject execution properties,
         * activate profiles and perform similar tasks that affect MavenProject
         * instance construction.
         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
Back to top