Marcus A Christie wrote: ...snip...
Shouldn't "maven test:test-resources" exclude the target/ directory when making a copy? Am I doing something wrong? I suspect that there might be a problem here:
<build> <sourceDirectory>${basedir}/src/java</sourceDirectory>
<unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory> <unitTest> <includes> <include>**/*Test.java</include> </includes> <resources> <resource> <directory>${basedir}</directory> <include>test.properties</include> </resource> </resources> </unitTest> </build>
If I comment out the <resources/> block, I don't get the copying taking place. How do I specify that I only want the test.properties file to be included?
Thanks,
Marc
Okay, sorry folks, I got it. Inside the <resource/> block I need to have:
<includes>
<include>test.properties</include>
</includes>I forgot the surrounding <includes/>. Is there anyway to get Maven to complain if the project.xml isn't valid?
Thanks,
Marc
-- Marcus Christie [EMAIL PROTECTED] | 812-855-4081 http://www.cs.indiana.edu/~machrist Yahoo IM: m_christie | AOL: marcuschristie
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
