[轉]Maven查看當前生效配置、pom、環境變量等命令(mvn help用法)

檢查當前Maven環境啓用的文件 mvn help:effective-settings 查看當前項目的pom配置,包括全部依賴 mvn help:effective-pom 查看當前處於激活狀態的profile mvn help:active-profiles 指定使用某個配置文件執行Maven命令 mvn -s <filepath> <goal> mvn -s ~/.m2/settings_l
相關文章
相關標籤/搜索