Well. figured it out. Thanks. Found a way to get the root module. Then figured out how to load the modules by using the maven project builder.
On Dec 13, 2012, at 6:47 AM, Anders Hammar wrote: > I don't know, but I would look in the source code of some open source maven > plugin that does similar things. Try the javadoc plugin as I believe it has > an aggregate goal. > > /Anders > > > On Thu, Dec 13, 2012 at 11:55 AM, Marcos Mendez <mar...@jitisoft.com> wrote: > >> >> Does anyone know to get children modules as MavenProjects? >> >> I'm building a plugin. I've already created something to find the parent >> project from any child project. Now I want to find a specific project by >> group and artifact ids. So I need to traverse the hierarchy from any child >> module. I can go up, but I need to be able to get the child modules as >> projects and repeat the process recursively. >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org