Hi,

thought about an easier solution now:
Is it possible to overwrite a goal in maven.xml and - deending on some
condition - calling a sort of 
<attainGoal "super.goal">?

Best regards from sunny Black Forrest,
   Mattin

-----Original Message-----
From: Martin Heitz 
Sent: Thursday, March 10, 2005 10:25 AM
To: Maven Users List
Subject: Way to prohibit goal execution in the according preGoal?


Hi,

is there a way to prohibit the execution of a goal in the related
preGoal?

Background:
In a multiproject:site call I can detect in the preGoal that some
additional task which gets executed in our site will fail. Because the
task has documentational character, it is enough to warn about the
failure, but I do not want the site generation to fail completely. 

best regards from sunny Black Forrest,
   Mattin

Martin Heitz
Distributed Network Accounting Team

Elsag Solutions AG
Roggenbachstr. 1
D-78050 Villingen-Schwenningen
Germany
http://www.elsag-solutions.com
Tel: +49-(0)7721-9175-595
Fax: +49-(0)7721-9175-800
 

---------------------------------------------------------------------
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]

Reply via email to