Re: (newbie question) seding war somewhere else
Another option of course is to use the Cargo Maven2 plugin for your deployment. Depending on your container, this may be a better approach. Wayne On 5/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Arrowx7 <[EMAIL PROTECTED]> wrote on 05/10/2007 12:16:04 PM: > > I have mevenide2 installed, and when I run lifecycle phase "install" > one of the output lines is > [INFO]Installing /root/sourcecode/myproject.war to > /root/.m2/repository/org/myproject.war > > is there a way to get it to install somewhere other than > /root/.m2/repository/... say /usr/local/tomcat/webapps/ ?? Do I have to > add some sort of property > > Thank you very much in advance, looking forward to replies. I think you want to look at the tomcat plugin and the tomcat:deploy goal. See: http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html -Greg == Confidentiality Notice: The information contained in and transmitted with this communication is strictly confidential, is intended only for the use of the intended recipient, and is the property of Countrywide Financial Corporation or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted with the communication or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please immediately return this communication to the sender and delete the original message and any copy of it in your possession. == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: (newbie question) seding war somewhere else
Arrowx7 <[EMAIL PROTECTED]> wrote on 05/10/2007 12:16:04 PM: > > I have mevenide2 installed, and when I run lifecycle phase "install" > one of the output lines is > [INFO]Installing /root/sourcecode/myproject.war to > /root/.m2/repository/org/myproject.war > > is there a way to get it to install somewhere other than > /root/.m2/repository/... say /usr/local/tomcat/webapps/ ?? Do I have to > add some sort of property > > Thank you very much in advance, looking forward to replies. I think you want to look at the tomcat plugin and the tomcat:deploy goal. See: http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html -Greg == Confidentiality Notice: The information contained in and transmitted with this communication is strictly confidential, is intended only for the use of the intended recipient, and is the property of Countrywide Financial Corporation or its affiliates and subsidiaries. If you are not the intended recipient, you are hereby notified that any use of the information contained in or transmitted with the communication or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please immediately return this communication to the sender and delete the original message and any copy of it in your possession. ==
Re: (newbie question) seding war somewhere else
how do I change the deployment location?? nhoj_p wrote: > > The common approache is to use deploy to get the war to the 'deployment' > location. Install is just to install into your local repository so its > avaliable to other projects your working on. > > On 10/05/07, Arrowx7 <[EMAIL PROTECTED]> wrote: >> >> >> Hello, >> I have mevenide2 installed, and when I run lifecycle phase "install" >> one of the output lines is >> [INFO]Installing /root/sourcecode/myproject.war to >> /root/.m2/repository/org/myproject.war >> >> is there a way to get it to install somewhere other than >> /root/.m2/repository/... say /usr/local/tomcat/webapps/ ?? Do I have to >> add some sort of property >> >> Thank you very much in advance, looking forward to replies. >> -- >> View this message in context: >> http://www.nabble.com/%28newbie-question%29-seding-war-somewhere-else-tf3722975s177.html#a10417737 >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/%28newbie-question%29-seding-war-somewhere-else-tf3722975s177.html#a10418273 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: (newbie question) seding war somewhere else
The common approache is to use deploy to get the war to the 'deployment' location. Install is just to install into your local repository so its avaliable to other projects your working on. On 10/05/07, Arrowx7 <[EMAIL PROTECTED]> wrote: Hello, I have mevenide2 installed, and when I run lifecycle phase "install" one of the output lines is [INFO]Installing /root/sourcecode/myproject.war to /root/.m2/repository/org/myproject.war is there a way to get it to install somewhere other than /root/.m2/repository/... say /usr/local/tomcat/webapps/ ?? Do I have to add some sort of property Thank you very much in advance, looking forward to replies. -- View this message in context: http://www.nabble.com/%28newbie-question%29-seding-war-somewhere-else-tf3722975s177.html#a10417737 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
(newbie question) seding war somewhere else
Hello, I have mevenide2 installed, and when I run lifecycle phase "install" one of the output lines is [INFO]Installing /root/sourcecode/myproject.war to /root/.m2/repository/org/myproject.war is there a way to get it to install somewhere other than /root/.m2/repository/... say /usr/local/tomcat/webapps/ ?? Do I have to add some sort of property Thank you very much in advance, looking forward to replies. -- View this message in context: http://www.nabble.com/%28newbie-question%29-seding-war-somewhere-else-tf3722975s177.html#a10417737 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]