Hi Christopher,

it's not in the repository yet - but you can do the changes on your own (or 
someone can add it to the repo):

1. add an default forkmode property to the plugin.properties:

 maven.junit.forkmode=perTest

2. in the plugin.jelly add the forkmode attribute to the junit tags:

 <junit printSummary="${maven.junit.printSummary}"·
             failureProperty="maven.test.failure"
             fork="${maven.junit.fork}"
             forkmode="${maven.junit.forkmode}">

 maybe you can add a message that announces the used forkmode:

 <ant:echo message="Used forkmode is: ${maven.junit.forkmode}" />

3. Add the optional Ant Tasks to the maven/lib directory (I have added all 
optional ant tasks) - you can get it from the official Ant 1.6.2 Releases

4. In your project.porperties set the maven.junit.forkmode=once


That works fine and now our builds are 5 to 6 times faster than before!

regards, Volker


> -----Ursprüngliche Nachricht-----
> Von: Christopher Lim [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 14. Mai 2005 03:17
> An: Volker Füßler
> Betreff: Re: [maven1.1] site:deploy generates sites without navigation
> 
> 
> Hi Volker,
> 
> Could you kindly give me the link where to download maven 1.1
> I need the forkmode feature too.
> 
> I tried to check the script from this URL but it doesn't 
> contain "forkmode"
> http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk/te
> st/plugin.jelly
> 
> Thanks,
> Chris
> 
> 
> 
> On 5/9/05, Volker Füßler <[EMAIL PROTECTED]> wrote:
> > Hi,
> > 
> > sorry if this posting appears twice - it seems that by 
> sending from the other mailaddress the postings dissapear or 
> arrive with a long delay on the list...
> > 
> > anyway, here is the posting:
> > 
> > last week I installed the actual maven 1.1 version because 
> I need the 'forkmode' attribute for unittests. After adding 
> some missing optional ant tasks and patching the test plugin 
> this feature works fine.
> > 
> > But now the reports are build without the maven navigation 
> - every single report site has only just the main content - 
> no headline and no navigation. It's really annoying...
> > 
> > Does anybody know how to get the reports back to work?
> > 
> > Thank you and kind regards,
> > 
> > Volker
> > 
> > 
> ---------------------------------------------------------------------
> > 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]

Reply via email to