ok, reasonable, just checking...
 the 'java:jar-resources' goal that should copy your test-classes comes 
before the 'test:compile' goal
 could it be that you start with a clean (multi)project ?? the 
'build/testclasses' dir will still be empty,
and you'll copying all the files that are there (that is to say: none at 
all) ;-)
 Dennis

 On 7/27/05, Michael Owen <[EMAIL PROTECTED]> wrote: 
> 
> 
> No. I've changed it to put the test classes into that directory.
> 
> Mike
> 
> <br><br><br>>From: Dennis Geurts
> <[EMAIL PROTECTED]><br>>Reply-To: Dennis Geurts
> <[EMAIL PROTECTED]><br>>To: Maven Users List
> <[email protected]><br>>Subject: Re: Multiproject resources
> problem<br>>Date: Wed, 27 Jul 2005 13:16:56
> +0200<br>><br>>Michael,<br>> you specify:<br>>
> <directory>${basedir}/build/testclasses</directory><br>>
> shouldn't that
> be:<br>><directory>${basedir}/target/test-classes</directory><br>>
> ??<br>> Dennis<br>><br>> On 7/27/05, Michael Owen
> <[EMAIL PROTECTED]> wrote:<br>> ><br>> ><br>>
> > Hi,<br>> ><br>> > I have a problem when doing jar:install
> in a multiproject scenerio. In my<br>> > individual project I
> have:<br>> ><br>> > <resources><br>> >
> <resource><br>> >
> <directory>${basedir}/build/testclasses</directory><br>> >
> <includes><br>> > <include>**/*</include><br>>
> > </includes><br>> > </resource><br>> >
> </resources><br>> ><br>> > to include the testclasses into
> the produced jar when I do jar:install.<br>> > This<br>> >
> happens when doing it for the individual project, but when done as a
> goal<br>> > for a multiproject goal ie:<br>> ><br>> >
> <goal name="multi:build"><br>> > <j:set
> var="goal" value="jar:install"/><br>> >
> <attainGoal name="multiproject:goal"/><br>> >
> </goal><br>> ><br>> > The testclasses don't get put into
> the jar. Any help? Looked on the<br>> > multiproject plugin
> documentation page and it says to use ${basedir} to<br>> > solve the
> problem, but I've done that.<br>> ><br>> > Mike<br>>
> ><br>> ><br>> ><br>> >
> ---------------------------------------------------------------------<br>>
> > To unsubscribe, e-mail: [EMAIL PROTECTED]<br>> >
> For additional commands, e-mail: [EMAIL PROTECTED]<br>>
> ><br>> ><br>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to