parent pom = child pom results in stack overflow error
------------------------------------------------------

         Key: MNG-1644
         URL: http://jira.codehaus.org/browse/MNG-1644
     Project: Maven 2
        Type: Improvement
    Versions: 2.0    
    Reporter: Jorg Heymans


Though it's a stupid thing to do, if you define 

<project>
  <parent>
    <groupId>excalibur</groupId>
    <artifactId>excalibur</artifactId>
    <version>1.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>excalibur</groupId>
  <artifactId>excalibur</artifactId>
  <version>1.0</version>
  <name>Excalibur Components</name>
  <packaging>pom</packaging>
  <modules>
 .. ...

</project>

you get : 

d:\src\excalibur-trunk>mvn
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] null
[INFO] 
----------------------------------------------------------------------------
[INFO] Trace
java.lang.StackOverflowError
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Nov 21 18:29:03 CET 2005
[INFO] Final Memory: 1M/4M
[INFO] 
----------------------------------------------------------------------------


A better error message would be nice here.

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

Reply via email to