today I observed that the maven proprties defined in settings.xml overwrite the one in pom.xml.
Because it is only a observation, I am not sure if this is totally correct. So I am looked for the reference or some article but I find no concrete statement about the behaviour of overwriting properties defined with the same name in settings.xml and pom.xml.
Maybe someone can provide a link to the reference part (that I may overlooked) or the a reliable article/blog?
Based on the documentation in my opinion it is clear which one has precedence over the other (excerpt of the docs):
The profiles.xml does not exist anymore in Maven 3 only in Maven 2.2.1 it is supported but shouldn’t be used.