Fix maven errors