Maven 2 & 3

Passing Maven classpath to a ant mojo not working