Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 105 for activated (1.09 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            request.setSystemProperties(sysProperties);
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
            assertEquals("activated-1", result.getEffectiveModel().getProperties().get("profile.file"));
            assertNull(result.getEffectiveModel().getProperties().get("profile.miss"));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java

    /**
     * Determines whether a profile should be activated.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ProfileActivator {
    
        /**
         * Determines whether the specified profile is active in the given activator context.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

        /**
         * Defines external profiles that may be activated for the given model.
         * Those are external profiles usually defined in {@link org.apache.maven.api.settings.Settings#getProfiles()}.
         */
        @Nonnull
        Collection<Profile> getProfiles();
    
        /**
         * List of profile ids that have been explicitly activated by the user.
         */
        @Nonnull
        List<String> getActiveProfileIds();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                // Use SLF4J formatter for consistency with warnings reported by logger
                final String message = MessageFormatter.format(
                                "The requested profiles {} could not be activated or deactivated because they do not"
                                        + " exist.",
                                notFoundRequiredProfiles)
                        .getMessage();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon May 05 16:58:52 UTC 2025
    - 28.7K bytes
    - Viewed (1)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

            request.setPomFile(getPom("simple"));
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
            assertEquals("activated", result.getEffectiveModel().getProperties().get("profile.file"));
            Xpp3Dom conf = (Xpp3Dom)
                    result.getEffectiveModel().getBuild().getPlugins().get(0).getConfiguration();
            assertNotNull(conf);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

         */
        @Override
        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)
         */
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         *
         * @return The identifiers of those profiles to activate, never {@code null}.
         */
        List<String> getActiveProfileIds();
    
        /**
         * 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}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/site/apt/logging.apt

    {
       final Logger logger = LoggerFactory.getLogger( MyClass.class );
    }
    +-----+
    
    * Logger Name
    
     Logger name is basically the classical fully qualified class name: it's not visible by default, but can be activated (see {{{/maven-logging.html}user documentation}}).
    
     Notice that before Maven 3.1.0, with logger created by Maven, some code used to pass logger from class to class because it could not create a new logger:
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top