I have a simple JAVA application and I like to publish my JAR in maven central repository . On looking through the procedure it is mentioned that my JAR’s need to be signed with PGP signature.
https://maven.apache.org/repository/guide-central-repository-upload.html
Documentation mentioned that to guarantee that they are downloading the original artificat we must sign. If that’s the case is there any way to upload the JAR file in maven central without signing for testing purposes for uploading?
Also, my JAR is signed with code signed certificate. So, I really need this PGP signature? Since, Signing the JAR with certificate itself confirms that it was from trusted source. Do we really need this additional PGP signing? If so can anyone explain this.
I would appreciate if any solution for publishing in maven central without signing. Please advise me in this
Note: using gradle as build tool for publishing the JAR in maven central.