gnodet opened a new pull request, #13915:
URL: https://github.com/apache/maven/pull/13915

   Backport of #13815 to `maven-4.0.x`.
   
   Cherry-pick of 7198b6c3405ce9d80b552f9f20fbec586b345b69 required conflict 
resolution.
   
   **Changes:**
   - `MojoExtension.openPomUrl()`: detect inline XML by checking if the POM 
string starts with `<` (after stripping whitespace), instead of checking for 
`<project>`. This allows inline POMs with XML prologs or namespace-qualified 
root elements.
   - New test class `MojoExtensionInlinePomTest` verifying both cases 
(namespaced root, XML prolog).
   
   **Conflict resolution:**
   - Test file relocated from `org.apache.maven.testing.plugin` to 
`org.apache.maven.api.plugin.testing` package (matching existing test 
conventions on `maven-4.0.x`).
   
   Fixes #13815


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to