External Web Resources are not properly filtered ------------------------------------------------
Key: MWAR-171 URL: http://jira.codehaus.org/browse/MWAR-171 Project: Maven 2.x War Plugin Issue Type: Bug Affects Versions: 2.1-alpha-1 Environment: Windows XP SP2 Reporter: Valeriy Molyakov Attachments: example-project.zip I have configured an external web resource location in the project's web module .. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <resource> <directory>${basedir}/src/main/webresources</directory> <filtering>true</filtering> </resource> </webResources> </configuration> </plugin> I need to apply a filter to jetty-env.xml ... <Arg> <New class="oracle.jdbc.pool.OracleConnectionPoolDataSource"> <Set name="URL">${jdbc.url}</Set> <Set name="user">${jdbc.user}</Set> <Set name="password">${jdbc.password}</Set> </New> </Arg> ... Parent POM contains properties like these: ... <properties> <jdbc.url>jdbc:oracle:thin:@localhost:1521:orcl</jdbc.url> <website.url>scp://www.yourcompany.com/www/docs/project</website.url> ... The result aftre filtering is following: .. <Arg> <New class="oracle.jdbc.pool.OracleConnectionPoolDataSource"> <Set name="URL">http://maven.apache.org</Set> ... I have enclosed example project. -- 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