You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "A. J. David Bosschaert (Jira)" <ji...@apache.org> on 2021/01/12 10:16:00 UTC

[jira] [Resolved] (SLING-10035) Sling Feature fails when Generated Features Directory is missing

     [ https://issues.apache.org/jira/browse/SLING-10035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

A. J. David Bosschaert resolved SLING-10035.
--------------------------------------------
    Resolution: Fixed

> Sling Feature fails when Generated Features Directory is missing
> ----------------------------------------------------------------
>
>                 Key: SLING-10035
>                 URL: https://issues.apache.org/jira/browse/SLING-10035
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: slingfeature-maven-plugin 1.4.20
>            Reporter: Andreas Schaefer
>            Assignee: Andreas Schaefer
>            Priority: Major
>             Fix For: slingfeature-maven-plugin 1.4.22
>
>
> When I want to aggregate a Feature Model in another module like 'all' and there is not attachment or other FM generation task beforehand the Sling Feature Maven Plugin fails in handleGeneratedFeatures() method. This can be fixed by copying the target folder from the resources but that is a lot of unnecessary work.
>  
> I added code to that method that tries to create the folder if it does not exist.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)