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

Installation issue: Could not resolve dependencies for project org.umcn.gen:MobileInsertions:jar:0.2.4.1: The following artifacts could not be resolved: log4j:log4j:jar:1.2.16, commons-cli:commons-cli:jar:1.2: Could not find artifact log4j:log4j:jar:1.2.16 in local-maven-repo #37

Open
madagiurgiu25 opened this issue Feb 16, 2020 · 1 comment

Comments

@madagiurgiu25
Copy link

Hello,

I was trying to install Mobster using the mvnd/ubuntu_16_04-openjdk-8-3.5.3 docker image and received the following build error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.843 s
[INFO] Finished at: 2020-02-16T14:05:46Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project MobileInsertions: Could not resolve dependencies for project org.umcn.gen:MobileInsertions:jar:0.2.4.1: The following artifacts could not be resolved: log4j:log4j:jar:1.2.16, commons-cli:commons-cli:jar:1.2: Could not find artifact log4j:log4j:jar:1.2.16 in local-maven-repo (file:///${project.parent.basedir}/lib/jar) -> [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
[INFO] Scanning for projects...

Maven version: 3.5.3

It seems that https://repo.maven.apache.org/maven2 does not exit anymore. I tried changing the repo to https://repo1.maven.org/maven2/ and the build worked. I am not sure if this is related to the maven version. Could you provide the maven version that you use for the build?

Thank you.

@jyhehir
Copy link
Owner

jyhehir commented Feb 17, 2020 via email

hevmarriott added a commit to hevmarriott/mobster that referenced this issue Jan 21, 2021
Resolved the same problem as jyhehir#37 but for this file when used with apache-maven-3.6.3-bin.zip
This was referenced Jan 21, 2021
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

2 participants