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
            Priority: Trivial
         Attachments: 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

        

Reply via email to