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 On 3/29/07, nicolas de loof <[EMAIL PROTECTED]> wrote:
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 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 before my > integration-tests > > run. > > My DB configuration is set in the test classes via a properties file ( > > jdbc.properties) > > I'd like to avoid duplicating this info in my POM. > > > > How to set the POM to read the properties and set them as system > properties > > (to be visible from the dbunit plugin) ? > > > > Any suggestion is welcome. > > > > Nico. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]