Changing pom.xml doesn't update libraries in Eclipse
30,603
Solution 1
You need to update the project configuration manually. Project -> Maven -> Update Configuration
Update: Also set checkbox: Update Project Configuration from pom
Solution 2
Right-click on any project in the package explorer then select Maven. In maven select Update Project. or simply Alt + F5
Comments
-
Trick almost 2 years
I have pom.xml like this:
... <properties> <spring.version>3.0.5.RELEASE</spring.version> </properties> <dependencies> <!-- Spring 3 dependencies --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> <version>${spring.version}</version> </dependency> ...
When I change
spring.version
into 3.2.2.RELEASE, nothing happens. I still have 3.0.5.RELEASE under Libraries build path.I am using Eclipse Indigo SR2 with m2eclipse.
EDIT: Please mind, I am a newbie in maven world.