Skip to content

Commit

Permalink
Update faq.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Nov 21, 2024
1 parent e58e6e6 commit 8fe8398
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/reference/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ The Moderne CLI builds the LST artifacts for your repository in pieces if the re
## I'm getting `Failed to parse or resolve the Maven POM file or one of its dependencies; We cannot reliably continue without this information.` when running OpenRewrite.

OpenRewrite needs to resolve the Maven POM file and its dependencies to build up the Lossless Semantic Tree (LST).
We parse parse the POM files of your project, your dependencies and any plugins to enrich our type information, and resolve any transitive dependencies.
When POM files can not be found or parsed, we are not able to type attribute some elements of your code, and recipes will fail to match those elements.

If you're seeing this error, it's likely that OpenRewrite is having trouble resolving the POM file or its dependencies.
The output will indicate with markers which `<!--~~(... Unable to download POM ...)~~>-->` which POM failed, and which repositories were tried.

Expand Down Expand Up @@ -289,4 +292,4 @@ Time savings estimates provide you with a general idea of how much time was save

The assumption is that this time saved number represents how long it would take a developer to change the code, create a PR to review said change, and then merge/deploy it once it was reviewed. It _does not_ estimate how long it would take a developer to find this issue in the code (which, in some cases, can be quite a bit longer than making the change itself).

[You can export data tables with those results per recipe](../running-recipes/data-tables.md).
[You can export data tables with those results per recipe](../running-recipes/data-tables.md).

0 comments on commit 8fe8398

Please sign in to comment.