如何使用 maven 构建包或程序
为了使用 maven 构建包,运行
build_with_maven.sh
mvn package如果你还想在本地 maven 仓库中安装 maven 包(通常在 ~/.m2),使用
mvn_install.sh
mvn install如果你没有安装 Maven,你可以在 Ubuntu 上使用以下命令安装
install_maven.sh
sudo apt install mavenCheck out similar posts by category:
Build Systems, Java
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow