Skip to content

Compilation error - Could not resolve dependencies for soot-4.7.0-SNAPSHOT #853

@draftyfrog

Description

@draftyfrog

HI,

I am trying to build the latest FlowDroid version with mvn install -DskipTests
and getting the following error:

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] FlowDroid Parent Module                                            [pom]
[INFO] soot-infoflow                                                      [jar]
[INFO] soot-infoflow-android                                              [jar]
[INFO] StubDroid                                                          [jar]
[INFO] FlowDroid Command Line Util                                        [jar]
[INFO] soot-infoflow-integration                                          [jar]
[INFO] 
[INFO] ---------------< de.fraunhofer.sit.sse.flowdroid:parent >---------------
[INFO] Building FlowDroid Parent Module 2.15.0-SNAPSHOT                   [1/6]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- install:3.1.2:install (default-install) @ parent ---
[INFO] Installing /home/FlowDroid/pom.xml to /root/.m2/repository/de/fraunhofer/sit/sse/flowdroid/parent/2.15.0-SNAPSHOT/parent-2.15.0-SNAPSHOT.pom
[INFO] 
[INFO] -----------< de.fraunhofer.sit.sse.flowdroid:soot-infoflow >------------
[INFO] Building soot-infoflow 2.15.0-SNAPSHOT                             [2/6]
[INFO]   from soot-infoflow/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/com/google/guava/guava/maven-metadata.xml
Downloading from sonatype-snapshot: https://oss.sonatype.org/content/repositories/snapshots/com/google/guava/guava/maven-metadata.xml
Progress (1): 4.1 kB
Progress (1): 5.7 kB
                    
Downloaded from central: https://repo.maven.apache.org/maven2/com/google/guava/guava/maven-metadata.xml (5.7 kB at 22 kB/s)
Downloading from sonatype-snapshot: https://oss.sonatype.org/content/repositories/snapshots/org/soot-oss/soot/4.7.0-SNAPSHOT/maven-metadata.xml
Downloading from sonatype-snapshot: https://oss.sonatype.org/content/repositories/snapshots/org/soot-oss/soot/4.7.0-SNAPSHOT/soot-4.7.0-SNAPSHOT.pom
[WARNING] The POM for org.soot-oss:soot:jar:4.7.0-SNAPSHOT is missing, no dependency information available
Downloading from sonatype-snapshot: https://oss.sonatype.org/content/repositories/snapshots/org/soot-oss/soot/4.7.0-SNAPSHOT/soot-4.7.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for FlowDroid Parent Module 2.15.0-SNAPSHOT:
[INFO] 
[INFO] FlowDroid Parent Module ............................ SUCCESS [  0.107 s]
[INFO] soot-infoflow ...................................... FAILURE [  1.215 s]
[INFO] soot-infoflow-android .............................. SKIPPED
[INFO] StubDroid .......................................... SKIPPED
[INFO] FlowDroid Command Line Util ........................ SKIPPED
[INFO] soot-infoflow-integration .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.388 s
[INFO] Finished at: 2025-12-04T08:46:53Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project soot-infoflow: Could not resolve dependencies for project de.fraunhofer.sit.sse.flowdroid:soot-infoflow:jar:2.15.0-SNAPSHOT
[ERROR] dependency: org.soot-oss:soot:jar:4.7.0-SNAPSHOT (compile)
[ERROR] 	Could not find artifact org.soot-oss:soot:jar:4.7.0-SNAPSHOT in sonatype-snapshot (https://oss.sonatype.org/content/repositories/snapshots)
[ERROR] 
[ERROR] -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :soot-infoflow

Do you know how to resolve this? Is there some additional flag I should be using to build it?

My setup is:

$ mvn --version
Apache Maven 3.9.9
Maven home: /usr/share/maven
Java version: 21.0.9, vendor: Debian, runtime: /usr/lib/jvm/java-21-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.1.0-37-amd64", arch: "amd64", family: "unix"

Attaching the log of mvn install -DskipTests -U -X as well.

fd-build-fail.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions