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

--
Sebastian Oerding
Senior Developer
Sun Certified Java Programmer

match2blue software development GmbH
Leutragraben 1
07743 Jena
Germany

Tel.:  +49(0) 3641 573 3474
Fax:   +49(0) 3641 573 3488
Mobil: +49(0) 176 96 036 136

oerd...@match2blue.com
www.match2blue.com

Geschäftsführer: Michael Selle
Registernummer:  HRB 503726
Registergericht: Amtsgericht Jena


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to