Fixed maven compilation errors