What gets checked between a publisher and your build
Central Publisher Portal validation, and Maven 3.9.11 with default settings.
-
1 · Publish: Central Portal
POST /api/v1/publisher/upload- Uploader controls the groupId (DNS TXT, code-host repo, or GitHub sign-up)
- POM has name, description, URL, license, developers, SCM
- Every file has a
.ascthat validates against some keyserver key .md5and.sha1match- Signing key belongs to the project the name suggests
-sources.jarwas compiled into the main JAR- Namespace resembles another project; what the code does
repo1.maven.org/maven2· release is immutable from here-
2 · Download: your build
mvn package- SHA-1 / MD5 fetched from the same host as the JAR; a mismatch is only a warning
- PGP or Sigstore signatures: never read
- Namespace ownership, metadata, code behavior: not checked
A look-alike namespace such as io.github.leetcrunch passes every check in stage 1, and stage 2 adds nothing that would stop it.
