I have an interesting situation where we have one test project
that wants its parent to be an external project pom.
I don't want that, because it means I can't have it inherit from a common
parent we have described locally.
I.e. let X be the external pom, L be the local parent, and T be the
test project.
What I want is:
(X+L) -> T
What I have is:
X -> T
or
L -> T
neither of which works for us.
So, is there any way to inject the contents of X into T while
retaining L as T's parent?
I have considered the following solutions:
I. make X the parent of my entire project. This is undesirable
because I would inherit
X's dependencies in all projects, along with various other
properties unrelated to our
project (<developers/>, <scm/>, etc).
II. duplicate L to L', and inherit X in L'. This is undesirable
because I would
be duplicating common definitions, which is error prone and
would require additional
training and maintenance.
III. inherit L in L', duplicate selections from X in L', and inherit
L' in T. This is
probably the most workable solution, but would cause some pain
whenever we have to update
X.
IV. an automated version of III, that would create a new project
installing L' before T
is executed.
Has anyone else encountered this problem, or have other ideas?
tia,
-Russ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]