Mike Perham wrote:
I just downloaded and started using the new Maven 2.0a3 release. It is
REALLY nice so far but I do have a few simple questions:
1) How do I override the default source directory for the two compile
goals? Our projects use src/java and src/test for the compile and
testCompile sources respectively.
2) We put all our necessary resources right along with the code. How do
I tell the two resource copy goals to copy anything non-java from the
source directory instead of using a separate resource directory?
mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Mike,
for your no. 1 problem you only have to configure your
<sourceDirectory> & <testSourceDirectory> element
in your <build> section>
...
<build>
<sourceDirectory>src/java</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
</build>
...
This should work.
for your no. 2 problem, I am not sure but have you tried to
configure your <resource> element?
<resource>
<directory>src/java</directory>
<includes>
<include>**/*.properties</include>
</includes>
<excludes>
<exclude>*.java</exclude>
</excludes>
</resource>
allan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]