modules/pom.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
New commits: commit 1b03621cccec1f55400611b67f29e3e5322c2053 Author: Jay Shaughnessy jshaughn@redhat.com Date: Tue Dec 14 09:45:17 2010 -0500
A while back the default profile's activation was changed to be active if java.home is defined. The problem with that approach is that the java.home property is typically defined, so default modules are always activated. This causes duplicate module decls when trying to use many other profiles, or minimally adds the default modules when they are not wanted.
So, changing back. this may cause an issue for intellij maven plugin users (as per the original commit comment)
Also, changed "model" profile to "coregui" profile. -Pcoregui will build just CoreGui and its deps (domain,server jar), from the top level.
diff --git a/modules/pom.xml b/modules/pom.xml index 231804e..35040d3 100644 --- a/modules/pom.xml +++ b/modules/pom.xml @@ -29,9 +29,15 @@ <profile> <id>default</id> <activation> + <activeByDefault>true</activeByDefault> + <!-- The problem with the below approach is that the default modules are + always activated. This causes duplicate module decls when trying to use other + profiles, or adds the default modules when they are not wanted. + <property> - <name>java.home</name> + <name>java.home</name> </property> + --> </activation> <modules> <module>core</module> @@ -73,10 +79,10 @@ </profile>
<profile> - <id>model</id> + <id>coregui</id> <activation> <property> - <name>model</name> + <name>coregui</name> </property> </activation> <modules>
rhq-commits@lists.fedorahosted.org