Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update version of Maven within Eclipse?

Within Eclipse, If I click on Window > Preferences > Maven > Installations, I see my Maven version is 3.3.3. How would dI update that to version 3.3.9, which is the most recent version? If I can't do that, aside from downloading a newer version of Eclipse, is there any way to update the version of Maven that the project uses? Thanks!

like image 203
kroe761 Avatar asked Feb 24 '16 16:02

kroe761


People also ask

How do I upgrade to Maven latest version?

If you want to upgrade to a newer version of Maven, you need to download it from Maven's site, or use a package manager such as apt , or whatever your distribution uses.

What version of Maven Do I have Eclipse?

To check maven plugin version in eclipse: Click Window –> Preferences –> Maven –> Installation . It will show you installation window with Maven version.

What is mvn Eclipse Eclipse command?

You can use Maven to set up the files needed for eclipse: mvn eclipse:eclipse. This will produce the following files for each module: . classpath file.


1 Answers

You can't update the Maven installation that is embedded inside Eclipse, but you can configure it to use an external Maven installation of your choice.

If you go to "Window > Preferences > Maven > Installations", you can click "Add..." and point to an external Maven installation. From there, you can select an installation of Maven 3.3.9, and select it as the default Maven to use for M2Eclipse.

like image 166
Tunaki Avatar answered Oct 19 '22 07:10

Tunaki