maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: How to set -D parameters?
Date Sun, 23 Jan 2005 22:13:18 GMT
${systemScope.setProperty('goal', 'qpass:packageImpl')}

is equivalent to setting it on the command line.

<j:set var="goal" value="qpass:packageImpl" scope="parent" /> will
also set it globally so should have the same effect.

HTH,
Brett


On Sun, 23 Jan 2005 14:09:22 -0800, Tom Bostelmann <tbostelm@qpass.com> wrote:
> I'm trying to create a helper goal that runs a multiproject:goal with
> -Dgoal=qpass:packageImpl.  Here's the goal:
> 
> <goal name="qpass:packageAll">
> 
>         <j:set var="goal" value="qpass:packageImpl"/>
> 
>         <attainGoal name="multiproject:goal"/>
> 
> </goal>
> 
> Of course, this doesn't work.  Is there a way to set the -D option for
> multiproject:goal without having to use the command line 'maven
> multiproject:goal -Dgoal=qpass:packageImpl'?
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message