Skip to content

Work-around for MSHARED-998 until it's resolved and we can upgrade to a newer transfer-utils#3702

Merged
jeremylong merged 5 commits intomainfrom
issue-3679
Oct 6, 2021
Merged

Work-around for MSHARED-998 until it's resolved and we can upgrade to a newer transfer-utils#3702
jeremylong merged 5 commits intomainfrom
issue-3679

Conversation

@aikebah
Copy link
Copy Markdown
Collaborator

@aikebah aikebah commented Oct 6, 2021

Fixes Issue #3679

Description of Change

As a temporary work-around do not apply a filter to artifact-resolution when resolving for a DependencyNode that uses a <classifier> which would lead to a NullPointerException deep down in maven's internal logic.

Have test cases been added to cover the new functionality?

yes, an integration testcase has been added that triggers the error with the old codebase and succeeds with the workaround.

@boring-cyborg boring-cyborg Bot added maven changes to the maven plugin tests test cases labels Oct 6, 2021
@aikebah aikebah requested a review from jeremylong October 6, 2021 17:04
Copy link
Copy Markdown
Collaborator

@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.

I was thinking we would have to use both resolution mechanisms until the upstream bug is resolved. PR looks good - thanks!

@jeremylong jeremylong added this to the 6.4.0 milestone Oct 6, 2021
@jeremylong jeremylong merged commit 83f3deb into main Oct 6, 2021
@jeremylong
Copy link
Copy Markdown
Collaborator

I will try and release this on Friday morning - unfortunately, I can't release before then due to other time commitments (and the next release will also require some updates on the homebrew side)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

maven changes to the maven plugin tests test cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants