maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Wheeler <>
Subject Re: useing profiles to control properties to drive version numbers in poms
Date Mon, 19 Mar 2012 01:31:12 GMT
On 18/03/2012 5:41 PM, Thorsten Heit wrote:
> Hi,
>> Yes, profiles are evil.
> If you use them for changing / defining _what_ gets built and/or how, yes.
>> If you think you should be using profiles, think again. If you still
>> think they are the solution, please think it through once more. If you
>> still persist, go use Ant.
>> Profiles are simply very rarely a good solution.
> I'm using profiles at work for the sole purpose of deciding what to do
> with the build artifact, i.e. activating different deployment targets
> (application servers) for an EAR.
Not clear that profiles are the right approach for that.
You will probably be unhappy going down this road.
I might be off-base but it does not sound like the right way to solve 
that problem.

In any event, good luck. I hope that you are able to prove me wrong.


> Regards
> Thorsten

Ron Wheeler
Artifact Software Inc
skype: ronaldmwheeler
phone: 866-970-2435, ext 102

View raw message