Fix maven setup and upgrade spring security