Is there a property that tells you which goal has been executed from the
command line? I'm wrappering an Ant build and binding the build target to
the install phase while it binds the deploy target to the deploy phase. Both
of these targets run thru the entire build. I want to condition the build
target so it doesn't run when the deploy phase is taken from the cmd line.
Eg.
<tasks unless="maven.goal.deploy">
   <ant target="build"/>
 ...
</tasks>

<tasks>
   <ant target="deploy"/>
 ...
</tasks>

Any ideas?
-- 
View this message in context: 
http://www.nabble.com/Query-a-property-based-indicating-goal-executed--tp15494349s177p15494349.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to