I heard some time ago that the profiles.xml were removed in Maven3. Although I'mstill using 2.1.0 I want to be prepared for such changes.
IMHO I think it's a bad choice to remove this option.
Maven should provide some sort of way where developers can set/change projectproperties without having to change the pom.xml.
I believe the pom should not contain developer-specific properties and which canor will end up in any scm. Think of datasource-properties.
There are three degrees of properties:
- the global properties (combined with the activeByDefault-profile)
- profile-properties (where profiles cover multiple users. By OS, 'stage')
- personal properties.
These personal properties can only be used with a personal profile. A personalprofile is the best example of data which doesn´t belong in a pom but in aseparate file (and probably not in scm).
Personal properties should be somewhere close to the project, like in the rootof the project (yes, like the profiles.xml).
The both settings.xml is too far from the project and there's no option in the(user's) settings.xml to set project-specific properties.
I think that if there was a vote concerning this issue it might result in a longdiscussion. It's never too late for that, so let's give it a try.
Express yourself instantly with MSN Messenger! Download today it's FREE!