• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why is Eclipse/Maven project not picking up the values from settings.xml?

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have saved the configuration at the bottom in c:\users\<username>\.m2\settings.xml but pom.xml created as part of Maven Project in Eclipse is not picking up the values. The effective POM still has



And what should be the http://ebr.springsource.com/respository equivalent of



settings.xml
--------------
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) If you run mvn from the command line, is settings.xml being included correctly?

2) In Eclipse, what is shown in Windows | Preferences | Maven | User Settings? (Also, try clicking Update Settings in the same dialog.)
 
Bartender
Posts: 1051
5
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to point Eclipse at your settings file as Peter has indicated in point 2 above.
 
Rajkumar Masanaiyan
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Peter Johnson wrote:1) If you run mvn from the command line, is settings.xml being included correctly?

2) In Eclipse, what is shown in Windows | Preferences | Maven | User Settings? (Also, try clicking Update Settings in the same dialog.)



Thank you James & Peter. The settings are being picked up but I think the tags are wrong.
 
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
What "tags"?
 
reply
    Bookmark Topic Watch Topic
  • New Topic