got rid of java and maven warnings