Why do I see errors regarding MKCOL when I try to deploy?

If you see an errors or warnings in your Nexus log about MKCOL, for example similar to:

2008-10-20 12:32:09.175 ERROR - org.mortbay.log: /content/repositories/releases/com/xxx/metier-utils-jar/01.24/
java.lang.IllegalArgumentException: No enum const class org.sonatype.nexus.proxy.access.Action.mkcol

This means you have a “dav:http://” url in your project POM distributionManagement section and are using WebDAV to deploy artifacts into Nexus. The MKCOL method is otherwise ignored by Nexus.

You only need an “http://” url to deploy to Nexus. HTTP PUTs will cause Nexus to create any required directories automatically.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk