You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:02 UTC

[jira] [Updated] (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 ]

Guillaume Nodet updated MNG-7374:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> 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: 3.8.5, 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> 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.10#820010)