<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
+ <!-- Ensure that annotation dependencies are optional throughout -->
+ <dependency>
+ <groupId>javax.annotation</groupId>
+ <artifactId>javax.annotation-api</artifactId>
+ <optional>true</optional>
+ </dependency>
</dependencies>
<build>