Friday, March 30, 2012

Passing a property file as a parameter to Maven tests

It seems that
http://www.cowtowncoder.com/blog/archives/2010/04/entry_385.html

"surefire plugin is run under a different JVM instance that is launched by Maven."

the syntax is:

mvn test -DargLine="-Dsystem.test.property=test"

If I loved Maven before, I love it even more now....

No comments: