Do you need the default-profile? If not, remove the tag 'activateByDefault'.
Or you can try setting it to run when your property is NOT set/a certain value is NOT set: <property> <name>!property</name> </property> or <property> <name>property</name> <value>!value</value> </property> On Wednesday 14 November 2007 23:29, Aaron Zeckoski wrote: > Yes... I did that. This is not a newbie question (though I wish it > were). The default profile is still running unless I do something like > "mvn install -Pkernel" > > Here are the poms: > Parent: https://source.sakaiproject.org/contrib/caret/kernel/pom.xml > (this sets a property) > Project: https://source.sakaiproject.org/contrib/caret/kernel/alias/pom.xml > (this one has the default profile getting activated even though > another profile is activated via a property) > > So, the question is, how do I get the same effect as running "mvn > install -Pkernel" (which is to not run the default profile anymore and > only run the profile that I wanted)? > > -AZ > > On Nov 14, 2007 5:40 PM, Roland Asmann <[EMAIL PROTECTED]> wrote: > > Check the profile-documentation and use the property-activation. > > > > On Wednesday 14 November 2007 18:02, Aaron Zeckoski wrote: > > > I need to be able to trigger a specific profile WITHOUT executing the > > > default profile AND without having to use the -P command line option. > > > Ideally I want to trigger it using some setting in a POM file but any > > > method where the user who is building the code can still type "mvn > > > clean build" is fine. > > > > > > Can anyone help? > > > Thanks > > > -AZ > > > > -- > > Roland Asmann > > > > CFC Informationssysteme Entwicklungsgesellschaft m.b.H > > Bäckerstrasse 1/2/7 > > A-1010 Wien > > FN 266155f, Handelsgericht Wien > > > > Tel.: +43/1/513 88 77 - 27 > > Fax.: +43/1/513 88 62 > > Email: [EMAIL PROTECTED] > > Web: www.cfc.at > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] -- Roland Asmann CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien Tel.: +43/1/513 88 77 - 27 Fax.: +43/1/513 88 62 Email: [EMAIL PROTECTED] Web: www.cfc.at --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
