Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 505 for Problem (0.04 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. .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)
  5. 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)
  6. 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)
  7. .github/ISSUE_TEMPLATE/bug_report.md

    A clear and concise description of what you expected to happen.
    
    **Screenshots**
    If applicable, add screenshots to help explain your problem.
    
    **Environment (please complete the following information):**
     - OS: [e.g. Windows 10]
     - Version [e.g. 3.5.0]
    
    **Additional context**
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Feb 10 22:18:26 GMT 2020
    - 748 bytes
    - Click Count (0)
  8. 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)
  9. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            DefaultProblemCollector collector = new DefaultProblemCollector(null);
    
            collector.add(null, "PROBLEM1", -1, -1, null);
    
            collector.setSource("SOURCE_PROBLEM2");
            collector.add(null, "PROBLEM2", -1, -1, null);
    
            collector.setSource("SOURCE_PROBLEM3");
            collector.add(null, "PROBLEM3", -1, -1, null);
    
            assertEquals("", collector.getProblems().get(0).getSource());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  10. .github/ISSUE_TEMPLATE/bug.md

    **Plugins installed**: []
    
    **JVM version** (`java -version`):
    
    **OS version** (`uname -a` if on a Unix-like system):
    
    **Description of the problem including expected versus actual behavior**:
    
    **Steps to reproduce**:
    
    Please include a *minimal* but *complete* recreation of the problem,
    including (e.g.) index creation, mappings, settings, query etc.  The easier
    you make for us to reproduce it, the more likely that somebody will take the
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 07 00:50:18 GMT 2020
    - 1.3K bytes
    - Click Count (0)
Back to Top