I have a need for filtering from ${maven.war.src}. Searching JIRA for
"war filter" comes up with a few unresolved issues that I think are related:
http://jira.codehaus.org/browse/MPWAR-46
http://jira.codehaus.org/browse/MPWAR-39
http://jira.codehaus.org/browse/MPWAR-37
The Maven documentation at http://maven.apache.org/using/resources.html
and the thread ending at
http://mail-archives.apache.org/mod_mbox/maven-users/200504.mbox/[EMAIL
PROTECTED]
suggests writing a pre-goal for java:jar-resources , but I need this
applied to war:war-resources.
I think the solution in http://jira.codehaus.org/browse/MPWAR-46 is what
I need to do, but I don't understand how I would write this as a
goal/pre-goal in m1, and specify a filtersfile.
Furthermore, I would like to invoke maven specifying different
filterfiles, e.g. for dev, qa, production environments. I know this goes
against the best practice recommendation for reproducible builds
http://maven.apache.org/using/bestpractices.html#Reproduciblity , but I
can't refactor to write external configuration yet.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]