--- Maxim Gordienko <[EMAIL PROTECTED]> wrote:

> Hello!
> 
> How can I control generated resource location with
> maven2 plugin?
> I have web project and generate struts-config and
> web.xml via xdoclet2.
> resources generated in 'generated-resources/xdoclet'
> dir by default
> these resources packaged into 'WEB-INF\classes' dir.
> this is not
> exactly what i want. How can i enforce these configs
> to be packaged
> into WEB-INF folder?

Packaging of generated resources into war is done
(what a surprise;) by  war plugin - you shall tweak
his configuration instead. 

Tweaking destdir of xdoclet is done  like this:
                                    <component>
                                       
<classname>org.xdoclet.plugin.qtags.confluence.QTagConfluencePlugin</classname>
                                        <params>
                                           
<destdir>${project.build.directory}/tag-doc</destdir>
                                           
<namespace>${xdoclet.plugin.namespace}</namespace>
                                           
<filereplace>${xdoclet.plugin.namespace}.confluence</filereplace>
                                        </params>
                                    </component>
( stolen verbatim from plugins code , subproject
taglib ) 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


       
____________________________________________________________________________________Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to