Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-beta-3
-
Fix Version/s: 3.0
-
Component/s: Inheritance and Interpolation
-
Labels:None
-
Environment:JDK 6u21, Ubuntu
-
Complexity:Intermediate
-
Number of attachments :
Description
Actual:
$ mvn -f .../mojo-archetypes/ear-javaee6/src/main/resources/archetype-resources/pom.xml versions:help
...
[ERROR] Resolving expression: '${version}': Detected the following recursive expression cycle: [version] -> [Help 2]
[ERROR] Resolving expression: '${artifactId}': Detected the following recursive expression cycle: [artifactId, version] -> [Help 2]
[ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId, artifactId, version] -> [Help 2]
...
Expected:
...
[ERROR] Resolving expression: '${version}': Detected the following recursive expression cycle: [version] -> [Help 2]
[ERROR] Resolving expression: '${artifactId}': Detected the following recursive expression cycle: [artifactId] -> [Help 2]
[ERROR] Resolving expression: '${groupId}': Detected the following recursive expression cycle: [groupId] -> [Help 2]
...
PLXCOMP-159 is responsible (confirmed by substituting patched JAR). I am not positive but I believe this is also the cause of a critical (if sporadic) error in the NetBeans embedder, starting to appear I think when RC1 was integrated (maybe RC2): https://netbeans.org/bugzilla/show_bug.cgi?id=190530
PLXCOMP-158 is also related.
Please consider producing a new release of plexus-interpolation containing these two patches and using it in Maven 3.0 RC3.
Issue Links
- depends upon
-
PLXCOMP-158
[plexus-interpolation] Meaningless message printed for cycles from PrefixAwareRecursionInterceptor
-
-
PLXCOMP-159
[plexus-interpolation] Failure to reset recursion interceptor state after error in interpolator
-
Fixed in r1000611.