Friday, September 2, 2011

Nexus - Error 400 redeploying artifact

This is really one of the silliest error I've ever found.
This is stupid because of its solution that is so simple that generally a programmer doesn't think. In the commpon developer's mind (therefore in mine too) every error must be a serious system problem (if you are using Windows could even be a virus!), or some other programmer must have done something wrong, or maybe it's just inexplicable and depends on unknown factors.
In fact, as I said the solution is the simplest one you can think: just configuration of the repo.
You have to
  • open your Nexus server as admin
  • open configuration window of your repo
  • find the parameter "Deployment policy" and set it to "Allow redeploy"
That's it.

No comments:

Post a Comment