Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Could not resolve dependencies  RSS feed

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I got the following error when I execute commandline "mvn -Dmaven.test.skip=true clean install".


[INFO] ------------------------------------------------------------------------


My pom.xml file is look like this:


Your suggestion is very appreciated.

Thanks
Sam
 
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look in Maven Central for that artifact (http://repo1.maven.org/maven2/org/apache/cxf/apache-cxf/2.4.1/) you will see that there is no JAR file there. If you look in the *.pom file you will see that the packaging type is pom, which means that this is artifact (apache-cxf) is probably just a parent POM. Thus you should remove the apache-cxf dependency.
 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for the suggestion.

I have changed the settings.xml to the one shown as below:



pom.xml of the project is shown as below:



I am still getting the following error:



Thank you in advance for more suggestion.
Thanks
Sam
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked up the missing artifacts in Maven Central? I showed you how to do it for one artifact, you should be able to apply those steps to look up the others.

Also, you should fix the warning regarding the compiler plugin.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!