On Thu, Dec 27, 2012 at 7:46 AM, Maven User <[email protected]> wrote:

> AHHHH - yes, all your "configuration" should be OUTSIDE your war/ear/jar
> files!
>
> Don't repackage per env!!!!  Also, don't force someone to unfurl your
> artifact, alter config, then re-roll it....
>

Right, unless of course you happen to be producing Java EE-compliant
artifacts such as .war and .ear files, in which case you have no choice, as
locating the configuration inside the artifact is mandated by the
specifications.  However, even in such cases it's better to build separate
projects or war overlays or approaches like that than to abuse profiles.

Best,
Laird

-- 
http://about.me/lairdnelson

Reply via email to