Re: any way to read properties file from a POM ?

2007-03-31 Thread Trevor Torrez
You can try http://jira.codehaus.org/browse/MOJO-535 -- I havent tried it so your milage may vary. It seems that these operations (reading properties from a file into the maven build and writing the current maven properties to a file) are highly desirable. Is there any reason why maven

Re: any way to read properties file from a POM ?

2007-03-31 Thread Wayne Fay
This is not an uncommon question, and JvZ has responded to it previously. http://www.nabble.com/Making-properties-accessible-in-pom.xml-tf3236898s177.html#a9023112 Wayne On 3/31/07, Trevor Torrez [EMAIL PROTECTED] wrote: You can try http://jira.codehaus.org/browse/MOJO-535 -- I havent tried

Re: any way to read properties file from a POM ?

2007-03-29 Thread Wayne Fay
Others have asked this previously, and the answer remains the same: this is not possible. Perhaps you could instead modify the dbunit plugin to read from a properties file. Wayne On 3/29/07, nicolas de loof [EMAIL PROTECTED] wrote: Hello, I'm using dbunit mojo to create a clean database

Re: any way to read properties file from a POM ?

2007-03-29 Thread nicolas de loof
This would require to modify the dbunit and the sql plugins... I'll have to find another strategy. Thanks anyway. 2007/3/29, Wayne Fay [EMAIL PROTECTED]: Others have asked this previously, and the answer remains the same: this is not possible. Perhaps you could instead modify the dbunit

Re: any way to read properties file from a POM ?

2007-03-29 Thread Wayne Fay
Another option is to write a plugin which would read your properties file and attach the values to the Project, or perhaps to the SystemProperties somehow. But I don't really know how all that would work, or that it is even possible. I'm not much of a M2 plugin developer at this point. ;-) Wayne