You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/12/30 16:00:00 UTC

[jira] [Closed] (MNG-7374) Mutating RelocatedArtifact does not retain type

     [ https://issues.apache.org/jira/browse/MNG-7374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MNG-7374.
-------------------------------
    Resolution: Fixed

Fixed with [46d57bdb3f54feb45d0ab22a255b9bcc6b704a27|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=46d57bdb3f54feb45d0ab22a255b9bcc6b704a27] and with [ef74a62451684c8c60cc9db4b6720c8edb89a165|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=ef74a62451684c8c60cc9db4b6720c8edb89a165] for {{maven-3.8.x}} branch.

> 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)