[jboss-as7-dev] Looking for naming help

ssilvert at redhat.com ssilvert at redhat.com
Mon Jun 6 19:28:25 EDT 2011


Quoting James Perkins <jperkins at redhat.com>:

> On 06/06/2011 09:29 AM, ssilvert at 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
>
> I like that idea. I do think we need the simple form as we do now, but
> adding the ability to execute a script could be advantages. That would
> especially help for the domain I'm guessing. Currently we're only
> working with the standalone deployment.

Yes, domain was what got me thinking along those lines.  If you call  
it "deploy" then it won't really deploy on domain unless several other  
conditions are met.  All it will do is upload to the content store.

But think of all the great things you could do testing-wise if you  
have the ability to fully configure the server in your build.  A CLI  
Maven Plugin would be the Mac-Daddy mac and cheese.

>
>> Quoting James Perkins<jperkins at 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 at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> --
> James R. Perkins
> JBoss by Red Hat
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>








More information about the jboss-as7-dev mailing list