spring-cloud-kubernetes-fabric8-discovery includes mockito-inline as a compile-time dependency
envgap__spring-cloud__spring-cloud-kubernetes-1363
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
a64758f35f8d0e86c17830e486ec2dd0d5463fa5- Manifest
spring-cloud-kubernetes-fabric8-discovery/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
spring-cloud/spring-cloud-kubernetes #1363 · read the original issue
**Describe the bug** This is surely accidental - I can't believe it would be intentional to include mockito-inline at compile-time. **Sample** See https://github.com/spring-cloud/spring-cloud-kubernetes/blob/main/spring-cloud-kubernetes-fabric8-discovery/pom.xml#L60:L63; compare this with https://github.com/spring-cloud/spring-cloud-kubernetes/blob/main/spring-cloud-kubernetes-fabric8-autoconfig/pom.xml#L123-L127. Try running `mvn dependency:tree` and you will see the effect. PR coming shortly, to fix.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]