Make plugin Maven 3.1.x friendly

But this means it became unusable in
older Mavens like 3.0.x