You can do it as in this example I think...
http://www.mail-archive.com/us...@maven.apache.org/msg66139.html
Michael
--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environm
Christian Müller ha scritto:
> I have to set some system properties for new junit test in jdbc-ng.
>
> 1)
> Trying to use
> System.setProperty("java.naming.factory.initial",
> "org.osjava.sj.SimpleContextFactory")
>
> in the test case works within eclispe, but NOT with a "mvn clean install".
I have to set some system properties for new junit test in jdbc-ng.
1)
Trying to use
System.setProperty("java.naming.factory.initial",
"org.osjava.sj.SimpleContextFactory")
in the test case works within eclispe, but NOT with a "mvn clean install".
2)
mvn -Djava.naming.factory.initial=org.os