Hello. I've got repository protected by SSL located on subdomain: https://abc.mysite.com/
When I try to upload my artifact (`mvn deploy`) mvn rises an exception:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project test: Failed to retrieve remote metadata abc.com:test:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata abc.com:test:1.0-SNAPSHOT/maven-metadata.xml from/to myMavenRepo.write (https://abc.mysite.com/efg/): hostname in certificate didn't match: <abc.mysite.com> != <mysite.com> OR <mysite.com> OR <www.mysite.com> -> [Help 1]

Why does it check main domain instead of subdomain? How can I fix this problem?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to