Java Project with Main function for Spring and Maven