Hello, I know that profiles get discussed here all the time, but I just wanted to confirm that the feature I want really doesn't exist. I want to create two mutually-exclusive profiles. To build the project successfully, you must activate one of these profiles. Therefore they should be in the pom.xml, not the settings.xml. They are not activated by interrogating the environment; you must specify one. But it's annoying to give a profile every time you run maven. And new developers might not even know that specifying a profile is required. So is there a way to make one the default? Even better, can the project "come with" a default?
I tried using <activeProfiles> in my settings.xml, but that doesn't work, because <activeProfiles> only applies to profiles defined in settings.xml, but my profiles are defined in pom.xml. But even if that solution worked, it wouldn't be that great, because I want to give developers a default as part of their checkout. They shouldn't have to create the default themselves. Does maven give me any way to do what I want? This seems like such a basic and obvious requirement. Thanks, Paul -- View this message in context: http://www.nabble.com/Project-wide-default-profile--tf3059791s177.html#a8508102 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
