• 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:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Could not resolve dependencies

 
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
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
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!