I have tried to resolve artifact as described in mojo dev cook
bookhttp://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook#MojoDeveloperCookbook-Creatingandresolvinganartifact.
org.apache.maven.artifact.resolver.ArtifactResolver class is missing in the
latest maven-artifact plug-in.
Since Maven3 this class is available in the maven-compat component:
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.maven%22%20AND%20a%3A%22maven-compat%22
Note that plugins compiled against the old maven-artifact component should
still work with Maven3 (it gets translated