Reputation: 2054
I need to be able to deploy artifacts to Maven repository that were originally built by Bazel. (e.g. java_library
Bazel targets) How do I do that?
Upvotes: 2
Views: 1392
Reputation: 2054
You can use graknlabs/bazel-distribution
rules:
assemble_maven
link - for creating the artifact's jar, pom file, etc...deploy_maven
link - for deployment of artifact to specified maven repositoryFor more information see Step 3: Setup Bazel configuration in this medium article
Upvotes: 4