Re: Building a limited set of modules based on pom (or somehow)?

2007-11-13 Thread Aaron Zeckoski
I am running into an issue. The default profile seems to run even though the property is specified to cause it not to. On the other hand, if I run the command like this then everything works fine: mvn clean install -Pkernel Unfortunately, this does not meet the needs of the users which will be bui

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-09 Thread Roland Asmann
OK, so I checked out the sources and re-read your mails a couple of times. My first suggestion still sounds the most workable solution to your problem, although I do want to stress that having the parent-POM variable is very unstable and error-prone. To be able to activate more profiles, you pr

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-09 Thread Aaron Zeckoski
I think the one thing that would help me to work around the build problems we are having would be to simply be able to cause a profile to be activated (which is not the default profile) without requiring the user who is building it to put in a command line parameter of -PprofileId. In fact, even mo

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-08 Thread Roland Asmann
I'm not really sure if I completely understand what you want. I'll check your project out tomorrow at work (have no SVN here) and try and see if I can figure out what you exactly want and how best to solve this. > On Nov 8, 2007 12:43 PM, Roland Asmann <[EMAIL PROTECTED]> wrote: >> Correct me if

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-08 Thread Aaron Zeckoski
On Nov 8, 2007 12:43 PM, Roland Asmann <[EMAIL PROTECTED]> wrote: > Correct me if I'm wrong, but you are changing the parent-pom in you projects?? > Doesn't sound like very stable development to me... That is correct and you are right, it is not very stable. This is why I am looking for a better o

Re: Building a limited set of modules based on pom (or somehow)?

2007-11-08 Thread Roland Asmann
Correct me if I'm wrong, but you are changing the parent-pom in you projects?? Doesn't sound like very stable development to me... Anyway, there is a way to activate profiles based on parent-POMs, it's just not a very obvious one... If you set your profiles to be activated when a specific propert

Building a limited set of modules based on pom (or somehow)?

2007-11-08 Thread Aaron Zeckoski
I am trying to build a limited set of modules based on the parent pom file being used. I tried using profiles but there does not seem to be a way to trigger a profile based on the parent POM. Here is the scenario I am trying to figure out. I have a project base POM which has a number of modules. I