cool-easter-32542
05/29/2023, 4:03 PMjava_sources(
dependencies=[
"//core:lockfile"
"//core:com.google.guava_guava",
],
)
led to this error due to the missing command causing the strings to be concatenated:
InvalidTargetName: The target name lockfile//core:com.google.guava_guava (defined in directory core) contains banned characters (`:`,`/`). Please replace these characters with another separator character like `_` or `-`.
The error would have been more actionable if it had included the path to the BUILD file where the target name had been referenced.
Happens with Pants main branch as of today.
pantsbuild/pantscool-easter-32542
05/29/2023, 4:03 PM