For one file, you could put it in the repository, or you can copy as
you did below.

I assume the XML file also exists in one of your jars? another
alternative is to depend on that jar and have a plugin that extracts
that file from it.

- Brett

On 11/13/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> Struts has an xml file 'validator-rules.xml' that lives in core, but
> must be copied into WEB-INF of the example webapps, and now I need it
> in an archetype.
>
> Does anyone have any suggestions for managing this?  In m1 it's done with:
>                 <ant:copy file="${core.conf.share.dir}/validator-rules.xml"
>                           todir="${maven.war.webapp.dir}/WEB-INF"
>                           overwrite="false"/>
>
> Where 'core.conf.share.dir' is a relative path to 
> struts/current/core/src/conf.
>
> Thanks,
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to