The approach that I've taken is to specify my deployment target on the
command line and have separate filters for each possible target. Here's
the relevant section of POM:
<build>
<finalName>${artifactId}-${targetHost}-${version}</finalName>
<filters>
<filter>src/main/filters/${targetHost}.properties</filter>
</filters>
...
</build>
The build then looks like this:
mvn -DtargetHost=dev package
Dan Adams wrote:
I'm interested in knowing how people normally set up their filters for a
web app. I need deploy multiple versions. one for testing normally in
jetty, one for a staging server, and one for a live server. Any
suggestions or places to read up on it?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]