You may load the .properties file as a localization message source (using ResourceBundlerMessageSource) and access it in JSP using <spring:message> or <fmt:message>:
src/main/resources/buildInfo.properties:
buildNumber=${buildNumber}
where buildNumber is exposed as Roland Schneider suggests.
Context configuration:
<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
<property name = "basenames"><value>buildInfo</value></property>
<!-- Or a comma separated list if you have multiple .properties files -->
</bean>
JSP file:
Version: <spring:message code = "buildNumber" />
pom.xml:
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>