This basic Maven operation has me stumped. How can I get Maven to interpolate HTML files that are in src/main/webapp? Is filtering not implicit when the WAR plugin copies files from src/main/webapp?
I have a typical web application with an index.html in src/main/webapp: <HTML> The usual stuff ... ${server.url} link text ... In the POM I define a profile that defines the propety ${server.url}. <profile> <id>DEV</id> <properties> <property> <server.url>http://www.yahoo.com</server.url> .... The profile is activated thusly mvn clean install -P DEV I know that the profile is being activated by viewing the properties listed when I run with the -X flag. Yet, the ${server.url} in index.html isn't being replaced by http://www.yahoo.com. Can you please shed some light? -- View this message in context: http://old.nabble.com/Interpolation-of-HTML-files-tp27438828p27438828.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org