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 Priority: Minor 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