that would require an external vm launch or are you saying CLI has API we can call ?
/max
On Jun 6, 2011, at 18:29, ssilvert(a)redhat.com wrote:
Here's an idea. Why not just have your Maven plugin kick off a
CLI
script? The script could be read from a file or specified inside the
POM. Then you could do anything you want and you don't need to create
your own command vocabulary.
Stan
Quoting James Perkins <jperkins(a)redhat.com>:
> On 06/06/2011 03:09 AM, Pete Muir wrote:
>> Another option is add a strict flag to the deploy goal:
>>
>> e.g.
>>
>> strict -- default false, if false, the plugin will deploy the
>> application if not already deployed, otherwise it will attempt a
>> redeploy.
>>
>> Of course, I'm arguing for false as the default, but we could have
>> true. Either way, removes the naming problem..
>>
>> On 6 Jun 2011, at 11:05, Pete Muir wrote:
>>
>
> I like the strict option. I think I'll go with that. Seems to make the
> most sense and could loosen up other options in the future if needed too.
>
> So in the end we'll end up with 3 goals; deploy, redeploy and undeploy.
>
> Thanks for the help all.
>
> --
> James R. Perkins
> JBoss by Red Hat
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev