Skip to content

[MNG-8242] Cache flattened parents during model building #9623

@jira-importer

Description

@jira-importer

Guillaume Nodet opened MNG-8242 and commented

During model building, we do not cache any hierarchy inheritance due to profiles that may be activated based on properties from the child projects.
So there's no way to cache the effective parent and just inject it into the child, the whole hierarchy need to be taken into account.

However, flattening the parent (i.e. inject the flattened parent's parent into the raw parent) should provide a parent model which has no parents anymore, not activated and not interpolated, but which can be cached and reused.


Issue Links:

  • MRESOLVER-589 ArtifactDescriptorResult should be immutable
    ("fixes")

Remote Links:

Backported to: 4.0.0-beta-5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions