You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2007/09/07 09:43:11 UTC
[jira] Updated: (MNG-3063) Document precedence for filter property
locations
[ http://jira.codehaus.org/browse/MNG-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Odea Ching updated MNG-3063:
----------------------------------
Fix Version/s: Documentation Deficit
> Document precedence for filter property locations
> -------------------------------------------------
>
> Key: MNG-3063
> URL: http://jira.codehaus.org/browse/MNG-3063
> Project: Maven 2
> Issue Type: Improvement
> Components: Documentation: Guides
> Affects Versions: Documentation Deficit
> Reporter: Florian Kirchmeir
> Priority: Trivial
> Fix For: Documentation Deficit
>
>
> 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!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira