Hi,
http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
HTH
Armin
Am 27.08.2010 10:16, schrieb Sebastian Oerding:
Hello,
I want to use properties from external files in a pom.xml? Is this
possible? It doesn't seem to be.
For example, I have a tomcat.properties with
tomcat.manager.url=SOME_URL
and so on. I use this properties file as filter. To check this issue I
included bla.properties with
bla=${tomcat.manager.url}
The war is built as expected containing bla.properties with
bla=SOME_URL
but when trying to use ${tomcat.manager.url} in the pom.xml (for cargo
plugin to deploy the war to tomcat)
deplyoment fails due to an empty url which looks like that the
property is not resolved.
With kind regards Sebastian
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org