RE: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-08 Thread Haszlakiewicz, Eric
>-Original Message- >From: nodje [mailto:nodje...@gmail.com] > >I've been reading quite some of your posts in the forum, and it actually >changed my mind about deployment configuration. Enlightening indeed. > >I would now try to favor a single artifact deployment that could be >configured e

Re: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-08 Thread Ron Wheeler
Stephen has provided another good and frequently-used way to make this work. I would also suggest thinking about how the system admin will install the package. 1) How sophisticated are they 2) Are their installation parameters that you might also want to pick up - PayPal accounts, domains, e-

Re: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-08 Thread Stephen Connolly
JNDI is not the only way. Another good way is the .properties file on the classpath This can work even better if you have default properties in your war, so you do something like public static final class Configuration { private static final class ResourceHolder { private static final Conf

Re: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-08 Thread nodje
Hi Ron, I've been reading quite some of your posts in the forum, and it actually changed my mind about deployment configuration. Enlightening indeed. I would now try to favor a single artifact deployment that could be configured externally - say JNDi, this really makes sense. That said, I don't

Re: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-04 Thread Martin Höller
Hi! Am Donnerstag 03 Februar 2011, 03:28:54 schrieb nodje: > Invaluable piece of information Ron, thanks a lot. > > I've been searching the archives without success, with 'profile plugin' > 'failsafe profile', all woudn't yield much relevant results. > But I'd still be happy if you could point me

Re: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-02 Thread nodje
Invaluable piece of information Ron, thanks a lot. I've been searching the archives without success, with 'profile plugin' 'failsafe profile', all woudn't yield much relevant results. But I'd still be happy if you could point me to some efficient keywords to search for. I don't remember JNDI as

Re: [maven-failsafe-plugin] Running integration test with its own profile

2011-02-02 Thread Ron Wheeler
This is a frequent issue. There has been lost of discussion about this. The Best Practice is to move the deployment info out of your projects into JNDI or some other mechanism that ties the variable information to the thing causing the variability. Profiles is not the right way to do this. Lo