Is there a reason you can't consolidate the test source directories into one common directory? Then Maven would work with no troubles and Netbeans would see both etc.
Wayne On 7/2/07, Sidharth Kuruvila <[EMAIL PROTECTED]> wrote:
Thanks Tim, that seems to work. The only problem is that netbeans can't see the second directory but I think I can live with that for now. On 02-Jul-07, at 9:49 PM, Tim Kettler wrote: > Hi, > > use the build-helper plugin[1] from the mojo project to attach the > extra test-source directory to the pom. > > -Tim > > [1] http://mojo.codehaus.org/build-helper-maven-plugin/ > > Sidharth Kuruvila schrieb: >> Tried this >> <plugin> >> <artifactId>maven-resources-plugin</artifactId> >> <executions> >> <execution> >> <id>test-src-copy</id> >> <phase>generate-test-resources</phase> >> <goals> >> <goal>testResources</goal> >> </goals> >> <configuration> >> <outputDirectory>testsrc</outputDirectory> >> <resources> >> <resource> >> <directory>test</directory> >> </resource> >> <resource> >> <directory>../testutils/src</directory> >> </resource> >> </resources> >> </configuration> >> </execution> >> </executions> >> </plugin> >> but it didn't seem to work. >> On 02-Jul-07, at 9:28 PM, <[EMAIL PROTECTED]> wrote: >>> Hm, >>> >>> Copy them to a single directory first in phase "processing sources"? >>> >>> Andreas >>> >>>> -----Original Message----- >>>> From: ext Sidharth Kuruvila [mailto:[EMAIL PROTECTED] >>>> Sent: 02 July, 2007 17:12 >>>> To: Maven Users List >>>> Subject: How can I compile multiple test source directories >>>> >>>> Hi, >>>> >>>> My project has the test source spread between two directories. >>>> How can i compile and run them? >>>> >>>> ------------------------------------------------------------------- >>>> -- >>>> 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] > > > --------------------------------------------------------------------- > 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]
