[jboss-as7-dev] mvn AS7 plugin - use of ..deploy goals with different standalone servers

Wolf-Dieter Fink wfink at redhat.com
Mon May 21 13:00:07 EDT 2012


Bill,

if you deploy an artifact with CLI, web-admin or maven this is always 
done by the management interface.
You will find the deployment in JB_HOME/standalone/data/content with 
cryptic hash names and the reference in the element 
deployments.deployment within the standalone*.xml.

So you can stop the server and remove the content and its reference 
(complete content directory and deployments element if you want)
Other way is to use the maven goal jboss-as:undeploy or direct 
jboss-as:redeploy.

Wolf

On 05/21/2012 06:47 PM, Bill Burke wrote:
> One thing I've noticed with the maven deploy plugin is that the artifact
> remains deployed even after you restart the application server.  I can
> see this causing problems and unforseen behavior.
>
> For instance, I had a problem of not being able to figure out how to
> delete the deployment manually and had to reinstall JBoss.
>
> On 5/21/12 11:14 AM, James Perkins wrote:
>> There are options to override the hostname and port from the command line.
>>
>> mvn jboss-as:deploy -Ddeploy.hostname=localhost -Ddeploy.port=9999
>>
>> Domain mode is possible from the plugin with 7.1.1.Final too.
>>
>> On 05/21/2012 06:08 AM, Wolf-Dieter Fink wrote:
>>> Hi,
>>>
>>> I'm looking for a possibility to test a clustered environment and to use
>>> the
>>> mvn jboss-as:deploy
>>> command with different servers from the commandline by giving host:port
>>> as parameter to avoid hard-coded properties within the pom.xml.
>>>
>>> Or is it only possible by setting up a domain?
>>>
>>> Wolf
>>> _______________________________________________
>>> jboss-as7-dev mailing list
>>> jboss-as7-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Red Hat GmbH
Technopark II, Building 1
Werner-von-Siemens-Ring 11-15
85630 Grasbrunn
Germany

Email: wfink at redhat.com
________________________________________________________________________
Handelsregister: Amtsgericht Muenchen HRB 153243
Geschaeftsfuehrer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera



More information about the jboss-as7-dev mailing list