Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for _activate (0.33 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java

         * 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.
         *
         * @return The identifiers of those profiles to deactivate, never {@code null}.
         */
    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)
  2. 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)
  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-core/src/test/resources/projects/transform/after.pom

        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
              <exists>simple.xml</exists>
            </file>
          </activation>
          <properties>
            <profile.file>activated</profile.file>
          </properties>
        </profile>
      </profiles>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 07:51:37 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. maven-core/src/test/resources-project-builder/profile-dependencies-multiple-profiles/pom.xml

      <artifactId>test</artifactId>
      <version>1.0-SNAPSHOT</version>
    
      <name>Maven Integration Test :: it0021</name>
      <description>
        Test pom-level profile inclusion (this one is activated by system property).
      </description>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
            <artifactId>maven-it-plugin-dependency-resolution</artifactId>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileSelector.java

         *            {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         * @return The profiles that have been activated, never {@code null}.
         */
        List<Profile> getActiveProfiles(
                Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems);
    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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @return the file model, never {@code null}.
         */
        @Nonnull
        Model getFileModel();
    
        /**
         * Returns the file model + profile injection.
         *
         * @return the activated file model, never {@code null}.
         */
        @Nonnull
        Model getActivatedFileModel();
    
        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
    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)
  8. 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)
  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-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)
Back to top