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

Konrad Windszus commented on SLING-9923:
----------------------------------------

For {{extends}} this is even more useful as this not only drives the 
requirements of the bundle but also influences functionality at run time 
(compare with SLING-9923 and 
https://sling.apache.org/components/scriptingbundle-maven-plugin/usage.html).
This makes the {{extends}} file mandatory while the {{requires}} is only 
optional.

> htl-maven-plugin: Generate "extends" and "requires" files automatically
> -----------------------------------------------------------------------
>
>                 Key: SLING-9923
>                 URL: https://issues.apache.org/jira/browse/SLING-9923
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: HTL Maven Plugin 2.0.2-1.4.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> The {{scriptingbundle-maven-plugin}} evaluates the files {{extends}} and 
> {{requires}} 
> (https://sling.apache.org/components/scriptingbundle-maven-plugin/usage.html).
>  It would be nice if those files could be generated automatically from the 
> property {{sling:resourceSuperType}} and from {{data-sly-resource}}, 
> respectively.
> The former is usually given in FileVault DocView format, but also JSON format 
> should be accepted.



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

Reply via email to