Incorrect recursive expression cycle errors (update plexus-interpolation)
-------------------------------------------------------------------------

                 Key: MNG-4836
                 URL: http://jira.codehaus.org/browse/MNG-4836
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Inheritance and Interpolation
    Affects Versions: 3.0-beta-3
         Environment: JDK 6u21, Ubuntu
            Reporter: Jesse Glick


Actual:

{noformat}
$ 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]
...
{noformat}

Expected:

{noformat}
...
[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]
...
{noformat}

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.

-- 
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

        

Reply via email to