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

[jira] [Commented] (SLING-9923) htl-maven-plugin: Generate "extends" and "requires" files automatically

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