2010/4/4 Justin Edelson <[email protected]> > On Apr 3, 2010, at 6:25 PM, Kedar Mhaswade <[email protected]> > wrote: > > > Is it reasonable to expect mvn help:effective-pom to return the > > hierarchy of > > a POM (e.g. project-a -> parent-a -> parent-b -> super-POM)? > > No. The parent of the effective pom is the same as the parent of the > declared pom. > > > It does not > > seem to be doing it as of 2.2.1. Is there another way to know the > > inheritance hierarchy of a project? > > Aside from looking at it? Not that I know of. You should have all the > ancestors in your local repo. I seem to remember m2eclipse having an > 'Open Parent' feature in the POM editor, but this got replaced with an > effective pom viewer at some point AFAIK. > > Well, I'm not sure for the 0.10.0 version, but I think it wasn' replaced: you have both (two different buttons). You can open the parent, and so on. Or just see the effective pom.
Cheers. -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
