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]