Best practice on releasing a webapp (war-file)

2009-11-25 Thread Ludwig Magnusson
Hi! We are developing a webapp which is packaged in a war-file. I wonder how we can use maven for releasing new versions to our actual server and our staging server. I have tested the deploy function and read about the release function but these seem to serve a different purpose than the one I'm

Re: Best practice on releasing a webapp (war-file)

2009-11-25 Thread Joe Hindsley
Hi Ludwig, The cargo plugin is what you're looking for: http://cargo.codehaus.org/Maven2+plugin Cheers, Joe Hindsley Ludwig Magnusson wrote: Hi! We are developing a webapp which is packaged in a war-file. I wonder how we can use maven for releasing new versions to our actual server and

Re: Best practice on releasing a webapp (war-file)

2009-11-25 Thread Anders Hammar
What you could have is a separate project that uses some plugin to do this. For example, you could use the Cargo plugin ( http://cargo.codehaus.org/Maven2+plugin) to undeploy and then deploy an app. There are also lots of other server specific plugins. You could even bind this plugin in your

RE: Best practice on releasing a webapp (war-file)

2009-11-25 Thread Ludwig Magnusson
It certainly seems so. Thank you :O) -Original Message- From: Joe Hindsley [mailto:jhinds...@gmail.com] Sent: den 25 november 2009 13:39 To: Maven Users List Subject: Re: Best practice on releasing a webapp (war-file) Hi Ludwig, The cargo plugin is what you're looking for: http