On Thu, May 24, 2012 at 4:35 AM, Matt Veitas <[email protected]> wrote:
> Recently the project I am working on ran into a very strange situation when
> deploying a war file built with Maven where we were seeing values from the
> pom.xml that was within the deployed war file replacing values in our jsp
> files at runtime.
[del]
> Some of the JSP files in our project had values such as ${name} and ${url}
> that were being replaced somehow at runtime with the values from the maven
> pom file. I confirmed that the maven-war-plugin was not doing any
> replacement of the jsp files.

Do you have resource filtering turned on?
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html

To check you should run
mvn help:effective-pom
to ensure that this is not accidentally configured in the parent
hierarchy somewhere

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to