IntelliJ 2017.2.4 does not update Snapshots from Artifactory

Answered

As one Dependancy is under constant development, we decided to use it as a SNAPSHOT release. With maven, this is working fine. However, IntelliJ does not recognize updates:

  • i can compile with maven and the dependency is updated
  • In IntelliJ, under the module settings, there is still the old version (say, my-dependency-ver1.jar)
  • the dependency can be manually updated if I edit the POM file and, for example, switch the version from 1.1-SNAPSHOT to 1.1 and back.

Is there a way to make this less annoying and error-prone?

0
4 comments

Does it help if you click the reimport maven projects button in the maven projects tool window?

0
Avatar
Permanently deleted user

Yes, it does update the dependency. This is way simpler. However, it is still error prone, as it's quite normal for colleagues not to know that there exists an update.

0

Does it help if you enable the Import Maven projects automatically option? See https://www.jetbrains.com/help/idea/maven-importing.html.

0
Avatar
Permanently deleted user

The option is already enabled.

0

Please sign in to leave a comment.