Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I run facebook infer for my maven project?

As mentioned in the documentation, I tried running

infer -- mvn compile

on my maven project. It complains as

[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>

Am I missing anything?

like image 815
Apurv Avatar asked Jun 12 '15 03:06

Apurv


1 Answers

I works for me like this:

infer -- mvn package -Pdev

or

infer -- mvn -Dtest=DatabaseExportXlsTest test
like image 176
Dzidas Avatar answered Sep 29 '22 16:09

Dzidas