Skip to content

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

@madagiurgiu25

Description

@madagiurgiu25

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions