RE: Deploy a project to multiple locations

2013-04-24 Thread Martin Gainty
> Date: Sat, 12 Jan 2013 02:00:38 -0800 > From: stade...@datazug.ch > To: users@maven.apache.org > Subject: Re: Deploy a project to multiple locations > > The thread shows different assumptions about " a project" because "deploying > a project" needs

Re: Deploy a project to multiple locations [Solved]

2013-01-29 Thread Rainer Völschow
Hello, after a while I found a possible way to accomplish the task. Based on http://javarevisited.blogspot.de/2011/12/parse-xml-file-in-java-example-tutorial.html I wrote a plugin. According my colleagues it works fine. for the next step I want to extend is so it can be run under Unix/Linux and Wi

Re: Deploy a project to multiple locations

2013-01-13 Thread stadelma
ttp://maven.40175.n5.nabble.com/Deploy-a-project-to-multiple-locations-tp5742898p5743087.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Re: Deploy a project to multiple locations

2013-01-12 Thread Manfred Moser
Agreed .. ideally your build publishes an environment independent package to a repository server and then your deployment tool retrieves it from there and deploys it in all your environments. This could be Maven on both sides but there are other tools better suited for deployment e.g.. puppet, che

Re: Deploy a project to multiple locations

2013-01-11 Thread Rainer Völschow
Hi Jörg, > first you should be more precise on what you really want to do, e.g. by making > an example. I have web project that contains some subprojects. As The super-pom calls the pom.xml from the subprojects and invoke they. Each single project are more or less indiependet from each other and

Re: Deploy a project to multiple locations

2013-01-11 Thread Rainer Völschow
Hello Patrick, thanks for the idea. I will it suggest to the project team. Maybe they will change thrier mind 2013/1/11 Patrick Turcotte : > Hi Rainer, > > As simple as > > mvn -P profileName > > So your batch file could look like > mvn -P profileToDeployOnServer1 > mvn -P profileToDeployOnServer

Re: Deploy a project to multiple locations

2013-01-11 Thread Jörg Hohwiller
Hi everybody, first you should be more precise on what you really want to do, e.g. by making an example. I assume that you are talking about environment specific settings. So e.g. you have different environments like test, stage, live or maybe also linux, windows, mac. The best practice is to ke

Re: Deploy a project to multiple locations

2013-01-11 Thread Ron Wheeler
Isn't this what installers are for? Maven is for programmers. Programmers are not system administrators and should not be building artifacts that are specific to run-times. It is good to build tools that let System Administrators install your artifacts correctly. If you have both jobs, just make

Re: Deploy a project to multiple locations

2013-01-11 Thread Patrick Turcotte
Hi Rainer, As simple as mvn -P profileName So your batch file could look like mvn -P profileToDeployOnServer1 mvn -P profileToDeployOnServer2 mvn -P profileToDeployOnServer3 For more info, take a look at http://maven.apache.org/guides/introduction/introduction-to-profiles.html Patrick On 13

Re: Deploy a project to multiple locations

2013-01-11 Thread Stephen Connolly
BTW we are assuming (and this is an assumption) that you don't need to change your artifact for each deployment artifact. If you need to "tweak" the artifact for each deployment destination then you actually need to create a separate module for each deployment destination, as using profiles to mod

Re: Deploy a project to multiple locations

2013-01-11 Thread Stephen Connolly
ship-maven-plugin@mojo On 11 January 2013 10:39, Rainer Völschow wrote: > Hi Patrick, > > one part of my question was, how can I pass the profiles to pom.xml > > > If what you want is to deploy a war with different servers (possibly with > > different configurations), you could use profiles. >

Re: Deploy a project to multiple locations

2013-01-11 Thread Rainer Völschow
Hi Patrick, one part of my question was, how can I pass the profiles to pom.xml > If what you want is to deploy a war with different servers (possibly with > different configurations), you could use profiles. It seems there is no way that I can use Maven only. So I go into myself and try to look

Re: Deploy a project to multiple locations

2013-01-11 Thread Rainer Völschow
Hello Wayne, you were right with you words that my goal is to distribut my project to a location outside Maven. 2013/1/10 Wayne Fay : >> at my work I've got the task to develop a maven build script, that is >> able to deploy a project to different server enviroments. According my > > "deploy" has

Re: Deploy a project to multiple locations

2013-01-10 Thread Patrick Turcotte
Hi, If what you want is to deploy a war with different servers (possibly with different configurations), you could use profiles. And if you want to do it for all of them in one go, you could write a script (bat, bash) that would wrap it. Patrick On 13-01-10 10:43 AM, Rainer Völschow wrote:

Re: Deploy a project to multiple locations

2013-01-10 Thread Aldrin Leal
This is actually best left to Jenkins, isnt it? -- -- Aldrin Leal, Master your EC2-fu! Get the latest ekaterminal public beta http://www.ingenieux.com.br/products/ekaterminal/ On Thu, Jan 10, 2013 at 1:46 PM, Wayne Fay wrote: > > at my work I've got the task to develop a maven build script, t

Re: Deploy a project to multiple locations

2013-01-10 Thread Wayne Fay
> at my work I've got the task to develop a maven build script, that is > able to deploy a project to different server enviroments. According my "deploy" has a certain meaning in Maven. It means to package up an artifact and push it to a (single) Maven Repository. From there, you can push the arti

Deploy a project to multiple locations

2013-01-10 Thread Rainer Völschow
Hello folks, at my work I've got the task to develop a maven build script, that is able to deploy a project to different server enviroments. According my resaerch in the Internet, it seems that the maven-invoker-plugin is the only once option for that. I visited the homepage of that plugin servera