Skip to content

Commit

Permalink
Exclude mockito from packaging
Browse files Browse the repository at this point in the history
The mockito library is only used in tests so it should be scoped to
tests.

Prevent unnecessary inclusion of mockito and its dependencies in the
final hpi file.
  • Loading branch information
MarkEWaite committed Oct 27, 2022
1 parent 6b05295 commit 098ac80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down

0 comments on commit 098ac80

Please sign in to comment.