Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 448 for problem (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.Model;
    
    /**
     * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown
     * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits
     * the problem.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

         * @param severity The severity level of the problem, may be {@code null} to default to
         *            {@link org.apache.maven.building.Problem.Severity#ERROR}.
         * @param source A hint about the source of the problem like a file path, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the problem or {@code -1} if unknown.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java

         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
        void add(SettingsProblem.Severity severity, String message, int line, int column, Exception cause);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

    import org.apache.maven.api.model.Model;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
     * the fact that the problem reporter has/should not have information about the calling context and hence cannot provide
     * an expressive source hint for the model problem. Instead, the source hint is configured by the model builder before
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 19 14:50:21 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollector.java

     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelProblemCollector {
    
        /**
         * Adds the specified problem.
         *
         * @param req must not be null
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java

            assertEquals(
                    "1 problem was encountered while building the effective toolchains" + LS
                            + "[ERROR] MESSAGE @ line 3, column 5" + LS,
                    e.getMessage());
        }
    
        @Test
        void testUnknownPositionAndSource() {
            ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null);
            problemCollector.add(Problem.Severity.ERROR, "MESSAGE", -1, -1, new Exception());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingResult.java

        private List<Problem> problems;
    
        /**
         * Default constructor
         *
         * @param effectiveToolchains the merged toolchains, may not be {@code null}
         * @param problems the problems while building the effectiveToolchains, if any.
         */
        public DefaultToolchainsBuildingResult(PersistedToolchains effectiveToolchains, List<Problem> problems) {
            this.effectiveToolchains = effectiveToolchains;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 2K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/40_contributor_documentation.yml

            - Typo (please open a PR instead)
        validations:
          required: true
      - type: textarea
        id: description
        attributes:
          label: Problem description
          description: |
            Please describe the problem as concisely as possible.
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
          label: Context (optional)
          description: |
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 15 10:01:01 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         * @return The formatted problem location or an empty string if unknown, never {@code null}.
         */
        public static String formatLocation(ModelProblem problem, String projectId) {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!problem.getModelId().equals(projectId)) {
                buffer.append(problem.getModelId());
    
                if (!problem.getSource().isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

         * @param problems the collection of problems to include in the message
         * @return a formatted message including details of all problems
         */
        protected static String buildMessage(String message, ProblemCollector<BuilderProblem> problems) {
            StringBuilder msg = new StringBuilder(message);
            problems.problems().forEach(problem -> msg.append("\n * ")
                    .append(problem.getSeverity().name())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top