[ http://jira.codehaus.org/browse/MNG-1355?page=all ]
John Casey closed MNG-1355:
---------------------------
Resolution: Fixed
Applied patch, with small logic fix: was comparing parent.getGroupId() to
pom.getArtifactId(), instead of comparing groupId's in the
DefaultModelValidator.
> Infinity Loop in DefaultMavenProjectBuilder.assembleLineage
> -----------------------------------------------------------
>
> Key: MNG-1355
> URL: http://jira.codehaus.org/browse/MNG-1355
> Project: Maven 2
> Type: Bug
> Components: Inheritence and Interpolation
> Versions: 2.0
> Environment: 3 level deep project
> Reporter: Jörg Hohwiller
> Assignee: John Casey
> Fix For: 2.0.1
> Attachments: MNG-1355-maven-project.patch
>
>
> In my open-source project (http://svn.projxperts.com/mmm/trunk/) I get an
> java.lang.StackOverflowError when I can mvn.
> This seems to have something to do with the fact that the toplevel project
> has a subproject, that again has a subproject.
> When I say subproject, I mean that it is declared as module in the parent
> pom.xml and its pom.xml defines the parent.
> java.lang.StackOverflowError
> at java.nio.ByteBuffer.wrap(ByteBuffer.java:373)
> at java.lang.StringCoding$CharsetSE.encode(StringCoding.java:339)
> at java.lang.StringCoding.encode(StringCoding.java:378)
> at java.lang.String.getBytes(String.java:812)
> at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
> at
> java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
> at java.io.File.exists(File.java:702)
> at
> org.apache.maven.profiles.DefaultMavenProfilesBuilder.buildProfiles(DefaultMave
> nProfilesBuilder.java:39)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.loadProjectExternalProfiles
> (DefaultMavenProjectBuilder.java:1016)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMave
> nProjectBuilder.java:826)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMave
> nProjectBuilder.java:963)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMave
> nProjectBuilder.java:963)
> ...
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]