Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.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}.
         */
        default void validateFileModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems) {
            // do nothing
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

    import java.util.List;
    
    /**
     * Collects problems that are encountered during settings building.
     *
     */
    public interface ProblemCollector {
    
        /**
         * Adds the specified problem.
         * Either message or exception is required
         *
         * @param severity The severity of the problem, must not be {@code null}.
         * @param message The detail message of the problem, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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