You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Knuth (JIRA)" <ji...@codehaus.org> on 2007/02/02 16:13:44 UTC

[jira] Commented: (MNG-2745) Do not allow System properties to be interpolated in the POM

    [ http://jira.codehaus.org/browse/MNG-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86649 ] 

Andreas Knuth commented on MNG-2745:
------------------------------------

* Are there any workarounds ?
* Which XML Library is meant to be ?
* How does this library do this ?

This problem occurs e.g. using cargo-core-containers-0.8.pom !

> Do not allow System properties to be interpolated in the POM
> ------------------------------------------------------------
>
>                 Key: MNG-2745
>                 URL: http://jira.codehaus.org/browse/MNG-2745
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: Windows using JDK 1.4.2
>            Reporter: Jason van Zyl
>         Assigned To: Jason van Zyl
>             Fix For: 2.1.x
>
>
> There is an XML library which is inserting a property version=2.4.1 and it is completely screwing up the interpolation of ${version} in any POM. 
> 1) We should force fully qualified references anyway so ${pom.version} and not allow ${version}
> 2) Totally shut out System properties from all internal operations. We can still take -D from the command line and turn them into execution properties but we should just ignore all Sytem properties in the core.

-- 
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