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 or and copy the file around Cheers, Siegfried Goeschl [EMAIL PROTECTED] wrote: Hi, I'm a maven newbie and I try out m

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 : env-test env test test.properties env-production env product

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 or and copy the file around Cheers, Siegfried Goeschl [EMAIL PROT

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: ~ ... ~ ~ ~ env-test ~

Re: Build process for different environments

2005-09-15 Thread Emmanuel Venisse
and so on. Martin John Casey <[EMAIL PROTECTED]> 14.09.2005 16:15 Bitte antworten an "Maven Users List" An: Maven Users List Kopie: Thema: Re: Build process for different environments -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Firs

Re: Re: Build process for different environments

2005-09-14 Thread martin . kuhn
gt; 14.09.2005 14:47 Bitte antworten an "Maven Users List" An: Maven Users List 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 strict

Re: Re: Build process for different environments

2005-09-15 Thread martin . kuhn
Users List" An: Maven Users List 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

Re: Re: Build process for different environments

2005-09-15 Thread martin . kuhn
ot; An: Maven Users List 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 envir

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 element in profile/build to customise the

Re: Re: Build process for different environments

2005-09-15 Thread martin . kuhn
n Users List" An: Maven Users List 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 n