Hi,

I'm building a web application for a client. During testing we deploy
the application on a staging server. There are some slight differences
between the configuration of the staging server and the live
environment. Mainly the 'web.xml' and the 'log4j.xml' files, but also
some slight differences in the .java files.

In ant we can use the filter tag to perform some changes. We first copy
the class files to a new folder using a filter rule and then compile the
filtered classes. 

Is there a 'standard' way of doing something similar in maven. Or does
it require creating 'pre-goals' in a 'maven.xml' file? How I could use
filtering inside a maven project?

I will try to add the answers received here in the maven wiki at:
http://wiki.codehaus.org/maven/CreatingWebApplications


Best regards,

Joel

-- 
Us Media
Stadhouderskade 115
1073 AX Amsterdam

t: +31 20 428 6868
f: +31 20 470 6905
w: http://www.usmedia.nl


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

Reply via email to