I'm trying to debug my Maven webapp project using Eclipse Luna to launch it in Tomcat 8. Unfortunately, the build timestamp is not getting resolved during resource filtering when trying to deploy it to Tomcat. The WAR file built by Eclipse has it resolved, but what it deploys to Tomcat (through the "Run on Server" option) doesn't.
In my pom.xml, I've got:
<properties>
<timestamp>${maven.build.timestamp}</timestamp>
</properties>
<build>
<finalName>rapid-installer</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
And in a properties file, I've got
build.date=${timestamp}