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/25 14:29:00 UTC

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

Michael Osipov created MNG-7374:
-----------------------------------

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