Skip to content

Commit

Permalink
Configure Mockito agent
Browse files Browse the repository at this point in the history
  • Loading branch information
mk868 committed Nov 2, 2024
1 parent 7243d7c commit 8c24d44
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions jgpio/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,24 @@
</executions>
</plugin>
<!-- tests -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<argLine>--enable-native-access=eu.softpol.lib.jgpio -javaagent:${org.mockito:mockito-core:jar}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 8c24d44

Please sign in to comment.