Switched to default Java 1.7 and Alfresco version 4.2.3.3. 
Added a new refresh goal which empties Share cache in 4.2.