Skip to content

Commit 99bb844

Browse files
committed
enable dynamic agent loading for mockito
1 parent 3ea24c3 commit 99bb844

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@
127127
<version>${maven-surefire-plugin.version}</version>
128128
<configuration>
129129
<argLine>
130-
-javaagent:${settings.localRepository}/org/mockito/mockito-core/${mockito.version}/mockito-core-${mockito.version}.jar
131-
-Xshare:off
130+
-XX:+EnableDynamicAgentLoading
132131
</argLine>
133132
</configuration>
134133
</plugin>

0 commit comments

Comments
 (0)