Re: using properties from external files in pom.xml

2010-08-29 Thread Dirk Olmes
On 08/27/2010 06:11 PM, Wayne Fay wrote: Looks like this maven plugin could feet your needs : http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html Since Stephen hasn't given his usual response to this thread yet, I will go ahead and copy/paste it in... Beware, that

using properties from external files in pom.xml

2010-08-27 Thread 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

Re: using properties from external files in pom.xml

2010-08-27 Thread Armin Ehrenfels
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

Re: using properties from external files in pom.xml

2010-08-27 Thread Sebastian Oerding
Hi, thx for the link. But that is exactly NOT what I was trying. I want to define a property in an external file and use this property in a pom.xml. The article found under the given location gives an example how to define a property in pom.xml and use it in an external file. With kind

Re: using properties from external files in pom.xml

2010-08-27 Thread Frederic Camblor
Hi, Looks like this maven plugin could feet your needs : http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.htmlI planned to use it in a near future but I'm asking myself some questions : When this plugin is

Re: using properties from external files in pom.xml

2010-08-27 Thread Armin Ehrenfels
Ah okay, in this case, I recommend starting maven from a script (e.g., shell in Unix/Linux, .bat in Windows) or a runtime configuration in Eclipse to set up your properties. Regards Armin Am 27.08.2010 11:15, schrieb Sebastian Oerding: Hi, thx for the link. But that is exactly NOT what I

Re: using properties from external files in pom.xml

2010-08-27 Thread lukewpatterson
Frederic Camblor wrote: Looks like this maven plugin could feet your needs : http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html you can probably get what you're looking for by using that properties plugin (making sure it runs before cargo), and then rather than adding

Re: using properties from external files in pom.xml

2010-08-27 Thread Wayne Fay
Looks like this maven plugin could feet your needs : http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html Since Stephen hasn't given his usual response to this thread yet, I will go ahead and copy/paste it in... Beware, that plugin suffers from a fatal flaw: Plugins

Re: using properties from external files in pom.xml

2010-08-27 Thread Stephen Connolly
On 27 August 2010 17:11, Wayne Fay wayne...@gmail.com wrote: Looks like this maven plugin could feet your needs : http://haroon.sis.utoronto.ca/zarar/properties-maven-plugin/index.html Since Stephen hasn't given his usual response to this thread yet, I will go ahead and copy/paste it in...