You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2020/04/16 15:42:00 UTC
[jira] [Created] (SLING-9379) Make the MetadataMojo look for
scripts in the default locations
Radu Cotescu created SLING-9379:
-----------------------------------
Summary: Make the MetadataMojo look for scripts in the default locations
Key: SLING-9379
URL: https://issues.apache.org/jira/browse/SLING-9379
Project: Sling
Issue Type: Improvement
Components: Maven Plugins and Archetypes
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Fix For: Scripting Bundle Maven Plugin 0.2.0
The {{MetadataMojo}} uses the {{src/main/scripts}} folder as the default value for the folder where it will scan for Sling scripts, however this is the default folder for scripts that normally will be precompiled. It would be nice if the mojo would also try to scan {{src/main/resources/javax.script}}, in order to reduce the configuration a developer must provide for generating capabilities for bundled scripts.
In addition to that, the configuration should allow multiple source folders to be defined, so that bundles can provide both precompiled scripts and bundled scripts at the same time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)