Re: Converting an Artifact (Aether) to MavenProject

2012-04-01 Thread Asaf Mesika
Hi, Works great! I have the MavenProject, but since I'm running project-less(@requiresProject false), the lazy initialized dependency artifacts are not present. What API should I use to obtain the entire dependency (direct and transitive) for the obtain MavenProject? Thanks! Asaf -- Asaf

Re: Converting an Artifact (Aether) to MavenProject

2012-04-01 Thread Vincent Latombe
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 > Hi, > > I'm writing a Mojo, and I have a question: > > I have a