Hi Mauro, I should not have to setup a proxy as I am on the network… I am not behind a company firewall… working from home through regular DSL provider. In fact, I can browse maven central in my browser with no issues, e.g. here https://nexus.codehaus.org/content/groups/public/org/ and can also ping the nexus.codehaus.org server from the DOS command line.
Let me resend the error: C:\pros\jbehave-3.8\lib>ant Buildfile: build.xml copy-dependencies: [artifact:pom] An error has occurred while processing the Maven artifact tasks. [artifact:pom] Diagnosis: [artifact:pom] [artifact:pom] Unable to initialize POM pom.xml: Cannot find parent: org.codehaus:codehaus-parent for project: org.jbeha ve:jbehave:pom:3.8 for project org.jbehave:jbehave:pom:3.8 [artifact:pom] Not a v4.0.0 POM. for project org.codehaus:codehaus-parent at C:\Users\lsuardi\.m2\repository\org\codehau s\codehaus-parent\1\codehaus-parent-1.pom [artifact:pom] BUILD FAILED C:\pros\jbehave-3.8\lib\build.xml:5: Unable to initialize POM pom.xml: Cannot find parent: org.codehaus:codehaus-parent for project: org.jbehave:jbehave:pom:3.8 for project org.jbehave:jbehave:pom:3.8 The file C:\Users\lsuardi\.m2\repository\org\codehaus\codehaus-parent\1\codehaus-parent-1.pom contains the following: <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center> <hr><center>nginx/1.1.19</center> </body> </html> Does this help explaining what is going on? Thanks again. Luigi Suardi From: Mauro Talevi [mailto:[email protected]] Sent: Monday, June 24, 2013 4:49 PM To: [email protected] Subject: Re: [jbehave-user] error downloading artifacts from binary distribution In lib/settings.xml either configure a proxy http://maven.apache.org/guides/mini/guide-proxies.html Or a repository manager (Nexus or other): http://books.sonatype.com/nexus-book/reference/maven-sect-single-group.html Cheers On 24 Jun 2013, at 15:14, Luigi Suardi <[email protected]<mailto:[email protected]>> wrote: Windows 7 firewall… that is all I should have. Not sure why but ping https://nexus.codehaus.org says it cannot find the host… but I can access from browser. Can you please share your settings? From: Mauro Talevi [mailto:[email protected]] Sent: Monday, June 24, 2013 2:56 PM To: [email protected]<mailto:[email protected]> Subject: Re: [jbehave-user] error downloading artifacts from binary distribution Just tested it and it works with mvn 3.0.x. Are you behind a firewall? If so, you'll need to update the settings.xml with proxy details or to point to corporate repository manager. On 24 Jun 2013, at 13:07, Luigi Suardi <[email protected]<mailto:[email protected]>> wrote: Hi, I am trying to download core dependencies using the ant copy-dependencies task from the binary distribution. I am following instructions @ http://jbehave.org/reference/stable/dependencies.html Getting error below. How should I proceed? Thx! Luigi C:\pros\jbehave-3.8\lib>ant copy-dependencies Buildfile: build.xml copy-dependencies: [artifact:pom] An error has occurred while processing the Maven artifact tasks. [artifact:pom] Diagnosis: [artifact:pom] [artifact:pom] Unable to initialize POM pom.xml: Cannot find parent: org.jbehave:jbehave for project: null:jbehave-distr ibution:pom:null for project null:jbehave-distribution:pom:null [artifact:pom] Not a v4.0.0 POM. for project org.jbehave:jbehave at C:\Users\lsuardi\.m2\repository\org\jbehave\jbehave\ 3.8\jbehave-3.8.pom [artifact:pom] BUILD FAILED C:\pros\jbehave-3.8\lib\build.xml:5: Unable to initialize POM pom.xml: Cannot find parent: org.jbehave:jbehave for proje ct: null:jbehave-distribution:pom:null for project null:jbehave-distribution:pom:null
