You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Schaefer (Jira)" <ji...@apache.org> on 2020/12/31 18:41:00 UTC

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

Andreas Schaefer created SLING-10035:
----------------------------------------

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