fix maven compilation issues