安装Maven

安装并配置Maven

安装maven

用sdkman安装

$ sdk install maven

Downloading: maven 3.8.5

In progress...

Setting maven 3.8.5 as default.

配置代理服务器

export MAVEN_OPTS="-DsocksProxyHost=192.168.0.30 -DsocksProxyPort=10808"