FYI: You should look for them in the list of reactor project first before
resorting to building a new model. Otherwise subtle effects to do with
order of installation into the maven repository can creep in


On 13 December 2012 11:53, Marcos Mendez <[email protected]> wrote:

> 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 <[email protected]>
> 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: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to