Skip to content

[MNG-7374] Mutating RelocatedArtifact does not retain type #8063

@jira-importer

Description

@jira-importer

Michael Osipov opened MNG-7374 and commented

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.


Affects: 3.8.4

Issue Links:

  • MNG-5561 Plugin relocation loses configuration

Remote Links:

Backported to: 4.0.0-alpha-2, 3.8.5

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:minorMinor loss of function, or other problem where easy workaround is present

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions