Fix execution of direct task execution of surefire:test
<!-- These properties can be set from the commandline to override the selected certificate -->
<jarsigner.tsa>https://timestamp.geotrust.com/tsa</jarsigner.tsa>
+
+ <!-- fix for netbeans as it executes the surefire:test task directly -->
+ <argLine>-Djdk.attach.allowAttachSelf</argLine>
</properties>
<prerequisites>
</dependency>
</dependencies>
<configuration>
- <argLine>@{argLine} -Djdk.attach.allowAttachSelf</argLine>
+ <argLine>@{argLine} ${argLine}</argLine>
<systemPropertyVariables>
<coverage-output>none</coverage-output> <!-- disable jmockit coverage -->
</systemPropertyVariables>
</dependency>
</dependencies>
<configuration>
- <argLine>@{argLine} -Djdk.attach.allowAttachSelf</argLine>
+ <argLine>@{argLine} ${argLine}</argLine>
<systemPropertyVariables>
<coverage-output>none</coverage-output> <!-- disable jmockit coverage -->
</systemPropertyVariables>
