在我用马文汇编材料时,我总是要展示编辑的警告和解释。 我知道如何通过编辑<代码>pom.xml来做到这一点,但我只想不这样做(因此,我可以把<代码>
我尝试:
mvn -Dmaven.compiler.showWarnings=true -Dmaven.compiler.showDeprecation=true clean compile
but this doesn t show any warnings (if I modify the pom.xml
to show them, they are there).
两种表述(maven.compiler.showWarnings
和maven.compiler.showDeprecation
)exist 。
我有什么错误?