I have seen similar threads about this from before, but regarding maven 1.x, I was hoping to get an answer for maven 2.x.
In Eclipse, I can run testcases with properties that I set using -Dmyproperty=myvalue in the "VM arguments" section. I am wondering if there is a way of achieving this in maven through command line. I have tried two approaches and neither of them seems work properly: Mvn -Dmyproperty=myvalue test Mvn -Dmyproperty=myvalue -Dmaven.junit.sysproperties=myproperty test Thanks. -Jon This email and any files transmitted with it are confidential, proprietary and intended solely for the individual or entity to whom they are addressed. If you have received this email in error please delete it immediately.
