You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:03 UTC

[jira] [Updated] (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:all-tabpanel ]

Guillaume Nodet updated MNG-7226:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> 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
>            Assignee: Guillaume Nodet
>            Priority: Blocker
>             Fix For: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> 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.20.10#820010)