[
https://issues.apache.org/jira/browse/SLING-7155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182323#comment-16182323
]
Radu Cotescu commented on SLING-7155:
-------------------------------------
Ok, but as mentioned before, precompiling the classes is useless for Sling.
Given that your goal seems to be dependencies validation, what about if the
plugin would just transpile HTL to Java and add these Java classes to the list
of source folders for the project?
> htl-maven-plugin: Add option to precompile the HTL scripts
> ----------------------------------------------------------
>
> Key: SLING-7155
> URL: https://issues.apache.org/jira/browse/SLING-7155
> Project: Sling
> Issue Type: Improvement
> Components: Maven Plugins and Archetypes
> Affects Versions: HTL Maven Plugin 1.0.8
> Reporter: Tobias Bocanegra
>
> It would be cool if the HTL Maven Plugin could precompile the HTL scripts,
> similar to the JSPC plugin.
> This would have the following advantages:
> * the project needs to specify all the (compile time) dependencies the
> scripts needs; this makes the project more robust and changes in dependencies
> are easier detectable;
> * the compiled classes could be used as source to generate the import-package
> statements for the {{filevault-package-maven-plugin}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)