Well, probably.

Find the com.werken.werkz.Session, and call addSatisfiedGoal( theGoal ).

You'll have to prowl the com.werken.werkz.WerkzProject to get the Goal
object to add.  But that's the method werkz uses internally to track
which goals have been, well, satisfied.

Might be some complex jellyscript to accomplish it, but I think it's
ultimately do-able.  Feel free to file modification requests in werkz's
jira if you find you need a happier/easier way to do it.

        -bob


On Wed, 23 Jul 2003, James CE Johnson wrote:

> Heya,
> 
> Is there any way for a preGoal to short-circuit a goal? Or, can I override
> a plugin goal in my own maven.xml to disable it?
> 
> Its a long story but I've got an ejb:jar goal that builds my jarfile.
> However, some of the standard goals rely on jar:jar and when that fires it
> does Bad Things to the jar I've already built.
> 
> Thanks,
> J
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
Bob McWhirter        [EMAIL PROTECTED]
The Werken Company   http://werken.com/


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

Reply via email to