webResources filtering replaced ${jdbc.url} by ${pom.url}
---------------------------------------------------------
Key: MWAR-189
URL: http://jira.codehaus.org/browse/MWAR-189
Project: Maven 2.x WAR Plugin
Issue Type: Bug
Affects Versions: 2.1-alpha-2
Environment: Maven 2.1.0 / Java SE 1.6.0_13
Reporter: Joël Royer
I'm using webResources filtering and I'm surprised to see a variable ${jdbc.url] to be replaced
by ${pom.url}.
My application is based on Spring 2.5 and my applicationConfig.xml contains some variables
which will be replaced at runtime., not build time.
But for an unknown reason, the war plugin replaced this variable with the ${pom.url} variable.
I have this code in my pom.xml:
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
{code}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|