You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/09/23 22:07:34 UTC
[jira] Closed: (MNG-4837) Interpolation error due to cyclic
expression for one of the POM coordinates gets needlessly repeated
[ http://jira.codehaus.org/browse/MNG-4837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4837.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0
Assignee: Benjamin Bentmann
Fixed in [r1000601|http://svn.apache.org/viewvc?view=revision&revision=1000601].
> Interpolation error due to cyclic expression for one of the POM coordinates gets needlessly repeated
> ----------------------------------------------------------------------------------------------------
>
> Key: MNG-4837
> URL: http://jira.codehaus.org/browse/MNG-4837
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 3.0-beta-3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Minor
> Fix For: 3.0
>
>
> This simple POM
> {code:xml}
> <project>
> <modelVersion>4.0.0</modelVersion>
> <groupId>${groupId}</groupId>
> <artifactId>test</artifactId>
> <version>0.1</version>
> <packaging>jar</packaging>
> <distributionManagement>
> <repository>
> <id>maven-core-it</id>
> <url>file:///${basedir}/repo</url>
> </repository>
> </distributionManagement>
> </project>
> {code}
> causes the following model errors:
> {noformat}
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
> [ERROR] 'groupId' with value '${groupId}' does not match a valid id pattern. @ line 25, column 12
> {noformat}
> Note the excessive repetition of the groupId related cycle although this expression actually appears only once in the POM.
--
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