My error is come from a quick command to do check out a perforce OSS source tree mvn scm:checkout -DconnectionUrl=scm:perforce:workshop.perforce.com:1666://guest/perforce_software/p4maven -Dproject.base=. -Dusername=xxxx -Dpassword=yyyyy
it fails with and without my nexus. The strange thing I pickup the full url from the error log and use curl to see if I see the error. now, this is getting stranger. I browse to the artifact using my browser and copy the link. My curl works. I place the 2 curl urls into my text editor and It looks exactly the same. Then I copy those links back to my comand line, one works and the other fails. there must be hidden chars in bad one. Thoughts? -D my maven is 3.0.5 on windows, and vary the hostnames dont matter On Thu, Apr 17, 2014 at 11:08 PM, Mirko Friedenhagen < [email protected]> wrote: > Dan, > > I always use http://repo1.maven.org/maven2/.. e.g. > http://repo1.maven.org/maven2/org/apache/maven/ > > Two possible explanations: > > Browsers by default follow http redirects, with curl you need -L as an > Option. > > You have different proxy settings for the CLI and your browser :-) > > Regards > Mirko > -- > Sent from my mobile > On Apr 18, 2014 6:56 AM, "Dan Tran" <[email protected]> wrote: > > > Hello Maven friends > > > > my maven build fails with this > > > > [INFO] > > [INFO] --- maven-scm-plugin:1.9:checkout (default-cli) @ standalone-pom > --- > > Downloading: > > > > > http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom > > Apr 17, 2014 9:50:21 PM > > > > > org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector > > tryExecute > > INFO: I/O exception > > > (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException) > > caught when processing request: The target server failed to respond > > Apr 17, 2014 9:50:21 PM > > > > > org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector > > tryExecute > > INFO: Retrying request > > Apr 17, 2014 9:50:31 PM > > > > > org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector > > tryExecute > > INFO: I/O exception > > > (org.apache.maven.wagon.providers.http.httpclient.NoHttpResponseException) > > caught when processing request: The target server failed to respond > > Apr 17, 2014 9:50:31 PM > > > > > org.apache.maven.wagon.providers.http.httpclient.impl.client.DefaultRequestDirector > > tryExecute > > INFO: Retrying request > > > > > > I can't even curl > > > > > http://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom > > > > C:\Users\dantran>curl > > > > > http://central.maven.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.9/maven-scm-provider-cvsexe-1.9.pom > > curl: (52) Empty reply from server > > > > note central.maven.org and repo.maven.apache.org are the same host > > > > But browser can see that file. > > > > do you see the same thing > > > > Thanks > > > > -Dan > > > > -D > > >
