Skip to content

[MNG-5180] - Versioning's snapshot version list is not included in metadata merge - #191

Closed
fuss86 wants to merge 1 commit into
apache:masterfrom
strongbox:MNG-5180
Closed

fuss86 wants to merge 1 commit into
apache:masterfrom
strongbox:MNG-5180

Conversation

@fuss86

@fuss86 fuss86 commented Nov 12, 2018 •

Copy link
Copy Markdown

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Make sure there is a JIRA issue filed
    for the change (usually before you start working on it). Trivial changes like typos do not
    require a JIRA issue. Your pull request should address just this issue, without
    pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [MNG-XXX] - Fixes bug in ApproximateQuantiles,
    where you replace MNG-XXX with the appropriate JIRA issue. Best practice
    is to use the JIRA issue title in the pull request title and in the first line of the
    commit message.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the Core IT successfully.

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

@fuss86

fuss86 commented Nov 14, 2018

Copy link
Copy Markdown
Author

@michael-o

Copy link
Copy Markdown
Member

@fuss86 We are currently trying to pick this up. Can you remember why you consider this to be wrong and #371 to be correct? Note that Resolver uses the #371 approach.

{
if ( java.util.Objects.equals( snapshotVersion.getClassifier(), sv.getClassifier() ) &&
java.util.Objects.equals( snapshotVersion.getExtension(), sv.getExtension() ) &&
java.util.Objects.equals( snapshotVersion.getUpdated(), sv.getUpdated() ) &&

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is not correct, as only classifier, extension and version act as key. The updated may actually differ but the should not lead to duplicate keys.

pzygielo pushed a commit to pzygielo/maven that referenced this pull request Jan 4, 2023
@jira-importer

Copy link
Copy Markdown

Resolve #7003

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants