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

"Update project configuration"

 
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Eclipse, M2E, there is the option of right clicking your maven project and selecting: "Update Project Configuration"? What does this mean in terms of your filesystem?

- Does your POM get updated?
- Does your .project get updated?
- Do plugin setting in your .settings get updated?

Need *exact* meaning.
Thanks.
 
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
- no
- no
- yes

What I have seen is that m2e rereads the pom.xml looking up dependencies and then updating options in the .setttings and updating the .classpath with possibly updated JAR files. But this is just what I have observed with my projects. Depending on what is configured in pom.xml, there might be additional changes.

In general, this menu option gives m2e a chance to refresh the Eclipse-specific configuration to conform better with the pom.xml.

By the way, if you want a "exact" answer, get a directory and file diff/sync app. Make a copy of your project then click the menu item and then compare the old to the new. Or place your project under version control and after clicking the menu item, do a commit and let the commit dialog show you the differences (that is how I found out what it does).
 
Of course, I found a very beautiful couch. Definitely. And this 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