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?