Thank you Jefferson, Just what I was looking for.
Cheers Neil -----Original Message----- From: Jefferson K. French [mailto:[EMAIL PROTECTED] Sent: 31 July 2003 17:29 To: Maven Users List Subject: Re: Junit system properties I put something like this in a test:test preGoal: <j:set var="server.url" value="${test.service}"/> <j:set var="server.name" value="${server.name.local}"/> <j:set var="maven.junit.sysproperties">server.url server.name</j:set> The test:test goal will iterate through the maven.junit.sysproperties and set them for you. On Thu, 31 Jul 2003, at 14:18:14 [GMT +0100] Neil Blue wrote: > Hello, > We have some junit tests that require certain system properties to be set. > As we are running the Junit tests in a forked JVM, we are looking for a way to set > the system properties to specific values in the maven.xml scripts. > Please does anyone of how this can be achieved, and in addition is there a way to > set system properties generally in maven scripts. > Thank you > Neil Blue > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- 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]
