removed warnings, a few errors in tests remain, but maven can be called.