NoClassDefFoundError in IntelliJ because AutoService has class retention
envgap__google__auto-1032
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
2b5d8b8ee69ffff6fbf89e2dad725fad60eb41ab- Manifest
value/processor/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
google/auto #1032 · read the original issue
Maven projects using AutoValue have to explicitly depend on AutoService as well in order to avoid errors when using IDEs like IntelliJ. For example see https://github.com/googleapis/java-shared-config/blob/393ba5669675afb44740fdc45c8110feccf0b3b6/pom.xml#L773-L786. Can we change AutoService's retention back to source? Alternatively, can we change AutoValue's dependency on AutoService to have the normal `compile` scope instead of `provided`?
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]