Skip to content

bazel: migrate to deps of maven_install #5359

@ejona86

Description

@ejona86

jvm_maven_import_external (and jvm_import_external) allow providing deps which will be added to the java_import in the generated workspace. You can refer to the target that includes deps via @com_google_guava_guava instead of @com_google_guava_guava//jar.

Unfortunately, if we use the non-//jar targets, they aren't available with maven_jar so it'd break users that haven't migrated from maven_jar to jvm_import_external/jvm_maven_import_external. See also #5214

We need to notify our users we will require the deps to be provided appropriately and give them some time to migrate. This includes dependent tools, like https://github.com/johnynek/bazel-deps.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions