resess / GoalExplorer

MIT License
7 stars 2 forks source link

package "st.cs.uni.saarland.de" is missing #12

Open KiteFlyKid opened 5 months ago

KiteFlyKid commented 5 months ago

While I try to build goalexplorer, I find this package is missing

dah-fari7009 commented 5 months ago

Hello,

st.cs.uni.saarland.de corresponds to the Backstage project. Did you make sure to build Backstage before building GoalExplorer (and that the build was successful) as per the README? There are also pre-built versions of the project included in releases.

KiteFlyKid commented 5 months ago

Thank you for the response. As I am building FlowDroid and Backstage, I encounter the following errors:

FlowDroid

image

Backstage

image

I have copied the error msg of Flowdroid here:

[ERROR] Failed to execute goal on project soot-infoflow: Could not resolve dependencies for project de.fraunhofer.sit.sse.flowdroid:soot-infoflow:jar:2.11.0-SNAPSHOT: Failed to collect dependencies at org.soot-oss:soot:jar:4.4.0-SNAPSHOT: Failed to read artifact descriptor for org.soot-oss:soot:jar:4.4.0-SNAPSHOT: The following artifacts could not be resolved: org.soot-oss:soot:pom:4.4.0-SNAPSHOT (absent): Could not transfer artifact org.soot-oss:soot:pom:4.4.0-SNAPSHOT from/to Soot-Snapshots (https://ssebuild.sit.fraunhofer.de/nexus/repository/Soot/): ssebuild.sit.fraunhofer.de: Unknown host ssebuild.sit.fraunhofer.de -> [Help 1]

output of mvn --version :

Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/homebrew/Cellar/maven/3.9.6/libexec
Java version: 1.8.0_392, vendor: Azul Systems, Inc., runtime: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "13.0", arch: "aarch64", family: "mac"

At first I thought was the network error. But I have tried different mirrors. It still doesn't work.

dah-fari7009 commented 5 months ago

Hi,

This is likely due to some dependencies of Backstage (or FlowDroid) which have been moved or deleted from the maven repositories (e.g., edu.mit:jwi:2.14 is no longer available) . To build the project successfully, you would need to either locate each missing dependency from a separate source (which would be difficult given how old the Backstage project is) or update the dependencies to other versions available on Maven. However, there is no guarantee that the tool will behave the same as originally with updated dependencies. For now, I'll recommend using the pre-built jars in releases. I'll look more into restoring the dependencies over the week.