This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark ""Update project configuration"" Watch ""Update project configuration"" New topic
Author

"Update project configuration"

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
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

Joined: May 14, 2008
Posts: 5812
    
    7

- 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).


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Update project configuration"
 
Similar Threads
Getting latest code from CVS
J2EE application in production environment
In CMT when does a transaction actually commit
how to implement MVC?
Configuration settings