Closed wcphkust closed 1 year ago
It seems that the library from maven is compiled with Java 11 but our tests are still stuck on Java 8. Maybe try to clean and rebuild the project again? Otherwise, you can also delete the securibench test code in your project. We have plenty of other tests and the securibench tests run without summaries, so changes in StubDroid aren't tested by these tests anyways.
Even if I use the command
mvn -DskipTests install
to disable tests, the error still appears. How can I handle it?
I'd suggest you to build FlowDroid without tests. The full test suite needs around 30 minutes on our beefy CI server.
@timll Thank you! I removed the test cases and then built the code successfully.
Hi @StevenArzt and @timll,
I am trying to build the FlowDroid from maven. My java version is 1.8.0_352 and the maven version is 3.8.6. However, I encountered the following problem:
Even if I use the command
mvn -DskipTests install
to disable tests, the error still appears. How can I handle it?I am using FlowDroid as the fundamental engine to evaluate my own analysis. I need to reconfigure the summary models, so I have to build FlowDroid by myself instead of using the prebuilt release directly. Could you please give me any guidance?