Re: Multiple build arguments

2013-03-22 Thread Stephane-3
Thank you Andreas ! It solved the issue. -- View this message in context: http://maven.40175.n5.nabble.com/Multiple-build-arguments-tp5750700p5751511.html Sent from the Maven - Users mailing list archive at Nabble.com. - To

Re: Multiple build arguments

2013-03-14 Thread Andreas Gudian
You can specify more than one profile at a time. Separated by comma or with multiple -P. Am Freitag, 15. März 2013 schrieb Stephane-3 : > Hello, > > Thanks for the input. But maybe my original post was not so clear. I > already > have four profiles in my pom file. So if I factor in the choice bet

RE: Multiple build arguments

2013-03-14 Thread Stephane-3
Hello, What do you mean with to sub in another data-source ? Also can you elaborate on how can someone messes up my classpath ? What do you mean with to toss in a new injector ? Kind Regards, -- View this message in context: http://maven.40175.n5.nabble.com/Multiple-build-arguments-tp5750700

RE: Multiple build arguments

2013-03-14 Thread Stephane-3
Hello, Thanks for the input. But maybe my original post was not so clear. I already have four profiles in my pom file. So if I factor in the choice between hibernate and jpa I'll end up with eight profiles. This is why I posted here asking for another way to gi. Kind Regards, -- View this mes

RE: Multiple build arguments

2013-03-14 Thread Martin Gainty
importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Thu, 14 Mar 2013 14:40:44 -0700 > From: mittiprove...@yahoo.se > To: users@maven.a

Re: Multiple build arguments

2013-03-14 Thread Stephane-3
Hi Baptiste, Thanks for that, I tried it, but got stuck in syntax error.. You'd have some example with the syntax to use ? Kind Regards, -- View this message in context: http://maven.40175.n5.nabble.com/Multiple-build-arguments-tp5750700p5750816.html Sent from the Maven - Users mailing list

Re: Multiple build arguments

2013-03-14 Thread Baptiste MATHUS
Hi, Just a thought, maybe you could just have a solution.being not really Maven related. Use a placeholder in your spring ctx files to use differently named files with with a given prefix corresponding to the one given on the command line ? Cheers Le 14 mars 2013 09:03, "Stephane-3" a écrit : >

Re: Multiple build arguments

2013-03-14 Thread Stephane-3
In each profile I have the test source directory being specified: mysql-db src/integration/java which contains the abstract test class loading the Hibernate or the JPA2 configuration file: @ContextConfiguration(locations = { "classpath:spring-hibernate.xml", "classpa