that wont work, please take a look at maven-surefire-plugin's doco on how to configure your pom.xml to passin system property into your test
-D On 9/12/07, carl.whalley <[EMAIL PROTECTED]> wrote: > > If I use "mvn -Dfoo=bar integration-test" I was expecting > System.getProperty("foo") to return "bar" in the invoked tests. It isn't - > have I misunderstood this please? Thanks. > -- > View this message in context: > http://www.nabble.com/-M2--Acessing-command-line-properties-from-JUnit-tests-tf4427748s177.html#a12630944 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]