fixed maven 3 support