You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Benson Margulies <bi...@gmail.com> on 2010/01/20 16:41:27 UTC

Wanting to supply a profile only to top-level users of a parent

Here's the structure I'm trying to construct:

1: corporate parent

2: project toplevel (has modules)
3: individuals

There are many instances of #2, and many, many, instance of #3.

I have some complex POM content that I want to abstract from the #2
POMs into the #1 POM. Problem is, if I define a profile in the
corporate parent, everybody, down to level 3, gets it. If I set it
<inherited>false</inherited>, nobody gets it.

Is there a solution to this? If I set its activation to look for a
property which I set to true in all the #2 projects and false in the
#3 projects, is that going to work?

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