you could define a custom lifecycle 'webstart' that includes the sign and jnlp mojos, and then let the webstart mojo fork this lifecycle with: @execute phase="jnlp" lifecycle="webstart"
See http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html (at the end) Never tried it myself... On 4/19/06, Michael Meyer <[EMAIL PROTECTED]> wrote: > 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]
