Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for _activate (0.22 sec)

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

         */
        public void explicitlyActivate(String profileId) {
            if (!activatedIds.contains(profileId)) {
                logger.debug("Profile with id: '" + profileId + "' has been explicitly activated.");
    
                activatedIds.add(profileId);
            }
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#explicitlyActivate(java.util.List)
         */
    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)
  2. 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)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/execution/ActivationSettings.java

     * specific language governing permissions and limitations
     * under the License.
     */
    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),
    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)
  5. 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)
  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-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)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivator.java

     */
    package org.apache.maven.api.services.model;
    
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.api.services.ModelProblemCollector;
    
    /**
     * Determines whether a profile should be activated.
     *
     */
    public interface ProfileActivator {
    
        /**
         * Determines whether the specified profile is active in the given activator context.
         *
    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)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

        private boolean isValidProfileId(String id) {
            switch (id.charAt(0)) { // avoid first character that has special CLI meaning in "mvn -P xxx"
                case '+': // activate
                case '-': // deactivate
                case '!': // deactivate
                case '?': // optional
                    return false;
                default:
            }
            return true;
        }
    
    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)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

        public List<String> getActiveProfileIds() {
            return activeProfileIds;
        }
    
        /**
         * Sets the identifiers of those profiles that should be activated by explicit demand.
         *
         * @param activeProfileIds The identifiers of those profiles to activate, may be {@code null}.
         * @return This context, never {@code null}.
         */
        public DefaultProfileActivationContext setActiveProfileIds(List<String> activeProfileIds) {
    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)
Back to top