-
1. Re: Deploying to a remote server - how do I do this?
sboscarine Jul 29, 2010 8:42 PM (in response to happyspaceinvader)Has anyone found the answer to this? I would like to automate our build for continuous integration. Will the jboss-maven-deploy plugin deploy to a remote server? Does cargo work with JBoss?
Here's the config I tried with the jboss-maven-deploy plugin:
<!-- Configure the JBoss AS Maven deploy plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId><configuration>
<hostName>${jboss.host}</hostName>
<port>8080</port>
<jbossHome>${jboss.home}</jbossHome>
<serverName>${jboss.domain}</serverName><fileNames>
<fileName>${project.build.directory}/${build.finalName}.war</fileName>
</fileNames>
</configuration>
</plugin>Any help would be greatly appreciated.
-
2. Re: Deploying to a remote server - how do I do this?
emmanuel.legros Mar 1, 2011 10:00 AM (in response to sboscarine)Hello,
I am interresting by an answer because I have the same need. Did you have one ?
I use JBoss EWP 5.0.1, and the technics facts tell me that the remote deploy with Maven does not work. To according to the log, when I use jboss:deploy, the problem is the war is not send to the server. JBoss try to deploy the war which is supposed to be in the repository /home/myUser (except if I write something else in the fileName in the configuration of jboss-maven-plugin).
So the question is : do we have to search how to use Maven to do remote deploy, or it does not work and that's all ?
Some informations on the file attached (I don't see how to paste informations)
Best regards,
Emmanuel
-
infos.txt.zip 665 bytes
-