1、不跑测试用例,跳过checkstyle检查
mvn clean install --settings D:\ASettings\settings.xml -gs D:\ASettings\settings.xml -DskipTests=true -Dcheckstyle.skip=true -Dmaven.test.skip=true -T 4C
2、Git bash 输出依赖树到指定文件
mvn dependency:tree --settings "D:\ASettings\settings.xml" -gs "D:\ASettings\ settings.xml" -DskipTests=true -Dcheckstyle.skip=true -Dmaven.test.skip=true -T 4C >>/d/1030maven.txt 2>&1
3、打印effective-pom.xml
mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:effective-pom -Dverbose=true -Doutput=effective-pom.xml --settings "D:\ASettings\settings.xml"