Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Incomplete
-
Documentation Deficit
-
None
-
None
Description
According to the "Getting Started Guide", section "How do I filter resource files?", properties may be defined at different locations:
[quote]
"The property can be one of the values defined in your pom.xml, a value defined in the user's settings.xml, a property defined in an external properties file, or a system property."
[/quote]
However, the guide doesn't state explicitely the order in which these locations are evaluated.
So, if I have different values for the same property specified in my pom.xml and an external properties file, which value will I get in my filtered resource?
According to my own findings, the different locations seem to be already listed in order of precedence above (with lowest precedence for the pom.xml and highest for system properties). Would be nice to see that stated explicitely, to avoid trial and error testing!
Thanks!