I have Maven POM file with some configuration and in the section plugins, I have maven tomcat plugin with some configuration like this:
Complete working example available at: http://hg.defun.work/exp/file/tip/maven/properties
Here essential part of pom.xml:
org.codehaus.mojo
properties-maven-plugin
1.0-alpha-2
initialize
read-project-properties
dev.properties
org.apache.maven.plugins
maven-antrun-plugin
1.6
compile
run
project.build.sourceEncoding is "${project.build.sourceEncoding}"
foo is "${foo}"
with-spaces is "${with-spaces}"
existent.property is "${existent.property}"
nonexistent.property is "${nonexistent.property}"
As you can see properties-maven-plugin still at alpha stage, that is why I hate Maven as build tools...