Hello, once resolved, get the File using org.sonatype.aether.artifact.Artifact#getFile
then use org.apache.maven.project.ProjectBuilder#build(File, ProjectBuildingRequest) to get the MavenProject. Vincent 2012/4/1 Asaf Mesika <asaf.mes...@gmail.com> > Hi, > > I'm writing a Mojo, and I have a question: > > I have a piece of code which resolves an Aether Artifact based on its GAV > string, from specific repository defined programmatic. > > Once I have the "org.sonatype.aether.artifact.Artifact" at hand - how do I > convert it to a MavenProject or any other pojo which enables me to > interrogate it's pom: > Get a list of its dependencies and transitive dependencies, its SCM info, > etc? > > It's worth noting my mojo is running with @requiresProject false > > > Thanks! > > Asaf >