• Post Reply Bookmark Topic Watch Topic
  • New Topic

Maven/Nexus Question  RSS feed

 
j rab
Greenhorn
Posts: 20
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I deleted my repository under the .m2 folder  to try and make nexus pull down a new one with updated dependencies and now I am unable to build and run projects in eclipse. Does anyone know how to fix this? I done a pull in git on the projects and done a maven update n all projects. I've also ran maven clean and installs on each project. Is there a maven goal that I need in order to get the dependencies again?
 
Tim Cooke
Marshal
Posts: 3873
233
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I expect you need to get Eclipse to refresh it's Maven dependencies. When you say you've done mvn clean install you mean on the command line?
 
j rab
Greenhorn
Posts: 20
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No from within eclipse I just right click and choose run as and select maven clean and than maven install.
 
j rab
Greenhorn
Posts: 20
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On the project.
 
Tim Cooke
Marshal
Posts: 3873
233
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, so what exactly doesn't work?
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37256
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
maven > Update project is what solves this. You might need to restart Eclipse.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!