Difference between revisions of "Maven Force Update"

From CSE231 Wiki
Jump to navigation Jump to search
Line 5: Line 5:
  
 
=Option B: Civil War Surgery=
 
=Option B: Civil War Surgery=
On Mac:
+
==On Mac==
 +
 
 
Close Eclipse
 
Close Eclipse
 +
 
Launch Terminal
 
Launch Terminal
 +
 
mv ~/.m2/repository ~/.m2/dead
 
mv ~/.m2/repository ~/.m2/dead
 +
 
Open Eclipse
 
Open Eclipse
 +
 
Type Alt+F5 (note may need to press function (fn) key to trigger F5)
 
Type Alt+F5 (note may need to press function (fn) key to trigger F5)
 +
 
Project Menu -> Clean...
 
Project Menu -> Clean...
On Windows:
 
  
 +
==On Windows==
 
Close Eclipse
 
Close Eclipse
 +
 
Launch Command Prompt
 
Launch Command Prompt
 +
 
cd .m2
 
cd .m2
 +
 
rename repository dead
 
rename repository dead
 +
 
Open Eclipse
 
Open Eclipse
 +
 
Type Alt+F5 (note may need to press function key to trigger F5)
 
Type Alt+F5 (note may need to press function key to trigger F5)
 +
 
Project Menu -> Clean...
 
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...