slachiewicz opened a new issue, #13811:
URL: https://github.com/apache/maven/issues/13811

   ### Affected version
   
   master (d9746769), 4.0.0-rc-7
   
   ### Bug description
   
   `MojoExtension.openPomUrl` treats the `pom` value as inline XML only when it 
contains `<project>` 
([`MojoExtension.java:632`](https://github.com/apache/maven/blob/master/impl/maven-testing/src/main/java/org/apache/maven/testing/plugin/MojoExtension.java#L632)).
 An inline POM with attributes on the root element, such as `<project 
xmlns="http://maven.apache.org/POM/4.0.0";>`, falls through to the file branch:
   
   ```
   java.nio.file.NoSuchFileException: .../impl/maven-testing/<project 
xmlns="http:/maven.apache.org/POM/4.0.0"><groupId>customGroupId</groupId>...</project>
   ```
   


-- 
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