Thanks actually i had not given proxy settings in setting.xml, now it's working
vdk Walid "jo" Gedeon wrote: > > Hello vdk, > 1) Can you try checking the network connectivity from where you're running > maven to the repository? For example: > ================================ > wgedeon:~$ ping repo1.maven.org > PING repo1.maven.org (38.97.124.18): 56 data bytes > 64 bytes from 38.97.124.18: icmp_seq=0 ttl=53 time=359.066 ms > 64 bytes from 38.97.124.18: icmp_seq=1 ttl=53 time=351.119 ms > 64 bytes from 38.97.124.18: icmp_seq=2 ttl=53 time=349.108 ms > ^C > --- repo1.maven.org ping statistics --- > 3 packets transmitted, 3 packets received, 0% packet loss > round-trip min/avg/max/stddev = 349.108/353.098/359.066/4.299 ms > ================================ > or > ================================ > wgedeon:~$ telnet repo1.maven.org 80 > Trying 38.97.124.18... > Connected to repo1.maven.org. > Escape character is '^]'. > ^ZConnection closed by foreign host. > ================================ > > 2) Do you connect to the internet using a proxy? If so, you must put the > proxy settings in your settings.xml file [1]. > > --w > [1] http://maven.apache.org/ref/2.0.8/maven-settings/settings.html > > On Tue, Nov 18, 2008 at 11:30 AM, vdk <[EMAIL PROTECTED]> wrote: > >> >> I am also hitting the same error and below is the stacktrace, >> >> + Error stacktraces are turned on. >> Maven version: 2.0.9 >> Java version: 1.5.0_14 >> OS name: "linux" version: "2.6.9-55.0.0.0.2.elsmp" arch: "i386" Family: >> "unix" >> [DEBUG] Building Maven user-level plugin registry from: >> '/home/label/.m2/plugin-registry.xml' >> [DEBUG] Building Maven global-level plugin registry from: >> '/home/label/apache-maven-2.0.9/conf/plugin-registry.xml' >> [INFO] Scanning for projects... >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building qa-framework >> [INFO] task-segment: [clean, install] >> [INFO] >> ------------------------------------------------------------------------ >> [DEBUG] Trying repository central >> Downloading: >> >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom >> [DEBUG] Unable to get resource >> 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository >> central (http://repo1.maven.org/maven2) >> [DEBUG] Trying repository central >> Downloading: >> >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom >> [DEBUG] Unable to get resource >> 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository >> central (http://repo1.maven.org/maven2) >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD ERROR >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Failed to resolve artifact. >> >> GroupId: org.apache.maven.plugins >> ArtifactId: maven-clean-plugin >> Version: 2.2 >> >> Reason: Unable to download the artifact from any repository >> >> org.apache.maven.plugins:maven-clean-plugin:pom:2.2 >> >> from the specified remote repositories: >> central (http://repo1.maven.org/maven2) >> >> >> - vdk >> >> >> Jon Strayer-2 wrote: >> > >> > Is anyone else seeing errors like this? The clean plugin pom url is >> good. >> > The jar is in the directory. I'm baffled. >> > >> > >> > Downloading: >> > >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom >> > >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [ERROR] BUILD ERROR >> > [INFO] >> > >> ------------------------------------------------------------------------ >> > [INFO] Failed to resolve artifact. >> > >> > GroupId: org.apache.maven.plugins >> > ArtifactId: maven-clean-plugin >> > Version: 2.2 >> > >> > Reason: Unable to download the artifact from any repository >> > >> > org.apache.maven.plugins:maven-clean-plugin:pom:2.2 >> > >> > from the specified remote repositories: >> > central (http://repo1.maven.org/maven2), >> > gwt-ext (http://www.gwt-ext.com/maven2), >> > java.net (http://download.java.net/maven/1), >> > gwt-maven (http://gwt-maven.googlecode.com/svn/trunk/mavenrepo), >> > mygwt (http://mygwt-maven-repo.googlecode.com/svn/trunk), >> > maven2-repository.dev.java.net (http://download.java.net/maven/2), >> > fusionsoftllc-mirror >> > (http://softapp01:8889/nexus/content/groups/public), >> > fusionsoftllc-third-party ( >> > http://softapp01:8889/nexus/content/repositories/thirdparty) >> > >> > >> > >> > >> > -- >> > Esse Quam Videre >> > To Be, rather than to Seem >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Missing-resource-error-tp20382936p20556973.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Missing-resource-error-tp20382936p20595595.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
