AnsweredAssumed Answered

Problem with Setting up and using the Alfresco SDK 2.0 beta with Eclipse

Question asked by unknown-user on Mar 17, 2015
Latest reply on Mar 18, 2015 by unknown-user
Hello :),
I was trying to set up my Alfresco with the eclipse luna using this video
https://www.youtube.com/watch?v=utYZaVe9Nd0

and i had this problem :
<java>[INFO] Scanning for projects…
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                        
[INFO] ————————————————————————
[INFO] Building my-alfresco-amp Repository AMP project 1.0-SNAPSHOT
[INFO] ————————————————————————
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.pom (7 KB at 3.6 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom (26 KB at 20.1 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom (5 KB at 6.4 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/maven/plugins/maven-surefire-plugin/2.18/maven-surefire-plugin-2.18.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/maven/plugins/maven-surefire-plugin/2.18/maven-surefire-plugin-2.18.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/maven/plugins/maven-surefire-plugin/2.18/maven-surefire-plugin-2.18.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.18/maven-surefire-plugin-2.18.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.18/maven-surefire-plugin-2.18.pom (6 KB at 8.9 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/maven/surefire/surefire/2.18/surefire-2.18.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/maven/surefire/surefire/2.18/surefire-2.18.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/maven/surefire/surefire/2.18/surefire-2.18.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.18/surefire-2.18.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire/2.18/surefire-2.18.pom (17 KB at 18.9 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/maven/maven-parent/25/maven-parent-25.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/maven/maven-parent/25/maven-parent-25.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/maven/maven-parent/25/maven-parent-25.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/25/maven-parent-25.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/25/maven-parent-25.pom (37 KB at 21.9 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/apache/15/apache-15.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/apache/15/apache-15.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/apache/15/apache-15.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/15/apache-15.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/apache/15/apache-15.pom (15 KB at 18.8 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.pom (13 KB at 20.0 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.jar
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.jar
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.jar
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.jar
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.9/maven-dependency-plugin-2.9.jar (154 KB at 58.5 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.pom (12 KB at 20.0 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/tomcat/maven/tomcat-maven-plugin/2.2/tomcat-maven-plugin-2.2.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/tomcat/maven/tomcat-maven-plugin/2.2/tomcat-maven-plugin-2.2.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/tomcat/maven/tomcat-maven-plugin/2.2/tomcat-maven-plugin-2.2.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat-maven-plugin/2.2/tomcat-maven-plugin-2.2.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat-maven-plugin/2.2/tomcat-maven-plugin-2.2.pom (33 KB at 19.1 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/apache/12/apache-12.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/apache/12/apache-12.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/apache/12/apache-12.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/12/apache-12.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/apache/12/apache-12.pom (16 KB at 14.7 KB/sec)
[INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.jar
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.jar
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.jar
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.jar
[INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/tomcat/maven/tomcat7-maven-plugin/2.2/tomcat7-maven-plugin-2.2.jar (112 KB at 68.3 KB/sec)
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/alfresco-repository/5.0.c/alfresco-repository-5.0.c.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/alfresco-repository/5.0.c/alfresco-repository-5.0.c.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/org/alfresco/alfresco-repository/5.0.c/alfresco-repository-5.0.c.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
[INFO] Downloading: https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
[INFO] Downloading: http://repo.maven.apache.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
[INFO] Downloaded: http://repo.maven.apache.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom (157 B at 0.0 KB/sec)
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 02:55 min
[INFO] Finished at: 2015-03-17T10:57:43+01:00
[INFO] Final Memory: 23M/608M
[INFO] ————————————————————————
[ERROR] Failed to execute goal on project my-alfresco-amp: Could not resolve dependencies for project dk.ohej:my-alfresco-amp:amp:1.0-SNAPSHOT: Failed to collect dependencies at org.alfresco:alfresco-repository:jar:5.0.c: Failed to read artifact descriptor for org.alfresco:alfresco-repository:jar:5.0.c: Could not transfer artifact org.alfresco:alfresco-repository:pom:5.0.c from/to alfresco-public (https://artifacts.alfresco.com/nexus/content/groups/public): Connection reset -> [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



Could anyone please help ?

Outcomes