sorry 'java:jar-resources' that is...

On 7/27/05, Dennis Geurts <[EMAIL PROTECTED]> wrote: 
> 
> great !!
>  instead of running the tests twice, will it work to add as postGoal to 
> 'test:compile' the goal 'jar:jar-resources' ?
>  Dennis
>  On 7/27/05, Michael Owen <[EMAIL PROTECTED]> wrote: 
> > 
> > 
> > Spot on. :) Just figured it out myself too. I have to put a test:test 
> > goal
> > before, so the test classes are compiled. So with the test being done 
> > again 
> > for jar:install, it means the tests are carried out twice.
> > 
> > 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 14:16:31 +0200<br>><br>>ok,
> > reasonable, just checking...<br>> the 'java:jar-resources' goal that
> > should copy your test-classes comes<br>>before the 'test:compile' 
> > goal<br>> could it be that you start with a clean (multi)project ??
> > the<br>>'build/testclasses' dir will still be empty,<br>>and you'll
> > copying all the files that are there (that is to say: none at<br>>all) 
> > ;-)<br>> Dennis<br>><br>> On 7/27/05, Michael Owen
> > <[EMAIL PROTECTED]> wrote:<br>> ><br>> ><br>> 
> > > No. I've changed it to put the test classes into that
> > directory.<br>> ><br>> > Mike<br>> ><br>> >
> > <br><br><br>>From: Dennis Geurts<br>> > 
> > <[EMAIL PROTECTED]><br>>Reply-To: Dennis Geurts<br>>
> > > <[EMAIL PROTECTED]><br>>To: Maven Users 
> > List<br>> > <[email protected]><br>>Subject: Re:
> > Multiproject resources<br>> > problem<br>>Date: Wed, 27 Jul
> > 2005 13:16:56<br>> > 
> > +0200<br>><br>>Michael,<br>> you
> > specify:<br>><br>> >
> > <directory>${basedir}/build/testclasses</directory><br>><br>>
> > > shouldn't that<br>> > 
> > be:<br>><directory>${basedir}/target/test-classes</directory><br>><br>>
> > > ??<br>> Dennis<br>><br>> On 7/27/05, Michael
> > Owen<br>> > < [EMAIL PROTECTED]> wrote:<br>>
> > ><br>> ><br>><br>> > > Hi,<br>>
> > ><br>> > I have a problem when doing jar:install<br>> > 
> > in a multiproject scenerio. In my<br>> > individual project
> > I<br>> > have:<br>> ><br>> >
> > <resources><br>> ><br>> >
> > <resource><br>> ><br>> > 
> > <directory>${basedir}/build/testclasses</directory><br>>
> > ><br>> > <includes><br>> >
> > <include>**/*</include><br>><br>> > > 
> > </includes><br>> > </resource><br>>
> > ><br>> > </resources><br>> ><br>> >
> > to include the testclasses into<br>> > the produced jar when I do 
> > jar:install.<br>> > This<br>> ><br>> > happens
> > when doing it for the individual project, but when done as a<br>> >
> > goal<br>> > for a multiproject goal ie:<br>> 
> > ><br>> ><br>> > <goal
> > name="multi:build"><br>> > <j:set<br>> >
> > var="goal" value="jar:install"/><br>>
> > ><br>> > <attainGoal 
> > name="multiproject:goal"/><br>> ><br>> >
> > </goal><br>> ><br>> > The testclasses don't
> > get put into<br>> > the jar. Any help? Looked on the<br>> 
> > > multiproject plugin<br>> > documentation page and it says to use
> > ${basedir} to<br>> > solve the<br>> > problem, but I've
> > done that.<br>> ><br>> > Mike<br>><br>> 
> > > ><br>> ><br>> ><br>> ><br>>
> > >
> > 
> > ---------------------------------------------------------------------<br>><br>>
> > > > To unsubscribe, e-mail: 
> > [EMAIL PROTECTED]<br>> ><br>> > For
> > additional commands, e-mail:
> > [EMAIL PROTECTED] <br>><br>> > ><br>>
> > ><br><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