Search code examples
javamavenbuild

How to update Maven version?


I have Maven 3.5.4 and it's probably not the latest, because I'm having problem when I'm trying to build "mvn clean install" my project.

So my question is how do I update Maven to the latest version?

Nowhere in the internet I found an answer to this simple question!

And why in IDE (IntelliJ Idea) I can build my project, but in CMD I can't? Do they have different Maven versions?


Solution

  • First question

    You should manually download the latest version fron Official web site and use it as a standalone application.

    Second question

    IntelliJ uses its own maven release.