Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Prefer pom.properties G/A/V over pom.xml G/A/V to resolve GAV interpolation issues #5473

Merged
merged 2 commits into from Feb 19, 2023

Conversation

aikebah
Copy link
Collaborator

@aikebah aikebah commented Feb 18, 2023

Improves the fix of #5418 to retain the proper pURL when a pom.properties is found.

Fixes Issue #5450

Fixes Issue #5448

Description of Change

When pom.properties is found with at least the properties for G/A/V as documented by maven use the G/A/V coordinates from the pom.properties as those are expected to always contain the fully interpolated values for G/A/V whereas the pom.xml may contain property references that are resolved by Maven in the model-building.

Have test cases been added to cover the new functionality?

no

…terpolation issues

Improves the fix of #5418 as a quick-fix

Fixes #5450
@boring-cyborg boring-cyborg bot added the core changes to core label Feb 18, 2023
@aikebah aikebah changed the title fix: Prefer pom.properties G/A/V over pom.xml G/A/V to resolve GAV in… fix: Prefer pom.properties G/A/V over pom.xml G/A/V to resolve GAV interpolation issues Feb 18, 2023
@aikebah aikebah added this to the 8.1.1 milestone Feb 18, 2023
Copy link
Owner

@jeremylong jeremylong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core changes to core
Projects
None yet
2 participants