title: How to update Maven version?
body: <p>I have Maven 3.5.4 and it's probably not the latest, because I'm having problem when I'm trying to build &quot;mvn clean install&quot; my project.</p>
  <p>So my question is how do I update Maven to the latest version?</p>
  <p>Nowhere in the internet I found an answer to this simple question!</p>
  <p>And why in IDE (IntelliJ Idea) I can build my project, but in CMD I can't? Do they have different Maven versions?</p>