File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven does not resolve dependencies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven does not resolve dependencies" Watch "Maven does not resolve dependencies" New topic
Author

Maven does not resolve dependencies

Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 505
    
    1

Hello!

I have several spring dependencies in pom.xml:

Repositories declared to download them are:

When I run project as 'Maven install' it gives the following error:

Thank you!


True person is moral, false is right!
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Greetings,
You are getting a connection refused error , it seems like you need to configure a proxy for maven to enable it to use the jboss-eap-repo. Take a look at this Link on how to configure repos. Also I was going through the documentation of the jboss-eap and it seems you have to install this repository manually. Have you done that ?


Muhammad Saif Asif Mirza
OCJA(5/6) OCJP(6) OCJWCD(6)
Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 505
    
    1

Thank you for response!

In ../.m2/settings.xml I have


At this link I have description of all these elements.

Can you tell me where can I see my proxy host,proxy port, user? I am on Windows XP.

Thank you!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven does not resolve dependencies