[x] The full output in a paste, for instance a gist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project
gson: Compilation failure -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Usage Error: *** Maven command failed:
*** mvn -DskipTests -Drat.skip=true clean compile -P infer-capture
*** exited with code 1
[x] If possible, a minimal example to reproduce your problem (for instance, some code where
infer reports incorrectly, together with the way you run infer to reproduce the incorrect
report).
when I was running infer on projects google-gson, it came out like
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project
but when I build with maven alone, with command
mvn -DskipTests -Drat.skip=true clean compile
it is successful, I don't know where the problem is, and hope that someone can help solve this
BTW, my jdk version== 17,mvn version ==3.8
Please make sure your issue is not addressed in the FAQ.
Please include the following information:
infer --version
. - Infer version v1.1.0infer -- make
.infer capture -- mvn -DskipTests -Drat.skip=true clean compile
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project
but when I build with maven alone, with commandmvn -DskipTests -Drat.skip=true clean compile
it is successful, I don't know where the problem is, and hope that someone can help solve this BTW, my jdk version== 17,mvn version ==3.8