You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 14:06:19 UTC
[jira] Closed: (MNG-2659) possible to create an infinite loop in
processing a POM
[ http://jira.codehaus.org/browse/MNG-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter closed MNG-2659.
-----------------------------
Resolution: Duplicate
Fix Version/s: (was: Reviewed Pending Version Assignment)
> possible to create an infinite loop in processing a POM
> -------------------------------------------------------
>
> Key: MNG-2659
> URL: http://jira.codehaus.org/browse/MNG-2659
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 2.0.4
> Reporter: Brett Porter
>
> If you define a property like this:
> {code:xml}
> <properties>
> <http.port>${http.port}</http.port>
> </properties>
> {code}
> The interpolator *correctly* identifies that this will cause a loop and throws an Exception.
> However, if you define it with some indirection, eg:
> {code:xml}
> <properties>
> <http.port>${foo}</http.port>
> <foo>${http.port}</foo>
> </properties>
> {code}
> This causes an infinite loop, where it should be detected and the same exception thrown as above.
--
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