Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 461 for problems (0.11 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java

        /**
         * Gets the problems that were encountered during the settings building. Note that only problems of severity
         * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link ToolchainsBuilderException}.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
     */
    public interface ModelProblemCollector {
    
        /**
         * The collected problems.
         * @return a list of model problems encountered, never {@code null}
         */
        List<ModelProblem> getProblems();
    
        boolean hasErrors();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

         *
         * @param model the input model
         * @param problems the problem collector to report any issues encountered during transformation
         * @return the transformed model, or the input model if no transformation is needed
         */
        @Nonnull
        Model transform(
                @Nonnull Model model, @Nonnull ModelBuilderRequest request, @Nonnull ModelProblemCollector problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderException.java

        private final List<BuilderProblem> problems;
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public SettingsBuilderException(String message, Exception e) {
            super(message, e);
            this.problems = List.of();
        }
    
        public SettingsBuilderException(String message, List<BuilderProblem> problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderException.java

        private final List<BuilderProblem> problems;
    
        /**
         * @param message the message to give
         * @param e the {@link Exception}
         */
        public ToolchainsBuilderException(String message, Exception e) {
            super(message, e);
            this.problems = List.of();
        }
    
        public ToolchainsBuilderException(String message, List<BuilderProblem> problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java

         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        default void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) {
            validate(settings, problems);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java

         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void injectLifecycleBindings(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorExt.java

    /**
     * Extends the ModelProblemCollector by the capacity of returning the collected problems.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelProblemCollectorExt extends ModelProblemCollector {
    
        /**
         * The collected problems.
         * @return a list of model problems encountered, never {@code null}
         */
        List<ModelProblem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(active.isEmpty());
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
                    problems.getErrors().get(0));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

            SimpleProblemCollector problems = new SimpleProblemCollector();
    
            assertEquals(active, activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size(), problems.getErrors().toString());
            assertEquals(0, problems.getWarnings().size(), problems.getWarnings().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top