Error in install progress
hannuri-k opened this issue · comments
I'd suggest you to run a single test and look whether it displays some error message while running.
The tests reference the rt.jar
file that only existed up to Java 9. We check whether FlowDroid finds flows inside the Java standard library, but the test suite was never ported to the new Java module file system. I assume that you only have Java 20 on your machine. The tests therefore find no code to analyze.
I suggest that you either use the official FlowDroid JARs from Maven Central (release version 1.12 is fairly recent), or that you build FlowDroid and skip the tests using mvn install -DskipTests
.
We run the tests as part of our CI/CD pipeline on a machine that has Java 8 installed on the side for the rt.jar
. FlowDroid itself obviously runs on modern Java as well, it's just a problem with the tests.
Failure occurred at the StubDroid stage when 'mvn install -DskipTests' was used. Even in this case, can I just assume that there is no problem and proceed? Or do I need to install the Java 8 version?
Which failure? Please be more precise.
I just committed a fix that should resolve this issue. Apparently, the "attached" goal in the Maven assembly plugin has been removed in newer versions.