i tried building maven based project on new macbook. first time ever tried build on using maven.
i find 'mvn clean package' command fails download single artifact. every artifact being downloaded 'https://repo.maven.org' , fails. when try -x option , find socketexception , final message network unreachable. network connection fine , working browser.
when try build same project in ubuntu, there no issues , uses 'http://repo.maven.org' instead of https
so why maven 3.x on osx (10.x) uses https instead of http? , how can make use http instead of https.
the java version 1.8.x , tried switching off security related options 'use tls' etc. nothing seems work.
Comments
Post a Comment