From 9abe79f1a887b36fdd4c9a98dfef2fa02425101f Mon Sep 17 00:00:00 2001 From: Jin Date: Wed, 11 Dec 2024 22:23:43 +0800 Subject: [PATCH] Update maven.bzl --- private/extensions/maven.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/private/extensions/maven.bzl b/private/extensions/maven.bzl index d033932b..929b6e89 100644 --- a/private/extensions/maven.bzl +++ b/private/extensions/maven.bzl @@ -348,9 +348,9 @@ def maven_impl(mctx): for (repo_name, known_names) in repo_name_2_module_name.items(): if len(known_names) > 1: - print("The maven repository '%s' is used in multiple bzlmod modules: %s" % ( + print("The maven repository '%s' has contributions from multiple bzlmod modules, and will be resolved together: %s" % ( repo_name, # e.g. "maven" - str(known_names), # e.g. bzl_module_foo, bzl_module_bar + sorted(known_names), # e.g. bzl_module_bar, bzl_module_bar )) # Breaking out the logic for picking lock files, because it's not terribly simple