You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by _MS_ <ma...@gisdata.com> on 2009/10/15 00:11:44 UTC

[jira] Multi-module cyclic reference issue

I have following project structure:

parent
 |-core-module
 |-log-module
 |-...
 |-...

Actually, I'm using flat hierarchy, so all modules including parent one are
located within same directory.

Log module project uses core-module in compile scope and core module uses
log-module in test scope.
Both core-module and log-module can be built separately.
If I try to start build from parent pom cyclic reference is found and build
is aborted.

The projects in the reactor contain a cyclic reference: Edge between
'Vertex{label='org.apache.commons.jelly.tags:log'}' and
'Vertex{label='org.apache.commons.jelly:core'}' introduces to cycle in the
graph org.apache.commons.jelly:core --> org.apache.commons.jelly.tags:log
--> org.apache.commons.jelly:core

Separation through interfaces is not possible.

This is my environment:
Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
Java version: 1.5.0_16
Java home: C:\Program Files\Java\jdk1.5.0_16\jre
Default locale: hr_HR, platform encoding: Cp1250
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

If needed I can also post POMs.

-- 
View this message in context: http://www.nabble.com/Multi-module-cyclic-reference-issue-tp25899986p25899986.html
Sent from the Maven - Issues mailing list archive at Nabble.com.