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...")
 
Line 5: Line 5:
  
 
=Option B: Civil War Surgery=
 
=Option B: Civil War Surgery=
[https://www.cse.wustl.edu/~cosgroved/courses/cse231/s17/maven/]
+
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...

Revision as of 09:57, 18 January 2018

Option A: Force Update

MavenUpdateProjectA.png

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... 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...