I'm trying to deploy a maven package to a proget server. However whenever I run mvn deploy after a pause I'm getting a error:
[WARNING] Could not transfer metadata com.redacted:rx:0.3.0-SNAPSHOT/maven-metadata.xml from/to redacted (https://proget.redacted/maven2/test_feed_dont_use-SNAPSHOT): Connect to proget.redacted.com:443 [proget.redacted.com/8.8.8.8, proget.redacted/8.8.8.8] failed: Connection timed out: connect
I can connect to the URL using firefox, but not curl. However if I use the curl --insecure
option I can. Any idea what might be wrong?
I have tried this command line and it is still giving the same issue.
mvn deploy -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
I am using a proxy, however I have the http_proxy and https_proxy environment variables set which seems to work for other applications. Does maven take note of these?