maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Nicoll (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MWAR-124) accept packaging task passed by other plugin via the plugin context
Date Sun, 13 Jan 2008 13:33:57 GMT

    [ http://jira.codehaus.org/browse/MWAR-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_119712
] 

Stephane Nicoll commented on MWAR-124:
--------------------------------------

Nicolas, anything new?

> accept packaging task passed by other plugin via the plugin context
> -------------------------------------------------------------------
>
>                 Key: MWAR-124
>                 URL: http://jira.codehaus.org/browse/MWAR-124
>             Project: Maven 2.x War Plugin
>          Issue Type: Improvement
>            Reporter: nicolas de loof
>            Assignee: Stephane Nicoll
>            Priority: Trivial
>         Attachments: war-plugin-external-packaging-tasks.patch, war-plugin-external-packaging-tasks.patch
>
>
> In maven 2.0.x there is no phase beetween creating the exploded artifact to be packaged
and packaging as an archive. my javascript plugins needs to assemble source files into the
webapp root /scripts directory. The only way today is to run during the test phase, to ensure
runing prior the war plugin.
> The WarPackagingTask is an abstration that could allow other plugins to register some
tasks to perform during the exploded webapp creation. As the pluginContext is desinged to
help plugins share datas, it can be used to pass custom packaginTask (and postPackagin ones)
to the war plugin from another plugin.
> The attached patch adds two constants to define suchentries in the context and teh required
code to get them and add the to the packaging and post-packaging tasks lists.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message