Added support for maven 2.x