Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for formatLocation (0.19 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

                        conflicts.add(String.format(
                                "Conflicting extension %s: %s vs %s",
                                key,
                                formatLocation(conflict.getLocation("")),
                                formatLocation(coreExtension.getLocation(""))));
                    }
                }
            }
            if (!conflicts.isEmpty()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

         *            to force output of model id and source.
         * @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());
    
    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)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

            StringBuilder buffer = new StringBuilder(128);
    
            buffer.append('[').append(getSeverity()).append("] ");
            buffer.append(getMessage());
            buffer.append(" @ ").append(ModelProblemUtils.formatLocation(this, null));
    
            return buffer.toString();
        }
    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)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                writer.print(" @ ");
                writer.println(ModelProblemUtils.formatLocation(problem, modelId));
            }
    
            return buffer.toString();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top