Problem with installation guide
rune_rne Apr 26, 2012 5:42 AMHi,
i have some problems with the installation guide, which you can find here: http://arquillian.org/guides/getting_started/
I tried both ways in the section "Create a New Project".
When i use the Generate a project from a Maven archetype
i get the follwoing error:
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://r epo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates a re forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-m etadata.xml from/to central (http://repo.maven.apache.org/maven2): Connection to http://repo.maven.apache.org refused [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3:09.732s [INFO] Finished at: Thu Apr 26 11:33:14 CEST 2012 [INFO] Final Memory: 2M/15M [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (D:\Data\Documents and Settings\Paul.Prescher.ext\.m2\reposi tory), central (http://repo.maven.apache.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundF orPrefixException
When i use the other approach Create and customize a project using JBoss Forge
i can create the project but when i try to add the dependencies i get the following error:
[arquillian-tutorial] aqtest $ project add-dependency org.jboss.spec:jboss-javae e-6.0:1.0.0.Final:pom:provided ***ERROR*** [project add-dependency] com/google/common/base/Strings
When i try to fake the pom file and load it to my eclipse i get several errors in eclipse.
Description Resource Path Location Type ArtifactDescriptorException: Failed to read artifact descriptor for junit:junit:jar:4.8.1: ArtifactResolutionException: Failure to transfer junit:junit:pom:4.8.1 from http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced. Original error: Could not transfer artifact junit:junit:pom:4.8.1 from/to JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public): Connect times out pom.xml /arquillian-tutorial line 1 Maven Dependency Problem ArtifactDescriptorException: Failed to read artifact descriptor for org.jboss.spec:jboss-javaee-6.0:provided:1.0.0.Final: ArtifactResolutionException: Failure to transfer org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Final from http://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of JBOSS_NEXUS has elapsed or updates are forced. Original error: Could not transfer artifact org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Final from/to JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public): Connect times out pom.xml /arquillian-tutorial line 1 Maven Dependency Problem CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from/to central (http://repo1.maven.org/maven2): Connect times out pom.xml /arquillian-tutorial line 35 Maven Project Build Lifecycle Mapping Problem Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3 pom.xml /arquillian-tutorial line 1 Maven Build Problem Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 from/to central (http://repo1.maven.org/maven2): Connect times out pom.xml /arquillian-tutorial line 1 Maven Configuration Problem Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile) pom.xml /arquillian-tutorial line 35 Maven Project Build Lifecycle Mapping Problem Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile) pom.xml /arquillian-tutorial line 35 Maven Project Build Lifecycle Mapping Problem
Can someone help me?