打包:
mvn clean package -DskipTests install
- clean:清除原来的target
- package:编译打包
- -DskipTests:忽略test
- install:安装成jar文件
指定POM文件:
mvn clean package -DskipTests install -f 路径/pom.xml

打包:
mvn clean package -DskipTests install
指定POM文件:
mvn clean package -DskipTests install -f 路径/pom.xml
上一篇 【无服务器架构】Knative Eventing 介绍
下一篇 解决could only be written to 0 of the 1 minReplication nodes,there are 0 datanode(s) running问题