• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Could not resolve dependencies

 
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic