Re: Re: Build process for different environments

2005-09-16 Thread martin . kuhn
An: Maven Users List users@maven.apache.org Kopie: Thema: Re: Re: Build process for different environments On 15/09/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, it the meantime I had the same idea. Do you have an advice to achieve the right naming for the jar file

Re: Re: Build process for different environments

2005-09-15 Thread martin . kuhn
An: Maven Users List users@maven.apache.org Kopie: Thema: Re: Build process for different environments -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, you'd be well-served to use the svn trunk version for this type of problem, since you'll have better help for the second

Re: Build process for different environments

2005-09-15 Thread Emmanuel Venisse
List users@maven.apache.org Kopie: Thema: Re: Build process for different environments -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, you'd be well-served to use the svn trunk version for this type of problem, since you'll have better help for the second thing, which

Re: Re: Build process for different environments

2005-09-15 Thread martin . kuhn
An: Maven Users List users@maven.apache.org Kopie: Thema: Re: Build process for different environments [EMAIL PROTECTED] wrote: Thanks for answering, when I understand it right there is a properties file with a different name in the build dependent on the enviroment value

Re: Re: Build process for different environments

2005-09-15 Thread Mark Hobson
On 15/09/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, it the meantime I had the same idea. Do you have an advice to achieve the right naming for the jar file? (for example domain-prod.jar, domain-test.jar and so on.) You can use the finalName element in profile/build to customise

Build process for different environments

2005-09-14 Thread martin . kuhn
Hi, I'm a maven newbie and I try out maven 2.0 alpha 3. My questions: I have a project to build / deploy for three different enviroments (test, integration, production). The difference beetween the bundles is only a properties file (there are three different files: config-test.properties,

Re: Build process for different environments

2005-09-14 Thread Siegfried Goeschl
Hi Martin, I'm not sure if you should use maven 2.0 alpha 3 as maven newbie for production but this is a strictly personal opinion :-) For Maven 1.x you define a preGoal or postGoal and copy the file around Cheers, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi, I'm a maven newbie

Re: Re: Build process for different environments

2005-09-14 Thread martin . kuhn
antworten an Maven Users List An: Maven Users List users@maven.apache.org Kopie: Thema: Re: Build process for different environments Hi Martin, I'm not sure if you should use maven 2.0 alpha 3 as maven newbie for production but this is a strictly personal opinion

Re: Build process for different environments

2005-09-14 Thread Emmanuel Venisse
it's possible to do it with m2 beta-1 and profiles. you declare profile in your pom like this : profiles profile idenv-test/id activation property nameenv/name valuetest/value /property /activation properties

Re: Build process for different environments

2005-09-14 Thread Emmanuel Venisse
Siegfried Goeschl wrote: Hi Martin, I'm not sure if you should use maven 2.0 alpha 3 as maven newbie for production but this is a strictly personal opinion :-) it isn't my opinion ;-) For Maven 1.x you define a preGoal or postGoal and copy the file around Cheers, Siegfried

Re: Build process for different environments

2005-09-14 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First, you'd be well-served to use the svn trunk version for this type of problem, since you'll have better help for the second thing, which is: Use profiles. Inside your pom.xml, you could add the following: project ~ ... ~ profiles ~