jyhehir / mobster

For more details about Mobster please see
https://jyhehir.github.io/mobster/index.html
GNU General Public License v3.0
9 stars 9 forks source link

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 4 years ago

madagiurgiu25 commented 4 years ago

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 commented 4 years ago

Thanks for the feedback, and glad you figured it out. Do you feel comfortable making a pull request with the fix? J On Sunday, 16 February 2020, 03:19:49 pm GMT+1, Mădălina Giurgiu notifications@github.com wrote:

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.