RE: Deploy .war to shared hosting 'remote server'
Thanks I will look at this. -Original Message- From: Wendy Smoak [mailto:wsm...@gmail.com] Sent: 13 January 2011 16:50 To: Maven Users List Subject: Re: Deploy .war to shared hosting 'remote server' On Thu, Jan 13, 2011 at 11:19 AM, Nigel Weinronk wrote: > Thanks for your time much appreciated. > > I am looking a Cargo but in the simple case I have the 'shared hosting' > remote server does not give me access to 'tomcat/manager' so I think this > will not work either but I have only just started looking. If you just want to upload a file to an arbitrary place on some remote server, see if the wagon plugin will help. http://mojo.codehaus.org/wagon-maven-plugin/usage.html -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Deploy .war to shared hosting 'remote server'
On Thu, Jan 13, 2011 at 11:19 AM, Nigel Weinronk wrote: > Thanks for your time much appreciated. > > I am looking a Cargo but in the simple case I have the 'shared hosting' > remote server does not give me access to 'tomcat/manager' so I think this > will not work either but I have only just started looking. If you just want to upload a file to an arbitrary place on some remote server, see if the wagon plugin will help. http://mojo.codehaus.org/wagon-maven-plugin/usage.html -- Wendy - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Deploy .war to shared hosting 'remote server'
Thanks for your time much appreciated. I am looking a Cargo but in the simple case I have the 'shared hosting' remote server does not give me access to 'tomcat/manager' so I think this will not work either but I have only just started looking. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: 13 January 2011 15:48 To: Maven Users List Subject: Re: Deploy .war to shared hosting 'remote server' > Maybe I had misunderstood - the maven-deploy-plugin information I had read. > > For example - chapter 2.14 in the book "Java Power Tools". I found that book on Amazon and was able to dig inside it a little bit to look at chapter 2.14. You simply don't know/understand that the use of the word "deploy" in Maven is different from what you generally understand it to mean, and the author doesn't appear to take the time to explain it in that section either, or if he did, I missed it. Deploy in Maven means "upload an artifact to a remote Maven repo using the Maven repo structure/layout so others using Maven can find and use it." That is exactly what the maven-deploy-plugin is doing for you. You can think of "deploy" in Maven to mean essentially "mvn install to a remote server." The next section in the book 2.15 talks about "deploying" your app to various app servers using Cargo. This is the kind of deployment you are looking for. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Deploy .war to shared hosting 'remote server'
> Maybe I had misunderstood - the maven-deploy-plugin information I had read. > > For example - chapter 2.14 in the book "Java Power Tools". I found that book on Amazon and was able to dig inside it a little bit to look at chapter 2.14. You simply don't know/understand that the use of the word "deploy" in Maven is different from what you generally understand it to mean, and the author doesn't appear to take the time to explain it in that section either, or if he did, I missed it. Deploy in Maven means "upload an artifact to a remote Maven repo using the Maven repo structure/layout so others using Maven can find and use it." That is exactly what the maven-deploy-plugin is doing for you. You can think of "deploy" in Maven to mean essentially "mvn install to a remote server." The next section in the book 2.15 talks about "deploying" your app to various app servers using Cargo. This is the kind of deployment you are looking for. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Deploy .war to shared hosting 'remote server'
Thanks for your reply. Maybe I had misunderstood - the maven-deploy-plugin information I had read. For example - chapter 2.14 in the book "Java Power Tools". I will have a look at Cargo. Thanks for your help
Re: Deploy .war to shared hosting 'remote server'
> I now want to deploy the .war file to a shared hosting 'remote server'. You are conflating the use of the deploy plugin for your own purposes with what it is actually intended for. That is why you are getting the "repo structure" that you now are trying to eliminate. The m-deploy-p is simply the wrong tool for this job. You should probably take a look at the Cargo plugin instead. I also want to know what "reading" you did that pointed you in the direction of the deploy plugin in the first place. It is the wrong tool for this job, and obviously some documentation somewhere led you down this wrong path, so it may need to be adjusted. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org