Re: [m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > No, no such plugin. What we are considering (there was a proposal on > the dev list a while back), is to setup a standard way of packaging > and sharing build resources for Maven 2.1. > > If it is not currently included in the core jar, is the

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Brett Porter
On 11/13/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > > For one file, you could put it in the repository, or you can copy as > > you did below. > > I haven't gotten as far as copying files in m2... and since the file > is in a different module

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
On 11/12/05, Brett Porter <[EMAIL PROTECTED]> wrote: > For one file, you could put it in the repository, or you can copy as > you did below. I haven't gotten as far as copying files in m2... and since the file is in a different module it's a problem if someone only checks out out a single sub-proj

Re: [m2] An XML file as a dependency?

2005-11-12 Thread Brett Porter
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: >

[m2] An XML file as a dependency?

2005-11-12 Thread Wendy Smoak
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: Where 'core.conf.share.dir' is a relative path to