maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Wanting to supply a profile only to top-level users of a parent
Date Wed, 20 Jan 2010 15:41:27 GMT
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


Mime
View raw message