Maven dependencies are not getting updated automatically after taking the latest version from TFS.

The Project has a red color mark and pom.xml file shows (x) mark.

Please let me know how to resolve this issue and update maven dependencies.

maven java project

  • 1
    I have no idea what "TFS" is. Your screenshot doesn't show anything relevant that I can tell. If you hover your mouse cursor over the pom.xml in the package explorer, it should show a balloon tip telling you what the problem is. That information would be helpful in diagnosing your problem. Dec 5, 2018 at 20:51
  • @BillHileman TFS is a SVM called Team Foundation Server. With such a non-descriptive name, it is, you guessed it, a Microsoft product.
    – corsiKa
    Dec 6, 2018 at 2:08
  • Check that you have properly configured maven (repositories are configured correctly). When you download a project it just have pom.xml. You should have maven configured locally (either as a part of eclipse or as a standalone build)
    – Alexey R.
    Dec 6, 2018 at 7:27
  • you can delete the whole Project and Pull again from git or tfs u have to delete workspace too in your system
    – John snow
    Dec 6, 2018 at 8:31

1 Answer 1


First of all, let me tell you that I am not familiar with TFS in particular but I am assuming it is similar to Git or any other Version Control system. Also, I am taking the liberty of assuming that this issue is not due to an error in your POM xml.

First, you can try force updating the Project by using the option in Eclipse. Right click on the Project > Maven > Update Project.

Eclipse - Maven - Update Project

If that doesn't fix the error, You may go and manually delete the local maven repository and then follow the above process. Remember to backup maven repo or any files before deleting so that you can revert back to the previous state if that doesn't work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.