RE: Unit tests run twice ?

2003-11-26 Thread Brett Porter
Let's get rid of it altogether :) Its got nothing to do with the project any more. - Brett > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, 27 November 2003 1:57 PM > To: Maven Users List > Subject: RE: Unit tests run twice

RE: Unit tests run twice ?

2003-11-26 Thread dion
Yes, let's encapsulate the plugin communications into tags rather than script. Once we have that, lets make project's getPluginContext method private. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Brett Porter <[EMAIL PROTECTED]> wrote on 27/11/2003 08

RE: Unit tests run twice ?

2003-11-26 Thread Brett Porter
> >A better alternative should be : > > > > > > > > > How am i supposed to change the maven.test.skip variable > between the two > lines above ? > I've just tried to add a value="true"> but it > doesn't work. You shouldn't need to. In this case, test should only be attained once. But I haven

Re: Unit tests run twice ?

2003-11-26 Thread Eric Berenguier
Hi Brett, Brett Porter wrote: Unfortunately the maven:pluginVar tag is read only, but you can probably do this: ${pom.getPluginContext('maven-test-plugin').setVariable('maven.test.skip', This one works. Thanks ! A better alternative should be : How am i supposed to change the maven.test.

RE: Unit tests run twice ?

2003-11-25 Thread Brett Porter
antee either work :) Cheers, Brett > -Original Message- > From: Eric Berenguier [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 26 November 2003 2:25 AM > To: Maven Users List > Subject: Re: Unit tests run twice ? > > > Sri Sankaran wrote: > > >

Re: Unit tests run twice ?

2003-11-25 Thread Paul Libbrecht
Eric Berenguier wrote: Sri Sankaran wrote: Have you tried Still doesn't work. I don't think scope="parent" is even needed there... (if I don't mistake there's even no parent scope) Paul - To unsubscribe, e-mail: [EMAIL PROTE

Re: Unit tests run twice ?

2003-11-25 Thread Eric Berenguier
Sri Sankaran wrote: Have you tried Still doesn't work. Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Unit tests run twice ?

2003-11-25 Thread Vincent Massol
> -Original Message- > From: Eric Berenguier [mailto:[EMAIL PROTECTED] > Sent: 25 November 2003 16:14 > To: Maven Users List > Subject: Re: Unit tests run twice ? > > > > > >>> > > I tried that too, but it doesn't work (t

Re: Unit tests run twice ?

2003-11-25 Thread Eric Berenguier
I tried that too, but it doesn't work (test are still run twice). As far i understand, properties can't be changed after being set, and the test plugin sets this to false. So the only way to change this property is to run "maven -Dmaven.test.skip=true myGoal " (or put this in a build.pr

RE: Unit tests run twice ?

2003-11-25 Thread Sri Sankaran
Have you tried Sri -Original Message- From: Eric Berenguier [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2003 9:53 AM To: Maven Users List Subject: Re: Unit tests run twice ? Tomasz Pik wrote: > Maybe this help (sorry, not tes

Re: Unit tests run twice ?

2003-11-25 Thread Eric Berenguier
Tomasz Pik wrote: Maybe this help (sorry, not tested): Thanks for your answer, I tried that too, but it doesn't work (test are still run twice). Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Unit tests run twice ?

2003-11-25 Thread Sri Sankaran
, 2003 9:12 AM To: Maven Users List Subject: Re: Unit tests run twice ? Eric Berenguier wrote: > Hi, Hi, Maybe this help (sorry, not tested): > I'd like to write a single goal that install jar to repository and > produce the maven site: > So i wrote so

Re: Unit tests run twice ?

2003-11-25 Thread Paul Libbrecht
I think the solution is to use lazyAttainGoal instead of attainGoal... but I never got it to work and I don't know wether an RC2 will repair this. Then plugin-writers will be able to make use of it instead of making use of attainGoal or of prereqs (which is equivalent if I don't mistake). paul

Re: Unit tests run twice ?

2003-11-25 Thread Tomasz Pik
Eric Berenguier wrote: Hi, Hi, Maybe this help (sorry, not tested): I'd like to write a single goal that install jar to repository and produce the maven site: So i wrote something like this : It works but both jar:install and site:generate call the test:test goal, so i have my