add support for maven spy for maven 3.1.0 only