How do I filter resource files to include the values of properties?
Author: Deron Eriksson
Description: This tutorial describes how to filter resource files in maven.
Tutorial created using: Windows Vista || JDK 1.6.0_04 || Eclipse Web Tools Platform 2.0.1 (Eclipse 3.3.1)


Page: < 1 2

(Continued from page 1)

After this mavenSW command has completed, we can see that the textfile.txt file has been copied to target/classes.

textfile.txt copied to target/classes

If we open our textfile.txt file, we can see that maven substituted the value of the property for the property reference, as shown below.

target/classes/textfile.txt

this is a test
artifact id: aproject

Page: < 1 2