[
https://issues.apache.org/jira/browse/MNG-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465218#comment-17465218
]
Michael Osipov commented on MNG-7374:
-------------------------------------
This was found during MNG-5561.
> Mutating RelocatedArtifact does not retain type
> -----------------------------------------------
>
> Key: MNG-7374
> URL: https://issues.apache.org/jira/browse/MNG-7374
> Project: Maven
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 3.8.4
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Minor
> Fix For: 4.0.0, 4.0.0-alpha-1, 3.8.5
>
>
> When a {{RelocatedArtifact}} is provided a new version, file or properties,
> this impl relies on {{AbstractArtifact}} to create a new instance.
> Unfortunately, this uses {{DefaultArtifact}} and the original information of
> relocation is lost. This likely applies to all non-abstract impls except
> {{DefaultArtifact}}.
> {{RelocatedArtifact}} should be retained with these operations.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)