Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find artifact de.tud.sse:soot-infoflow-android:pom:2.7.1 #11

Open
ZERO-A-ONE opened this issue Apr 24, 2023 · 5 comments
Open

Comments

@ZERO-A-ONE
Copy link

It looks like the Maven project is currently not building correctly
When I modified it to look like this:

<dependency>
			<groupId>de.fraunhofer.sit.sse.flowdroid</groupId>
			<artifactId>soot-infoflow</artifactId>
			<version>2.10.0</version>
		</dependency>
		<dependency>
			<groupId>de.fraunhofer.sit.sse.flowdroid</groupId>
			<artifactId>soot-infoflow-android</artifactId>
			<version>2.10.0</version>
		</dependency>

He turned out like this

import soot.jimple.infoflow.android.InfoflowAndroidConfiguration.SootIntegrationMode;
Unable to resolve symbol 'SootIntegrationMode'

@ZERO-A-ONE
Copy link
Author

ZERO-A-ONE commented Apr 24, 2023

I fixed it and successfully built /src/main/java/lu/uni/trux/jucify/Main.java

import soot.jimple.infoflow.InfoflowConfiguration.SootIntegrationMode;

@ZERO-A-ONE
Copy link
Author

I'm sorry that this change caused other problems, but in the end I chose to fix it like this:

cd libs/
mv soot-infoflow-android-classes.jar soot-infoflow-android-2.7.1.jar
mv soot-infoflow-classes.jar soot-infoflow-2.7.1.jar
cd ..
mvn install:install-file -Dfile=./libs/soot-infoflow-android-2.7.1.jar -DgroupId=de.tud.sse -DartifactId=soot-infoflow-android -Dversion=2.7.1 -Dpackaging
mvn install:install-file -Dfile=./libs/soot-infoflow-2.7.1.jar -DgroupId=de.tud.sse -DartifactId=soot-infoflow -Dversion=2.7.1 -Dpackaging=jar
mvn install

@JordanSamhi
Copy link
Owner

Hi @ZERO-A-ONE ,

Good to know that you solved the problem, is it fixed then?

@JordanSamhi
Copy link
Owner

By the way, do not forget to have a look at the README file, it is said:"Please checkout to the following commit to use JuCify: 6897c58"
This way you will have the good pom.xml version.

@mengqiwang1
Copy link

Hi @JordanSamhi , I encountered a new dependency problem at this commit 6897c58.
I ran as build.sh

export MAVEN_OPTS=-Xss32m
mvn clean install:install-file -Dfile=libs/soot-infoflow-android-classes.jar -DgroupId=de.tud.sse -DartifactId=soot-infoflow-android -Dversion=2.7.1 -Dpackaging=jar
mvn clean install:install-file -Dfile=libs/soot-infoflow-classes.jar -DgroupId=de.tud.sse -DartifactId=soot-infoflow -Dversion=2.7.1 -Dpackaging=jar
mvn clean install

and got this

[ERROR] Failed to execute goal on project JuCify: Could not collect dependencies for project lu.uni.trux.jucify:JuCify:jar:0.1
[ERROR] Failed to read artifact descriptor for de.tud.sse:soot-infoflow:jar:2.7.2-SNAPSHOT
[ERROR] 	Caused by: The following artifacts could not be resolved: de.tud.sse:soot-infoflow:pom:2.7.2-SNAPSHOT (absent): Could not transfer artifact de.tud.sse:soot-infoflow:pom:2.7.2-SNAPSHOT from/to soot-snapshot (https://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/): soot-build.cs.uni-paderborn.de
[ERROR] Failed to read artifact descriptor for de.upb.cs.swt:axml:jar:2.0.0-SNAPSHOT
[ERROR] 	Caused by: The following artifacts could not be resolved: de.upb.cs.swt:axml:pom:2.0.0-SNAPSHOT (absent): Could not transfer artifact de.upb.cs.swt:axml:pom:2.0.0-SNAPSHOT from/to soot-snapshot (https://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/): soot-build.cs.uni-paderborn.de
[ERROR] Failed to read artifact descriptor for ca.mcgill.sable:axmlprinter:jar:2016-07-27
[ERROR] 	Caused by: The following artifacts could not be resolved: ca.mcgill.sable:axmlprinter:pom:2016-07-27 (absent): Could not transfer artifact ca.mcgill.sable:axmlprinter:pom:2016-07-27 from/to soot-snapshot (https://soot-build.cs.uni-paderborn.de/nexus/repository/soot-snapshot/): soot-build.cs.uni-paderborn.de

Could you please help to check if this version of pom.xml still works well?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants