Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for activity (0.5 sec)

  1. 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) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.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.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/model/validation/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;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java

            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) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top