Wassup y'all? I've been maintaining a multi-module client/server Maven2
project for quite some time now and it's getting out of hand. One thing I'd
like to know is how to properly arrange/configure profiles. To give an
example of what I'm trying to do, we have multiple developer setups that we
support, local deployment, local debug deployment, local JMX JProfile
enabled deployment, remote developer deployment, remote with debug, remote
with JMX... you get the picture. We also have various servers we deploy to
remotely. Staging servers, developer servers, QA servers, production
servers, etc. Then we have a bunch of different servers in the backend that
our app talks to. Currently our profiles are exploding into a Matrix of
every possible configuration you can imagine. We use a grandparent pom to
manage most of these configurations but then some more developer specific
(as needs arrive) start popping up in a profiles.xml file in the root of our
project. I'd like to organize things logically. Something like profile
groupings where we'd have all of the production servers we talk to in the
back end grouped into production/staging/qa/dev while all of our project pom
files referr to them using symbolic proerties. For Eg. we'd have an
image.slicing.server defined as a property which is set in each of the
profile groups dev/qa/prod/etc. I'd also like to define profiles that set
properties which trigger the activation of other profiles so that we can
activate one profile (like LancasterDev profile) and cause a chain
activation of several other profiles (activate LancasterServerRoom1, Debug,
and DeviceEmultaor). I think this is a restriction of Maven because it
doesn't seem to work as I thought it would. At any rate, could somebody
share some best practices or good experiences with profiles under Maven2?
Any insight is appreciated.

-----
Cliff
http://codeforfun.wordpress.com
http://www.nabble.com/file/u156847/Cliff-in-the-lab.png 
-- 
View this message in context: 
http://www.nabble.com/PRofiles-and-Pom-cleanup-tp18763136p18763136.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to