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

Konrad Windszus commented on SLING-9922:
----------------------------------------

Other plugins may preprocess the scripts directory in {{process-sources}} or 
{{process-resources}} phase (e.g. 
https://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html), 
so a later phase seems the safer choice. WDYT?

> scriptingbundle-maven-plugin: Move "metadata" mojo to another default phase
> ---------------------------------------------------------------------------
>
>                 Key: SLING-9922
>                 URL: https://issues.apache.org/jira/browse/SLING-9922
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting Bundle Maven Plugin 0.2.2
>            Reporter: Konrad Windszus
>            Assignee: Radu Cotescu
>            Priority: Major
>             Fix For: Scripting Bundle Maven Plugin 0.2.4
>
>
> Currently the "metadata" mojo is bound to phase "prepare-package".
> That does not work together with the bnd-maven-plugin which generates all 
> metadata in phase "process-classes" 
> (https://github.com/bndtools/bnd/tree/master/maven/bnd-maven-plugin#bnd-process-goal).
> Instead I propose the following default phase "process-classes" or "compile".
> Unfortunately it will share the phase with either the htl-maven-plugin or the 
> bnd-maven-plugin.
> This becomes obsolete once SLING-9776 is implemented.



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

Reply via email to