Difference between revisions of "Maven Force Update"

From CSE231 Wiki
Jump to navigation Jump to search
(Created page with "=Option A: Force Update= File:MavenUpdateProjectA.png File:MavenUpdateProjectB.png =Option B: Civil War Surgery= [https://www.cse.wustl.edu/~cosgroved/courses/cse231...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
=Option A: Force Update=
 
=Option A: Force Update=
[[File:MavenUpdateProjectA.png]]
+
*Right-click project
 +
*Hover over "Maven"
 +
*Click on "Update Project"
  
[[File:MavenUpdateProjectB.png]]
+
=Option B: Civil War Surgery=
 +
===On Mac===
 +
*Close Eclipse
 +
*Launch Terminal
 +
*mv ~/.m2/repository ~/.m2/dead
 +
*Open Eclipse
 +
*Type Alt+F5 (note may need to press function (fn) key to trigger F5)
 +
*Project Menu -> Clean...
  
=Option B: Civil War Surgery=
+
===On Windows===
[https://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/maven/]
+
*Close Eclipse
 +
*Launch Command Prompt
 +
*cd .m2
 +
*rename repository dead
 +
*Open Eclipse
 +
*Type Alt+F5 (note may need to press function key to trigger F5)
 +
*Project Menu -> Clean...

Latest revision as of 04:41, 31 December 2022

Option A: Force Update

  • Right-click project
  • Hover over "Maven"
  • Click on "Update Project"

Option B: Civil War Surgery

On Mac

  • Close Eclipse
  • Launch Terminal
  • mv ~/.m2/repository ~/.m2/dead
  • Open Eclipse
  • Type Alt+F5 (note may need to press function (fn) key to trigger F5)
  • Project Menu -> Clean...

On Windows

  • Close Eclipse
  • Launch Command Prompt
  • cd .m2
  • rename repository dead
  • Open Eclipse
  • Type Alt+F5 (note may need to press function key to trigger F5)
  • Project Menu -> Clean...