maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: antrun plugin dependency disappearance
Date Tue, 02 Feb 2010 13:01:26 GMT
Just for the record, the structure here is a bit on the baroque side.

I have a set of top level projects. Each one inherits from a common
top-level parents.

The projects inside them do not inherit from their corresponding
top-level parent, the inherit from a different global parent.

Why? Because I have an antrun execution that has to happen in the
toplevel projects, and only in the toplevel projects. Thus, I can't
let the leaves inherit from the toplevel parent.

If there is some way to condition an execution so that it only runs in
the top project, I could make this a lot simpler.

   global-parent                             global-top-level-parent
          |                                                 |
          |                                             top-level-1
          |                                              |    |      |
          ------------------------------------------leaf1 ....

The leaves parent from global-parent, the top levels parent from the
global-top-level-parent.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message