Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e 1.6 M6 to enable automatic update project configuration

Hi,

> we have decided to turn the workspace preference on by 
> default (Preferences > Maven > Automatically update Maven projects 
> configuration (experimental))

Does this automatically update only the Maven dependencies in memory?
Or does it also automatically modify the project's .classpath file on 
disk?

In the latter case, I would like to ask for an option to not update/change
the .classpath files. Like the option
  project > (popup menu) > Maven > Update Project...
  > Update project configuration from pom.xml
allows to avoid modifying .classpath files.

Rationale: In my team, developers frequently have local modifications of
the .classpath files, for various reasons:
  - To allow Eclipse navigation from project to project, rather than
    from project to maven snapshot. Different team members tweak/optimize
    their .classpath files differently.
  - To work around inconsistencies between the m2e generated .classpath
    file and the pom.xml file. See
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=431578

Best regards,
----------------------------------------------------------------------------
Bruno Haible                            Email: <bruno.haible@xxxxxxxxxx>
IBM Deutschland
Wilhelm-Fay-Straße 30-34
65936 Frankfurt am Main
Germany
----------------------------------------------------------------------------
IBM Deutschland Research & Development GmbH
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294



Back to the top