Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0-beta-3
-
None
Description
This simple POM
<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>
causes the following model errors:
[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
Note the excessive repetition of the groupId related cycle although this expression actually appears only once in the POM.