sonatype-nexus-community/sonatype-platform-browser-extension

Components in Maven Central are assumed to have extension of `jar`

ftingle opened this issue ยท 2 comments

Describe the bug
The results for pkg:maven/com.fpliu.ndk.pkg.prefab.android.21/curl@7.82.0 result in a component not found.

To Reproduce
1: Go to https://central.sonatype.com/artifact/com.fpliu.ndk.pkg.prefab.android.21/curl/7.82.0/overview
2: Click on browser plugin icon to display results.
3: Component not found is displayed.

Expected behavior
For non-jar results, such as occurred with this component (it is an aar filetype), return a "non-supported" result.

CurlScreenshot 2023-09-01 130435
madpah commented

Thanks for the report @ftingle - this is no totally unexpected given the current implementation.

Java Packages are generally .jar archives and the Platform Browser Extension assumes as much today.

The package version you have reported appears to not be a .jar and thus you are seeing this behaviour.

Whilst this appears as a BUG, it is really a request for an Improvement here (similar to #86 for Python).

๐ŸŽ‰ This issue has been resolved in version 2.10.5 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€