Hi,
I don't know about @execute annotation, but you could also use Maven
Embedder to execute the two goals.
Cheers,
Rahul
----- Original Message -----
From: "Michael Meyer" <[EMAIL PROTECTED]>
To: "Maven Users List" <[email protected]>
Sent: Thursday, April 20, 2006 5:15 AM
Subject: @execute goal="...."
Hi,
I wrote a simple webstart plugin. There are three goals:
webstart:sign
webstart:jnlp
webstart:webstart
sign and jnlp can be executed independently. But the webstart
goal should execute the sign and the jnlp goal. I tried the
@execute annotation but I couldn't find out how to execute
two goals.
Cheers,
michael
This is what I've tried till now:
/**
* @goal webstart
* @execute phase="jnlp"
* @execute phase="sign"
* @description Create a war archive
*/
public class WebstartMojo extends AbstractMojo
/**
* @goal webstart
* @execute phase="jnlp, sign"
* @description Create a war archive
*/
public class WebstartMojo extends AbstractMojo
/**
* @goal webstart
* @execute phase="jnlp sign"
* @description Create a war archive
*/
public class WebstartMojo extends AbstractMojo
---------------------------------------------------------------------
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]