I'm using maven, so I'm trying to use option 2. However, despite ensuring that jmockit is the first dependency in my pom and the surefire plugin is configured to use the -javaagent argLine, I still am getting the "initialized on demand" warning. I'm using surefire 2.6 and jmockit 0.999.4. Any ideas?
–
GregJan 7 '11 at 4:47