maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baptiste MATHUS ...@batmat.net>
Subject Re: Inheritance hierachy of a Maven project ...
Date Sun, 04 Apr 2010 08:28:19 GMT
2010/4/4 Justin Edelson <justinedelson@gmail.com>

> On Apr 3, 2010, at 6:25 PM, Kedar Mhaswade <kedar.mhaswade@gmail.com>
> 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 !

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message