Fixed maven warnings.