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]> 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] > 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]> 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 > >
