Skip to content

Commit 6b386d8

Browse files
committed
Add test scope to usages of mockito-core in jooby modules
The mockito dependency is not needed in production code and should not be consumed by consuming applications.
1 parent 2475644 commit 6b386d8

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

modules/jooby-banner/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<dependency>
4949
<groupId>org.mockito</groupId>
5050
<artifactId>mockito-core</artifactId>
51+
<scope>test</scope>
5152
</dependency>
5253
</dependencies>
5354
</project>

modules/jooby-caffeine/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<dependency>
4343
<groupId>org.mockito</groupId>
4444
<artifactId>mockito-core</artifactId>
45+
<scope>test</scope>
4546
</dependency>
4647

4748
<dependency>

modules/jooby-commons-email/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<dependency>
4949
<groupId>org.mockito</groupId>
5050
<artifactId>mockito-core</artifactId>
51+
<scope>test</scope>
5152
</dependency>
5253
</dependencies>
5354
</project>

modules/jooby-guice/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<dependency>
4242
<groupId>org.mockito</groupId>
4343
<artifactId>mockito-core</artifactId>
44+
<scope>test</scope>
4445
</dependency>
4546

4647
<dependency>

0 commit comments

Comments
 (0)