Great!
Thank you very much.
On Mon, 2006-05-29 at 15:15 +0800, Willie Vu wrote:
> If you so desire, you can just specify ${basedir}/src/main/java in the
> resources/resource/directory tag.
>
> On 5/29/06, David Leangen <[EMAIL PROTECTED]> wrote:
> >
> > Thank you!
> >
> > So, are you saying that I have no choice but to put non-java files
> > in /src/main/resources?
> >
> > I understand that this is the standard layout, but in my case, this will
> > cause a lot of headaches when refactoring, which is why I was hoping to
> > be able to include them in the java dir...
> >
> >
> > Thank you!
> > David
> >
> >
> >
> >
> > On Mon, 2006-05-29 at 14:42 +0800, Willie Vu wrote:
> > > David,
> > >
> > > According to the standard directory layout, resources should be put
> > > under <basedir>/src/main/resources.
> > >
> > > Anyway, what you need to do is to add resources/resource into pom.xml.
> > > e.g.
> > >
> > > <resources>
> > > <resource>
> > > <directory>${basedir}/src/main/resources</directory>
> > > <includes>
> > > <include>**/*.xconfig</include>
> > > </includes>
> > > <resource>
> > > </resources>
> > >
> > > Regards,
> > >
> > > Willie
> > >
> > > On 5/29/06, David Leangen <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hello!
> > > >
> > > > I'm new to M2, but I'm familiar with this type of build system.
> > > >
> > > > I have some xml config files that normally should be distributed side by
> > > > side with a class file. So, the files are located in the java folder:
> > > >
> > > > src
> > > > main
> > > > com/mystuff
> > > > SomeClass.java
> > > > SomeClass.xconfig
> > > >
> > > >
> > > > However, it seems that only the *.java files are copied over to the
> > > > classes directory.
> > > >
> > > > How can I include other types files that are in the java directory,
> > > > since I do not want to have to recreate the build path in the resources
> > > > directory?
> > > >
> > > >
> > > > Thank you!
> > > > David
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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]
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]