- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for shouldHandleMalformedPomGracefully (0.12 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
// This test mainly verifies no exceptions are thrown } @Test @DisplayName("should handle malformed POM gracefully") void shouldHandleMalformedPomGracefully() throws Exception { Path pomFile = tempDir.resolve("pom.xml"); String malformedPom = "<?xml version=\"1.0\"?><project><invalid></project>";Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
} } @Nested @DisplayName("Error Handling") class ErrorHandlingTests { @Test @DisplayName("should handle malformed POM gracefully") void shouldHandleMalformedPOMGracefully() throws Exception { String malformedPomXml = """ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0">Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.8K bytes - Viewed (0)