You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "arturobernalg (via GitHub)" <gi...@apache.org> on 2026/10/10 06:14:48 UTC

[PR] [MNG-8250] Invoke ModelParser#parse when a parser locates the project directory [maven]

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

   Fixes #[10387](https://github.com/apache/maven/issues/10387)
   
   `DefaultModelProcessor#read` searched the parent of the located path for a model. When a `ModelParser` returns the project directory itself as its source, as `locateExistingPom` allows, the parsers were asked to locate in the directory above the project, so `parse` was never called and the XML reader failed with "Is a directory".
   
   The processor now uses the path itself when it is a directory. A regression test is added to `DefaultModelProcessorTest`


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [MNG-8250] Invoke ModelParser#parse when a parser locates the project directory [maven]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet merged PR #13398:
URL: https://github.com/apache/maven/pull/13398


-- 
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: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org