Hi, I have downloaded the Castor source code from SVN [1]. When I built Castor with Maven, I got a ‘failed building’, and the error message was “The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='org.codehaus.castor:castor-codegen'}' and 'Vertex{label='org.codehaus.castor:castor-xml'}' introduces to cycle in the graph org.codehaus.castor:castor-xml --> org.codehaus.castor:castor-codegen --> org.codehaus.castor:castor-xml”. I compared the current version and previous version in the SVN, and made a small patch (seeing attachment) to repair this building error. Because I have not understood the whole Castor project yet, the small patch may be not right, but the Maven ‘compile’ command passed at least.
[1] http://svn.codehaus.org/castor/castor/trunk Best regards, Wensheng Dou
Index: pom.xml =================================================================== --- pom.xml (revision 8829) +++ pom.xml (working copy) @@ -114,13 +114,6 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>castor-maven-plugin</artifactId> <version>2.0</version> - <dependencies> - <dependency> - <groupId>org.codehaus.castor</groupId> - <artifactId>castor-codegen</artifactId> - <version>1.3.1</version> - </dependency> - </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId>
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email