Normally you deploy to a third party repository with a command similar to:
mvn deploy:deploy-file -Dfile=/path/to/file -DrepositoryId=repositoryId -Durl=wagon:protocol://path/to/repo -DgroupId=groupId -DartifactId=artifactId -Dversion=version -Dpackaging=packageType
But - to deploy via webdav needs a snapshot wagon.
There are several reasons you may need to add a self-signed https ssl certificate to your local java keystore.
For me - its so that maven can access DAV shares for repository deployment.