Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337355 - Changing settings.xml not taken into account
Summary: Changing settings.xml not taken into account
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 15:26 EST by Pascal Rapicault CLA
Modified: 2021-04-19 13:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2011-02-16 15:26:40 EST
Steps to reproduce:
- Fire up eclipse
- Import the following project org.eclipse.m2e.tests/projects/lifecyclemapping/lifecycleMappingMetadata/PluginExecutionActionsTest/testMojoExecutionErrorWithMessage
- Notice the error
- change the settings.xml to be the one in org.eclipse.m2e.tests/settings.xml
- Go back to the project, you will notice that the error is still there and still referring to RSO. I have tried to clean, the project and the error does not work. the only way to get rid of the error is to delete the project and reimport it.

When I point to a different settings.xml I would expect things to be rebuilt automatically or at least don't want to have to delete and import to get rid of an error
Comment 1 Igor Fedorenko CLA 2011-02-16 16:13:25 EST
Can you check if (right-click)->Maven->UpdateDependencies makes the problem go away?
Comment 2 Pascal Rapicault CLA 2011-02-16 16:19:29 EST
Yes, doing update dependencies make it go away. Should we prompt the user when the settings.xml is changed?
Comment 3 Igor Fedorenko CLA 2011-02-16 17:22:49 EST
Changes to settings.xml can change everything. Ideally, we need to completely re-resolve all dependencies and update configuration of all projects. Again ideally, we also need to monitor out-of-workspace changes to settings.xml and do the same complete update of everything.
Comment 4 Igor Fedorenko CLA 2011-09-13 21:40:44 EDT
As explained in comment 3, automatically and correctly reflecting changes to settings.xml is not practically possible.
Comment 5 Denis Roy CLA 2021-04-19 13:26:31 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/