-
-
Notifications
You must be signed in to change notification settings - Fork 551
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
pkg:jar is returned instead of pkg:maven #3962
Comments
Moving to the scancode-toolkit repo for discussion as the purl values are generated there.
See the |
MANIFEST.MF files are used in a lot of different java cases, like gradle, osgi and else.
get_normalized_java_manifest_data we see how based on cases we assign different namespace, as all of these cases we have the same MANIFEST.MF.
For example in the case of
which does not have reference to maven or it's maven namespace so there is no way to connect this to https://mvnrepository.com/artifact/com.squareup.retrofit2/converter-moshi/2.9.0 with the We could script something extra to automate lookup the package name in maven, get download urls and compare on the side to transform these purls to maven purls, but otherwise this is out of scope for the scanner as the information to create valid maven purls is simply not on the manifests, so we cannot create these maven purls from the manifests. |
For the following JAR files:
The returned purl from SCIO scans are
However, there are appreciated maven purls that can be found (that's what I found from the web):
Why aren't the maven purls returned?
The text was updated successfully, but these errors were encountered: