如文档中所述,我尝试运行
infer -- mvn compile
在我的Maven项目中。它抱怨为
[ERROR] Javac compilation error with:
['javac', '-g', '-d', ... <list of all jars> ...'-g', '-nowarn', '-target', '1.8', '-source', '1.8', '-encoding', 'UTF-8']
javac: no source files
Usage: javac <options> <source files>
我有什么想念的吗?
最佳答案
我像这样为我工作:
infer -- mvn package -Pdev
要么
infer -- mvn -Dtest=DatabaseExportXlsTest test