changes so it compiles with maven < 3