You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mickael Istria (Jira)" <ji...@apache.org> on 2021/08/31 14:09:00 UTC

[jira] [Commented] (MNG-7226) DefaultModelBuilder.buildRawModel fails as it ignores pom file

    [ https://issues.apache.org/jira/browse/MNG-7226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17407374#comment-17407374 ] 

Mickael Istria commented on MNG-7226:
-------------------------------------

See [https://github.com/apache/maven/pull/528] for a proposed solution.

> DefaultModelBuilder.buildRawModel fails as it ignores pom file
> --------------------------------------------------------------
>
>                 Key: MNG-7226
>                 URL: https://issues.apache.org/jira/browse/MNG-7226
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.0.0-alpha-1
>            Reporter: Mickael Istria
>            Priority: Blocker
>
> LemMinX-Maven uses DefaultModelBuilder.buildRawModel() to retrieve some informations about some models (in case loading the whole project is not necessary).
> Since MNG-6957, this method is broken as it ignores the input pom file. I imagine the request would simply have to set the FileModelSource instead.
> This issue has happened because it looks like this method as no user in the other parts of Maven, nor has a test case covering it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)