Hi, How can I use maven embeddder to resolve dependencies from a a maven Model object ?
My goal is to retrieve all dependencies declared by a mavenProject plugin. I've created the Artifact based on mavenProject.getPlugin, resolved it to get it's pom in localrepository, then used embedder.readModel() to get it as a new maven Model. The best candidate method seems to be readProjectWithDependencies, is this the right way ? In such case, what is the simpliest way to create a new MavenExecutionRequest from a Model object ? How to retrieve the resolved dependencies ? Nicolas
