maven可以自动打包,maven项目会有一个 pom.xml文件, 在这个文件里面,只要你添加相应配置,他就会自动帮你下载相应jar包。
https://maven.apache.org/download.cgi
上面是官网,下载的时候要下载二进制bin文件:
tar xf apache-maven-3.8.6-bin.tar.gz -C /hgy/maven/
cd /hgy/maven/apache-maven-3.8.6/
vim /etc/profile
MAVEN_HOME=/hgy/maven/apache-maven-3.8.6
PATH=$MAVEN_HOME/bin:$PATH
export MAVEN_HOME PATH
source /etc/profile
mvn -version
#最后记得替换settings.xml为国内源


build steps添加mav调用:

