There must be something simple I'm missing - I'm fairly new to maven, but I
love the profile feature for different client versions of a hosted turnkey
app I'm working on.
So, I build multiple war files specifying each -PprofileName and rename the
WARs to the context root I want (usually same as the profile name) and
deploy them - everything works OK. This lets me put references to
${profile.thisOrThat}
in various places - html files, Somepage.properties, even
applicationContext.xml and web.xml.
But I realized, I've now lost the handy ability to debug Start.java - of
course, it sees the plain version of these config setting, so it doesn't get
very far. This is slowing me down on minor HTML tweaks, for example, that
used to be super-fast and easy cause now I'm back to the old fix, compile,
deploy dev cycle.
I've got the Eclipse maven plug in, and I've made a Debug Configuration of
type "Maven Build" but I'm not sure what to put for the goal.
Something like "run org.mypackage.Start" ?
Thanks for any clues,
-- Jim.