I was able to fix this error in Netbeans by changing the surefire-plugin version to 2.10 and uninstalling
<argLine>-Xmx1024m -XX:MaxPermSize=256m ${argLine}</argLine>
from the maven-surefire-plugin configuration. Instead, I created the argLine property, which is automatically selected using surefire.
<properties> <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.10</version> </plugin>
Now I can run and debug individual files and test methods. And Code Coverage works as expected.
tak3shi Dec 04 '15 at 11:05 2015-12-04 11:05
source share