Skip to content
Advertisement

405 Method Not Allowed when deploying artifact to Nexus

I am deploying an artifact to a Nexus snapshot repository that allows redeployment, using the maven command:

JavaScript

but I have this error:

JavaScript

Advertisement

Answer

I have never seen a mvn deploy:deploy-file to a nexus/repo/browse URL: browse should not be used for deploying files, only for… browsing them.

A typical call would be

JavaScript

(Replace repos-snapshots by the name you gave to the hosted snapshot repositories)

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement