Fixing maven warnings