Fix maven warnings.