Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using Maven BOMs with Coursier #1306

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

protocol7
Copy link

Coursier now support using Maven BOMs when resolving. This upgrades Coursier to 2.1.23 and enables using BOMs leveraging the existing boms attribute on maven_install.

Note that Coursier has a slight performance regression since adding support for BOMs, see coursier/coursier#3190.

Fixes #1289

Coursier now support using Maven BOMs when resolving. This upgrades
Coursier to 2.1.23 and enables using BOMs leveraging the existing `boms`
attribute on `maven_install`.

Note that Coursier has a slight performance regression since adding
support for BOMs, see coursier/coursier#3190.

Fixes bazel-contrib#1289
@protocol7
Copy link
Author

Had to disable dependencies from https://packages.confluent.io as the repository seems to be broken at the moment.

Not sure about the remaining CI failure, as it looks to be unrelated to this change:

2025-01-04 15:34:59 UTC	WARNING: Couldn't auto load rules or symbols, because no dependency on module/repository 'rules_android' found. This will result in a failure if there's a reference to those rules or symbols.
2025-01-04 15:35:00 UTC	ERROR: Traceback (most recent call last):
2025-01-04 15:35:00 UTC		File "/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/external/+maven+regression_testing_coursier/BUILD", line 48, column 11, in <toplevel>
2025-01-04 15:35:00 UTC			aar_import(
2025-01-04 15:35:00 UTC	Error in aar_import: Couldn't auto load 'aar_import' from '@rules_android//rules:rules.bzl'.

@vinnybod
Copy link
Contributor

@protocol7 What seems to be the issue with the packages.confluent.io repository? Was it intermittent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Allow BOM resolution with the Coursier resolver
2 participants