Users,

I just downloaded Maven and tried to run mvn compile. I see it 

"Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-p
lugin/2.2/maven-resources-plugin-2.2 "

And it tries to do this twice.

 

 It returns "BUILD ERROR" with

Reason: POM 'org.apache.maven.plugins:maven-resources-plugin' not found
in repository: Unable to download artifact from any repository

 

So of course, I took the URL above and pasted it into IE and of course -
I get there just fine. So, I did the following:

*          Open settings.xml in the \conf\ directory of your Maven
installation directory

*          In IE, Tools, Internet Options

*          Click on Connections tab and then click on LAN settings
button

*          Copy the www.XXXX.com in the Address: text box to the value
of <host> tag. (I have replaced company info with XXXX)

*          Copy the port number to the value of <port> which is 8080

*          Save settings.xml

 

STILL DOESN'T WORK - any ideas on how to debug this????

Anne

 

Reply via email to