Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"Update project configuration"

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • 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.
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic