How to do Maven Clean and maven update project in Intellij idea

Viewed 54

I am shifted from eclipse to intellij idea to work with my Spring boot project. there i found only maven clean option, but I am unable to find out how to do maven update. instead there it has maven build option, the build option created .class files. But i need to update only my dependencies.

3 Answers

step by step : click here

click here

code

and your enter : mvn clean update

inside in IntelliJ, instead of Using maven update, we are using the maven install. so that it will install all the dependencies and update the project. CHeck the image

To update the dependency it is enough to update its version in pom.xml and invoke Reload All Maven Projects action in Maven tool window. If dependency is not updated there is some problem.

enter image description here

Related