Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion private/lib/coordinates.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def to_purl(coords, repository):
to_return = "pkg:maven/"

unpacked = unpack_coordinates(coords)
to_return += "{group}:{artifact}@{version}".format(
to_return += "{group}/{artifact}@{version}".format(
artifact = unpacked.artifact,
group = unpacked.group,
version = unpacked.version,
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/jvm_import/jvm_import_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def _does_jvm_import_export_a_package_provider_impl(ctx):

asserts.true(env, PackageInfo in ctx.attr.src)
package_info = ctx.attr.src[PackageInfo]
asserts.equals(env, "pkg:maven/com.google.code.findbugs:[email protected]", package_info.purl)
asserts.equals(env, "pkg:maven/com.google.code.findbugs/[email protected]", package_info.purl)

# The metadata is applied directly to the target in this case, so there should
# not be any transitive metadata. Apparently.
Expand Down