How to force intellij idea to reread/update all dependencies specified in the pom file ?
相关问题
- Configure gradle plugin based on future tasks
- How to make available “open this project in Intell
- Include pom.xml in Jar with gradle
- What order does maven find its dependencies?
- proguard causing EnumMap NPE on dynamically declar
相关文章
- IDEA2020 安装maven 插件后,springboot程序 SpringBootApplic
- pom文件中的插件定义
- pom.xml中的project为何报红
- In IntelliJ IDEA, how can I create a key binding t
- Hibernate Tutorial - Where to put Mapping File?
- IntelliJ IDEA can't open projects or add SDK o
- Cannot use org.jvnet.jax-ws-commons.jaxws-maven-pl
- IntelliJ Subversion Authentication Required Dialog
If you are using version ranges for any dependencies, make sure that IntelliJ is using Maven 3 to import the project. You can find this setting in:
Settings > Maven > Importing > Use Maven3 to import project
. Otherwise you may find that SNAPSHOT versions are not imported correctly.The leftmost button (blue cycle) below also reimports all maven projects:
Press Ctrl+Shift+A to find actions, and input "reimport", you will find the "Reimport All Maven Projects".
On a Mac, use ⌘+⇧+A instead.
If the reimport does not work (i.e. doesn't remove old versions of dependencies after a pom update), there is one more chance:
For IntelliJ IDEA 14.0
Project > [your project name] > right click > Maven > Reimport
Open the "Maven Projects" tab/window and clicking the "Reimport All Maven Projects" in the upper left corner starts to reload all dependencies from their repositories. The status bar informs about the process.
What lets you think that this is not working correctly? Maybe any of the dependencies can't be load from the repository?