packageurl-python icon indicating copy to clipboard operation
packageurl-python copied to clipboard

Source or binary for Maven?

Open vargenau opened this issue 1 month ago • 3 comments

Calling get_download_url on

pkg:maven/junit/[email protected]

will give:

https://repo.maven.apache.org/maven2/junit/junit/4.13.2/junit-4.13.2.jar

which is good and can be downloaded.

However, I would have preferred to get

https://repo1.maven.org/maven2/junit/junit/4.13.2/junit-4.13.2-sources.jar

that gives the source code instead of the binary.

What do you think? Is there an option to get the source instead of the binary?

vargenau avatar Dec 08 '25 18:12 vargenau