You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/06/09 13:41:01 UTC
[jira] [Resolved] (SLING-4790) Removal of artifacts from inherited
model is not possible
[ https://issues.apache.org/jira/browse/SLING-4790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-4790.
-------------------------------------
Resolution: Fixed
Fixed by adding a new variant of the merge method to the provisioning model which keeps the :remove run modes. With this, the local model can be read without applying the removals yet. Then the dependencies are read and the local model is merged in
> Removal of artifacts from inherited model is not possible
> ---------------------------------------------------------
>
> Key: SLING-4790
> URL: https://issues.apache.org/jira/browse/SLING-4790
> Project: Sling
> Issue Type: Bug
> Components: Maven Plugins and Archetypes, Tooling
> Affects Versions: Sling Provisioning Model 1.1.0, Slingstart Maven Plugin 1.1.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Sling Provisioning Model 1.2.0, Slingstart Maven Plugin 1.1.2
>
>
> Currently an artifact (or configuration) can't be removed from an inherited model as the local model is read and merged first which removes the :remove run mode from the read model. Afterwards. the dependencies are read and the local model is merged into this. However as the :remove run mode is already gone, it's not possible to remove anything from inherited models
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)