enola-dev / enola

Enola 🕵🏾‍♀️ Holmes was an SRE.
https://docs.enola.dev/
Apache License 2.0
18 stars 7 forks source link

Maven Model #726

Open vorburger opened 4 months ago

vorburger commented 4 months ago

The pkg: scheme, à la pkg:maven/ch.vorburger.mariaDB4j/mariaDB4j@3.1.0, is shown e.g. on https://central.sonatype.com/artifact/ch.vorburger.mariaDB4j/mariaDB4j.

But it's not "standard" (IANA), and also already used e.g. by the the uri-scheme package for Node.js as a prefix for custom URI schemes used by mobile apps, according to Google Gemini - although https://www.npmjs.com/package/uri-scheme does not mention it.

An Enola specific URL template may be simplest; I'm thinking e.g. something like https://enola.dev/java/maven/central/ch.vorburger.mariaDB4j/mariaDB4j-core/3.1.0 perhaps. (Where central could alternatively also be either an alias or an encoded full URL e.g. to an in-house repo.)

Unless Security (CVE) community already have a useful URI standard for packages, such as Maven? (And others, probably.)

https://spdx.dev might have something we could map to?

vorburger commented 1 month ago

https://maven.apache.org/repository/central-index.html

Unless Security (CVE) community already have a useful URI standard for packages, such as Maven? (And others, probably.)

CPE pkg:maven/com.google.protobuf/protobuf-java