GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — Fix reactor BOM imports in also-make graph by mcc0nnell · Pull Request #13040 · apache/maven Conversation
|
| .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList)); | ||
| } | ||
|
|
||
| private String resolveImportVersion(MavenProject project, String version) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
💡 Nit: This method doesn't access any instance state — only its parameters. It could be static.
| private String resolveImportVersion(MavenProject project, String version) { | |
| private static String resolveImportVersion(MavenProject project, String version) { |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Treat dependency-management BOM imports from the original project model as reactor graph edges so -am includes imported BOM modules. Resolve the common project-version and exact property-reference forms before matching reactor coordinates. Signed-off-by: Robert McConnell <[email protected]>
240759e to
4b56c5f
Compare
Apply the review suggestion: resolveImportVersion only uses its parameters and does not require ProjectSorter instance state. Signed-off-by: Robert McConnell <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Previous nit addressed — resolveImportVersion is now static. No other changes. Code logic was already reviewed and found sound.
This review was generated by an AI agent, Hermès on behalf of @gnodet.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@gnodet Please assign appropriate label to PR according to the type of change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
mvn -am -pl unexpectedly skips bom import dependencies
There was an error while loading. Please reload this page.