- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for errorPoms (0.04 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
assertFalse(result.success(), "Orchestrator should fail when any strategy fails"); assertEquals(1, result.errorPoms().size(), "Should have one error POM"); assertTrue(result.errorPoms().contains(Paths.get("pom.xml")), "Should contain the failed POM"); } @Test @DisplayName("should handle strategy exceptions gracefully")Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java
errorPoms.add(pomPath); } } catch (Exception e) { context.failure("Model upgrade failed: " + e.getMessage()); errorPoms.add(pomPath); } finally { context.unindent(); } } return new UpgradeResult(processedPoms, modifiedPoms, errorPoms); } /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 16.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
context.failure("Failed to create temp project structure: " + e.getMessage()); // Mark all POMs as errors errorPoms.addAll(pomMap.keySet()); } return new UpgradeResult(processedPoms, modifiedPoms, errorPoms); } /** * Upgrades plugins in the document. * Checks both build/plugins and build/pluginManagement/plugins sections.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
context.failure("Failed to fix Maven 4 compatibility issues" + ": " + e.getMessage()); errorPoms.add(pomPath); } finally { context.unindent(); } } return new UpgradeResult(processedPoms, modifiedPoms, errorPoms); } /** * Fixes unsupported combine.children attribute values.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 22.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
context.failure("Failed to apply inference optimizations" + ": " + e.getMessage()); errorPoms.add(pomPath); } finally { context.unindent(); } } return new UpgradeResult(processedPoms, modifiedPoms, errorPoms); } /** * Applies limited parent-related inference optimizations for Maven 4.0.0+ models.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
// This is needed for both 4.0.0 and 4.1.0 to help Maven find the project root createMvnDirectoryIfNeeded(context); return result.errorPoms().isEmpty() ? 0 : 1; } catch (Exception e) { context.failure("Strategy execution failed: " + e.getMessage()); return 1; } } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.5K bytes - Viewed (0)