You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Hp, Varini" <va...@hp.com> on 2009/01/21 04:46:17 UTC
Failed to resolve artifact
Hi,
I am very new to Maven.
I need to generate java classes from the attached WSDL file.
I installed Maven and set environment variable.
When I run mvn generate-sources command I get following errors.
C:\workspace\customerservice>mvn generate-sources
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building customerservice
[INFO] task-segment: [generate-sources]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compil
er-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
Downloading: http://download.java.net/maven/1//org.apache.maven.plugins/poms/mav
en-compiler-plugin-2.0.2.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compil
er-plugin/2.0.2/maven-compiler-plugin-2.0.2.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-compiler-plugin
Version: 2.0.2
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-compiler-plugin:pom:2.0.2
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
java.net (http://download.java.net/maven/1/)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Jan 21 09:07:00 IST 2009
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
Please help me how to resolve this issue.
Regards,
Varini
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org