It's how you call another goal from another goal (or pre/postGoal).

For example

<goal name="myPlugin:myGoal">
  <attainGoal name="java:compile"/>
</goal> 

Here if you run "maven myPlugin:myGoal", the java:compile goal will get executed.

If you have (in your maven.xml)

<preGoal name="java:compile">
  <attainGoal name="xdoclet:webdoclet"/>
</preGoal>

The xdoclet:webdoclet goal will be executed before java:compile is run.

Hope that helps

Sri

-----Original Message-----
From: Raphael Philipe Mendes da Silva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 8:56 AM
To: Maven Users List (E-mail)
Subject: attainGoal

What do exactly the attainGoal tag??

I can't found some documentation about it. Someone can help me???


Raphael Philipe Mendes da Silva
DSB - Diretoria de Soluções em Billing
CPqD Telecom & IT Solutions
Tel.: +55 19 3705-6957
www.cpqd.com.br
[EMAIL PROTECTED]



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


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

  • attainGoal Raphael Philipe Mendes da Silva
    • Sri Sankaran

Reply via email to