简体   繁体   中英

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

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.

step by step: 点击这里

点击这里

代码

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. 检查图像

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.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM