Repository navigation
Conversation
779226b to
d831705
Compare
|
@michael-o This is how I think the merge is reasonable. The same named method in Metadata.merge() as the former does a recessive merge but I don't think this is reasonable here, therefore I don't think we have to consider it here any further.
I think it boils down to the question whether multiple or only one Update: I updated the code to be in line with RemoteSnapshotMetadata.merge() now and made sure that only the most recent version per classifier/extension is listed in the metadata. |
|
@kwin Going through. Do you think that the impl in Resolver is correct? |
| <version>1.1.0+</version> | ||
| <type>String</type> | ||
| <description>The timestamp when this version information was last updated. The timestamp is expressed using UTC in the format yyyyMMddHHmmss.</description> | ||
| <identifier>true</identifier> |
There was a problem hiding this comment.
Can you show where version and updated are part of an id now?
There was a problem hiding this comment.
This is for letting Modello generate a complete equals method which is used e.g. in https://github.com/apache/maven/pull/681/files#diff-a8781d28a4f703eaad1745f9002678d2e273d9189fb9a5f97a79df346f4c1953R129
yes, but you have to keep in mind how its merge is called ( ): The arguments are inverted to the merge from Metadata. For the former the destination is given as argument while for the latter the source is given as argument. |
michael-o
left a comment
There was a problem hiding this comment.
Please remove the copied classes from Resolver. This makes the test brittle for the future.
…data merge Coauthored-by: Konrad Windszus <[email protected]> This closes apache#681
7df95f4 to
e7812c6
Compare
|
Please provide a backport for 3.8.x |
…data merge Coauthored-by: Konrad Windszus <[email protected]> This closes apache#681
e7812c6 to
4fd9bb7
Compare
…data merge Coauthored-by: Konrad Windszus <[email protected]> This closes apache#681
Done in #684 |
metadata merge Co-authored-by: Konrad Windszus <[email protected]> This closes apache#681
|
Resolve #7003 |
Following this checklist to help us incorporate your
contribution quickly and easily:
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.
[MNG-XXX] SUMMARY, where you replaceMNG-XXXand
SUMMARYwith the appropriate JIRA issue. Best practice is to use the JIRA issuetitle in the pull request title and in the first line of the commit message.
mvn clean verifyto make sure basic checks pass. A more thorough check willbe performed on your pull request automatically.
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.
I hereby declare this contribution to be licenced under the Apache License Version 2.0, January 2004
In any other case, please file an Apache Individual Contributor License Agreement.
This builds upon the work from #371 and supersedes it.