- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for formatLocation (0.08 seconds)
-
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithLocationAssert.java
String actualLocations = actual.getProblems().stream() .map(p -> formatLocation(p.getColumnNumber(), p.getLineNumber())) .collect(joining(", ")); String message = String.format( "Expected ProjectBuildingResult to have location <%s> but had locations <%s>", formatLocation(columnNumber, lineNumber), actualLocations); assertTrue(false, message);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
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 Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 15:32:43 GMT 2025 - 4.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java
if (request.isShowErrors()) { // this means -e or -X (as -X enables -e as well) for (ModelProblem problem : result.getProblems()) { String loc = ModelProblemUtils.formatLocation(problem, result.getProjectId()); LOGGER.warn("{}{}", problem.getMessage(), ((loc != null && !loc.isEmpty()) ? " @ " + loc : "")); } } } }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Sep 30 08:09:09 GMT 2025 - 4.1K bytes - Click Count (0)