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)

Reply via email to