You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ben Anderson <be...@gmail.com> on 2004/11/01 21:18:54 UTC

${maven.goal} ??

Is there a property for the goal the user entered?  I want to make a
pregoal on, say, java:compile that echos what the user entered as
their goal.  This would produce:

$maven jar:jar
...
your desired goal: jar:jar


$maven java:compile
...
your desired goal: java:compile


Thanks,
Ben

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


Re: ${maven.goal} ??

Posted by Brett Porter <br...@gmail.com>.
No, sorry.

Cheers,
Brett


On Mon, 1 Nov 2004 15:18:54 -0500, Ben Anderson
<be...@gmail.com> wrote:
> Is there a property for the goal the user entered?  I want to make a
> pregoal on, say, java:compile that echos what the user entered as
> their goal.  This would produce:
> 
> $maven jar:jar
> ...
> your desired goal: jar:jar
> 
> $maven java:compile
> ...
> your desired goal: java:compile
> 
> Thanks,
> Ben
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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