Fixing maven compilation