Unfortunately the maven:pluginVar tag is read only, but you can probably do
this:

${pom.getPluginContext('maven-test-plugin').setVariable('maven.test.skip',
'true')}

We need to change that in future.

A better alternative should be :
<attainGoal session="${context.getVariable('maven.session.global',
'parent')}" name="jar:install" />
<attainGoal session="${context.getVariable('maven.session.global',
'parent')}" name="site:generate" />

I don't guarantee 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:
> 
> >Have you tried
> >
> ><j:set var="maven.test.skip" value="true" scope="parent"/>
> >  
> >
> Still doesn't work.
> 
> 
> Eric
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to