You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.
I tried to mvn package via IntelliJ IDEA and also via command line and unfortunately, i keep getting this failure message.
Already tried to delete everything from .m2 file and start over, but unfortunately, the error keeps appearing over and over again.
Best
Hesham
usr/lib/jvm/java-8-oracle/bin/java "-Dmaven.multiModuleProjectDirectory=/home/admin1/analyst_project (copy)/analyst" -Dmaven.home=/opt/intellij-idea-community/plugins/maven/lib/maven3 -Dclassworlds.conf=/opt/intellij-idea-community/plugins/maven/lib/maven3/bin/m2.conf -Didea.launcher.port=7533 -Didea.launcher.bin.path=/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /opt/intellij-idea-community/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/opt/intellij-idea-community/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.3.4 package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.conveyal:analyst:jar:0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 12, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building analyst 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
..
.
.
.
.
.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:01 min
[INFO] Finished at: 2017-03-07T19:49:15+01:00
[INFO] Final Memory: 16M/180M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project analyst: Could not resolve dependencies for project com.conveyal:analyst:jar:0.1-SNAPSHOT: Failed to collect dependencies at com.conveyal.data.census:seamless-census:jar:1.0-SNAPSHOT -> com.amazonaws:aws-java-sdk:jar:1.10.16 -> com.amazonaws:aws-java-sdk-cloudsearch:jar:1.10.16: Failed to read artifact descriptor for com.amazonaws:aws-java-sdk-cloudsearch:jar:1.10.16: Could not transfer artifact com.amazonaws:aws-java-sdk-cloudsearch:pom:1.10.16 from/to central (https://repo.maven.apache.org/maven2): /home/admin1/.m2/repository/com/amazonaws/aws-java-sdk-cloudsearch/1.10.16/aws-java-sdk-cloudsearch-1.10.16.pom.part (No such file or directory) -> [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
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Have you tried keeping the .M2 directory intact but then manually saving all relevant files for com.amazonaws:aws-java-sdk-cloudsearch into the proper .M2 subdirectory? I've occasionally had similar Maven dependency issues that could be resolved doing this.
Your suggestion should work as its seem like the right solution. But I get it fixed by deleting every thing from.m2 & also mvn clean command befor start to mvn package.
Hi,
I tried to mvn package via IntelliJ IDEA and also via command line and unfortunately, i keep getting this failure message.
Already tried to delete everything from .m2 file and start over, but unfortunately, the error keeps appearing over and over again.
Best
Hesham
usr/lib/jvm/java-8-oracle/bin/java "-Dmaven.multiModuleProjectDirectory=/home/admin1/analyst_project (copy)/analyst" -Dmaven.home=/opt/intellij-idea-community/plugins/maven/lib/maven3 -Dclassworlds.conf=/opt/intellij-idea-community/plugins/maven/lib/maven3/bin/m2.conf -Didea.launcher.port=7533 -Didea.launcher.bin.path=/opt/intellij-idea-community/bin -Dfile.encoding=UTF-8 -classpath /opt/intellij-idea-community/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/opt/intellij-idea-community/lib/idea_rt.jar com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.3.4 package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.conveyal:analyst:jar:0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 12, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building analyst 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
..
.
.
.
.
.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:01 min
[INFO] Finished at: 2017-03-07T19:49:15+01:00
[INFO] Final Memory: 16M/180M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project analyst: Could not resolve dependencies for project com.conveyal:analyst:jar:0.1-SNAPSHOT: Failed to collect dependencies at com.conveyal.data.census:seamless-census:jar:1.0-SNAPSHOT -> com.amazonaws:aws-java-sdk:jar:1.10.16 -> com.amazonaws:aws-java-sdk-cloudsearch:jar:1.10.16: Failed to read artifact descriptor for com.amazonaws:aws-java-sdk-cloudsearch:jar:1.10.16: Could not transfer artifact com.amazonaws:aws-java-sdk-cloudsearch:pom:1.10.16 from/to central (https://repo.maven.apache.org/maven2): /home/admin1/.m2/repository/com/amazonaws/aws-java-sdk-cloudsearch/1.10.16/aws-java-sdk-cloudsearch-1.10.16.pom.part (No such file or directory) -> [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
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: