【发布时间】:2018-08-23 09:12:12
【问题描述】:
我正在尝试使用
mvn help:effective-pom -Dartifact=com.group:artifactname:1.0.0-SNAPSHOT 但它仍在为当前项目打印有效的 pom。
有什么方法可以使用吗?我正在关注Maven help:effective-pom documentation。
【问题讨论】:
-
你试过
-f,--file <arg> Force the use of an alternate POM file (or directory with pom.xml). -
尝试将
-X添加到您的执行中以获得详细的输出。可能值得将输出重定向到文件,因为我希望它很长,并且在前几行中可以找到任何相关信息(例如找不到工件)。