Hello to all,

I am not exactly new to maven, but I haven't had any formal training and am 
certainly not as experienced as many in this audience.

I have been on this mailing list for a few weeks and have noticed a lot of talk 
about profiles and why they should not be used.

I wanted to share with you the way in which I have successfully used profiles 
without ever experiencing any pain.  First, I don't use profiles to build 
separate artifacts.  I only use them to do other activities.  Mostly I use them 
to run certain tests.  That way, a particular invocation can run tests that hit 
the database when that is appropriate.  Also, sometimes I use them to do other 
activities such as deploy a schema to a database or start a server … again 
mostly as a way to prep an environment for running tests.

Is that the way in which profiles should be used?  I imagine that most of the 
pain people experience come from different artifacts being built with the same 
ids.  Is that correct?

I'd love to hear what you all think. Thanks for your time.


John Kramer
email: [email protected]<mailto:[email protected]>
mobile: 314.435.2370
skype: kramer.mojiva
twitter: @KramerKnowsTech<https://twitter.com/KramerKnowsTech>
0xCAFEBABE00000032

Reply via email to