upload aem maven artifacts to Sonatype Nexus Repository error
hi all,
i am trying to push my maven build artifacts to sonatype nexus repo.
i am following the blog Maven Deploy to Sonatype Nexus Repo
I am getting the below error -
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on project xyz: Failed to deploy artifacts: Could not transfer
artifact com.xyz.aem:aem:pom:1.0.0-20240122.075117-1 from/to nexus-snapshots (http://yy.xx.zz.aa:8080/nexus/content/repositories/snapshots😞 status code: 405, reason phrase: Method Not Allowed (405) -> [Help 1]
what will be the best way to publish artifact to the nexus sonatype?
also, how to resolve this issue?