|
[
Permalink
| « Hide
]
John Casey added a comment - 20/Apr/06 05:19 PM
Assuming the activeProfiles section is only there to activate profiles that you've provided, how would you expect this to act?
The actual profiles are defined in the pom.xml files (= best practice for environment settings - see http://maven.apache.org/guides/introduction/introduction-to-profiles.html
To activate one of these profiles without always having to add a -P foobar option on the command line, it makes perfect sense to have this profile activation in the user's settings.xml. And it really works. But only when there is a dummy profile in the settings.xml file. I have the same problem with 2.0.7 and it would be great if this problem would be fixed in 2.0.8.
After chatting with John, we can turn this on because a proposal is forth coming that will limit downstream profile activation to os, jdk, and activeByDefault. Everything else should be ignored. So we can let users turn on profiles in their settings but this begs the question, what is not being triggered by default in the project you're working on?
It seems to be a duplicate of http://jira.codehaus.org/browse/MNG-3051
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||