Hi,
With help of Martin I've set up two profiles in maven. This way the default
configuration gives us enough debug output in maven and we can easily build
a war for the demo and releases. The profile directories are located
under etc/development and etc/production. development is empty and just
uses all the files from the main source. In production the web.xml and
log4j.properties are overridden. Keep this in mind when you make a change to
one of those files.
To build a production war just call mvn -Denv=prd package.
Regards,
Ivo
|