[ 
https://issues.apache.org/jira/browse/SLING-10035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17257077#comment-17257077
 ] 

Andreas Schaefer commented on SLING-10035:
------------------------------------------

Created a PR for this: 
https://github.com/apache/sling-slingfeature-maven-plugin/pull/63

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

Reply via email to