Hi Wensheng,

maven build of SVN head shows the same problem for me (mvn clean). To my
knowledge castor-xml should not depend on castor-codegen. In pom.xml of
castor-xml there is no direct dependency on castor-codegen but there may
be an indirect dependency through maven plugin related to code
generation for mapping.xsd. I'm not sure what's the best point to break
this cycle but my feeling is that we should depend on a final version of
maven plugin which then depends on a released version of castor-codegen.

As Werner is most familiar with the maven build stuff we have to wait
for him to comment on this. In the meantime I suggest you to create a
new issue in jira and attach your proposed patch/workaround to it.

Regards
Ralf

Am 22.03.2011 07:10, schrieb 窦文生:
> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email


-- 

Syscon Ingenieurbüro für Me?- und Datentechnik GmbH
Ralf Joachim
Raiffeisenstra?e 11
72127 Kusterdingen
Germany

Tel.   +49 7071 3690 52
Mobil: +49 173 9630135
Fax    +49 7071 3690 98

Internet: www.syscon.eu
E-Mail: ralf.joac...@syscon.eu

Sitz der Gesellschaft: D-72127 Kusterdingen
Registereintrag: Amtsgericht Stuttgart, HRB 382295
Gescha"ftsleitung: Jens Joachim, Ralf Joachim

Reply via email to